WebKit Bugzilla
Attachment 359205 Details for
Bug 193464
: Get rid of Sputnik tests.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch (manual)
sputnik.diff (text/plain), 20.59 MB, created by
Ross Kirsling
on 2019-01-15 14:34:08 PST
(
hide
)
Description:
Patch (manual)
Filename:
MIME Type:
Creator:
Ross Kirsling
Created:
2019-01-15 14:34:08 PST
Size:
20.59 MB
patch
obsolete
>diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index 0140f81025d..a3304c9580b 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,26 @@ >+2019-01-15 Ross Kirsling <ross.kirsling@sony.com> >+ >+ Get rid of Sputnik tests. >+ https://bugs.webkit.org/show_bug.cgi?id=193464 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * sputnik/: Removed. >+ * platform/gtk/sputnik/: Removed. >+ * platform/ios/sputnik/: Removed. >+ * platform/mac/sputnik/: Removed. >+ * platform/wpe/sputnik/: Removed. >+ >+ * TestExpectations: >+ * platform/gtk/TestExpectations: >+ * platform/ios-wk2/TestExpectations: >+ * platform/ios/TestExpectations: >+ * platform/mac/TestExpectations: >+ * platform/win/TestExpectations: >+ * platform/wincairo/TestExpectations: >+ * platform/wpe/TestExpectations: >+ Remove all sputnik/ lines. >+ > 2019-01-15 Chris Dumez <cdumez@apple.com> > > Regression(PSON) View becomes blank after click a cross-site download link >diff --git a/LayoutTests/TestExpectations b/LayoutTests/TestExpectations >index e54523a6d39..0f05fcb603e 100644 >--- a/LayoutTests/TestExpectations >+++ b/LayoutTests/TestExpectations >@@ -1223,20 +1223,9 @@ webkit.org/b/173506 ietestcenter/Javascript/15.4.4.14-3-8.html [ Failure ] > webkit.org/b/173506 ietestcenter/Javascript/15.4.4.15-3-12.html [ Failure ] > webkit.org/b/173506 ietestcenter/Javascript/15.4.4.15-3-25.html [ Failure ] > webkit.org/b/173506 ietestcenter/Javascript/15.4.4.15-3-7.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.10_Array_prototype_slice/S15.4.4.10_A3_T3.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.12_Array_prototype_splice/S15.4.4.12_A3_T3.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A2_T2.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.13_Array_prototype_unshift/S15.4.4.13_A3_T2.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.6_Array_prototype_pop/S15.4.4.6_A2_T2.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.6_Array_prototype_pop/S15.4.4.6_A3_T3.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.7_Array_prototype_push/S15.4.4.7_A2_T2.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T3.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.8_Array_prototype_reverse/S15.4.4.8_A3_T3.html [ Failure ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.9_Array_prototype_shift/S15.4.4.9_A3_T3.html [ Failure ] > > webkit.org/b/173506 ietestcenter/Javascript/15.4.4.15-3-14.html [ Skip ] > webkit.org/b/173506 ietestcenter/Javascript/15.4.4.15-3-8.html [ Skip ] >-webkit.org/b/173506 sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.9_Array_prototype_shift/S15.4.4.9_A2_T2.html [ Skip ] > > # IDBVersionChangeEvent tests need to be rewritten to use event constructors instead of createEvent, > # after we implement the IDBVersionChangeEvent constructor. >@@ -1872,12 +1861,6 @@ webkit.org/b/56080 jquery/effects.html [ Skip ] > webkit.org/b/6547 js/kde/Date.html [ Skip ] > webkit.org/b/15046 js/string-concatenate-outofmemory.html [ Skip ] > webkit.org/b/24690 platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html [ Skip ] >-webkit.org/b/42625 sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T1.html [ Skip ] >-webkit.org/b/42625 sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T2.html [ Skip ] >-webkit.org/b/42625 sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T3.html [ Skip ] >-webkit.org/b/42625 sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T4.html [ Skip ] >-webkit.org/b/42625 sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T5.html [ Skip ] >-webkit.org/b/42625 sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T6.html [ Skip ] > webkit.org/b/17392 svg/batik/text/textBiDi.svg [ Skip ] > webkit.org/b/11662 svg/custom/js-font-test.svg [ Skip ] > webkit.org/b/63186 svg/zoom/page/zoom-svg-through-object-with-text.xhtml [ Skip ] >@@ -1939,24 +1922,6 @@ http/tests/navigation/success200-subframeload-goback.html [ Skip ] > # Test disabled in r45078 > media/video-canvas.html [ Skip ] > >-# Tests disabled in r59504 for taking over 10 seconds to run >-sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.3/15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.html [ Skip ] >-sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.3/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.5_T1.html [ Skip ] >-sputnik/Unicode/Unicode_218/S7.6_A3.1.html [ Skip ] >-sputnik/Unicode/Unicode_218/S7.6_A3.2.html [ Skip ] >- >-# Tests landed disabled in r58534; never enabled >-sputnik/Unicode/Unicode_218/S7.6_A1.1_T5.html [ Skip ] >-sputnik/Unicode/Unicode_218/S7.6_A5.2_T5.html [ Skip ] >-sputnik/Unicode/Unicode_320/S7.6_A1.1_T5.html [ Skip ] >-sputnik/Unicode/Unicode_320/S7.6_A5.2_T5.html [ Skip ] >-sputnik/Unicode/Unicode_410/S7.6_A1.1_T5.html [ Skip ] >-sputnik/Unicode/Unicode_410/S7.6_A5.2_T5.html [ Skip ] >-sputnik/Unicode/Unicode_500/S7.6_A1.1_T5.html [ Skip ] >-sputnik/Unicode/Unicode_500/S7.6_A5.2_T5.html [ Skip ] >-sputnik/Unicode/Unicode_510/S7.6_A1.1_T5.html [ Skip ] >-sputnik/Unicode/Unicode_510/S7.6_A5.2_T5.html [ Skip ] >- > # Test disabled in r42921 for flaky failure > svg/custom/filter-source-alpha.svg [ Skip ] > >diff --git a/LayoutTests/platform/gtk/TestExpectations b/LayoutTests/platform/gtk/TestExpectations >index d43148c7425..e7b139d6b45 100644 >--- a/LayoutTests/platform/gtk/TestExpectations >+++ b/LayoutTests/platform/gtk/TestExpectations >@@ -2192,17 +2192,6 @@ webkit.org/b/159754 workers/bomb.html [ Skip ] > imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_007.htm [ Slow ] > imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_010.htm [ Slow ] > >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/13_Function_Definition/S13_A4_T4.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Unicode/Unicode_218/S7.6_A5.3_T2.html [ Slow ] >- > #//////////////////////////////////////////////////////////////////////////////////////// > # End of slow tests > #//////////////////////////////////////////////////////////////////////////////////////// >diff --git a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt b/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >deleted file mode 100644 >index 657ffbfbff1..00000000000 >--- a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt b/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >deleted file mode 100644 >index 77e8e7d1da8..00000000000 >--- a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A5.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt b/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt >deleted file mode 100644 >index 9b228dfd2ad..00000000000 >--- a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A3.1 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt b/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt >deleted file mode 100644 >index 98b45b5d778..00000000000 >--- a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A3.2 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt b/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt >deleted file mode 100644 >index 0b65386c465..00000000000 >--- a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A5.3_T1 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt b/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt >deleted file mode 100644 >index 033fb479323..00000000000 >--- a/LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A5.3_T2 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/ios-wk2/TestExpectations b/LayoutTests/platform/ios-wk2/TestExpectations >index c299f280929..c1f677fd29c 100644 >--- a/LayoutTests/platform/ios-wk2/TestExpectations >+++ b/LayoutTests/platform/ios-wk2/TestExpectations >@@ -849,10 +849,6 @@ js/promises-tests/promises-tests-2-3-1.html > js/promises-tests/promises-tests-2-3-2.html > js/promises-tests/promises-tests-2-3-3.html > js/promises-tests/promises-tests-2-3-4.html >-sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html >-sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html >-sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html >-sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T1.html > storage/websql/change-version.html > > # Flaky tests that assert/time out: >diff --git a/LayoutTests/platform/ios/TestExpectations b/LayoutTests/platform/ios/TestExpectations >index d5c4f174a20..08b7d33369a 100644 >--- a/LayoutTests/platform/ios/TestExpectations >+++ b/LayoutTests/platform/ios/TestExpectations >@@ -2001,17 +2001,6 @@ editing/undo/undo-combined-delete.html [ Pass Failure ] > editing/undo/undo-forward-delete-boundary.html [ Pass Failure ] > editing/undo/undo-forward-delete.html [ Pass Failure ] > >-# Sputnik tests that are flaky: >-sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html >-sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html >-sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html >- >-# Sputnik tests that fail: >-sputnik/Unicode/Unicode_510/S7.6_A3.1.html [ Failure ] >-sputnik/Unicode/Unicode_510/S7.6_A3.2.html [ Failure ] >-sputnik/Unicode/Unicode_510/S7.6_A5.3_T1.html [ Failure ] >-sputnik/Unicode/Unicode_510/S7.6_A5.3_T2.html [ Failure ] >- > # storage tests that fail: > storage/websql/sql-error-codes.html [ Failure ] > >diff --git a/LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt b/LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >deleted file mode 100644 >index 657ffbfbff1..00000000000 >--- a/LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt b/LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >deleted file mode 100644 >index 77e8e7d1da8..00000000000 >--- a/LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A5.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/mac/TestExpectations b/LayoutTests/platform/mac/TestExpectations >index f896ddfdcad..7fd69d2193f 100644 >--- a/LayoutTests/platform/mac/TestExpectations >+++ b/LayoutTests/platform/mac/TestExpectations >@@ -563,17 +563,6 @@ webkit.org/b/39725 fast/events/drag-and-drop-autoscroll.html [ Skip ] > # Need support for ResourceHandle::didChangePriority and DRT support > webkit.org/b/111016 http/tests/loading/promote-img-preload-priority.html [ Failure ] > >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/13_Function_Definition/S13_A4_T4.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Unicode/Unicode_218/S7.6_A5.3_T2.html [ Slow ] >- > webkit.org/b/111606 fast/borders/border-fit-2.html [ Failure Pass ] > webkit.org/b/111606 fast/borders/border-fit.html [ Failure Pass ] > webkit.org/b/111606 fast/repaint/border-fit-lines.html [ Failure Pass ] >@@ -1026,12 +1015,6 @@ webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ] > > webkit.org/b/140022 http/tests/media/track-in-band-hls-metadata.html [ Pass Timeout ] > >-# <rdar://problem/19893462> >-[ Sierra+ ] sputnik/Unicode/Unicode_510/S7.6_A3.1.html [ Failure ] >-[ Sierra+ ] sputnik/Unicode/Unicode_510/S7.6_A3.2.html [ Failure ] >-[ Sierra+ ] sputnik/Unicode/Unicode_510/S7.6_A5.3_T1.html [ Failure ] >-[ Sierra+ ] sputnik/Unicode/Unicode_510/S7.6_A5.3_T2.html [ Failure ] >- > # See also: <rdar://problem/20622665> > webkit.org/b/148597 http/tests/media/video-play-stall.html [ Pass Failure ] > >@@ -1141,8 +1124,6 @@ webkit.org/b/140217 http/tests/navigation/forward-and-cancel.html [ Pass Failure > > webkit.org/b/151469 imported/w3c/web-platform-tests/html/syntax/parsing/template/creating-an-element-for-the-token/template-owner-document.html [ Pass Crash ] > >-webkit.org/b/153086 sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.3/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T2.html [ Pass Crash ] >- > webkit.org/b/153809 transitions/clip-path-transitions.html [ Pass Failure ] > webkit.org/b/153809 legacy-animation-engine/transitions/clip-path-transitions.html [ Pass Failure ] > webkit.org/b/153809 transitions/clip-path-path-transitions.html [ Pass Failure ] >diff --git a/LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt b/LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >deleted file mode 100644 >index 657ffbfbff1..00000000000 >--- a/LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt b/LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >deleted file mode 100644 >index 77e8e7d1da8..00000000000 >--- a/LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A5.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/win/TestExpectations b/LayoutTests/platform/win/TestExpectations >index ed0c2980015..895c029f5ea 100644 >--- a/LayoutTests/platform/win/TestExpectations >+++ b/LayoutTests/platform/win/TestExpectations >@@ -680,30 +680,6 @@ webkit.org/b/180424 fast/zooming/uiscript-zooming.html [ Skip ] > ################################################################################ > > >-################################################################################ >-############## Sputnik Errors ################ >-################################################################################ >-webkit.org/b/140970 sputnik/Unicode/Unicode_500/S7.6_A5.3_T1.html [ Skip ] # Crashes >-webkit.org/b/140970 sputnik/Unicode/Unicode_320/S7.6_A2.3.html [ Skip ] # Crashes >-webkit.org/b/140970 sputnik/Unicode/Unicode_410/S7.6_A3.1.html [ Skip ] # Crashes >- >-sputnik/Conformance/15_Native_Objects/15.2_Object/15.2.2/S15.2.2.1_A2_T5.html [ Failure ] >-sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html [ Pass Timeout ] >- >-webkit.org/b/150973 sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html [ Pass Timeout ] >-webkit.org/b/150973 sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html [ Pass Timeout ] >-webkit.org/b/150973 sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html [ Pass Timeout ] >- >-# Skipping these failing tests pending further investigation >-webkit.org/b/151505 sputnik/Unicode/Unicode_510/S7.6_A3.1.html [ Skip ] >-webkit.org/b/151505 sputnik/Unicode/Unicode_510/S7.6_A3.2.html [ Skip ] >-webkit.org/b/151505 sputnik/Unicode/Unicode_510/S7.6_A5.3_T1.html [ Skip ] >-webkit.org/b/151505 sputnik/Unicode/Unicode_510/S7.6_A5.3_T2.html [ Skip ] >-################################################################################ >-############## End Sputnik Errors ################ >-################################################################################ >- >- > ################################################################################ > ############## No built-in plugin in DRT <rdar://problem/5074411> ############## > ################################################################################ >@@ -2703,8 +2679,6 @@ webkit.org/b/162668 fast/text/woff2-totalsfntsize.html [ Skip ] > [ Debug ] http/tests/security/mixedContent/data-url-script-in-iframe.html [ Skip ] > [ Debug ] http/tests/security/listener/xss-window-onclick-addEventListener.html [ Skip ] # Causes later tests to fail > [ Debug ] platform/win/fast/events/panScroll-no-iframe-jump.html [ Skip ] # Causes later tests to fail >-[ Debug ] sputnik/Unicode/Unicode_320/S7.6_A3.1.html [ Skip ] # Debug Assertion >-[ Debug ] sputnik/Unicode/Unicode_320/S7.6_A3.2.html [ Skip ] # Debug Assertion > [ Debug ] svg/custom/list-items-with-svg-font-family.html [ Skip ] # Causes later tests to fail > [ Debug ] transforms/3d/general/perspective-non-layer.html [ Failure ] > >@@ -3157,7 +3131,6 @@ http/tests/security/local-video-src-from-remote.html [ Failure Pass ] > http/tests/security/video-cross-origin-caching.html [ Crash Failure Timeout Pass ] > http/tests/security/video-poster-cross-origin-crash2.html [ Crash Failure Pass ] > security/contentSecurityPolicy/worker-inherits-blocks-eval.html [ Failure Pass ] >-sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.html [ Failure Pass ] > storage/indexeddb/database-close-private.html [ Failure Pass ] > security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html [ ImageOnlyFailure Pass ] > http/tests/loading/preload-picture-nested.html [ Timeout Pass ] >diff --git a/LayoutTests/platform/wincairo/TestExpectations b/LayoutTests/platform/wincairo/TestExpectations >index 09c2a08c43e..5a168dfafc1 100644 >--- a/LayoutTests/platform/wincairo/TestExpectations >+++ b/LayoutTests/platform/wincairo/TestExpectations >@@ -1848,7 +1848,6 @@ printing [ Skip ] > scrollbars [ Skip ] > scrollingcoordinator [ Skip ] > security [ Skip ] >-sputnik [ Skip ] > svg [ Skip ] > tables [ Skip ] > transitions [ Skip ] >diff --git a/LayoutTests/platform/wpe/TestExpectations b/LayoutTests/platform/wpe/TestExpectations >index c83d1db5820..df11bfe16fb 100644 >--- a/LayoutTests/platform/wpe/TestExpectations >+++ b/LayoutTests/platform/wpe/TestExpectations >@@ -749,17 +749,6 @@ webkit.org/b/178705 webgl/2.0.0/conformance/rendering/multisample-corruption.htm > # This test is so slow that a Slow expectation is not enough to avoid flakiness. > webkit.org/b/159754 workers/bomb.html [ Skip ] > >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Conformance/13_Function_Definition/S13_A4_T4.html [ Slow ] >-webkit.org/b/111647 [ Debug ] sputnik/Unicode/Unicode_218/S7.6_A5.3_T2.html [ Slow ] >- > webkit.org/b/169917 webgl/1.0.2/conformance/uniforms/gl-uniform-arrays.html [ Slow ] > > webkit.org/b/169917 webgl/1.0.2/conformance/glsl/misc/shader-uniform-packing-restrictions.html [ Slow ] >diff --git a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt b/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >deleted file mode 100644 >index 657ffbfbff1..00000000000 >--- a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt b/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >deleted file mode 100644 >index 77e8e7d1da8..00000000000 >--- a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A5.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt b/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt >deleted file mode 100644 >index 9b228dfd2ad..00000000000 >--- a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A3.1 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt b/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt >deleted file mode 100644 >index 98b45b5d778..00000000000 >--- a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A3.2 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt b/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt >deleted file mode 100644 >index 0b65386c465..00000000000 >--- a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A5.3_T1 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >diff --git a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt b/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt >deleted file mode 100644 >index 033fb479323..00000000000 >--- a/LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A5.3_T2 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/AUTHORS b/LayoutTests/sputnik/AUTHORS >deleted file mode 100644 >index ee60971666b..00000000000 >--- a/LayoutTests/sputnik/AUTHORS >+++ /dev/null >@@ -1,9 +0,0 @@ >-# Below is a list of people and organizations that have contributed >-# to the Sputnik project. Names should be added to the list like so: >-# >-# Name/Organization <email address> >- >-Google Inc. >- >-outofhanwell >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1-expected.txt >deleted file mode 100644 >index 033403d2b78..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.html >deleted file mode 100644 >index 849e206dec6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.1_T1; >- * @section: 7.2, 7.5; >- * @assertion: HORIZONTAL TAB (U+0009) between any two tokens is allowed; >- * @description: Insert HORIZONTAL TAB(\u0009 and \t) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u0009var\u0009x\u0009=\u00091\u0009"); >-if (x !== 1) { >- testFailed('#1: eval("\\u0009var\\u0009x\\u0009=\\u00091\\u0009"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("\u0009" + "var" + "\u0009" + "x" + "\u0009" + "=" + "\u0009" + "1" + "\u0009"); >-if (x !== 1) { >- testFailed('#2: eval("\\u0009" + "var" + "\\u0009" + "x" + "\\u0009" + "=" + "\\u0009" + "1" + "\\u0009"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-eval("\tvar\tx\t=\t1\t"); >-if (x !== 1) { >- testFailed('#3: eval("\\tvar\\tx\\t=\\t1\\t"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-eval("\t" + "var" + "\t" + "x" + "\t" + "=" + "\t" + "1" + "\t"); >-if (x !== 1) { >- testFailed('#4: eval("\\t" + "var" + "\\t" + "x" + "\\t" + "=" + "\\t" + "1" + "\\t"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-eval("\u0009" + "var" + "\t" + "x" + "\u0009" + "=" + "\t" + "1" + "\u0009"); >-if (x !== 1) { >- testFailed('#5: eval("\\u0009" + "var" + "\\t" + "x" + "\\u0009" + "=" + "\\t" + "1" + "\\u0009"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2-expected.txt >deleted file mode 100644 >index 970af147115..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.html >deleted file mode 100644 >index 3487bea952f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.1_T2; >- * @section: 7.2, 7.5; >- * @assertion: HORIZONTAL TAB (U+0009) between any two tokens is allowed; >- * @description: Insert real HORIZONTAL TAB between tokens of var x=1; >-*/ >- >-//CHECK#1 >- var x = 1 ; >-if (x !== 1) { >- testFailed('#1: var x = 1 ; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval(" var\tx =\t2 "); >-if (x !== 2) { >- testFailed('#2: var\\tx =\\t1 ; x === 2. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1-expected.txt >deleted file mode 100644 >index e790126372b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.html >deleted file mode 100644 >index 47ff2b50559..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.2_T1; >- * @section: 7.2, 7.5; >- * @assertion: VERTICAL TAB (U+000B) between any two tokens is allowed; >- * @description: Insert VERTICAL TAB(\u000B and \v) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u000Bvar\u000Bx\u000B=\u000B1\u000B"); >-if (x !== 1) { >- testFailed('#1: eval("\\u000Bvar\\u000Bx\\u000B=\\u000B1\\u000B"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("\u000B" + "var" + "\u000B" + "x" + "\u000B" + "=" + "\u000B" + "1" + "\u000B"); >-if (x !== 1) { >- testFailed('#2: eval("\\u000B" + "var" + "\\u000B" + "x" + "\\u000B" + "=" + "\\u000B" + "1" + "\\u000B"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-eval("\vvar\vx\v=\v1\v"); >-if (x !== 1) { >- testFailed('#3: eval("\\vvar\\vx\\v=\\v1\\v"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-eval("\v" + "var" + "\v" + "x" + "\v" + "=" + "\v" + "1" + "\v"); >-if (x !== 1) { >- testFailed('#4: eval("\\v" + "var" + "\\v" + "x" + "\\v" + "=" + "\\v" + "1" + "\\v"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-eval("\u000B" + "var" + "\v" + "x" + "\u000B" + "=" + "\v" + "1" + "\u000B"); >-if (x !== 1) { >- testFailed('#5: eval("\\u000B" + "var" + "\\v" + "x" + "\\u000B" + "=" + "\\v" + "1" + "\\u000B"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2-expected.txt >deleted file mode 100644 >index d0dda4c0aa2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.html >deleted file mode 100644 >index 797fab237a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.2_T2; >- * @section: 7.2, 7.5; >- * @assertion: VERTICAL TAB (U+000B) between any two tokens is allowed; >- * @description: Insert real VERTICAL TAB between tokens of var x=1; >-*/ >- >-//CHECK#1 >-varx=1; >-if (x !== 1) { >- testFailed('#1: varx=1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("var\vx=\v1"); >-if (x !== 1) { >- testFailed('#2: var\\vx=\\v1; x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1-expected.txt >deleted file mode 100644 >index 250fd6a1494..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.html >deleted file mode 100644 >index e2f18e1aacc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.3_T1; >- * @section: 7.2, 7.5; >- * @assertion: FORM FEED (U+000C) between any two tokens is allowed; >- * @description: Insert FORM FEED(\u000C and \f) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u000Cvar\u000Cx\u000C=\u000C1\u000C"); >-if (x !== 1) { >- testFailed('#1: eval("\\u000Cvar\\u000Cx\\u000C=\\u000C1\\u000C"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("\u000C" + "var" + "\u000C" + "x" + "\u000C" + "=" + "\u000C" + "1" + "\u000C"); >-if (x !== 1) { >- testFailed('#2: eval("\\u000C" + "var" + "\\u000C" + "x" + "\\u000C" + "=" + "\\u000C" + "1" + "\\u000C"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-eval("\fvar\fx\f=\f1\f"); >-if (x !== 1) { >- testFailed('#3: eval("\\fvar\\fx\\f=\\f1\\f"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-eval("\f" + "var" + "\f" + "x" + "\f" + "=" + "\f" + "1" + "\f"); >-if (x !== 1) { >- testFailed('#4: eval("\\f" + "var" + "\\f" + "x" + "\\f" + "=" + "\\f" + "1" + "\\f"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-eval("\u000C" + "var" + "\f" + "x" + "\u000C" + "=" + "\f" + "1" + "\u000C"); >-if (x !== 1) { >- testFailed('#5: eval("\\u000C" + "var" + "\\f" + "x" + "\\u000C" + "=" + "\\f" + "1" + "\\u000C"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2-expected.txt >deleted file mode 100644 >index aadce342b1c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.html >deleted file mode 100644 >index a35f7a2582d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.3_T2; >- * @section: 7.2, 7.5; >- * @assertion: FORM FEED (U+000C) between any two tokens is allowed; >- * @description: Insert real FORM FEED between tokens of var x=1; >-*/ >- >-//CHECK#1 >-varx=1; >-if (x !== 1) { >- testFailed('#1: varx=1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("var\fx=\f1"); >-if (x !== 1) { >- testFailed('#2: var\\fx=\\f1; x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1-expected.txt >deleted file mode 100644 >index 4c8b0ff6d76..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.html >deleted file mode 100644 >index 5ce2c2f1507..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.4_T1; >- * @section: 7.2, 7.5; >- * @assertion: SPACE (U+0020) between any two tokens is allowed; >- * @description: Insert SPACE(\u0020) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u0020var\u0020x\u0020=\u00201\u0020"); >-if (x !== 1) { >- testFailed('#1: eval("\\u0020var\\u0020x\\u0020=\\u00201\\u0020"); x === 1;'); >-} >- >-//CHECK#2 >-eval("\u0020" + "var" + "\u0020" + "x" + "\u0020" + "=" + "\u0020" + "1" + "\u0020"); >-if (x !== 1) { >- testFailed('#2: eval("\\u0020" + "var" + "\\u0020" + "x" + "\\u0020" + "=" + "\\u0020" + "1" + "\\u0020"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2-expected.txt >deleted file mode 100644 >index 773390cd7ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.html >deleted file mode 100644 >index 00eb07a28ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.4_T2; >- * @section: 7.2, 7.5; >- * @assertion: SPACE (U+0020) between any two tokens is allowed; >- * @description: Insert real SPACE between tokens of var x=1; >-*/ >- >-//CHECK#1 >-eval("\u0020var x\u0020= 1\u0020"); >-if (x !== 1) { >- testFailed('#1: eval("\\u0020var x\\u0020= 1\\u0020"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >- var x = 1 ; >-if (x !== 1) { >- testFailed('#2: var x = 1 ; x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1-expected.txt >deleted file mode 100644 >index 75aab126ff6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.html >deleted file mode 100644 >index 29f14e47c8c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.5_T1; >- * @section: 7.2, 7.5; >- * @assertion: NO-BREAK SPACE (U+00A0) between any two tokens is allowed; >- * @description: Insert NO-BREAK SPACE(\u00A0) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u00A0var\u00A0x\u00A0=\u00A01\u00A0"); >-if (x !== 1) { >- testFailed('#1: eval("\\u00A0var\\u00A0x\\u00A0=\\u00A01\\u00A0"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("\u00A0" + "var" + "\u00A0" + "x" + "\u00A0" + "=" + "\u00A0" + "1" + "\u00A0"); >-if (x !== 1) { >- testFailed('#2: eval("\\u00A0" + "var" + "\\u00A0" + "x" + "\\u00A0" + "=" + "\\u00A0" + "1" + "\\u00A0"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2-expected.txt >deleted file mode 100644 >index ac7eaaaef29..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A1.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.html >deleted file mode 100644 >index 22a7501e09e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A1.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A1.5_T2; >- * @section: 7.2, 7.5; >- * @assertion: NO-BREAK SPACE (U+00A0) between any two tokens is allowed; >- * @description: Insert real NO-BREAK SPACE between tokens of var x=1; >-*/ >- >-//CHECK#1 >-eval("\u00A0var x\u00A0= 1\u00A0"); >-if (x !== 1) { >- testFailed('#1: eval("\\u00A0var x\\u00A0= 1\\u00A0"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >- var x = 1 ; >-if (x !== 1) { >- testFailed('#2:  var x = 1 ; x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1-expected.txt >deleted file mode 100644 >index 540148b5bb7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.html >deleted file mode 100644 >index c97ffcf54e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.1_T1; >- * @section: 7.2, 7.8.4; >- * @assertion: HORIZONTAL TAB (U+0009) may occur within strings; >- * @description: Use HORIZONTAL TAB(\u0009 and \t); >-*/ >- >-// CHECK#1 >-if (eval("'\u0009str\u0009ing\u0009'") !== "\u0009str\u0009ing\u0009") { >- testFailed('#1: eval("\'\\u0009str\\u0009ing\\u0009\'") === "\\u0009str\\u0009ing\\u0009"'); >-} >- >-//CHECK#2 >-if (eval("'\tstr\ting\t'") !== "\tstr\ting\t") { >- testFailed('#2: eval("\'\\tstr\\ting\\t\'") === "\\tstr\\ting\\t"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2-expected.txt >deleted file mode 100644 >index a0b244f0e30..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.html >deleted file mode 100644 >index eaf3c0933ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.1_T2; >- * @section: 7.2, 7.8.4; >- * @assertion: HORIZONTAL TAB (U+0009) may occur within strings; >- * @description: Use real HORIZONTAL TAB; >-*/ >- >-//CHECK#1 >-if (" str ing " !== "\u0009str\u0009ing\u0009") { >- testFailed('#1: " str ing " === "\\u0009str\\u0009ing\\u0009"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1-expected.txt >deleted file mode 100644 >index 7dcf7834250..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.html >deleted file mode 100644 >index b5ad3e5947a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.2_T1; >- * @section: 7.2, 7.8.4; >- * @assertion: VERTICAL TAB (U+000B) may occur within strings; >- * @description: Use VERTICAL TAB(\u000B and \v); >-*/ >- >-// CHECK#1 >-if (eval("'\u000Bstr\u000Bing\u000B'") !== "\u000Bstr\u000Bing\u000B") { >- testFailed('#1: eval("\'\\u000Bstr\\u000Bing\\u000B\'") === "\\u000Bstr\\u000Bing\\u000B"'); >-} >- >-//CHECK#2 >-if (eval("'\vstr\ving\v'") !== "\vstr\ving\v") { >- testFailed('#2: eval("\'\\vstr\\ving\\v\'") === "\\vstr\\ving\\v"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2-expected.txt >deleted file mode 100644 >index 88d352da341..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.html >deleted file mode 100644 >index 222cfe36520..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.2_T2; >- * @section: 7.2, 7.8.4; >- * @assertion: VERTICAL TAB (U+000B) may occur within strings; >- * @description: Use real VERTICAL TAB; >-*/ >- >-//CHECK#1 >-if ("string" !== "\u000Bstr\u000Bing\u000B") { >- testFailed('#1: "string" === "\\u000Bstr\\u000Bing\\u000B"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1-expected.txt >deleted file mode 100644 >index aa8730fb55f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.html >deleted file mode 100644 >index 3108e262f9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.3_T1; >- * @section: 7.2, 7.8.4; >- * @assertion: FORM FEED (U+000C) may occur within strings; >- * @description: Use FORM FEED(\u000C and \f); >-*/ >- >-// CHECK#1 >-if (eval("'\u000Cstr\u000Cing\u000C'") !== "\u000Cstr\u000Cing\u000C") { >- testFailed('#1: eval("\'\\u000Cstr\\u000Cing\\u000C\'") === "\\u000Cstr\\u000Cing\\u000C"'); >-} >- >-//CHECK#2 >-if (eval("'\fstr\fing\f'") !== "\fstr\fing\f") { >- testFailed('#2: eval("\'\\fstr\\fing\\f\'") === "\\fstr\\fing\\f"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2-expected.txt >deleted file mode 100644 >index ab639c9fadb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.html >deleted file mode 100644 >index 37506ed5f2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.3_T2; >- * @section: 7.2, 7.8.4; >- * @assertion: FORM FEED (U+000C) may occur within strings; >- * @description: Use real FORM FEED; >-*/ >- >-//CHECK#1 >-if ("string" !== "\u000Cstr\u000Cing\u000C") { >- testFailed('#1: "string" === "\\u000Cstr\\u000Cing\\u000C"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1-expected.txt >deleted file mode 100644 >index ca43240b6bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.html >deleted file mode 100644 >index c81544f64a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.4_T1; >- * @section: 7.2, 7.8.4; >- * @assertion: SPACE (U+0020) may occur within strings; >- * @description: Use SPACE(\u0020); >-*/ >- >-// CHECK#1 >-if (eval("'\u0020str\u0020ing\u0020'") !== "\u0020str\u0020ing\u0020") { >- testFailed('#1: eval("\'\\u0020str\\u0020ing\\u0020\'") === "\\u0020str\\u0020ing\\u0020"'); >-} >- >-//CHECK#2 >-if (eval("' str ing '") !== " str ing ") { >- testFailed('#2: eval("\' str ing \'") === " str ing "'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2-expected.txt >deleted file mode 100644 >index 85046aaec66..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.html >deleted file mode 100644 >index 0a459d45356..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.4_T2; >- * @section: 7.2, 7.8.4; >- * @assertion: SPACE (U+0020) may occur within strings; >- * @description: Use real SPACE; >-*/ >- >-//CHECK#1 >-if (" str ing " !== "\u0020str\u0020ing\u0020") { >- testFailed('#1: " str ing " === "\\u0020str\\u0020ing\\u0020"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1-expected.txt >deleted file mode 100644 >index ace5869663f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.html >deleted file mode 100644 >index 9a9074829f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.5_T1; >- * @section: 7.2, 7.8.4; >- * @assertion: NO-BREAK SPACE (U+00A0) may occur within strings; >- * @description: Use NO-BREAK SPACE(\u00A0); >-*/ >- >-// CHECK#1 >-if (eval("'\u00A0str\u00A0ing\u00A0'") !== "\u00A0str\u00A0ing\u00A0") { >- testFailed('#1: eval("\'\\u00A0str\\u00A0ing\\u00A0\'") === "\\u00A0str\\u00A0ing\\u00A0"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2-expected.txt >deleted file mode 100644 >index cfb9f135b66..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A2.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.html >deleted file mode 100644 >index c8c2129e6cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A2.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A2.5_T2; >- * @section: 7.2, 7.8.4; >- * @assertion: NO-BREAK SPACE (U+00A0) may occur within strings; >- * @description: Use real NO-BREAK SPACE; >-*/ >- >-//CHECK#1 >-if (" str ing " !== "\u00A0str\u00A0ing\u00A0") { >- testFailed('#1: " str ing " === "\\u00A0str\\u00A0ing\\u00A0"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1-expected.txt >deleted file mode 100644 >index d26be5d8d2e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.html >deleted file mode 100644 >index 873355c0e2f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.1_T1; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain HORIZONTAL TAB (U+0009); >- * @description: Use HORIZONTAL TAB(\u0009); >- */ >- >-// CHECK#1 >-eval("//\u0009 single line \u0009 comment \u0009"); >- >-//CHECK#2 >-var x = 0; >-eval("//\u0009 single line \u0009 comment \u0009 x = 1;"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("//\\u0009 single line \\u0009 comment \\u0009 x = 1;"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2-expected.txt >deleted file mode 100644 >index 59b91729a69..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.html >deleted file mode 100644 >index 26a223ad551..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.1_T2; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain HORIZONTAL TAB (U+0009); >- * @description: Use real HORIZONTAL TAB; >- */ >- >-//CHECK#1 >-var x = 0; >-// single line comment x = 1; >-if (x !== 0) { >- testFailed('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1-expected.txt >deleted file mode 100644 >index 601b6b2891c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.html >deleted file mode 100644 >index f08018959fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.2_T1; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain VERTICAL TAB (U+000B); >- * @description: Use VERTICAL TAB(\u000B); >- */ >- >-// CHECK#1 >-eval("//\u000B single line \u000B comment \u000B"); >- >-//CHECK#2 >-var x = 0; >-eval("//\u000B single line \u000B comment \u000B x = 1;"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("//\\u000B single line \\u000B comment \\u000B x = 1;"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2-expected.txt >deleted file mode 100644 >index 525b135c7e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.html >deleted file mode 100644 >index 651d93de3d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.2_T2; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain VERTICAL TAB (U+000B); >- * @description: Use real VERTICAL TAB; >- */ >- >-//CHECK#1 >-var x = 0; >-//singlelinecommentx = 1; >-if (x !== 0) { >- testFailed('#1: var x = 0; //singlelinecommentx = 1; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1-expected.txt >deleted file mode 100644 >index 7571dfa45a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.html >deleted file mode 100644 >index b8fc96a0b9b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.3_T1; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain FORM FEED (U+000C); >- * @description: Use FORM FEED(\u000C); >- */ >- >-// CHECK#1 >-eval("//\u000C single line \u000C comment \u000C"); >- >-//CHECK#2 >-var x = 0; >-eval("//\u000C single line \u000C comment \u000C x = 1;"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("//\\u000C single line \\u000C comment \\u000C x = 1;"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2-expected.txt >deleted file mode 100644 >index f44af6d1a8d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.html >deleted file mode 100644 >index 2cd9f8f18f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.3_T2; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain FORM FEED (U+000C); >- * @description: Use real FORM FEED; >- */ >- >-//CHECK#1 >-var x = 0; >-//singlelinecommentx = 1; >-if (x !== 0) { >- testFailed('#1: var x = 0; //singlelinecommentx = 1; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1-expected.txt >deleted file mode 100644 >index db8d2203511..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.html >deleted file mode 100644 >index b891857be5f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.4_T1; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain SPACE (U+0020); >- * @description: Use SPACE(\u0020); >- */ >- >-// CHECK#1 >-eval("//\u0020 single line \u0020 comment \u0020"); >- >-//CHECK#2 >-var x = 0; >-eval("//\u0020 single line \u0020 comment \u0020 x = 1;"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("//\\u0020 single line \\u0020 comment \\u0020 x = 1;"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2-expected.txt >deleted file mode 100644 >index c7144d6a207..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.html >deleted file mode 100644 >index 3e08fe658f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.4_T2; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain SPACE (U+0020); >- * @description: Use real SPACE; >- */ >- >-//CHECK#1 >-var x = 0; >-// single line comment x = 1; >-if (x !== 0) { >- testFailed('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1-expected.txt >deleted file mode 100644 >index 3e8a0e8bd2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.html >deleted file mode 100644 >index 790d0b48a9b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.5_T1; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain NO-BREAK SPACE (U+00A0); >- * @description: Use NO-BREAK SPACE(\u00A0); >- */ >- >-// CHECK#1 >-eval("//\u00A0 single line \u00A0 comment \u00A0"); >- >-//CHECK#2 >-var x = 0; >-eval("//\u00A0 single line \u00A0 comment \u00A0 x = 1;"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("//\\u00A0 single line \\u00A0 comment \\u00A0 x = 1;"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2-expected.txt >deleted file mode 100644 >index 8c79ea4cade..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A3.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.html >deleted file mode 100644 >index 44623280d11..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A3.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A3.5_T2; >- * @section: 7.2, 7.4; >- * @assertion: Single line comment can contain NO-BREAK SPACE (U+00A0); >- * @description: Use real NO-BREAK SPACE; >- */ >- >-//CHECK#1 >-var x = 0; >-// single line comment x = 1; >-if (x !== 0) { >- testFailed('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1-expected.txt >deleted file mode 100644 >index e5ea1a5a17d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.html >deleted file mode 100644 >index 2e235593122..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.1_T1; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain HORIZONTAL TAB (U+0009); >- * @description: Use HORIZONTAL TAB(\u0009); >- */ >- >-// CHECK#1 >-eval("/*\u0009 multi line \u0009 comment \u0009*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u0009 multi line \u0009 comment \u0009 x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u0009 multi line \\u0009 comment \\u0009 x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2-expected.txt >deleted file mode 100644 >index fbe37c9aba5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.html >deleted file mode 100644 >index 2ab7dc426c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.1_T2; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain HORIZONTAL TAB (U+0009); >- * @description: Use real HORIZONTAL TAB; >- */ >- >-/*CHECK#1*/ >-var x = 0; >-/* multi line comment x = 1;*/ >-if (x !== 0) { >- testFailed('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1-expected.txt >deleted file mode 100644 >index 51359e5a73c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.html >deleted file mode 100644 >index 04cba12b4c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.2_T1; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain VERTICAL TAB (U+000B); >- * @description: Use VERTICAL TAB(\u000B); >- */ >- >-// CHECK#1 >-eval("/*\u000B multi line \u000B comment \u000B*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u000B multi line \u000B comment \u000B x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u000B multi line \\u000B comment \\u000B x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2-expected.txt >deleted file mode 100644 >index 53d06a07621..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.html >deleted file mode 100644 >index ef4392d386e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.2_T2; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain VERTICAL TAB (U+000B); >- * @description: Use real VERTICAL TAB; >- */ >- >-/*CHECK#1*/ >-var x = 0; >-/*multilinecommentx = 1;*/ >-if (x !== 0) { >- testFailed('#1: var x = 0; /*multilinecommentx = 1;*/ x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1-expected.txt >deleted file mode 100644 >index 506cc0a0073..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.html >deleted file mode 100644 >index 6990aa02f9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.3_T1; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain FORM FEED (U+000C); >- * @description: Use FORM FEED(\u000C); >- */ >- >-// CHECK#1 >-eval("/*\u000C multi line \u000C comment \u000C*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u000C multi line \u000C comment \u000C x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u000C multi line \\u000C comment \\u000C x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2-expected.txt >deleted file mode 100644 >index b8a2a40a912..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.html >deleted file mode 100644 >index eb5f1a1601f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.3_T2; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain FORM FEED (U+000C); >- * @description: Use real FORM FEED; >- */ >- >-/*CHECK#1*/ >-var x = 0; >-/*multilinecommentx = 1;*/ >-if (x !== 0) { >- testFailed('#1: var x = 0; /*multilinecommentx = 1;*/ x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1-expected.txt >deleted file mode 100644 >index 151ed0d86c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.html >deleted file mode 100644 >index d80070f0eca..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.4_T1; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain SPACE (U+0020); >- * @description: Use SPACE(\u0020); >- */ >- >-// CHECK#1 >-eval("/*\u0020 multi line \u0020 comment \u0020*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u0020 multi line \u0020 comment \u0020 x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u0020 multi line \\u0020 comment \\u0020 x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2-expected.txt >deleted file mode 100644 >index cff9c6be633..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.html >deleted file mode 100644 >index 0ff017c7411..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.4_T2; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain SPACE (U+0020); >- * @description: Use real SPACE; >- */ >- >-/*CHECK#1*/ >-var x = 0; >-/* multi line comment x = 1;*/ >-if (x !== 0) { >- testFailed('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1-expected.txt >deleted file mode 100644 >index d16e1e6f5f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.html >deleted file mode 100644 >index 58ecf4211a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.5_T1; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain NO-BREAK SPACE (U+00A0); >- * @description: Use NO-BREAK SPACE(\u00A0); >- */ >- >-// CHECK#1 >-eval("/*\u00A0 multi line \u00A0 comment \u00A0*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u00A0 multi line \u00A0 comment \u00A0 x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u00A0 multi line \\u00A0 comment \\u00A0 x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2-expected.txt >deleted file mode 100644 >index 1b007ac3f8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.2_A4.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.html >deleted file mode 100644 >index 2b1431ba00b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A4.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A4.5_T2; >- * @section: 7.2, 7.4; >- * @assertion: Multi line comment can contain NO-BREAK SPACE (U+00A0); >- * @description: Use real NO-BREAK SPACE; >- */ >- >-/*CHECK#1*/ >-var x = 0; >-/* multi line comment x = 1;*/ >-if (x !== 0) { >- testFailed('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt >deleted file mode 100644 >index aefbbc2e71e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u0009' >-S7.2_A5_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.html >deleted file mode 100644 >index 70c8e2ca1b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A5_T1; >- * @section: 7.2; >- * @assertion: White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Use TAB (U+0009); >- * @negative >-*/ >- >-var\u0009x; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt >deleted file mode 100644 >index 680787dae57..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u000B' >-S7.2_A5_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.html >deleted file mode 100644 >index 3c7b6835a30..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A5_T2; >- * @section: 7.2; >- * @assertion: White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Use VERTICAL TAB (U+000B); >- * @negative >-*/ >- >-var\u000Bx; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt >deleted file mode 100644 >index 6201941ad1f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u000C' >-S7.2_A5_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.html >deleted file mode 100644 >index 2a4e9b0baf5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A5_T3; >- * @section: 7.2; >- * @assertion: White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Use FORM FEED (U+000C); >- * @negative >-*/ >- >-var\u000Cx; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt >deleted file mode 100644 >index 8bcc3a9fe62..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u0020' >-S7.2_A5_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.html >deleted file mode 100644 >index 893a0d68093..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A5_T4; >- * @section: 7.2; >- * @assertion: White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Use SPACE (U+0020); >- * @negative >-*/ >- >-var\u0020x; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt >deleted file mode 100644 >index aff396157eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u00A0' >-S7.2_A5_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.html >deleted file mode 100644 >index 19bce6d8714..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.2_A5_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.2_A5_T5; >- * @section: 7.2; >- * @assertion: White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Use NO-BREAK SPACE (U+00A0); >- * @negative >-*/ >- >-var\u00A0x; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1-expected.txt >deleted file mode 100644 >index 2b1c4fc8387..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.html >deleted file mode 100644 >index f5593abc179..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A1.1_T1; >- * @section: 7.3; >- * @assertion: LINE FEED (U+000A) may occur between any two tokens; >- * @description: Insert LINE FEED (\u000A and \n) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u000Avar\u000Ax\u000A=\u000A1\u000A"); >-if (x !== 1) { >- testFailed('#1: eval("\\u000Avar\\u000Ax\\u000A=\\u000A1\\u000A"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("\u000A" + "var" + "\u000A" + "x" + "\u000A" + "=" + "\u000A" + "1" + "\u000A"); >-if (x !== 1) { >- testFailed('#2: eval("\\u000A" + "var" + "\\u000A" + "x" + "\\u000A" + "=" + "\\u000A" + "1" + "\\u000A"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-eval("\nvar\nx\n=\n1\n"); >-if (x !== 1) { >- testFailed('#3: eval("\\nvar\\nx\\n=\\n1\\n"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-eval("\n" + "var" + "\n" + "x" + "\n" + "=" + "\n" + "1" + "\n"); >-if (x !== 1) { >- testFailed('#4: eval("\\n" + "var" + "\\n" + "x" + "\\n" + "=" + "\\n" + "1" + "\\n"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-eval("\u000A" + "var" + "\n" + "x" + "\u000A" + "=" + "\n" + "1" + "\u000A"); >-if (x !== 1) { >- testFailed('#5: eval("\\u000A" + "var" + "\\n" + "x" + "\\u000A" + "=" + "\\n" + "1" + "\\u000A"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2-expected.txt >deleted file mode 100644 >index 4f91930239e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.html >deleted file mode 100644 >index e5b8c37dee6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A1.1_T2; >- * @section: 7.3; >- * @assertion: LINE FEED (U+000A) may occur between any two tokens; >- * @description: Insert real LINE FEED between tokens of var x=1; >-*/ >- >-//CHECK#1 >-var >-x >-= >-1; >-if (x !== 1) { >- testFailed('#1: var\\nx\\n=\\n1\\n; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1-expected.txt >deleted file mode 100644 >index e43dba5dc2f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.html >deleted file mode 100644 >index eb48812d597..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A1.2_T1; >- * @section: 7.3; >- * @assertion: CARRIAGE RETURN (U+000D) may occur between any two tokens; >- * @description: Insert CARRIAGE RETURN (\u000D and \r) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u000Dvar\u000Dx\u000D=\u000D1\u000D"); >-if (x !== 1) { >- testFailed('#1: eval("\\u000Dvar\\u000Dx\\u000D=\\u000D1\\u000D"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("\u000D" + "var" + "\u000D" + "x" + "\u000D" + "=" + "\u000D" + "1" + "\u000D"); >-if (x !== 1) { >- testFailed('#2: eval("\\u000D" + "var" + "\\u000D" + "x" + "\\u000D" + "=" + "\\u000D" + "1" + "\\u000D"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-eval("\rvar\rx\r=\r1\r"); >-if (x !== 1) { >- testFailed('#3: eval("\\rvar\\rx\\r=\\r1\\r"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-eval("\r" + "var" + "\r" + "x" + "\r" + "=" + "\r" + "1" + "\r"); >-if (x !== 1) { >- testFailed('#4: eval("\\r" + "var" + "\\r" + "x" + "\\r" + "=" + "\\r" + "1" + "\\r"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-eval("\u000D" + "var" + "\r" + "x" + "\u000D" + "=" + "\r" + "1" + "\u000D"); >-if (x !== 1) { >- testFailed('#5: eval("\\u000D" + "var" + "\\r" + "x" + "\\u000D" + "=" + "\\r" + "1" + "\\u000D"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2-expected.txt >deleted file mode 100644 >index 991fe06ea96..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.html >deleted file mode 100644 >index 5a6df687aa4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.html >+++ /dev/null >@@ -1,94 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A1.2_T2; >- * @section: 7.3; >- * @assertion: CARRIAGE RETURN (U+000D) may occur between any two tokens; >- * @description: Insert real CARRIAGE RETURN between tokens of var x=1; >-*/ >- //CHECK#1 var x >-= 1; if (x !== 1) { testFailed('#1: var\\nx\\n=\\n1\\n; x === 1. Actual: ' + (x)); } >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3-expected.txt >deleted file mode 100644 >index f7a37f341d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.html >deleted file mode 100644 >index 9457d52b8be..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A1.3; >- * @section: 7.3; >- * @assertion: LINE SEPARATOR (U+2028) may occur between any two tokens; >- * @description: Insert LINE SEPARATOR (\u2028) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u2028var\u2028x\u2028=\u20281\u2028"); >-if (x !== 1) { >- testFailed('#1: eval("\\u2028var\\u2028x\\u2028=\\u20281\\u2028"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("\u2028" + "var" + "\u2028" + "x" + "\u2028" + "=" + "\u2028" + "1" + "\u2028"); >-if (x !== 1) { >- testFailed('#2: eval("\\u2028" + "var" + "\\u2028" + "x" + "\\u2028" + "=" + "\\u2028" + "1" + "\\u2028"); x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4-expected.txt >deleted file mode 100644 >index 3d8316e278e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.html >deleted file mode 100644 >index f5202c1f03f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A1.4; >- * @section: 7.3; >- * @assertion: PARAGRAPH SEPARATOR (U+2029) may occur between any two tokens; >- * @description: Insert PARAGRAPH SEPARATOR (\u2029) between tokens of var x=1; >-*/ >- >-// CHECK#1 >-eval("\u2029var\u2029x\u2029=\u20291\u2029"); >-if (x !== 1) { >- testFailed('#1: eval("\\u2029var\\u2029x\\u2029=\\u20291\\u2029"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-eval("\u2029" + "var" + "\u2029" + "x" + "\u2029" + "=" + "\u2029" + "1" + "\u2029"); >-if (x !== 1) { >- testFailed('#2: eval("\\u2029" + "var" + "\\u2029" + "x" + "\\u2029" + "=" + "\\u2029" + "1" + "\\u2029"); x === 1. Actual: ' + (x)); >-} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt >deleted file mode 100644 >index 6b7bd2f085d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A2.1_T1 >- >-PASS SyntaxError: Unexpected EOF >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.html >deleted file mode 100644 >index fce2c0da75a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A2.1_T1; >- * @section: 7.3; >- * @assertion: LINE FEED (U+000A) within strings is not allowed; >- * @description: Insert LINE FEED (\u000A) into string; >- * @negative >-*/ >- >-// CHECK#1 >-if (eval("'\u000Astr\u000Aing\u000A'") === "\u000Astr\u000Aing\u000A") { >- testFailed('#1: eval("\'\\u000Astr\\u000Aing\\u000A\'") === "\\u000Astr\\u000Aing\\u000A"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt >deleted file mode 100644 >index 4784d7fab6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.3_A2.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.html >deleted file mode 100644 >index 149cc8a99c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A2.1_T2; >- * @section: 7.3; >- * @assertion: LINE FEED (U+000A) within strings is not allowed; >- * @description: Use real LINE FEED into string; >- * @negative >-*/ >- >-//CHECK#1 >-" >-str >-ing >-"; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt >deleted file mode 100644 >index d77506124a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A2.2_T1 >- >-PASS SyntaxError: Unexpected EOF >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.html >deleted file mode 100644 >index 5808fcad12a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A2.2_T1; >- * @section: 7.3; >- * @assertion: CARRIAGE RETURN (U+000D) within strings is not allowed; >- * @description: Insert CARRIAGE RETURN (\u000D) into string; >- * @negative >-*/ >- >-// CHECK#1 >-if (eval("'\u000Dstr\u000Ding\u000D'") === "\u000Dstr\u000Ding\u000D") { >- testFailed('#1: eval("\'\\u000Dstr\\u000Ding\\u000D\'") === "\\u000Dstr\\u000Ding\\u000D"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt >deleted file mode 100644 >index 9881a67cfad..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.3_A2.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.html >deleted file mode 100644 >index f4c622112ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.html >+++ /dev/null >@@ -1,94 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A2.2_T2; >- * @section: 7.3; >- * @assertion: CARRIAGE RETURN (U+000D) within strings is not allowed; >- * @description: Insert real CARRIAGE RETURN into string; >- * @negative >-*/ >- //CHECK#1 " str ing "; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt >deleted file mode 100644 >index 63cbe629ec5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.html >deleted file mode 100644 >index fe0a8eafe75..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A2.3; >- * @section: 7.3; >- * @assertion: LINE SEPARATOR (U+2028) within strings is allowed; >- * @description: Insert LINE SEPARATOR (\u2028) into string; >- * @negative >-*/ >- >-// CHECK#1 >-if (eval("'\u2028str\u2028ing\u2028'") !== "\u2028str\u2028ing\u2028") { >- testFailed('#1: eval("\'\\u2028str\\u2028ing\\u2028\'") !== "\\u2028str\\u2028ing\\u2028"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt >deleted file mode 100644 >index ff645264c90..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.html >deleted file mode 100644 >index 5850591c290..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A2.4; >- * @section: 7.3; >- * @assertion: PARAGRAPH SEPARATOR (U+2029) within strings is allowed; >- * @description: Insert PARAGRAPH SEPARATOR (\u2029) into string; >- * @negative >-*/ >- >-// CHECK#1 >-if (eval("'\u2029str\u2029ing\u2029'") !== "\u2029str\u2029ing\u2029") { >- testFailed('#1: eval("\'\\u2029str\\u2029ing\\u2029\'") !== "\\u2029str\\u2029ing\\u2029"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1-expected.txt >deleted file mode 100644 >index 93d0b10d293..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A3.1_T1 >- >-PASS ReferenceError: Can't find variable: comment >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.html >deleted file mode 100644 >index 0eb443663e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.1_T1; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain LINE FEED (U+000A) inside; * @description: Insert LINE FEED (\u000A) into single line comment; * @negative */ // CHECK#1 eval("// single line \u000A comment"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt >deleted file mode 100644 >index 33dd294d982..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A3.1_T2 >- >-PASS SyntaxError: Unexpected identifier 'line' >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.html >deleted file mode 100644 >index 169c07b0822..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.1_T2; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain LINE FEED (U+000A) inside; * @description: Insert LINE FEED (\u000A) into begin of single line comment; * @negative */ // CHECK#1 eval("//\u000A single line comment"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt >deleted file mode 100644 >index 6775f8caacc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected identifier 'comment' >-S7.3_A3.1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.html >deleted file mode 100644 >index 35905d6bf12..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.html >+++ /dev/null >@@ -1,90 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.1_T3; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain LINE FEED (U+000A) inside; * @description: Insert real LINE FEED into single line comment; * @negative */ >-// CHECK#1 >-//single >-line comment >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1-expected.txt >deleted file mode 100644 >index 167497148e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A3.2_T1 >- >-PASS ReferenceError: Can't find variable: comment >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.html >deleted file mode 100644 >index f5efede53e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.2_T1; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain CARRIAGE RETURN (U+000D) inside; * @description: Insert CARRIAGE RETURN (\u000D) into single line comment; * @negative */ // CHECK#1 eval("// single line \u000D comment"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt >deleted file mode 100644 >index bbcb2cecea5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A3.2_T2 >- >-PASS SyntaxError: Unexpected identifier 'line' >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.html >deleted file mode 100644 >index a3baf2fa3aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.2_T2; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain CARRIAGE RETURN (U+000D) inside; * @description: Insert CARRIAGE RETURN (\u000D) into begin of single line comment; * @negative */ // CHECK#1 eval("//\u000D single line comment"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt >deleted file mode 100644 >index 738f1cf1093..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected identifier 'comment' >-S7.3_A3.2_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.html >deleted file mode 100644 >index c7d2e6b3b81..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.2_T3; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain CARRIAGE RETURN (U+000D) inside; * @description: Insert real CARRIAGE RETURN into single line comment; * @negative */ // CHECK#1 //single line comment >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1-expected.txt >deleted file mode 100644 >index cc36262a0ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A3.3_T1 >- >-PASS ReferenceError: Can't find variable: comment >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.html >deleted file mode 100644 >index 1501fcea3da..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.3_T1; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain LINE SEPARATOR (U+2028) inside; * @description: Insert LINE SEPARATOR (\u2028) into single line comment; * @negative */ // CHECK#1 eval("// single line \u2028 comment"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt >deleted file mode 100644 >index 39fe35b6cde..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A3.3_T2 >- >-PASS SyntaxError: Unexpected identifier 'line' >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.html >deleted file mode 100644 >index 6367e44d2d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.3_T2; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain LINE SEPARATOR (U+2028) inside; * @description: Insert LINE SEPARATOR (\u2028) into begin of single line comment; * @negative */ // CHECK#1 eval("//\u2028 single line comment"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1-expected.txt >deleted file mode 100644 >index 5ca13becc63..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A3.4_T1 >- >-PASS ReferenceError: Can't find variable: comment >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.html >deleted file mode 100644 >index ceeb76d03d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.4_T1; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain PARAGRAPH SEPARATOR (U+2029) inside; * @description: Insert PARAGRAPH SEPARATOR (\u2029) into single line comment; * @negative */ // CHECK#1 eval("// single line \u2029 comment"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt >deleted file mode 100644 >index 08e595465ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A3.4_T2 >- >-PASS SyntaxError: Unexpected identifier 'line' >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.html >deleted file mode 100644 >index 1b7aa461f3a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A3.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A3.4_T2; * @section: 7.3, 7.4; * @assertion: Single line comments can not contain PARAGRAPH SEPARATOR (U+2029) inside; * @description: Insert PARAGRAPH SEPARATOR (\u2029) into begin of single line comment; * @negative */ // CHECK#1 eval("//\u2029 single line comment"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1-expected.txt >deleted file mode 100644 >index 2c9b6432eb5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.html >deleted file mode 100644 >index 13c79d316d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A4_T1; * @section: 7.3, 7.4; * @assertion: Single line comments can contain Line Terminator at the end of line; * @description: Insert LINE FEED (U+000A) into the end of single line comment; */ // CHECK#1 eval("// single line comment\u000A"); // CHECK#2 var x = 0; eval("// single line comment\u000A x = 1;"); if (x !== 1) { testFailed('#1: var x = 0; eval("// single line comment\\u000A x = 1;"); x === 1. Actual: ' + (x)); } >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2-expected.txt >deleted file mode 100644 >index 6b9610b9a75..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.html >deleted file mode 100644 >index 2afca50fb3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A4_T2; * @section: 7.3, 7.4; * @assertion: Single line comments can contain Line Terminator at the end of line; * @description: Insert CARRIAGE RETURN (U+000D) into the end of single line comment; */ // CHECK#1 eval("// single line comment\u000D"); // CHECK#2 var x = 0; eval("// single line comment\u000D x = 1;"); if (x !== 1) { testFailed('#1: var x = 0; eval("// single line comment\\u000D x = 1;"); x === 1. Actual: ' + (x)); } >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3-expected.txt >deleted file mode 100644 >index 920057a9a27..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.html >deleted file mode 100644 >index 36cc0614fc8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A4_T3; * @section: 7.3, 7.4; * @assertion: Single line comments can contain Line Terminator at the end of line; * @description: Insert LINE SEPARATOR (U+2028) into the end of single line comment; */ // CHECK#1 eval("// single line comment\u2028"); // CHECK#2 var x = 0; eval("// single line comment\u2028 x = 1;"); if (x !== 1) { testFailed('#1: var x = 0; eval("// single line comment\\u2028 x = 1;"); x === 1. Actual: ' + (x)); } >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4-expected.txt >deleted file mode 100644 >index 1004c1f36b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.html >deleted file mode 100644 >index 92b9bc16048..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** * @name: S7.3_A4_T4; * @section: 7.3, 7.4; * @assertion: Single line comments can contain Line Terminator at the end of line; * @description: Insert PARAGRAPH SEPARATOR (U+2029) into the end of single line comment; */ // CHECK#1 eval("// single line comment\u2029"); // CHECK#2 var x = 0; eval("// single line comment\u2029 x = 1;"); if (x !== 1) { testFailed('#1: var x = 0; eval("// single line comment\\u2029 x = 1;"); x === 1. Actual: ' + (x)); } >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1-expected.txt >deleted file mode 100644 >index a3db29d4f76..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.html >deleted file mode 100644 >index 33015e91109..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A5.1_T1; >- * @section: 7.3, 7.4; >- * @assertion: Multi line comment can contain LINE FEED (U+000A); >- * @description: Insert LINE FEED (U+000A) into multi line comment; >- */ >- >-// CHECK#1 >-eval("/*\u000A multi line \u000A comment \u000A*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u000A multi line \u000A comment \u000A x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u000A multi line \\u000A comment \\u000A x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2-expected.txt >deleted file mode 100644 >index a0d5322336e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A5.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.html >deleted file mode 100644 >index 733f410500b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A5.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A5.1_T2; >- * @section: 7.3, 7.4; >- * @assertion: Multi line comment can contain LINE FEED (U+000A); >- * @description: Insert real LINE FEED into multi line comment; >- */ >- >-/*CHECK#1*/ >-var x = 0; >-/* >-multi >-line >-comment >-x = 1; >-*/ >-if (x !== 0) { >- testFailed('#1: var x = 0; /*\\nmulti\\nline\\ncomment\\nx = 1;\\n*/ x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1-expected.txt >deleted file mode 100644 >index 530a3409f3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.html >deleted file mode 100644 >index ecf17674e58..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A5.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A5.2_T1; >- * @section: 7.3, 7.4; >- * @assertion: Multi line comment can contain CARRIAGE RETURN (U+000D); >- * @description: Insert CARRIAGE RETURN (U+000D) into multi line comment; >- */ >- >-// CHECK#1 >-eval("/*\u000D multi line \u000D comment \u000D*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u000D multi line \u000D comment \u000D x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u000D multi line \\u000D comment \\u000D x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2-expected.txt >deleted file mode 100644 >index 87e1095ad23..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A5.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.html >deleted file mode 100644 >index 10f5981a1b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.html >+++ /dev/null >@@ -1,93 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A5.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A5.2_T2; >- * @section: 7.3, 7.4; >- * @assertion: Multi line comment can contain CARRIAGE RETURN (U+000D); >- * @description: Insert real CARRIAGE RETURN into multi line comment; >- */ >- /*CHECK#1*/ var x = 0; /* multi line comment x = 1; */ if (x !== 0) { testFailed('#1: var x = 0; /*\\rmulti\\rline\\rcomment\\rx = 1;\\r*/ x === 0. Actual: ' + (x)); } >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3-expected.txt >deleted file mode 100644 >index d28946c40b9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A5.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.html >deleted file mode 100644 >index 1e3556b7f16..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A5.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A5.3; >- * @section: 7.3, 7.4; >- * @assertion: Multi line comment can contain LINE SEPARATOR (U+2028); >- * @description: Insert LINE SEPARATOR (U+2028) into multi line comment; >- */ >- >-// CHECK#1 >-eval("/*\u2028 multi line \u2028 comment \u2028*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u2028 multi line \u2028 comment \u2028 x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u2028 multi line \\u2028 comment \\u2028 x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4-expected.txt >deleted file mode 100644 >index cab2ff92850..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A5.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.html >deleted file mode 100644 >index 16469109491..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A5.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A5.4; >- * @section: 7.3, 7.4; >- * @assertion: Multi line comment can contain LINE SEPARATOR (U+2029); >- * @description: Insert PARAGRAPH SEPARATOR (U+2029) into multi line comment; >- */ >- >-// CHECK#1 >-eval("/*\u2029 multi line \u2029 comment \u2029*/"); >- >-//CHECK#2 >-var x = 0; >-eval("/*\u2029 multi line \u2029 comment \u2029 x = 1;*/"); >-if (x !== 0) { >- testFailed('#1: var x = 0; eval("/*\\u2029 multi line \\u2029 comment \\u2029 x = 1;*/"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt >deleted file mode 100644 >index 5c4d0e41b2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u000A' >-S7.3_A6_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.html >deleted file mode 100644 >index f8c8d6db44d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A6_T1; >- * @section: 7.3; >- * @assertion: Line Terminator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Insert LINE FEED (U+000A) in var x; >- * @negative >-*/ >- >-var\u000Ax; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt >deleted file mode 100644 >index 4287b37c792..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u000D' >-S7.3_A6_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.html >deleted file mode 100644 >index 97113b773ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A6_T2; >- * @section: 7.3; >- * @assertion: Line Terminator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Insert CARRIAGE RETURN (U+000D) in var x; >- * @negative >-*/ >- >-var\u000Dx; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt >deleted file mode 100644 >index cd130202b88..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u2028' >-S7.3_A6_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.html >deleted file mode 100644 >index 6e23e3c6edf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A6_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A6_T3; >- * @section: 7.3; >- * @assertion: Line Terminator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Insert LINE SEPARATOR (U+2028) in var x; >- * @negative >-*/ >- >-var\u2028x; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt >deleted file mode 100644 >index c730296713d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u2029' >-S7.3_A6_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.html >deleted file mode 100644 >index 9470576988c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A6_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A6_T4; >- * @section: 7.3; >- * @assertion: Line Terminator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Insert PARAGRAPH SEPARATOR (U+2029) in var x; >- * @negative >-*/ >- >-var\u2029x; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1-expected.txt >deleted file mode 100644 >index b36b0546bdf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.html >deleted file mode 100644 >index eec4f9386bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A7_T1; >- * @section: 7.3; >- * @assertion: Line Terminators between operators are allowed; >- * @description: Insert Line Terminator in var x=y+z; >-*/ >- >-// CHECK#1 >-var y=2; >-var z=3; >-var >-x >-= >-y >-+ >-z >-; >-if (x !== 5) { >- testFailed('#1: var\\nx\\n=\\ny\\n+\\nz\\n; x === 5. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#2 >-var y=2; >-var z=3; >-var >-x >-= >-y >-+ >-z >-; >-if (x !== 5) { >- testFailed('#2: var\\nx\\n=\\ny\\n+\\nz\\n; x === 5. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#3 >-var y=2; >-var z=3; >-eval("\u2028var\u2028x\u2028=\u2028y\u2028+\u2028z\u2028"); >-if (x !== 5) { >- testFailed('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028+\\u2028z\\u2028"); x === 5. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#4 >-var y=2; >-var z=3; >-eval("\u2029var\u2029x\u2029=\u2029y\u2029+\u2029z\u2029"); >-if (x !== 5) { >- testFailed('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029+\\u2029z\\u2029"); x === 5. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2-expected.txt >deleted file mode 100644 >index 0d1e60f5a70..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.html >deleted file mode 100644 >index 57a6f6e6ffd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A7_T2; >- * @section: 7.3; >- * @assertion: Line Terminators between operators are allowed; >- * @description: Insert Line Terminator in var x=y-z; >-*/ >- >-// CHECK#1 >-var y=3; >-var z=2; >-var >-x >-= >-y >-- >-z >-; >-if (x !== 1) { >- testFailed('#1: var\\nx\\n=\\ny\\n-\\nz\\n; x === 1. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#2 >-var y=3; >-var z=2; >-var >-x >-= >-y >-- >-z >-; >-if (x !== 1) { >- testFailed('#2: var\\nx\\n=\\ny\\n-\\nz\\n; x === 1. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#3 >-var y=3; >-var z=2; >-eval("\u2028var\u2028x\u2028=\u2028y\u2028-\u2028z\u2028"); >-if (x !== 1) { >- testFailed('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028-\\u2028z\\u2028"); x === 1. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#4 >-var y=3; >-var z=2; >-eval("\u2029var\u2029x\u2029=\u2029y\u2029-\u2029z\u2029"); >-if (x !== 1) { >- testFailed('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029-\\u2029z\\u2029"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3-expected.txt >deleted file mode 100644 >index 0b156c3cb3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A7_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.html >deleted file mode 100644 >index 15a0ee13a72..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A7_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A7_T3; >- * @section: 7.3; >- * @assertion: Line Terminators between operators are allowed; >- * @description: Insert Line Terminator in var x=y*z; >-*/ >- >-// CHECK#1 >-var y=3; >-var z=2; >-var >-x >-= >-y >-* >-z >-; >-if (x !== 6) { >- testFailed('#1: var\\nx\\n=\\ny\\n*\\nz\\n; x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#2 >-var y=3; >-var z=2; >-var >-x >-= >-y >-* >-z >-; >-if (x !== 6) { >- testFailed('#2: var\\nx\\n=\\ny\\n*\\nz\\n; x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#3 >-var y=3; >-var z=2; >-eval("\u2028var\u2028x\u2028=\u2028y\u2028*\u2028z\u2028"); >-if (x !== 6) { >- testFailed('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028*\\u2028z\\u2028"); x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#4 >-var y=3; >-var z=2; >-eval("\u2029var\u2029x\u2029=\u2029y\u2029*\u2029z\u2029"); >-if (x !== 6) { >- testFailed('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029*\\u2029z\\u2029"); x === 6. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4-expected.txt >deleted file mode 100644 >index 23aaa14868d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A7_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.html >deleted file mode 100644 >index eac3fa32261..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A7_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A7_T4; >- * @section: 7.3; >- * @assertion: Line Terminators between operators are allowed; >- * @description: Insert Line Terminator in var x=y/z; >-*/ >- >-// CHECK#1 >-var y=12; >-var z=2; >-var >-x >-= >-y >-/ >-z >-; >-if (x !== 6) { >- testFailed('#1: var\\nx\\n=\\ny\\n/\\nz\\n; x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#2 >-var y=12; >-var z=2; >-var >-x >-= >-y >-/ >-z >-; >-if (x !== 6) { >- testFailed('#2: var\\nx\\n=\\ny\\n/\\nz\\n; x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#3 >-var y=12; >-var z=2; >-eval("\u2028var\u2028x\u2028=\u2028y\u2028/\u2028z\u2028"); >-if (x !== 6) { >- testFailed('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028/\\u2028z\\u2028"); x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#4 >-var y=12; >-var z=2; >-eval("\u2029var\u2029x\u2029=\u2029y\u2029/\u2029z\u2029"); >-if (x !== 6) { >- testFailed('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029/\\u2029z\\u2029"); x === 6. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5-expected.txt >deleted file mode 100644 >index 3464c16aebb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A7_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.html >deleted file mode 100644 >index 347cba62460..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A7_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A7_T5; >- * @section: 7.3; >- * @assertion: Line Terminators between operators are allowed; >- * @description: Insert Line Terminator in var x=y%z; >-*/ >- >-// CHECK#1 >-var y=16; >-var z=10; >-var >-x >-= >-y >-% >-z >-; >-if (x !== 6) { >- testFailed('#1: var\\nx\\n=\\ny\\n%\\nz\\n; x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#2 >-var y=16; >-var z=10; >-var >-x >-= >-y >-% >-z >-; >-if (x !== 6) { >- testFailed('#2: var\\nx\\n=\\ny\\n%\\nz\\n; x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#3 >-var y=16; >-var z=10; >-eval("\u2028var\u2028x\u2028=\u2028y\u2028%\u2028z\u2028"); >-if (x !== 6) { >- testFailed('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028%\\u2028z\\u2028"); x === 6. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#4 >-var y=16; >-var z=10; >-eval("\u2029var\u2029x\u2029=\u2029y\u2029%\u2029z\u2029"); >-if (x !== 6) { >- testFailed('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029%\\u2029z\\u2029"); x === 6. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6-expected.txt >deleted file mode 100644 >index c3ec8dfc9d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A7_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.html >deleted file mode 100644 >index ba95d6d5316..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A7_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A7_T6; >- * @section: 7.3; >- * @assertion: Line Terminators between operators are allowed; >- * @description: Insert Line Terminator in var x=y>>z; >-*/ >- >-// CHECK#1 >-var y=16; >-var z=3; >-var >-x >-= >-y >->> >-z >-; >-if (x !== 2) { >- testFailed('#1: var\\nx\\n=\\ny\\n>>\\nz\\n; x === 2. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#2 >-var y=16; >-var z=3; >-var >-x >-= >-y >->> >-z >-; >-if (x !== 2) { >- testFailed('#2: var\\nx\\n=\\ny\\n>>\\nz\\n; x === 2. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#3 >-var y=16; >-var z=3; >-eval("\u2028var\u2028x\u2028=\u2028y\u2028>>\u2028z\u2028"); >-if (x !== 2) { >- testFailed('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028>>\\u2028z\\u2028"); x === 2. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#4 >-var y=16; >-var z=3; >-eval("\u2029var\u2029x\u2029=\u2029y\u2029>>\u2029z\u2029"); >-if (x !== 2) { >- testFailed('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029>>\\u2029z\\u2029"); x === 2. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7-expected.txt >deleted file mode 100644 >index 922ba024435..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A7_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.html >deleted file mode 100644 >index c53593b3b2b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A7_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A7_T7; >- * @section: 7.3; >- * @assertion: Line Terminators between operators are allowed; >- * @description: Insert Line Terminator in var x=y<<z; >-*/ >- >-// CHECK#1 >-var y=2; >-var z=3; >-var >-x >-= >-y >-<< >-z >-; >-if (x !== 16) { >- testFailed('#1: var\\nx\\n=\\ny\\n<<\\nz\\n; x === 16. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#2 >-var y=2; >-var z=3; >-var >-x >-= >-y >-<< >-z >-; >-if (x !== 16) { >- testFailed('#2: var\\nx\\n=\\ny\\n<<\\nz\\n; x ===16 '); >-} >-x=0; >- >-// CHECK#3 >-var y=2; >-var z=3; >-eval("\u2028var\u2028x\u2028=\u2028y\u2028<<\u2028z\u2028"); >-if (x !== 16) { >- testFailed('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028<<\\u2028z\\u2028"); x === 16. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#4 >-var y=2; >-var z=3; >-eval("\u2029var\u2029x\u2029=\u2029y\u2029<<\u2029z\u2029"); >-if (x !== 16) { >- testFailed('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029<<\\u2029z\\u2029"); x === 16. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8-expected.txt >deleted file mode 100644 >index 4c9262626a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.3_A7_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.html >deleted file mode 100644 >index edda612a7cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.3_A7_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.3_A7_T8; >- * @section: 7.3; >- * @assertion: Line Terminators between operators are allowed; >- * @description: Insert Line Terminator in var x=y<z; >-*/ >- >-// CHECK#1 >-var y=2; >-var z=3; >-var >-x >-= >-y >-< >-z >-; >-if (x !== true) { >- testFailed('#1: var\\nx\\n=\\ny\\n<\\nz\\n; x === true. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#2 >-var y=2; >-var z=3; >-var >-x >-= >-y >-< >-z >-; >-if (x !== true) { >- testFailed('#2: var\\nx\\n=\\ny\\n<\\nz\\n; x === true. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#3 >-var y=2; >-var z=3; >-eval("\u2028var\u2028x\u2028=\u2028y\u2028<\u2028z\u2028"); >-if (x !== true) { >- testFailed('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028<\\u2028z\\u2028"); x === true. Actual: ' + (x)); >-} >-x=0; >- >-// CHECK#4 >-var y=2; >-var z=3; >-eval("\u2029var\u2029x\u2029=\u2029y\u2029<\u2029z\u2029"); >-if (x !== true) { >- testFailed('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029<\\u2029z\\u2029"); x === true. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1-expected.txt >deleted file mode 100644 >index bcb26a66178..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.html >deleted file mode 100644 >index e631c5ed495..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A1_T1; >- * @section: 7.4; >- * @assertion: Correct interpretation of single line comments; >- * @description: Create comments with any code; >-*/ >- >-//CHECK#1 >-// testFailed('#1: Correct interpretation single line comments'); >- >-//CHECK#2 >-var x = 0; >-// x = 1; >-if (x !== 0) { >- testFailed('#2: var x = 0; // x = 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-var // y = 1; >-y; >-if (y !== undefined) { >- testFailed('#3: var // y = 1; \\n y; y === undefined. Actual: ' + (y)); >-} >- >-//CHECK#4 >-//testFailed('#4: Correct interpretation single line comments') //testFailed('#4: Correct interpretation single line comments'); // >- >-////CHECK#5 >-//var x = 1; >-//if (x === 1) { >-// testFailed('#5: Correct interpretation single line comments'); >-//} >- >-//CHECK#6 >-//var this.y = 1; >-this.y++; >-if (isNaN(y) !== true) { >- testFailed('#6: //var this.y = 1; \\n this.y++; y === Not-a-Number. Actual: ' + (y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2-expected.txt >deleted file mode 100644 >index 3bef7538ab2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.html >deleted file mode 100644 >index 3ed48952db7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A1_T2; >- * @section: 7.4; >- * @assertion: Correct interpretation of single line comments; >- * @description: Simple test, create empty comment: ///; >-*/ >- >-//CHECK#1 >-/// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1-expected.txt >deleted file mode 100644 >index ac8ec7cdb5d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.html >deleted file mode 100644 >index 016841e2907..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.html >+++ /dev/null >@@ -1,160 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A2_T1; >- * @section: 7.4; >- * @assertion: Correct interpretation of multi line comments; >- * @description: Create comments with any code; >-*/ >- >-/*CHECK#1*/ >-/* testFailed('#1: Correct interpretation multi line comments'); >-*/ >- >-/*CHECK#2*/ >-var x = 0; >-/* x = 1;*/ >-if (x !== 0) { >- testFailed('#2: var x = 0; /* x = 1;*/ x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-var /* y = 1;*/ >-y; >-if (y !== undefined) { >- testFailed('#3: var /* y = 1; */ \\n y; y === undefined. Actual: ' + (y)); >-} >- >-//CHECK#4 >-var /* y = 1;*/ y; >-if (y !== undefined) { >- testFailed('#4: var /* y = 1; */ y; y === undefined. Actual: ' + (y)); >-} >- >-/*CHECK#5*/ >-/*var x = 1; >-if (x === 1) { >- testFailed('#5: Correct interpretation multi line comments'); >-} >-*/ >- >-/*CHECK#6*/ >-/*var this.y = 1;*/ >-this.y++; >-if (isNaN(y) !== true) { >- testFailed('#6: /*var this.y = 1;*/ \\n this.y++; y === Not-a-Number. Actual: ' + (y)); >-} >- >-//CHECK#7 >-var string = "/*var y = 0*/" /* y = 1;*/ >-if (string !== "/*var y = 0*/") { >-testFailed('#7: var string = "/*var y = 0*/" /* y = 1;*/ string === "//var y = 0"'); >-} >- >-//CHECK#8 >-var string = "/*var y = 0" /* y = 1;*/ >-if (string !== "/*var y = 0") { >-testFailed('#8: var string = "/*var y = 0" /* y = 1;*/ string === "//var y = 0"'); >-} >- >-/*CHECK#9*/ >-/** testFailed('#9: Correct interpretation multi line comments'); >-*/ >- >-/*CHECK#10*/ >-/* testFailed('#10: Correct interpretation multi line comments'); >-**/ >- >-/*CHECK#11*/ >-/****** testFailed('#11: Correct interpretation multi line comments');********* >-*********** >-* >- >- >-********** >-**/ >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt >deleted file mode 100644 >index d16df9b5bbd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 83: SyntaxError: Multiline comment was not closed properly >-S7.4_A2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.html >deleted file mode 100644 >index 0b44f608f54..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A2_T2; >- * @section: 7.4; >- * @assertion: Correct interpretation of multi line comments; >- * @description: Try use /*CHECK#1/. This is not closed multi line comment; >- * @negative >-*/ >- >-/*CHECK#1/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt >deleted file mode 100644 >index f60d629d517..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Unexpected token '=' >-S7.4_A3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.html >deleted file mode 100644 >index 8ae4d3ab512..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A3; >- * @section: 7.4; >- * @assertion: Multi line comments cannot nest; >- * @description: Try use nested comments; >- * @negative >-*/ >- >-/*CHECK#1*/ >- >-/* >-var >- >-/* x */ >-= 1; >-*/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt >deleted file mode 100644 >index 8dbcad2cdb6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unterminated regular expression literal '/' >-S7.4_A4_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.html >deleted file mode 100644 >index fb6c7227a13..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A4_T1; >- * @section: 7.4; >- * @assertion: Single and Multi line comments are used together; >- * @description: Try use 2 close comment tags; >- * @negative >-*/ >- >-/*CHECK#1*/ >- >-/* var*/ >-x*/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2-expected.txt >deleted file mode 100644 >index d936eebcfe8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.html >deleted file mode 100644 >index 9bc5c28298f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A4_T2; >- * @section: 7.4; >- * @assertion: Single and Multi line comments are used together; >- * @description: Fist Multi line comment, then Single line comment; >-*/ >- >-/*CHECK#1*/ >- >-/* var >-*///x*/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3-expected.txt >deleted file mode 100644 >index 77d27a36d66..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.html >deleted file mode 100644 >index 2755fc50da1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A4_T3; >- * @section: 7.4; >- * @assertion: Single and Multi line comments are used together; >- * @description: Insert Single line comment into Multi line comment; >-*/ >- >-/*CHECK#1*/ >- >-/* var >-//x >-*/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt >deleted file mode 100644 >index 935efcdde8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unterminated regular expression literal '/' >-S7.4_A4_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.html >deleted file mode 100644 >index 068a49953d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A4_T4; >- * @section: 7.4; >- * @assertion: Single and Multi line comments are used together; >- * @description: Try to open Multi line comment at the end of Single comment; >- * @negative >-*/ >- >-/*CHECK#1*/ >- >-// var /* >-x*/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5-expected.txt >deleted file mode 100644 >index f5846da8498..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.html >deleted file mode 100644 >index dc71eb2db83..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A4_T5; >- * @section: 7.4; >- * @assertion: Single and Multi line comments are used together; >- * @description: Insert Multi line comment into Single line comment; >-*/ >- >-/*CHECK#1*/ >- >-// var /* x */ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6-expected.txt >deleted file mode 100644 >index 18add28d95f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.html >deleted file mode 100644 >index 4b77cb9f1a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A4_T6; >- * @section: 7.4; >- * @assertion: Single and Multi line comments are used together; >- * @description: Insert Multi line comment with two closed tags into Single line comment; >-*/ >- >-/*CHECK#1*/ >- >-// var /* x / = */ 1 */ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7-expected.txt >deleted file mode 100644 >index df4bb63845f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A4_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.html >deleted file mode 100644 >index f52776ea54b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A4_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A4_T7; >- * @section: 7.4; >- * @assertion: Single and Multi line comments are used together; >- * @description: Insert Multi line comment into Single line comments; >-*/ >- >-/*CHECK#1*/ >- >-// var /* >-// x >-// = >-// 1*/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5-expected.txt >deleted file mode 100644 >index 5f6ee3c7377..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html >deleted file mode 100644 >index faa37aebb10..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A5; >- * @section: 7.4; >- * @assertion: Single line comments can contain any Unicode character without Line Terminators; >- * @description: //var " + xx + "yy = -1", insert instead of xx all Unicode characters; >-*/ >- >-//CHECK >-errorCount = 0; >-count = 0; >-var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; >-for (i1 = 0; i1 < 16; i1++) { >- for (i2 = 0; i2 < 16; i2++) { >- for (i3 = 0; i3 < 16; i3++) { >- for (i4 = 0; i4 < 16; i4++) { >- try { >- var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; >- var xx = String.fromCharCode("0x" + uu); >- var LineTerminators = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); >- var yy = 0; >- eval("//var " + xx + "yy = -1"); >- if (LineTerminators !== true) { >- if (yy !== 0) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- } else { >- if (yy !== -1) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- } >- } catch (e){ >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- count++; >- } >- } >- } >-} >- >-if (errorCount > 0) { >- testFailed('Total error: ' + errorCount + ' bad Unicode character in ' + count); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6-expected.txt >deleted file mode 100644 >index 0a06ecd13ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.4_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html >deleted file mode 100644 >index 9572069b067..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.4_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.4_A6; >- * @section: 7.4; >- * @assertion: If multi line comments csn not nest, they can contain any Unicode character; >- * @description: "var"+ yy+ "xx = 1", insert instead of yy all Unicode characters; >-*/ >- >-//CHECK >-errorCount = 0; >-count = 0; >-for (indexI = 0; indexI <= 65535; indexI++) { >- try { >- var xx = 0; >- eval("/*var " + String.fromCharCode(indexI) + "xx = 1*/"); >- var hex = decimalToHexString(indexI); >- if (xx !== 0) { >- testFailed('#' + hex + ' '); >- errorCount++; >- } >- } catch (e){ >- testFailed('#' + hex + ' '); >- errorCount++; >- } >- count++; >-} >- >-if (errorCount > 0) { >- testFailed('Total error: ' + errorCount + ' bad Unicode character in ' + count); >-} >- >-function decimalToHexString(n) { >- n = Number(n); >- var h = ""; >- for (var i = 3; i >= 0; i--) { >- if (n >= Math.pow(16, i)) { >- var t = Math.floor(n / Math.pow(16, i)); >- n -= t * Math.pow(16, i); >- if ( t >= 10 ) { >- if ( t == 10 ) { h += "A"; } >- if ( t == 11 ) { h += "B"; } >- if ( t == 12 ) { h += "C"; } >- if ( t == 13 ) { h += "D"; } >- if ( t == 14 ) { h += "E"; } >- if ( t == 15 ) { h += "F"; } >- } else { >- h += String(t); >- } >- } else { >- h += "0"; >- } >- } >- return h; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1-expected.txt >deleted file mode 100644 >index b26f6ef134d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.1_A1.1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.html >deleted file mode 100644 >index 5946e0358ab..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.1_A1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.1_A1.1; >- * @section: 7.5.1; >- * @assertion: The "null" token can not be used as identifier; >- * @description: Checking if execution of "null = 1" fails; >- * @negative >-*/ >- >-null = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2-expected.txt >deleted file mode 100644 >index 82c79d93311..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.1_A1.2 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.html >deleted file mode 100644 >index 56a06efb708..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.1_A1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.1_A1.2; >- * @section: 7.5.1; >- * @assertion: The "true" token can not be used as identifier; >- * @description: Checking if execution of "true=1" fails; >- * @negative >-*/ >- >-true = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3-expected.txt >deleted file mode 100644 >index 61a5807b6cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.1_A1.3 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.html >deleted file mode 100644 >index afe30cf72b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.1_A1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.1_A1.3; >- * @section: 7.5.1; >- * @assertion: The "false" token can not be used as identifier; >- * @description: Checking if execution of "false=1" fails; >- * @negative >-*/ >- >-false = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2-expected.txt >deleted file mode 100644 >index 0e4454bfc82..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.1_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.html >deleted file mode 100644 >index 6ce0fd5aecf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.html >+++ /dev/null >@@ -1,204 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.1_A2; >- * @section: 7.5.1; >- * @assertion: List of words that are not reserved; >- * @description: Try assign 1 for not reserved words; >-*/ >- >-// a >-and = 1; >-and_eq = 1; >-as = 1; >-asm = 1; >-assert = 1; >-auto = 1; >-// b >-base = 1; >-bitand = 1; >-bitor = 1; >-bool = 1; >-byvalue = 1; >-// c >-checked = 1; >-clone = 1; >-comment = 1; >-compl = 1; >-const_cast = 1; >-// d >-decimal = 1; >-delegate = 1; >-dynamic_cast = 1; >-// e >-explicit = 1; >-extern = 1; >-equals = 1; >-event = 1; >-// f >-finalize = 1; >-fixed = 1; >-friend = 1; >-foreach = 1; >-future = 1; >-// g >-getClass = 1; >-generic = 1; >-// h >-hashCode = 1; >-// i >-implicit = 1; >-infinity = 1; >-inline = 1; >-inner = 1; >-internal = 1; >-is = 1; >-// j >-// k >-// l >-lock = 1; >-// m >-mutable = 1; >-// n >-NaN = 1; >-namespace = 1; >-not = 1; >-notify = 1; >-notifyAll = 1; >-not_eq = 1; >-// o >-object = 1; >-operator = 1; >-or = 1; >-or_eq = 1; >-out = 1; >-outer = 1; >-override = 1; >-// p >-params = 1; >-// q >-// r >-readonly = 1; >-reinterpret_cast = 1; >-ref = 1; >-register = 1; >- >-// s >-sbyte = 1; >-signed = 1; >-sizeof = 1; >-stackalloc = 1; >-static_cast = 1; >-string = 1; >-strictfp = 1; >-struct = 1; >-// t >-template = 1; >-toString = 1; >-typedef = 1; >-typeid = 1; >-// u >-uint = 1; >-unchecked = 1; >-undefiend = 1; >-union = 1; >-unsafe = 1; >-unsigned = 1; >-use = 1; >-using = 1; >-ushort = 1; >-// v >-valueOf = 1; >-virtual = 1; >-// w >-wait = 1; >-wchar_t = 1; >-// x >-xor = 1; >-xor_eq = 1; >-// y >-// z >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt >deleted file mode 100644 >index e6cd49372fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected an identifier as the target for a break statement. >-S7.5.2_A1.1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.html >deleted file mode 100644 >index 89d453d211f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.1; >- * @section: 7.5.2; >- * @assertion: The "break" token can not be used as identifier; >- * @description: Checking if execution of "break=1" fails; >- * @negative >-*/ >- >-break = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt >deleted file mode 100644 >index f14a8deab9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a for-loop header. >-S7.5.2_A1.10 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.html >deleted file mode 100644 >index cec2469af9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.10; >- * @section: 7.5.2; >- * @assertion: The "for" token can not be used as identifier; >- * @description: Checking if execution of "for=1" fails; >- * @negative >-*/ >- >-for = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt >deleted file mode 100644 >index 719218d1abe..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.11 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.html >deleted file mode 100644 >index 20657994a90..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.11; >- * @section: 7.5.2; >- * @assertion: The "function" token can not be used as identifier; >- * @description: Checking if execution of "function=1" fails; >- * @negative >-*/ >- >-function = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt >deleted file mode 100644 >index 7625e773fa8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start an 'if' condition. >-S7.5.2_A1.12 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.html >deleted file mode 100644 >index 1394bf41a1d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.12; >- * @section: 7.5.2; >- * @assertion: The "if" token can not be used as identifier; >- * @description: Checking if execution of "if=1" fails; >- * @negative >-*/ >- >-if = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt >deleted file mode 100644 >index 1f93ef1ec80..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'in' >-S7.5.2_A1.13 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.html >deleted file mode 100644 >index 9c897655562..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.13; >- * @section: 7.5.2; >- * @assertion: The "in" token can not be used as identifier; >- * @description: Checking if execution of "in=1" fails; >- * @negative >-*/ >- >-in = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt >deleted file mode 100644 >index 9b6118be7c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'instanceof' >-S7.5.2_A1.14 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.html >deleted file mode 100644 >index 06b136a3304..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.14; >- * @section: 7.5.2; >- * @assertion: The "instanceof" token can not be used as identifier; >- * @description: Checking if execution of "instanceof=1" fails; >- * @negative >-*/ >- >-instanceof = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt >deleted file mode 100644 >index 61fae242de8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.15 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.html >deleted file mode 100644 >index 02a0299f8dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.15; >- * @section: 7.5.2; >- * @assertion: The "new" token can not be used as identifier; >- * @description: Checking if execution of "new=1" fails; >- * @negative >-*/ >- >-new = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt >deleted file mode 100644 >index 2f4c492f432..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Return statements are only valid inside functions. >-S7.5.2_A1.16 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.html >deleted file mode 100644 >index f61c9a5ca50..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.16</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.16; >- * @section: 7.5.2; >- * @assertion: The "return" token can not be used as identifier; >- * @description: Checking if execution of "return=1" fails; >- * @negative >-*/ >- >-return = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt >deleted file mode 100644 >index a0d98f83ce6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a subject of a 'switch'. >-S7.5.2_A1.17 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.html >deleted file mode 100644 >index 062407b9000..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.17</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.17; >- * @section: 7.5.2; >- * @assertion: The "switch" token can not be used as identifier; >- * @description: Checking if execution of "switch=1" fails; >- * @negative >-*/ >- >-switch = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18-expected.txt >deleted file mode 100644 >index f2b3f96f23d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.2_A1.18 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.html >deleted file mode 100644 >index 26c6e4c26af..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.18</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.18; >- * @section: 7.5.2; >- * @assertion: The "this" token can not be used as identifier; >- * @description: Checking if execution of "this=1" fails; >- * @negative >-*/ >- >-this = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt >deleted file mode 100644 >index a40193258e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.19 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.html >deleted file mode 100644 >index e4da825d0dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.19</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.19; >- * @section: 7.5.2; >- * @assertion: The "throw" token can not be used as identifier; >- * @description: Checking if execution of "throw=1" fails; >- * @negative >-*/ >- >-throw = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt >deleted file mode 100644 >index 8708c4e931d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'case'. Expected a closing '}' at the end of a block statement. >-S7.5.2_A1.2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.html >deleted file mode 100644 >index 7ddd4e70255..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.2; >- * @section: 7.5.2; >- * @assertion: The "case" token can not be used as identifier; >- * @description: Checking if execution of "case=1" fails; >- * @negative >-*/ >- >-case = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt >deleted file mode 100644 >index e206c195c74..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected a block statement as body of a try statement. >-S7.5.2_A1.20 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.html >deleted file mode 100644 >index 8faf389671d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.20</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.20; >- * @section: 7.5.2; >- * @assertion: The "try" token can not be used as identifier; >- * @description: Checking if execution of "try=1" fails; >- * @negative >-*/ >- >-try = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt >deleted file mode 100644 >index 6a8809ff57f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.21 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.html >deleted file mode 100644 >index a1ba3d013b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.21</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.21; >- * @section: 7.5.2; >- * @assertion: The "typeof" token can not be used as identifier; >- * @description: Checking if execution of "typeof=1" fails; >- * @negative >-*/ >- >-typeof = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt >deleted file mode 100644 >index 65b33af8635..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected a parameter pattern or a ')' in parameter list. >-S7.5.2_A1.22 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.html >deleted file mode 100644 >index 7c8e8a79a5d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.22</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.22; >- * @section: 7.5.2; >- * @assertion: The "var" token can not be used as identifier; >- * @description: Checking if execution of "var=1" fails; >- * @negative >-*/ >- >-var = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt >deleted file mode 100644 >index cc39ac93222..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.23 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.html >deleted file mode 100644 >index ca4e3a4c15e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.23</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.23; >- * @section: 7.5.2; >- * @assertion: The "void" token can not be used as identifier; >- * @description: Checking if execution of "void=1" fails; >- * @negative >-*/ >- >-void = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt >deleted file mode 100644 >index 237c47442c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a while loop condition. >-S7.5.2_A1.24 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.html >deleted file mode 100644 >index 2ea3a8d3585..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.24</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.24; >- * @section: 7.5.2; >- * @assertion: The "while" token can not be used as identifier; >- * @description: Checking if execution of "while=1" fails; >- * @negative >-*/ >- >-while = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt >deleted file mode 100644 >index de8f685f9ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a subject of a 'with' statement. >-S7.5.2_A1.25 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.html >deleted file mode 100644 >index e4b3e2ef602..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.25</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.25; >- * @section: 7.5.2; >- * @assertion: The "with" token can not be used as identifier; >- * @description: Checking if execution of "with=1" fails; >- * @negative >-*/ >- >-with = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt >deleted file mode 100644 >index 199e2e3ec29..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'catch' >-S7.5.2_A1.3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.html >deleted file mode 100644 >index 9af7ee3f93a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.3; >- * @section: 7.5.2; >- * @assertion: The "catch" token can not be used as identifier; >- * @description: Checking if execution of "catch=1" fails; >- * @negative >-*/ >- >-catch = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt >deleted file mode 100644 >index 5cbfca6a9c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected an identifier as the target for a continue statement. >-S7.5.2_A1.4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.html >deleted file mode 100644 >index 9a2277163a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.4; >- * @section: 7.5.2; >- * @assertion: The "continue" token can not be used as identifier; >- * @description: Checking if execution of "contunue=1" fails; >- * @negative >-*/ >- >-continue = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt >deleted file mode 100644 >index 64482779962..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'default'. Expected a closing '}' at the end of a block statement. >-S7.5.2_A1.5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.html >deleted file mode 100644 >index a18e5f8454b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.5; >- * @section: 7.5.2; >- * @assertion: The "default" token can not be used as identifier; >- * @description: Checking if execution of "default=1" fails; >- * @negative >-*/ >- >-default = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt >deleted file mode 100644 >index f00c4f58f8d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.html >deleted file mode 100644 >index 185c0fa8504..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.6; >- * @section: 7.5.2; >- * @assertion: The "delete" token can not be used as identifier; >- * @description: Checking if execution of "delete=1" fails; >- * @negative >-*/ >- >-delete = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt >deleted file mode 100644 >index 2405ef5ab9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.html >deleted file mode 100644 >index 14538d46337..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.7; >- * @section: 7.5.2; >- * @assertion: The "do" token can not be used as identifier; >- * @description: Checking if execution of "do=1" fails; >- * @negative >-*/ >- >-do = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt >deleted file mode 100644 >index d28697f8ded..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'else' >-S7.5.2_A1.8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.html >deleted file mode 100644 >index d61d28d5dbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.8; >- * @section: 7.5.2; >- * @assertion: The "else" token can not be used as identifier; >- * @description: Checking if execution of "else=1" fails; >- * @negative >-*/ >- >-else = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt >deleted file mode 100644 >index 73bd44ab4c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'finally' >-S7.5.2_A1.9 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.html >deleted file mode 100644 >index 53800a3fb9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.2_A1.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.2_A1.9; >- * @section: 7.5.2; >- * @assertion: The "finally" token can not be used as identifier; >- * @description: Checking if execution of "finally=1" fails; >- * @negative >-*/ >- >-finally = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1-expected.txt >deleted file mode 100644 >index 2c9bd063de5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.html >deleted file mode 100644 >index c17528a2c51..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.1; >- * @section: 7.5.3; >- * @assertion: The "abstract" token can not be used as identifier; >- * @description: Checking if execution of "abstract=1" fails; >- * @negative >-*/ >- >-abstract = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt >deleted file mode 100644 >index 01bb7d9b7ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'export' >-S7.5.3_A1.10 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.html >deleted file mode 100644 >index ef8928abf9b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.10; >- * @section: 7.5.3; >- * @assertion: The "export" token can not be used as identifier; >- * @description: Checking if execution of "export=1" fails; >- * @negative >-*/ >- >-export = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt >deleted file mode 100644 >index a7d8385321d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'extends' >-S7.5.3_A1.11 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.html >deleted file mode 100644 >index 5d013ce566b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.11; >- * @section: 7.5.3; >- * @assertion: The "extends" token can not be used as identifier; >- * @description: Checking if execution of "extends=1" fails; >- * @negative >-*/ >- >-extends = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12-expected.txt >deleted file mode 100644 >index 58b51bb6766..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.12 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.html >deleted file mode 100644 >index 2f2ff978dea..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.12; >- * @section: 7.5.3; >- * @assertion: The "final" token can not be used as identifier; >- * @description: Checking if execution of "final=1" fails; >- * @negative >-*/ >- >-final = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13-expected.txt >deleted file mode 100644 >index cd8f9cdb2f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.13 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.html >deleted file mode 100644 >index 76238915687..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.13; >- * @section: 7.5.3; >- * @assertion: The "float" token can not be used as identifier; >- * @description: Checking if execution of "float=1" fails; >- * @negative >-*/ >- >-float = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14-expected.txt >deleted file mode 100644 >index acd8efd98a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.14 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.html >deleted file mode 100644 >index 77ca98d3c29..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.14; >- * @section: 7.5.3; >- * @assertion: The "goto" token can not be used as identifier; >- * @description: Checking if execution of "goto=1" fails; >- * @negative >-*/ >- >-goto = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15-expected.txt >deleted file mode 100644 >index 48307f58484..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.15 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.html >deleted file mode 100644 >index 1582bf219e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.15; >- * @section: 7.5.3; >- * @assertion: The "implements" token can not be used as identifier; >- * @description: Checking if execution of "implements=1" fails; >- * @negative >-*/ >- >-implements = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt >deleted file mode 100644 >index ccfb1d72c90..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. import call expects exactly one argument. >-S7.5.3_A1.16 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.html >deleted file mode 100644 >index 4f6c071a85c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.16</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.16; >- * @section: 7.5.3; >- * @assertion: The "import" token can not be used as identifier; >- * @description: Checking if execution of "import=1" fails; >- * @negative >-*/ >- >-import = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17-expected.txt >deleted file mode 100644 >index 3e1c4c93ce4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.17 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.html >deleted file mode 100644 >index 888f62536f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.17</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.17; >- * @section: 7.5.3; >- * @assertion: The "int" token can not be used as identifier; >- * @description: Checking if execution of "int=1" fails; >- * @negative >-*/ >- >-int = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18-expected.txt >deleted file mode 100644 >index bb5d08f506b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.18 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.html >deleted file mode 100644 >index 318317878c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.18</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.18; >- * @section: 7.5.3; >- * @assertion: The "interface" token can not be used as identifier; >- * @description: Checking if execution of "interface = 1" fails; >- * @negative >-*/ >- >-interface = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19-expected.txt >deleted file mode 100644 >index 483124745cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.19 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.html >deleted file mode 100644 >index 29aa9caaeb7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.19</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.19; >- * @section: 7.5.3; >- * @assertion: The "long" token can not be used as identifier; >- * @description: Checking if execution of "long=1" fails; >- * @negative >-*/ >- >-long = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2-expected.txt >deleted file mode 100644 >index 4a8adde7689..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.html >deleted file mode 100644 >index 8309e268e76..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.2; >- * @section: 7.5.3; >- * @assertion: The "boolean" token can not be used as identifier; >- * @description: Checking if execution of "boolean=1" fails; >- * @negative >-*/ >- >-boolean = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20-expected.txt >deleted file mode 100644 >index ea59f3c1ed9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.20 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.html >deleted file mode 100644 >index 7d43f6c1cbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.20</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.20; >- * @section: 7.5.3; >- * @assertion: The "native" token can not be used as identifier; >- * @description: Checking if execution of "native=1" fails; >- * @negative >-*/ >- >-native = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21-expected.txt >deleted file mode 100644 >index f821898be03..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.21 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.html >deleted file mode 100644 >index cd34224744b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.21</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.21; >- * @section: 7.5.3; >- * @assertion: The "package" token can not be used as identifier; >- * @description: Checking if execution of "package=1" fails; >- * @negative >-*/ >- >-package = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22-expected.txt >deleted file mode 100644 >index 1ec34128ede..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.22 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.html >deleted file mode 100644 >index 3a81c8f19f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.22</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.22; >- * @section: 7.5.3; >- * @assertion: The "private" token can not be used as identifier; >- * @description: Checking if execution of "private=1" fails; >- * @negative >-*/ >- >-private = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23-expected.txt >deleted file mode 100644 >index 57454531fc9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.23 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.html >deleted file mode 100644 >index 99ce1a0b6c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.23</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.23; >- * @section: 7.5.3; >- * @assertion: The "protected" token can not be used as identifier; >- * @description: Checking if execution of "protected=1" fails; >- * @negative >-*/ >- >-protected = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24-expected.txt >deleted file mode 100644 >index 1347ebc99f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.24 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.html >deleted file mode 100644 >index 36a8fc9c5d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.24</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.24; >- * @section: 7.5.3; >- * @assertion: The "public" token can not be used as identifier; >- * @description: Checking if execution of "public=1" fails; >- * @negative >-*/ >- >-public = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25-expected.txt >deleted file mode 100644 >index 55142efe778..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.25 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.html >deleted file mode 100644 >index 196919fe6ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.25</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.25; >- * @section: 7.5.3; >- * @assertion: The "short" token can not be used as identifier; >- * @description: Checking if execution of "short=1" fails; >- * @negative >-*/ >- >-short = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26-expected.txt >deleted file mode 100644 >index 0b0c6779113..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.26 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.html >deleted file mode 100644 >index cb8cc894303..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.26</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.26; >- * @section: 7.5.3; >- * @assertion: The "static" token can not be used as identifier; >- * @description: Checking if execution of "static=1" fails; >- * @negative >-*/ >- >-static = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt >deleted file mode 100644 >index 69e235714d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: super is not valid in this context. >-S7.5.3_A1.27 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.html >deleted file mode 100644 >index f062f64b321..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.27</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.27; >- * @section: 7.5.3; >- * @assertion: The "super" token can not be used as identifier; >- * @description: Checking if execution of "super=1" fails; >- * @negative >-*/ >- >-super = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28-expected.txt >deleted file mode 100644 >index cdcb8c8df1c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.28 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.html >deleted file mode 100644 >index 70266714d9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.28</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.28; >- * @section: 7.5.3; >- * @assertion: The "synchronized" token can not be used as identifier; >- * @description: Checking if execution of "synchronized=1" fails; >- * @negative >-*/ >- >-synchronized = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29-expected.txt >deleted file mode 100644 >index 77130fd727c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.29 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.html >deleted file mode 100644 >index 14f5b851835..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.29</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.29; >- * @section: 7.5.3; >- * @assertion: The "throws" token can not be used as identifier; >- * @description: Checking if execution of "throws=1" fails; >- * @negative >-*/ >- >-throws = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3-expected.txt >deleted file mode 100644 >index f29b9df18b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.3 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.html >deleted file mode 100644 >index b2c519c2e00..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.3; >- * @section: 7.5.3; >- * @assertion: The "byte" token can not be used as identifier; >- * @description: Checking if execution of "byte=1" fails; >- * @negative >-*/ >- >-byte = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30-expected.txt >deleted file mode 100644 >index 67fe0b2e5b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.30 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.html >deleted file mode 100644 >index 86fd69294c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.30</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.30; >- * @section: 7.5.3; >- * @assertion: The "transient" token can not be used as identifier; >- * @description: Checking if execution of "transient=1" fails; >- * @negative >-*/ >- >-transient = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31-expected.txt >deleted file mode 100644 >index 80662d84c08..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.31 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.html >deleted file mode 100644 >index eb868205f73..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.31</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.31; >- * @section: 7.5.3; >- * @assertion: The "volatile" token can not be used as identifier; >- * @description: Checking if execution of "volatile=1" fails; >- * @negative >-*/ >- >-volatile = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4-expected.txt >deleted file mode 100644 >index f91ec4f5e54..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.4 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.html >deleted file mode 100644 >index a0bc7fa22be..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.4; >- * @section: 7.5.3; >- * @assertion: The "char" token can not be used as identifier; >- * @description: Checking if execution of "char=1" fails; >- * @negative >-*/ >- >-char = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt >deleted file mode 100644 >index bdf39e91e2c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.3_A1.5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.html >deleted file mode 100644 >index 55a5fac9047..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.5; >- * @section: 7.5.3; >- * @assertion: The "class" token can not be used as identifier; >- * @description: Checking if execution of "class=1" fails; >- * @negative >-*/ >- >-class = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt >deleted file mode 100644 >index 175b17d9851..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected a parameter pattern or a ')' in parameter list. >-S7.5.3_A1.6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.html >deleted file mode 100644 >index 3de193f41d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.6; >- * @section: 7.5.3; >- * @assertion: The "const" token can not be used as identifier; >- * @description: Checking if execution of "const=1" fails; >- * @negative >-*/ >- >-const = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt >deleted file mode 100644 >index abdd9eb4a7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Debugger keyword must be followed by a ';'. >-S7.5.3_A1.7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.html >deleted file mode 100644 >index fd0a6bd58b9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.7; >- * @section: 7.5.3; >- * @assertion: The "debugger" token can not be used as identifier; >- * @description: Checking if execution of "debugger=1" fails; >- * @negative >-*/ >- >-debugger = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8-expected.txt >deleted file mode 100644 >index b1bb4919efd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.5.3_A1.8 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.html >deleted file mode 100644 >index 1ef9cda2221..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.8; >- * @section: 7.5.3; >- * @assertion: The "double" token can not be used as identifier; >- * @description: Checking if execution of "double=1" fails; >- * @negative >-*/ >- >-double = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt >deleted file mode 100644 >index d24634c72cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'enum' >-S7.5.3_A1.9 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.html >deleted file mode 100644 >index 37f6a97a48e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.5.3_A1.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.5.3_A1.9; >- * @section: 7.5.3; >- * @assertion: The "enum" token can not be used as identifier; >- * @description: Checking if execution of "enum=1" fails; >- * @negative >-*/ >- >-enum = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1-expected.txt >deleted file mode 100644 >index 7e697a549a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.html >deleted file mode 100644 >index 4cca7d18646..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A1.2_T1; >- * @section: 7.6; >- * @assertion: IdentifierStart :: $; >- * @description: Create variable $; >-*/ >- >-//CHECK#1 >-var $ = 1; >-if ($ !== 1) { >- testFailed('#1: var $ = 1; $ === 1. Actual: ' + ($)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2-expected.txt >deleted file mode 100644 >index 31ec4bf8a72..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.html >deleted file mode 100644 >index cfc2b1384a6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A1.2_T2; >- * @section: 7.6; >- * @assertion: IdentifierStart :: $; >- * @description: The $ as unicode character \u0024; >-*/ >- >-//CHECK#1 >-var \u0024 = 1; >-if ($ !== 1) { >- testFailed('#1: var \\u0024 = 1; $ === 1. Actual: ' + ($)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3-expected.txt >deleted file mode 100644 >index ae9e829eb58..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.html >deleted file mode 100644 >index a8156645c97..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A1.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A1.2_T3; >- * @section: 7.6; >- * @assertion: IdentifierStart :: $; >- * @description: The $ as unicode character \u0024; >-*/ >- >-//CHECK#1 >-var identifier = String.fromCharCode(0x0024); >-eval("var " + identifier + "=1"); >-if (eval(identifier + "===1") !== true) { >- testFailed('#1: var identifier = String.fromCharCode(0x0024); eval("var " + identifier + "=1"); eval(identifier + "===1") === true'); >-} >- >-//CHECK#2 >-if ("$" !== String.fromCharCode(0x0024)) { >- testFailed('#2: "$" === String.fromCharCode(0x0024)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1-expected.txt >deleted file mode 100644 >index 7414c5de82d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.html >deleted file mode 100644 >index 5f4ca0a8e27..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A1.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A1.3_T1; >- * @section: 7.6; >- * @assertion: IdentifierStart :: _; >- * @description: Create variable _; >-*/ >- >-//CHECK#1 >-var _ = 1; >-if (_ !== 1) { >- testFailed('#1: var _ = 1; _ === 1. Actual: ' + (_)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2-expected.txt >deleted file mode 100644 >index ae87a97f577..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.html >deleted file mode 100644 >index bda264e4b66..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A1.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A1.3_T2; >- * @section: 7.6; >- * @assertion: IdentifierStart :: _; >- * @description: The _ as unicode character \u005F; >-*/ >- >-//CHECK#1 >-var \u005F = 1; >-if (_ !== 1) { >- testFailed('#1: var \\u005F = 1; _ === 1. Actual: ' + (_)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3-expected.txt >deleted file mode 100644 >index 70b6c95e219..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A1.3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.html >deleted file mode 100644 >index 431d5dede66..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A1.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A1.3_T3; >- * @section: 7.6; >- * @assertion: IdentifierStart :: _; >- * @description: The _ as unicode character \u005F; >-*/ >- >-//CHECK#1 >-var identifier = String.fromCharCode(0x005F); >-eval("var " + identifier + "=1"); >-if (eval(identifier + "===1") !== true) { >- testFailed('#1: var identifier = String.fromCharCode(0x005F); eval("var " + identifier + "=1"); eval(identifier + "===1") === true'); >-} >- >-//CHECK#2 >-if ("_" !== String.fromCharCode(0x005F)) { >- testFailed('#2: "_" === String.fromCharCode(0x005F)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1-expected.txt >deleted file mode 100644 >index 17a6a040f65..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.html >deleted file mode 100644 >index 3879b5d6176..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.html >+++ /dev/null >@@ -1,157 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A2.1_T1; >- * @section: 7.6; >- * @assertion: IdentifierPart :: IdentifierStart; >- * @description: IdentifierStart :: UnicodeLetter; >-*/ >- >-//CHECK#1 >-try { >- var identifier = "x" + "x"; >- eval("var " + identifier + "=1"); >- if (xx !== 1) { >- testFailed('#1.1: var identifier = "x" + "x"; eval("var " + identifier + "=1"); xx === 1. Actual: ' + (xx)); >- } >-} catch (e) { >- testFailed('#1.2: var identifier = "x" + "x"; eval("var " + identifier + "=1"); xx === 1. Actual: ' + (xx)); >-} >- >-//CHECK#2 >-try { >- var identifier = "x" + String.fromCharCode(0x0078); >- eval("var " + identifier + "=2"); >- if (xx !== 2) { >- testFailed('#2.1: var identifier = "x" + String.fromCharCode(0x0078); eval("var " + identifier + "=2"); xx === 2. Actual: ' + (xx)); >- } >-} catch (e) { >- testFailed('#2.2: var identifier = "x" + String.fromCharCode(0x0078); eval("var " + identifier + "=2"); xx === 2. Actual: ' + (xx)); >-} >- >-//CHECK#3 >-try { >- var identifier = String.fromCharCode(0x0078) + String.fromCharCode(0x0078); >- eval("var " + identifier + "=3"); >- if (xx !== 3) { >- testFailed('#3.1: var identifier = String.fromCharCode(0x0078) + String.fromCharCode(0x0078); eval("var " + identifier + "=3"); xx === 3. Actual: ' + (xx)); >- } >-} catch (e) { >- testFailed('#3.2: var identifier = String.fromCharCode(0x0078) + String.fromCharCode(0x0078); eval("var " + identifier + "=3"); xx === 3. Actual: ' + (xx)); >-} >- >-//CHECK#4 >-try { >- var identifier = "$" + String.fromCharCode(0x0078); >- eval("var " + identifier + "=4"); >- if ($x !== 4) { >- testFailed('#4.1: var identifier = "$" + String.fromCharCode(0x0078); eval("var " + identifier + "=4"); $x === 4. Actual: ' + ($x)); >- } >-} catch (e) { >- testFailed('#4.2: var identifier = "$" + String.fromCharCode(0x0078); eval("var " + identifier + "=4"); $x === 4. Actual: ' + ($x)); >-} >- >-//CHECK#5 >-try { >- var identifier = "_" + String.fromCharCode(0x0078); >- eval("var " + identifier + "=5"); >- if (_x !== 5) { >- testFailed('#5.1: var identifier = "_" + String.fromCharCode(0x0078); eval("var " + identifier + "=5"); _x === 5. Actual: ' + (_x)); >- } >-} catch (e) { >- testFailed('#5.2: var identifier = "_" + String.fromCharCode(0x0078); eval("var " + identifier + "=5"); _x === 5. Actual: ' + (_x)); >-} >- >-//CHECK#6 >-try { >- var \u0078x = 6; >- if (xx !== 6) { >- testFailed('#6.1: var \\u0078x = 1; xx === 6. Actual: ' + (xx)); >- } >-} catch (e) { >- testFailed('#6.2: var \\u0078x = 1; xx === 6. Actual: ' + (xx)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2-expected.txt >deleted file mode 100644 >index 9564e85c64d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.html >deleted file mode 100644 >index 733a4a2f9af..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.html >+++ /dev/null >@@ -1,157 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A2.1_T2; >- * @section: 7.6; >- * @assertion: IdentifierPart :: IdentifierStart; >- * @description: IdentifierStart :: $; >-*/ >- >-//CHECK#1 >-try { >- var identifier = "x" + "$"; >- eval("var " + identifier + "=1"); >- if (x$ !== 1) { >- testFailed('#1.1: var identifier = "x" + "$"; eval("var " + identifier + "=1"); x$ === 1. Actual: ' + (x$)); >- } >-} catch (e) { >- testFailed('#1.2: var identifier = "x" + "$"; eval("var " + identifier + "=1"); x$ === 1. Actual: ' + (x$)); >-} >- >-//CHECK#2 >-try { >- var identifier = String.fromCharCode(0x0078) + "$"; >- eval("var " + identifier + "=2"); >- if (x$ !== 2) { >- testFailed('#2.1: var identifier = String.fromCharCode(0x0078) + "$"; eval("var " + identifier + "=2"); x$ === 2. Actual: ' + (x$)); >- } >-} catch (e) { >- testFailed('#2.2: var identifier = String.fromCharCode(0x0078) + "$"; eval("var " + identifier + "=2"); x$ === 2. Actual: ' + (x$)); >-} >- >-//CHECK#3 >-try { >- var identifier = "$" + "$"; >- eval("var " + identifier + "=3"); >- if ($$ !== 3) { >- testFailed('#3.1: var identifier = "$" + "$"; eval("var " + identifier + "=3"); $$ === 3. Actual: ' + ($$)); >- } >-} catch (e) { >- testFailed('#3.2: var identifier = "$" + "$"; eval("var " + identifier + "=3"); $$ === 3. Actual: ' + ($$)); >-} >- >-//CHECK#4 >-try { >- var identifier = String.fromCharCode(0x0024) + String.fromCharCode(0x0024); >- eval("var " + identifier + "=4"); >- if ($$ !== 4) { >- testFailed('#4.1: var identifier = String.fromCharCode(0x0024) + String.fromCharCode(0x0024); eval("var " + identifier + "=4"); $$ === 4. Actual: ' + ($$)); >- } >-} catch (e) { >- testFailed('#4.2: var identifier = String.fromCharCode(0x0024) + String.fromCharCode(0x0024); eval("var " + identifier + "=4"); $$ === 4. Actual: ' + ($$)); >-} >- >-//CHECK#5 >-try { >- var identifier = "_" + "$"; >- eval("var " + identifier + "=5"); >- if (_$ !== 5) { >- testFailed('#5.1: var identifier = "_" + "$"; eval("var " + identifier + "=5"); _$ === 5. Actual: ' + (_$)); >- } >-} catch (e) { >- testFailed('#5.2: var identifier = "_" + "$"; eval("var " + identifier + "=5"); _$ === 5. Actual: ' + (_$)); >-} >- >-//CHECK#6 >-try { >- var \u0078$ = 6; >- if (x$ !== 6) { >- testFailed('#6.1: var \\u0078$ = 1; x$ === 6. Actual: ' + (x$)); >- } >-} catch (e) { >- testFailed('#6.2: var \\u0078$ = 1; x$ === 6. Actual: ' + (x$)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3-expected.txt >deleted file mode 100644 >index e2951160162..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.html >deleted file mode 100644 >index e560dd9d774..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.html >+++ /dev/null >@@ -1,157 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A2.1_T3; >- * @section: 7.6; >- * @assertion: IdentifierPart :: IdentifierStart; >- * @description: IdentifierStart :: _; >-*/ >- >-//CHECK#1 >-try { >- var identifier = "x" + "_"; >- eval("var " + identifier + "=1"); >- if (x_ !== 1) { >- testFailed('#1.1: var identifier = "x" + "_"; eval("var " + identifier + "=1"); x_ === 1. Actual: ' + (x_)); >- } >-} catch (e) { >- testFailed('#1.2: var identifier = "x" + "_"; eval("var " + identifier + "=1"); x_ === 1. Actual: ' + (x_)); >-} >- >-//CHECK#2 >-try { >- var identifier = String.fromCharCode(0x0078) + "_"; >- eval("var " + identifier + "=2"); >- if (x_ !== 2) { >- testFailed('#2.1: var identifier = String.fromCharCode(0x0078) + "_"; eval("var " + identifier + "=2"); x_ === 2. Actual: ' + (x_)); >- } >-} catch (e) { >- testFailed('#2.2: var identifier = String.fromCharCode(0x0078) + "_"; eval("var " + identifier + "=2"); x_ === 2. Actual: ' + (x_)); >-} >- >-//CHECK#3 >-try { >- var identifier = "_" + "_"; >- eval("var " + identifier + "=3"); >- if (__ !== 3) { >- testFailed('#3.1: var identifier = "_" + "_"; eval("var " + identifier + "=3"); __ === 3. Actual: ' + (__)); >- } >-} catch (e) { >- testFailed('#3.2: var identifier = "_" + "_"; eval("var " + identifier + "=3"); __ === 3. Actual: ' + (__)); >-} >- >-//CHECK#4 >-try { >- var identifier = String.fromCharCode(0x005F) + String.fromCharCode(0x005F); >- eval("var " + identifier + "=4"); >- if (__ !== 4) { >- testFailed('#4.1: var identifier = String.fromCharCode(0x005F) + String.fromCharCode(0x005F); eval("var " + identifier + "=4"); __ === 4. Actual: ' + (__)); >- } >-} catch (e) { >- testFailed('#4.2: var identifier = String.fromCharCode(0x005F) + String.fromCharCode(0x005F); eval("var " + identifier + "=4"); __ === 4. Actual: ' + (__)); >-} >- >-//CHECK#5 >-try { >- var identifier = "_" + "_"; >- eval("var " + identifier + "=5"); >- if (__ !== 5) { >- testFailed('#5.1: var identifier = "_" + "_"; eval("var " + identifier + "=5"); __ === 5. Actual: ' + (__)); >- } >-} catch (e) { >- testFailed('#5.2: var identifier = "_" + "_"; eval("var " + identifier + "=5"); __ === 5. Actual: ' + (__)); >-} >- >-//CHECK#6 >-try { >- var \u0078_ = 6; >- if (x_ !== 6) { >- testFailed('#6.1: var \\u0078_ = 1; x_ === 6. Actual: ' + (x_)); >- } >-} catch (e) { >- testFailed('#6.2: var \\u0078_ = 1; x_ === 6. Actual: ' + (x_)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4-expected.txt >deleted file mode 100644 >index d8255cdeefe..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.html >deleted file mode 100644 >index f46c2bbb0b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A2.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A2.1_T4; >- * @section: 7.6; >- * @assertion: IdentifierPart :: IdentifierStart; >- * @description: IdentifierStart :: \UnicodeEscapeSequence; >-*/ >- >-//CHECK#1 >-try { >- var x\u0078 = 1; >- if (xx !== 1) { >- testFailed('#1.1: var x\\u0078 = 1; xx === 1. Actual: ' + (xx)); >- } >-} catch (e) { >- testFailed('#1.2: var x\\u0078 = 1; xx === 1. Actual: ' + (xx)); >-} >- >-//CHECK#2 >-try { >- var \u0078\u0078 = 2; >- if (xx !== 2) { >- testFailed('#2.1: var \\u0078\\u0078 = 1; xx === 2. Actual: ' + (xx)); >- } >-} catch (e) { >- testFailed('#2.2: var \\u0078\\u0078 = 1; xx === 2. Actual: ' + (xx)); >-} >- >-//CHECK#3 >-try { >- var \u0024\u0024 = 3; >- if ($$ !== 3) { >- testFailed('#3.1: var \\u0024\\u0024 = 1; $$ === 3. Actual: ' + ($$)); >- } >-} catch (e) { >- testFailed('#3.2: var \\u0024\\u0024 = 1; $$ === 3. Actual: ' + ($$)); >-} >- >-//CHECK#4 >-try { >- var \u005F\u005F = 4; >- if (__ !== 4) { >- testFailed('#4.1: var \\u005F\\u005F = 1; __ === 4. Actual: ' + (__)); >- } >-} catch (e) { >- testFailed('#4.2: var \\u005F\\u005F = 1; __ === 4. Actual: ' + (__)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1-expected.txt >deleted file mode 100644 >index 1b24f9cd439..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.html >deleted file mode 100644 >index b3b423f9c0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.html >+++ /dev/null >@@ -1,198 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A4.1_T1; >- * @section: 7.6; >- * @assertion: Correct interpretation of ENGLISH ALPHABET; >- * @description: Check ENGLISH CAPITAL ALPHABET; >-*/ >- >-//CHECK#A-Z >-\u0041 = 1; >-if (A !== 1) { >- testFailed('#A'); >-} >-\u0042 = 1; >-if (B !== 1) { >- testFailed('#B'); >-} >-\u0043 = 1; >-if (C !== 1) { >- testFailed('#C'); >-} >-\u0044 = 1; >-if (D !== 1) { >- testFailed('#D'); >-} >-\u0045 = 1; >-if (E !== 1) { >- testFailed('#E'); >-} >-\u0046 = 1; >-if (F !== 1) { >- testFailed('#F'); >-} >-\u0047 = 1; >-if (G !== 1) { >- testFailed('#G'); >-} >-\u0048 = 1; >-if (H !== 1) { >- testFailed('#H'); >-} >-\u0049 = 1; >-if (I !== 1) { >- testFailed('#I'); >-} >-\u004A = 1; >-if (J !== 1) { >- testFailed('#J'); >-} >-\u004B = 1; >-if (K !== 1) { >- testFailed('#K'); >-} >-\u004C = 1; >-if (L !== 1) { >- testFailed('#L'); >-} >-\u004D = 1; >-if (M !== 1) { >- testFailed('#M'); >-} >-\u004E = 1; >-if (N !== 1) { >- testFailed('#N'); >-} >-\u004F = 1; >-if (O !== 1) { >- testFailed('#O'); >-} >-\u0050 = 1; >-if (P !== 1) { >- testFailed('#P'); >-} >-\u0051 = 1; >-if (Q !== 1) { >- testFailed('#Q'); >-} >-\u0052 = 1; >-if (R !== 1) { >- testFailed('#R'); >-} >-\u0053 = 1; >-if (S !== 1) { >- testFailed('#S'); >-} >-\u0054 = 1; >-if (T !== 1) { >- testFailed('#T'); >-} >-\u0055 = 1; >-if (U !== 1) { >- testFailed('#U'); >-} >-\u0056 = 1; >-if (V !== 1) { >- testFailed('#V'); >-} >-\u0057 = 1; >-if (W !== 1) { >- testFailed('#W'); >-} >-\u0058 = 1; >-if (X !== 1) { >- testFailed('#X'); >-} >-\u0059 = 1; >-if (Y !== 1) { >- testFailed('#Y'); >-} >-\u005A = 1; >-if (Z !== 1) { >- testFailed('#Z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2-expected.txt >deleted file mode 100644 >index c8812e1a989..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.html >deleted file mode 100644 >index 60130c61244..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.html >+++ /dev/null >@@ -1,199 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A4.1_T2; >- * @section: 7.6; >- * @assertion: Correct interpretation of ENGLISH ALPHABET; >- * @description: Check ENGLISH SMALL ALPHABET; >-*/ >- >-//CHECK#a-z >-\u0061 = 1; >-if (a !== 1) { >- testFailed('#a'); >-} >-\u0062 = 1; >-if (b !== 1) { >- testFailed('#b'); >-} >-\u0063 = 1; >-if (c !== 1) { >- testFailed('#c'); >-} >-\u0064 = 1; >-if (d !== 1) { >- testFailed('#d'); >-} >-\u0065 = 1; >-if (e !== 1) { >- testFailed('#e'); >-} >-\u0066 = 1; >-if (f !== 1) { >- testFailed('#f'); >-} >-\u0067 = 1; >-if (g !== 1) { >- testFailed('#g'); >-} >-\u0068 = 1; >-if (h !== 1) { >- testFailed('#h'); >-} >-\u0069 = 1; >-if (i !== 1) { >- testFailed('#i'); >-} >-\u006A = 1; >-if (j !== 1) { >- testFailed('#j'); >-} >-\u006B = 1; >-if (k !== 1) { >- testFailed('#k'); >-} >-\u006C = 1; >-if (l !== 1) { >- testFailed('#l'); >-} >-\u006D = 1; >-if (m !== 1) { >- testFailed('#m'); >-} >-\u006E = 1; >-if (n !== 1) { >- testFailed('#n'); >-} >-\u006F = 1; >-if (o !== 1) { >- testFailed('#o'); >-} >-\u0070 = 1; >-if (p !== 1) { >- testFailed('#p'); >-} >-\u0071 = 1; >-if (q !== 1) { >- testFailed('#q'); >-} >-\u0072 = 1; >-if (r !== 1) { >- testFailed('#r'); >-} >-\u0073 = 1; >-if (s !== 1) { >- testFailed('#s'); >-} >-\u0074 = 1; >-if (t !== 1) { >- testFailed('#t'); >-} >-\u0075 = 1; >-if (u !== 1) { >- testFailed('#u'); >-} >-\u0076 = 1; >-if (v !== 1) { >- testFailed('#v'); >-} >-\u0077 = 1; >-if (w !== 1) { >- testFailed('#w'); >-} >-\u0078 = 1; >-if (x !== 1) { >- testFailed('#x'); >-} >-\u0079 = 1; >-if (y !== 1) { >- testFailed('#y'); >-} >-\u007A = 1; >-if (z !== 1) { >- testFailed('#z'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1-expected.txt >deleted file mode 100644 >index 9a94aee57bd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.html >deleted file mode 100644 >index 88e0d4660c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.html >+++ /dev/null >@@ -1,226 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A4.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A4.2_T1; >- * @section: 7.6; >- * @assertion: Correct interpretation of RUSSIAN ALPHABET; >- * @description: Check RUSSIAN CAPITAL ALPHABET; >-*/ >- >-//CHECK#Ð-Я >-\u0410 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0411 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0412 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0413 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0414 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0415 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0416 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0417 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0418 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0419 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u041A = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u041B = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u041C = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u041D = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u041E = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u041F = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u0420 = 1; >-if (Ð !== 1) { >- testFailed('#Ð '); >-} >-\u0421 = 1; >-if (С !== 1) { >- testFailed('#С'); >-} >-\u0422 = 1; >-if (Т !== 1) { >- testFailed('#Т'); >-} >-\u0423 = 1; >-if (У !== 1) { >- testFailed('#У'); >-} >-\u0424 = 1; >-if (Ф !== 1) { >- testFailed('#Ф'); >-} >-\u0425 = 1; >-if (Ð¥ !== 1) { >- testFailed('#Ð¥'); >-} >-\u0426 = 1; >-if (Ц !== 1) { >- testFailed('#Ц'); >-} >-\u0427 = 1; >-if (Ч !== 1) { >- testFailed('#Ч'); >-} >-\u0428 = 1; >-if (Ш !== 1) { >- testFailed('#Ш'); >-} >-\u0429 = 1; >-if (Щ !== 1) { >- testFailed('#Щ'); >-} >-\u042A = 1; >-if (Ъ !== 1) { >- testFailed('#Ъ'); >-} >-\u042B = 1; >-if (Ы !== 1) { >- testFailed('#Ы'); >-} >-\u042C = 1; >-if (Ь !== 1) { >- testFailed('#Ь'); >-} >-\u042D = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >-\u042E = 1; >-if (Ю !== 1) { >- testFailed('#Ю'); >-} >-\u042F = 1; >-if (Я !== 1) { >- testFailed('#Я'); >-} >-\u0401 = 1; >-if (Ð !== 1) { >- testFailed('#Ð'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2-expected.txt >deleted file mode 100644 >index d20eef52123..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.html >deleted file mode 100644 >index 9147f1ffcfe..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.html >+++ /dev/null >@@ -1,226 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A4.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A4.2_T2; >- * @section: 7.6; >- * @assertion: Correct interpretation of RUSSIAN ALPHABET; >- * @description: Check RUSSIAN SMALL ALPHABET; >-*/ >- >-//CHECK#а-Ñ >-\u0430 = 1; >-if (а !== 1) { >- testFailed('#а'); >-} >-\u0431 = 1; >-if (б !== 1) { >- testFailed('#б'); >-} >-\u0432 = 1; >-if (в !== 1) { >- testFailed('#в'); >-} >-\u0433 = 1; >-if (г !== 1) { >- testFailed('#г'); >-} >-\u0434 = 1; >-if (д !== 1) { >- testFailed('#д'); >-} >-\u0435 = 1; >-if (е !== 1) { >- testFailed('#е'); >-} >-\u0436 = 1; >-if (ж !== 1) { >- testFailed('#ж'); >-} >-\u0437 = 1; >-if (з !== 1) { >- testFailed('#з'); >-} >-\u0438 = 1; >-if (и !== 1) { >- testFailed('#и'); >-} >-\u0439 = 1; >-if (й !== 1) { >- testFailed('#й'); >-} >-\u043A = 1; >-if (к !== 1) { >- testFailed('#к'); >-} >-\u043B = 1; >-if (л !== 1) { >- testFailed('#л'); >-} >-\u043C = 1; >-if (м !== 1) { >- testFailed('#м'); >-} >-\u043D = 1; >-if (н !== 1) { >- testFailed('#н'); >-} >-\u043E = 1; >-if (о !== 1) { >- testFailed('#о'); >-} >-\u043F = 1; >-if (п !== 1) { >- testFailed('#п'); >-} >-\u0440 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0441 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0442 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0443 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0444 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0445 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ '); >-} >-\u0446 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0447 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0448 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0449 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u044A = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u044B = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u044C = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u044D = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u044E = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u044F = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >-\u0451 = 1; >-if (Ñ !== 1) { >- testFailed('#Ñ'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1-expected.txt >deleted file mode 100644 >index eb959b69204..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.6_A4.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.html >deleted file mode 100644 >index 5bcaf3a11ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.6_A4.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.6_A4.3_T1; >- * @section: 7.6; >- * @assertion: Correct interpretation of DIGITS; >- * @description: Identifier is $+ANY_DIGIT; >-*/ >- >-//CHECK#0-9 >-$\u0030 = 0; >-if ($0 !== 0) { >- testFailed('#0: $\\u0030 = 0; $0 === 0'); >-} >-$\u0031 = 1; >-if ($1 !== 1) { >- testFailed('#1: $\\u0031 = 1; $1 === 1'); >-} >-$\u0032 = 2; >-if ($2 !== 2) { >- testFailed('#2: $\\u0032 = 2; $2 === 2'); >-} >-$\u0033 = 3; >-if ($3 !== 3) { >- testFailed('#3: $\\u0033 = 3; $3 === 3'); >-} >-$\u0034 = 4; >-if ($4 !== 4) { >- testFailed('#4: $\\u0034 = 4; $4 === 4'); >-} >-$\u0035 = 5; >-if ($5 !== 5) { >- testFailed('#5: $\\u0035 = 5; $5 === 5'); >-} >-$\u0036 = 6; >-if ($6 !== 6) { >- testFailed('#6: $\\u0036 = 6; $6 === 6'); >-} >-$\u0037 = 7; >-if ($7 !== 7) { >- testFailed('#7: $\\u0037 = 7; $7 === 7'); >-} >-$\u0038 = 8; >-if ($8 !== 8) { >- testFailed('#8: $\\u0038 = 8; $8 === 8'); >-} >-$\u0039 = 9; >-if ($9 !== 9) { >- testFailed('#9: $\\u0039 = 9; $9 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1-expected.txt >deleted file mode 100644 >index 8f6510682e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.7_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.html >deleted file mode 100644 >index 7832cad29ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A1; >- * @section: 7.7; >- * @assertion: Correct interpretation of all punctuators; >- * @description: Using all punctuators; >-*/ >- >-//CHECK#1 >- ({});[]; >- this.NaN; >- 1 < 2 > 3 <= 4 >= 5 == 6 != 7 === 8 !== 9; >- 1 + 2 - 3 * 4 % 5 / 6 << 7 >> 8 >>> 9; >- this.NaN++; ++this.NaN; this.NaN--; --this.NaN; >- 1 & 2 | 3 ^ 4 && !5 || ~6; >- 1 ? 2 : 3; >- this.NaN = 1; this.NaN += 2; this.NaN -= 3; this.NaN *= 4; this.NaN /= 5; >- this.NaN %= 6; this.NaN <<= 7; this.NaN >>= 8; this.NaN >>>= 9; >- this.NaN &= 1; this.NaN |= 2; this.NaN ^= 3; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt >deleted file mode 100644 >index 1a410701681..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u007B' >-S7.7_A2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.html >deleted file mode 100644 >index 19dc0705031..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T1; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use {} as a Unicode \u007B\u007D; >- * @negative >-*/ >- >-\u007B\u007D; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt >deleted file mode 100644 >index 0d393432448..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u002F' >-S7.7_A2_T10 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.html >deleted file mode 100644 >index 64de73b9347..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T10; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use / as a Unicode \u002F; >- * @negative >-*/ >- >-1\u002F2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt >deleted file mode 100644 >index 972e4f54dd6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u0028' >-S7.7_A2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.html >deleted file mode 100644 >index 97c9f7e79d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T2; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use () as Unicode \u00281\u0029; >- * @negative >-*/ >- >-\u00281\u0029; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt >deleted file mode 100644 >index e71654839ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u005B' >-S7.7_A2_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.html >deleted file mode 100644 >index c1d44d489ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T3; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use [] as a Unicode \u005B\u005D; >- * @negative >-*/ >- >-\u005B\u005D; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt >deleted file mode 100644 >index a372e5f4b00..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u003B' >-S7.7_A2_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.html >deleted file mode 100644 >index fbec1f92fbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T4; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use ; as a Unicode \u003B; >- * @negative >-*/ >- >-\u003B; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt >deleted file mode 100644 >index db6628addbc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Invalid unicode escape in identifier: '\u002E' >-S7.7_A2_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.html >deleted file mode 100644 >index d819c608e50..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T5; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use . as a Unicode \u002E; >- * @negative >-*/ >- >-x = 1; >-this\u002Ex; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt >deleted file mode 100644 >index 3782d4ac22c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u002C' >-S7.7_A2_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.html >deleted file mode 100644 >index b7d81c2566d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T6; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use , as a Unicode \u002C; >- * @negative >-*/ >- >-1\u002C2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt >deleted file mode 100644 >index 8653d5b0537..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u002B' >-S7.7_A2_T7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.html >deleted file mode 100644 >index 41df34b0a9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T7; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use + as a Unicode \u002B; >- * @negative >-*/ >- >-1\u002B2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt >deleted file mode 100644 >index 2bb8e476189..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u002D' >-S7.7_A2_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.html >deleted file mode 100644 >index 4a37cc9b08c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T8; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use - as a Unicode \u002D; >- * @negative >-*/ >- >-1\u002D2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt >deleted file mode 100644 >index 26c25756a6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid unicode escape in identifier: '\u002A' >-S7.7_A2_T9 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.html >deleted file mode 100644 >index ad9255ad5e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.7_A2_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.7_A2_T9; >- * @section: 7.7; >- * @assertion: Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits; >- * @description: Try to use * as a Unicode \u002A; >- * @negative >-*/ >- >-1\u002A2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1-expected.txt >deleted file mode 100644 >index 75d4a8dfce3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.html >deleted file mode 100644 >index 0b26c494518..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.1_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.1_A1_T1; >- * @section: 7.8.1; >- * @assertion: Literal :: NullLiteral; >- * @description: Check null === null; >-*/ >- >-//CHECK#1 >-if (null !== null) { >- testFailed('#1: null === null'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2-expected.txt >deleted file mode 100644 >index 34831e70683..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.html >deleted file mode 100644 >index 8c80b833b78..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.1_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.1_A1_T2; >- * @section: 7.8.1; >- * @assertion: Literal :: NullLiteral; >- * @description: Check RegExp("0").exec("1") === null; >-*/ >- >-//CHECK#1 >-if (RegExp("0").exec("1") !== null) { >- testFailed('#1: RegExp("0").exec("1") === null'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1-expected.txt >deleted file mode 100644 >index 8b12f51a057..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.html >deleted file mode 100644 >index 75b38d0f6f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.2_A1_T1; >- * @section: 7.8.2; >- * @assertion: Literal :: BooleanLiteral; >- * @description: BooleanLiteral :: true; >-*/ >- >-//CHECK#1 >-if (Boolean(true) !== true) { >- testFailed('#1: Boolean(true) === true. Actual: Boolean(true) === ' + (Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2-expected.txt >deleted file mode 100644 >index da3fbd318aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.html >deleted file mode 100644 >index ac94c71a29b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.2_A1_T2; >- * @section: 7.8.2; >- * @assertion: Literal :: BooleanLiteral; >- * @description: BooleanLiteral :: false; >-*/ >- >-//CHECK#1 >-if (Boolean(false) !== false) { >- testFailed('#1: Boolean(false) === false. Actual: Boolean(false) === ' + (Boolean(false))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1-expected.txt >deleted file mode 100644 >index 4d08e94770c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.html >deleted file mode 100644 >index 2137604e612..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.1_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral; >- * @description: DecimalIntegerLiteral :: 0, NoNZeroDigit; >-*/ >- >-//CHECK#0 >-if (0 !== 0) { >- testFailed('#0: 0 === 0'); >-} >- >-//CHECK#1 >-if (1 !== 1) { >- testFailed('#1: 1 === 1'); >-} >- >-//CHECK#2 >-if (2 !== 2) { >- testFailed('#2: 2 === 2'); >-} >- >-//CHECK#3 >-if (3 !== 3) { >- testFailed('#3: 3 === 3'); >-} >- >-//CHECK#4 >-if (4 !== 4) { >- testFailed('#4: 4 === 4'); >-} >- >-//CHECK#5 >-if (5 !== 5) { >- testFailed('#5: 5 === 5'); >-} >- >-//CHECK#6 >-if (6 !== 6) { >- testFailed('#6: 6 === 6'); >-} >- >-//CHECK#7 >-if (7 !== 7) { >- testFailed('#7: 7 === 7'); >-} >- >-//CHECK#8 >-if (8 !== 8) { >- testFailed('#8: 8 === 8'); >-} >- >-//CHECK#9 >-if (9 !== 9) { >- testFailed('#9: 9 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2-expected.txt >deleted file mode 100644 >index ba678caea25..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.html >deleted file mode 100644 >index 90c6e61660d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.1_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral; >- * @description: DecimalIntegerLiteral :: NoNZeroDigit DecimalDigits; >-*/ >- >- >-//CHECK#1 >-if (11 !== 11) { >- testFailed('#1: 11 === 11'); >-} >- >-//CHECK#2 >-if (22 !== 22) { >- testFailed('#2: 22 === 22'); >-} >- >-//CHECK#3 >-if (33 !== 33) { >- testFailed('#3: 33 === 33'); >-} >- >-//CHECK#4 >-if (44 !== 44) { >- testFailed('#4: 44 === 44'); >-} >- >-//CHECK#5 >-if (55 !== 55) { >- testFailed('#5: 55 === 55'); >-} >- >-//CHECK#6 >-if (66 !== 66) { >- testFailed('#6: 66 === 66'); >-} >- >-//CHECK#7 >-if (77 !== 77) { >- testFailed('#7: 77 === 77'); >-} >- >-//CHECK#8 >-if (88 !== 88) { >- testFailed('#8: 88 === 88'); >-} >- >-//CHECK#9 >-if (99 !== 99) { >- testFailed('#9: 99 === 99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1-expected.txt >deleted file mode 100644 >index 84190a2888c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.html >deleted file mode 100644 >index 04962af53f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.2_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; >- * @description: ExponentPart :: e DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0e1 !== 0) { >- testFailed('#0: 0e1 === 0'); >-} >- >-//CHECK#1 >-if (1e1 !== 10) { >- testFailed('#1: 1e1 === 10'); >-} >- >-//CHECK#2 >-if (2e1 !== 20) { >- testFailed('#2: 2e1 === 20'); >-} >- >-//CHECK#3 >-if (3e1 !== 30) { >- testFailed('#3: 3e1 === 30'); >-} >- >-//CHECK#4 >-if (4e1 !== 40) { >- testFailed('#4: 4e1 === 40'); >-} >- >-//CHECK#5 >-if (5e1 !== 50) { >- testFailed('#5: 5e1 === 50'); >-} >- >-//CHECK#6 >-if (6e1 !== 60) { >- testFailed('#6: 6e1 === 60'); >-} >- >-//CHECK#7 >-if (7e1 !== 70) { >- testFailed('#7: 7e1 === 70'); >-} >- >-//CHECK#8 >-if (8e1 !== 80) { >- testFailed('#8: 8e1 === 80'); >-} >- >-//CHECK#9 >-if (9e1 !== 90) { >- testFailed('#9: 9e1 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2-expected.txt >deleted file mode 100644 >index 22e44ebeef9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.html >deleted file mode 100644 >index 17f7d5b4657..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.2_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; >- * @description: ExponentPart :: E DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0E1 !== 0) { >- testFailed('#0: 0E1 === 0'); >-} >- >-//CHECK#1 >-if (1E1 !== 10) { >- testFailed('#1: 1E1 === 1'); >-} >- >-//CHECK#2 >-if (2E1 !== 20) { >- testFailed('#2: 2E1 === 20'); >-} >- >-//CHECK#3 >-if (3E1 !== 30) { >- testFailed('#3: 3E1 === 30'); >-} >- >-//CHECK#4 >-if (4E1 !== 40) { >- testFailed('#4: 4E1 === 40'); >-} >- >-//CHECK#5 >-if (5E1 !== 50) { >- testFailed('#5: 5E1 === 50'); >-} >- >-//CHECK#6 >-if (6E1 !== 60) { >- testFailed('#6: 6E1 === 60'); >-} >- >-//CHECK#7 >-if (7E1 !== 70) { >- testFailed('#7: 7E1 === 70'); >-} >- >-//CHECK#8 >-if (8E1 !== 80) { >- testFailed('#8: 8E1 === 80'); >-} >- >-//CHECK#9 >-if (9E1 !== 90) { >- testFailed('#9: 9E1 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3-expected.txt >deleted file mode 100644 >index 4d9309b2dbc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.html >deleted file mode 100644 >index ecf8eea7286..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.2_T3; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; >- * @description: ExponentPart :: e -DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0e-1 !== 0) { >- testFailed('#0: 0e-1 === 0'); >-} >- >-//CHECK#1 >-if (1e-1 !== 0.1) { >- testFailed('#1: 1e-1 === 0.1'); >-} >- >-//CHECK#2 >-if (2e-1 !== 0.2) { >- testFailed('#2: 2e-1 === 0.2'); >-} >- >-//CHECK#3 >-if (3e-1 !== 0.3) { >- testFailed('#3: 3e-1 === 0.3'); >-} >- >-//CHECK#4 >-if (4e-1 !== 0.4) { >- testFailed('#4: 4e-1 === 0.4'); >-} >- >-//CHECK#5 >-if (5e-1 !== 0.5) { >- testFailed('#5: 5e-1 === 0.5'); >-} >- >-//CHECK#6 >-if (6e-1 !== 0.6) { >- testFailed('#6: 6e-1 === 0.6'); >-} >- >-//CHECK#7 >-if (7e-1 !== 0.7) { >- testFailed('#7: 7e-1 === 0.7'); >-} >- >-//CHECK#8 >-if (8e-1 !== 0.8) { >- testFailed('#8: 8e-1 === 0.8'); >-} >- >-//CHECK#9 >-if (9e-1 !== 0.9) { >- testFailed('#9: 9e-1 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4-expected.txt >deleted file mode 100644 >index d54a83a6a0d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.html >deleted file mode 100644 >index 419c321dbaf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.2_T4; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; >- * @description: ExponentPart :: E -DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0E-1 !== 0) { >- testFailed('#0: 0E-1 === 0'); >-} >- >-//CHECK#1 >-if (1E-1 !== 0.1) { >- testFailed('#1: 1E-1 === 0.1'); >-} >- >-//CHECK#2 >-if (2E-1 !== 0.2) { >- testFailed('#2: 2E-1 === 0.2'); >-} >- >-//CHECK#3 >-if (3E-1 !== 0.3) { >- testFailed('#3: 3E-1 === 0.3'); >-} >- >-//CHECK#4 >-if (4E-1 !== 0.4) { >- testFailed('#4: 4E-1 === 0.4'); >-} >- >-//CHECK#5 >-if (5E-1 !== 0.5) { >- testFailed('#5: 5E-1 === 0.5'); >-} >- >-//CHECK#6 >-if (6E-1 !== 0.6) { >- testFailed('#6: 6E-1 === 0.6'); >-} >- >-//CHECK#7 >-if (7E-1 !== 0.7) { >- testFailed('#7: 7E-1 === 0.7'); >-} >- >-//CHECK#8 >-if (8E-1 !== 0.8) { >- testFailed('#8: 8E-1 === 0.8'); >-} >- >-//CHECK#9 >-if (9E-1 !== 0.9) { >- testFailed('#9: 9E-1 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5-expected.txt >deleted file mode 100644 >index a16170aca40..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.html >deleted file mode 100644 >index b844464de18..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.2_T5; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; >- * @description: ExponentPart :: e +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0e+1 !== 0) { >- testFailed('#0: 0e+1 === 0'); >-} >- >-//CHe+CK#1 >-if (1e+1 !== 10) { >- testFailed('#1: 1e+1 === 10'); >-} >- >-//CHe+CK#2 >-if (2e+1 !== 20) { >- testFailed('#2: 2e+1 === 20'); >-} >- >-//CHe+CK#3 >-if (3e+1 !== 30) { >- testFailed('#3: 3e+1 === 30'); >-} >- >-//CHe+CK#4 >-if (4e+1 !== 40) { >- testFailed('#4: 4e+1 === 40'); >-} >- >-//CHe+CK#5 >-if (5e+1 !== 50) { >- testFailed('#5: 5e+1 === 50'); >-} >- >-//CHe+CK#6 >-if (6e+1 !== 60) { >- testFailed('#6: 6e+1 === 60'); >-} >- >-//CHe+CK#7 >-if (7e+1 !== 70) { >- testFailed('#7: 7e+1 === 70'); >-} >- >-//CHe+CK#8 >-if (8e+1 !== 80) { >- testFailed('#8: 8e+1 === 80'); >-} >- >-//CHe+CK#9 >-if (9e+1 !== 90) { >- testFailed('#9: 9e+1 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6-expected.txt >deleted file mode 100644 >index 3eebfcfd6c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.html >deleted file mode 100644 >index cb91e7c4fc6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.2_T6; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; >- * @description: ExponentPart :: E +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0E+1 !== 0) { >- testFailed('#0: 0E+1 === 0'); >-} >- >-//CHE+CK#1 >-if (1E+1 !== 10) { >- testFailed('#1: 1E+1 === 10'); >-} >- >-//CHE+CK#2 >-if (2E+1 !== 20) { >- testFailed('#2: 2E+1 === 20'); >-} >- >-//CHE+CK#3 >-if (3E+1 !== 30) { >- testFailed('#3: 3E+1 === 30'); >-} >- >-//CHE+CK#4 >-if (4E+1 !== 40) { >- testFailed('#4: 4E+1 === 40'); >-} >- >-//CHE+CK#5 >-if (5E+1 !== 50) { >- testFailed('#5: 5E+1 === 50'); >-} >- >-//CHE+CK#6 >-if (6E+1 !== 60) { >- testFailed('#6: 6E+1 === 60'); >-} >- >-//CHE+CK#7 >-if (7E+1 !== 70) { >- testFailed('#7: 7E+1 === 70'); >-} >- >-//CHE+CK#8 >-if (8E+1 !== 80) { >- testFailed('#8: 8E+1 === 80'); >-} >- >-//CHE+CK#9 >-if (9E+1 !== 90) { >- testFailed('#9: 9E+1 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7-expected.txt >deleted file mode 100644 >index d5ed483dacc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.html >deleted file mode 100644 >index ec7ebb9fa6d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.2_T7; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; >- * @description: ExponentPart :: e 0; >-*/ >- >-//CHECK#0 >-if (0e0 !== 0) { >- testFailed('#0: 0e0 === 0'); >-} >- >-//CHECK#1 >-if (1e0 !== 1) { >- testFailed('#1: 1e0 === 1'); >-} >- >-//CHECK#2 >-if (2e0 !== 2) { >- testFailed('#2: 2e0 === 2'); >-} >- >-//CHECK#3 >-if (3e0 !== 3) { >- testFailed('#3: 3e0 === 3'); >-} >- >-//CHECK#4 >-if (4e0 !== 4) { >- testFailed('#4: 4e0 === 4'); >-} >- >-//CHECK#5 >-if (5e0 !== 5) { >- testFailed('#5: 5e0 === 5'); >-} >- >-//CHECK#6 >-if (6e0 !== 6) { >- testFailed('#6: 6e0 === 6'); >-} >- >-//CHECK#7 >-if (7e0 !== 7) { >- testFailed('#7: 7e0 === 7'); >-} >- >-//CHECK#8 >-if (8e0 !== 8) { >- testFailed('#8: 8e0 === 8'); >-} >- >-//CHECK#9 >-if (9e0 !== 9) { >- testFailed('#9: 9e0 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8-expected.txt >deleted file mode 100644 >index a1dc352e72b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.html >deleted file mode 100644 >index 1c1bc093e51..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A1.2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A1.2_T8; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral ExponentPart; >- * @description: ExponentPart :: E 0; >-*/ >- >-//CHECK#0 >-if (0E0 !== 0) { >- testFailed('#0: 0E0 === 0'); >-} >- >-//CHECK#1 >-if (1E0 !== 1) { >- testFailed('#1: 1E0 === 1'); >-} >- >-//CHECK#2 >-if (2E0 !== 2) { >- testFailed('#2: 2E0 === 2'); >-} >- >-//CHECK#3 >-if (3E0 !== 3) { >- testFailed('#3: 3E0 === 3'); >-} >- >-//CHECK#4 >-if (4E0 !== 4) { >- testFailed('#4: 4E0 === 4'); >-} >- >-//CHECK#5 >-if (5E0 !== 5) { >- testFailed('#5: 5E0 === 5'); >-} >- >-//CHECK#6 >-if (6E0 !== 6) { >- testFailed('#6: 6E0 === 6'); >-} >- >-//CHECK#7 >-if (7E0 !== 7) { >- testFailed('#7: 7E0 === 7'); >-} >- >-//CHECK#8 >-if (8E0 !== 8) { >- testFailed('#8: 8E0 === 8'); >-} >- >-//CHECK#9 >-if (9E0 !== 9) { >- testFailed('#9: 9E0 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1-expected.txt >deleted file mode 100644 >index eab6a48f16a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.html >deleted file mode 100644 >index 32b7ffda7dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.1_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits; >- * @description: Use .DecimalDigit; >-*/ >- >-//CHECK#0 >-if (.0 !== 0.0) { >- testFailed('#0: .0 === 0.0'); >-} >- >-//CHECK#1 >-if (.1 !== 0.1) { >- testFailed('#1: .1 === 0.1'); >-} >- >-//CHECK#2 >-if (.2 !== 0.2) { >- testFailed('#2: .2 === 0.2'); >-} >- >-//CHECK#3 >-if (.3 !== 0.3) { >- testFailed('#3: .3 === 0.3'); >-} >- >-//CHECK#4 >-if (.4 !== 0.4) { >- testFailed('#4: .4 === 0.4'); >-} >- >-//CHECK#5 >-if (.5 !== 0.5) { >- testFailed('#5: .5 === 0.5'); >-} >- >-//CHECK#6 >-if (.6 !== 0.6) { >- testFailed('#6: .6 === 0.6'); >-} >- >-//CHECK#7 >-if (.7 !== 0.7) { >- testFailed('#7: .7 === 0.7'); >-} >- >-//CHECK#8 >-if (.8 !== 0.8) { >- testFailed('#8: .8 === 0.8'); >-} >- >-//CHECK#9 >-if (.9 !== 0.9) { >- testFailed('#9: .9 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2-expected.txt >deleted file mode 100644 >index 0d85d3caebf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.html >deleted file mode 100644 >index 413abc2dc27..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.1_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits; >- * @description: Use .DecimalDigits; >-*/ >- >-//CHECK#0 >-if (.00 !== 0.00) { >- testFailed('#0: .00 === 0.00'); >-} >- >-//CHECK#1 >-if (.11 !== 0.11) { >- testFailed('#1: .11 === 0.11'); >-} >- >-//CHECK#2 >-if (.22 !== 0.22) { >- testFailed('#2: .22 === 0.22'); >-} >- >-//CHECK#3 >-if (.33 !== 0.33) { >- testFailed('#3: .33 === 0.33'); >-} >- >-//CHECK#4 >-if (.44 !== 0.44) { >- testFailed('#4: .44 === 0.44'); >-} >- >-//CHECK#5 >-if (.55 !== 0.55) { >- testFailed('#5: .55 === 0.55'); >-} >- >-//CHECK#6 >-if (.66 !== 0.66) { >- testFailed('#6: .66 === 0.66'); >-} >- >-//CHECK#7 >-if (.77 !== 0.77) { >- testFailed('#7: .77 === 0.77'); >-} >- >-//CHECK#8 >-if (.88 !== 0.88) { >- testFailed('#8: .88 === 0.88'); >-} >- >-//CHECK#9 >-if (.99 !== 0.99) { >- testFailed('#9: .99 === 0.99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3-expected.txt >deleted file mode 100644 >index a929a37005d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.html >deleted file mode 100644 >index ceff6e9545b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.1_T3; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits; >- * @description: Use .DecimalDigits that have at the end zeros; >-*/ >- >-//CHECK#0 >-if (.00 !== 0.0) { >- testFailed('#0: .0 === 0.0'); >-} >- >-//CHECK#1 >-if (.10 !== 0.1) { >- testFailed('#1: .1 === 0.1'); >-} >- >-//CHECK#2 >-if (.20 !== 0.2) { >- testFailed('#2: .2 === 0.2'); >-} >- >-//CHECK#3 >-if (.30 !== 0.3) { >- testFailed('#3: .3 === 0.3'); >-} >- >-//CHECK#4 >-if (.40 !== 0.4) { >- testFailed('#4: .4 === 0.4'); >-} >- >-//CHECK#5 >-if (.50 !== 0.5) { >- testFailed('#5: .5 === 0.5'); >-} >- >-//CHECK#6 >-if (.60 !== 0.6) { >- testFailed('#6: .6 === 0.6'); >-} >- >-//CHECK#7 >-if (.70 !== 0.7) { >- testFailed('#7: .7 === 0.7'); >-} >- >-//CHECK#8 >-if (.80 !== 0.8) { >- testFailed('#8: .8 === 0.8'); >-} >- >-//CHECK#9 >-if (.90 !== 0.9) { >- testFailed('#9: .9 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1-expected.txt >deleted file mode 100644 >index 21f4589b126..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.html >deleted file mode 100644 >index d94c5cadd07..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.2_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; >- * @description: ExponentPart :: e DecimalDigits; >-*/ >- >-//CHECK#0 >-if (.0e1 !== 0) { >- testFailed('#0: .0e1 === 0'); >-} >- >-//CHECK#1 >-if (.1e1 !== 1) { >- testFailed('#1: .1e1 === 1'); >-} >- >-//CHECK#2 >-if (.2e1 !== 2) { >- testFailed('#2: .2e1 === 2'); >-} >- >-//CHECK#3 >-if (.3e1 !== 3) { >- testFailed('#3: .3e1 === 3'); >-} >- >-//CHECK#4 >-if (.4e1 !== 4) { >- testFailed('#4: .4e1 === 4'); >-} >- >-//CHECK#5 >-if (.5e1 !== 5) { >- testFailed('#5: .5e1 === 5'); >-} >- >-//CHECK#6 >-if (.6e1 !== 6) { >- testFailed('#6: .6e1 === 6'); >-} >- >-//CHECK#7 >-if (.7e1 !== 7) { >- testFailed('#7: .7e1 === 7'); >-} >- >-//CHECK#8 >-if (.8e1 !== 8) { >- testFailed('#8: .8e1 === 8'); >-} >- >-//CHECK#9 >-if (.9e1 !== 9) { >- testFailed('#9: .9e1 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2-expected.txt >deleted file mode 100644 >index 7e011cf5822..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.html >deleted file mode 100644 >index b9b5b58bb76..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.2_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; >- * @description: ExponentPart :: E DecimalDigits; >-*/ >- >-//CHECK#0 >-if (.0E1 !== 0) { >- testFailed('#0: .0E1 === 0'); >-} >- >-//CHECK#1 >-if (.1E1 !== 1) { >- testFailed('#1: .1E1 === 1'); >-} >- >-//CHECK#2 >-if (.2E1 !== 2) { >- testFailed('#2: .2E1 === 2'); >-} >- >-//CHECK#3 >-if (.3E1 !== 3) { >- testFailed('#3: .3E1 === 3'); >-} >- >-//CHECK#4 >-if (.4E1 !== 4) { >- testFailed('#4: .4E1 === 4'); >-} >- >-//CHECK#5 >-if (.5E1 !== 5) { >- testFailed('#5: .5E1 === 5'); >-} >- >-//CHECK#6 >-if (.6E1 !== 6) { >- testFailed('#6: .6E1 === 6'); >-} >- >-//CHECK#7 >-if (.7E1 !== 7) { >- testFailed('#7: .7E1 === 7'); >-} >- >-//CHECK#8 >-if (.8E1 !== 8) { >- testFailed('#8: .8E1 === 8'); >-} >- >-//CHECK#9 >-if (.9E1 !== 9) { >- testFailed('#9: .9E1 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3-expected.txt >deleted file mode 100644 >index 4cbfd00f5ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.html >deleted file mode 100644 >index 1106b93ab62..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.2_T3; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; >- * @description: ExponentPart :: e +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (.0e-1 !== 0) { >- testFailed('#0: .0e-1 === 0'); >-} >- >-//CHECK#1 >-if (.1e-1 !== 0.01) { >- testFailed('#1: .1e-1 === 0.01'); >-} >- >-//CHECK#2 >-if (.2e-1 !== 0.02) { >- testFailed('#2: .2e-1 === 0.02'); >-} >- >-//CHECK#3 >-if (.3e-1 !== 0.03) { >- testFailed('#3: .3e-1 === 0.03'); >-} >- >-//CHECK#4 >-if (.4e-1 !== 0.04) { >- testFailed('#4: .4e-1 === 0.04'); >-} >- >-//CHECK#5 >-if (.5e-1 !== 0.05) { >- testFailed('#5: .5e-1 === 0.05'); >-} >- >-//CHECK#6 >-if (.6e-1 !== 0.06) { >- testFailed('#6: .6e-1 === 0.06'); >-} >- >-//CHECK#7 >-if (.7e-1 !== 0.07) { >- testFailed('#7: .7e-1 === 0.07'); >-} >- >-//CHECK#8 >-if (.8e-1 !== 0.08) { >- testFailed('#8: .8e-1 === 0.08'); >-} >- >-//CHECK#9 >-if (.9e-1 !== 0.09) { >- testFailed('#9: .9e-1 === 0.09'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4-expected.txt >deleted file mode 100644 >index 591a0872536..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.html >deleted file mode 100644 >index ae5354df40b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.2_T4; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; >- * @description: ExponentPart :: E +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (.0E-1 !== 0) { >- testFailed('#0: .0E-1 === 0'); >-} >- >-//CHECK#1 >-if (.1E-1 !== 0.01) { >- testFailed('#1: .1E-1 === 0.01'); >-} >- >-//CHECK#2 >-if (.2E-1 !== 0.02) { >- testFailed('#2: .2E-1 === 0.02'); >-} >- >-//CHECK#3 >-if (.3E-1 !== 0.03) { >- testFailed('#3: .3E-1 === 0.03'); >-} >- >-//CHECK#4 >-if (.4E-1 !== 0.04) { >- testFailed('#4: .4E-1 === 0.04'); >-} >- >-//CHECK#5 >-if (.5E-1 !== 0.05) { >- testFailed('#5: .5E-1 === 0.05'); >-} >- >-//CHECK#6 >-if (.6E-1 !== 0.06) { >- testFailed('#6: .6E-1 === 0.06'); >-} >- >-//CHECK#7 >-if (.7E-1 !== 0.07) { >- testFailed('#7: .7E-1 === 0.07'); >-} >- >-//CHECK#8 >-if (.8E-1 !== 0.08) { >- testFailed('#8: .8E-1 === 0.08'); >-} >- >-//CHECK#9 >-if (.9E-1 !== 0.09) { >- testFailed('#9: .9E-1 === 0.09'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5-expected.txt >deleted file mode 100644 >index 4cc842b0bc8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.html >deleted file mode 100644 >index f7f5b8547a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.2_T5; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; >- * @description: ExponentPart :: e +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (.0e+1 !== 0) { >- testFailed('#0: .0e+1 === 0'); >-} >- >-//CHECK#1 >-if (.1e+1 !== 1) { >- testFailed('#1: .1e+1 === 1'); >-} >- >-//CHECK#2 >-if (.2e+1 !== 2) { >- testFailed('#2: .2e+1 === 2'); >-} >- >-//CHECK#3 >-if (.3e+1 !== 3) { >- testFailed('#3: .3e+1 === 3'); >-} >- >-//CHECK#4 >-if (.4e+1 !== 4) { >- testFailed('#4: .4e+1 === 4'); >-} >- >-//CHECK#5 >-if (.5e+1 !== 5) { >- testFailed('#5: .5e+1 === 5'); >-} >- >-//CHECK#6 >-if (.6e+1 !== 6) { >- testFailed('#6: .6e+1 === 6'); >-} >- >-//CHECK#7 >-if (.7e+1 !== 7) { >- testFailed('#7: .7e+1 === 7'); >-} >- >-//CHECK#8 >-if (.8e+1 !== 8) { >- testFailed('#8: .8e+1 === 8'); >-} >- >-//CHECK#9 >-if (.9e+1 !== 9) { >- testFailed('#9: .9e+1 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6-expected.txt >deleted file mode 100644 >index 7338520cfc2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.html >deleted file mode 100644 >index 883195cb36a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.2_T6; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; >- * @description: ExponentPart :: E +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (.0E+1 !== 0) { >- testFailed('#0: .0E+1 === 0'); >-} >- >-//CHECK#1 >-if (.1E+1 !== 1) { >- testFailed('#1: .1E+1 === 1'); >-} >- >-//CHECK#2 >-if (.2E+1 !== 2) { >- testFailed('#2: .2E+1 === 2'); >-} >- >-//CHECK#3 >-if (.3E+1 !== 3) { >- testFailed('#3: .3E+1 === 3'); >-} >- >-//CHECK#4 >-if (.4E+1 !== 4) { >- testFailed('#4: .4E+1 === 4'); >-} >- >-//CHECK#5 >-if (.5E+1 !== 5) { >- testFailed('#5: .5E+1 === 5'); >-} >- >-//CHECK#6 >-if (.6E+1 !== 6) { >- testFailed('#6: .6E+1 === 6'); >-} >- >-//CHECK#7 >-if (.7E+1 !== 7) { >- testFailed('#7: .7E+1 === 7'); >-} >- >-//CHECK#8 >-if (.8E+1 !== 8) { >- testFailed('#8: .8E+1 === 8'); >-} >- >-//CHECK#9 >-if (.9E+1 !== 9) { >- testFailed('#9: .9E+1 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7-expected.txt >deleted file mode 100644 >index c817917a91c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.html >deleted file mode 100644 >index 4ff82023141..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.2_T7; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; >- * @description: ExponentPart :: e 0; >-*/ >- >-//CHECK#0 >-if (.0e0 !== 0.0) { >- testFailed('#0: .0e0 === 0.0'); >-} >- >-//CHECK#1 >-if (.1e0 !== 0.1) { >- testFailed('#1: .1e0 === 0.1'); >-} >- >-//CHECK#2 >-if (.2e0 !== 0.2) { >- testFailed('#2: .2e0 === 0.2'); >-} >- >-//CHECK#3 >-if (.3e0 !== 0.3) { >- testFailed('#3: .3e0 === 0.3'); >-} >- >-//CHECK#4 >-if (.4e0 !== 0.4) { >- testFailed('#4: .4e0 === 0.4'); >-} >- >-//CHECK#5 >-if (.5e0 !== 0.5) { >- testFailed('#5: .5e0 === 0.5'); >-} >- >-//CHECK#6 >-if (.6e0 !== 0.6) { >- testFailed('#6: .6e0 === 0.6'); >-} >- >-//CHECK#7 >-if (.7e0 !== 0.7) { >- testFailed('#7: .7e0 === 0.7'); >-} >- >-//CHECK#8 >-if (.8e0 !== 0.8) { >- testFailed('#8: .8e0 === 0.8'); >-} >- >-//CHECK#9 >-if (.9e0 !== 0.9) { >- testFailed('#9: .9e0 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8-expected.txt >deleted file mode 100644 >index 2685e55df28..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.html >deleted file mode 100644 >index 95dc5ded300..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A2.2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A2.2_T8; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: .DecimalDigits ExponentPart; >- * @description: ExponentPart :: E 0; >-*/ >- >-//CHECK#0 >-if (.0E0 !== 0.0) { >- testFailed('#0: .0E0 === 0.0'); >-} >- >-//CHECK#1 >-if (.1E0 !== 0.1) { >- testFailed('#1: .1E0 === 0.1'); >-} >- >-//CHECK#2 >-if (.2E0 !== 0.2) { >- testFailed('#2: .2E0 === 0.2'); >-} >- >-//CHECK#3 >-if (.3E0 !== 0.3) { >- testFailed('#3: .3E0 === 0.3'); >-} >- >-//CHECK#4 >-if (.4E0 !== 0.4) { >- testFailed('#4: .4E0 === 0.4'); >-} >- >-//CHECK#5 >-if (.5E0 !== 0.5) { >- testFailed('#5: .5E0 === 0.5'); >-} >- >-//CHECK#6 >-if (.6E0 !== 0.6) { >- testFailed('#6: .6E0 === 0.6'); >-} >- >-//CHECK#7 >-if (.7E0 !== 0.7) { >- testFailed('#7: .7E0 === 0.7'); >-} >- >-//CHECK#8 >-if (.8E0 !== 0.8) { >- testFailed('#8: .8E0 === 0.8'); >-} >- >-//CHECK#9 >-if (.9E0 !== 0.9) { >- testFailed('#9: .9E0 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1-expected.txt >deleted file mode 100644 >index bc3bf149c2d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.html >deleted file mode 100644 >index 94cd122ac32..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.1_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ; >- * @description: DecimalIntegerLiteral :: 0, NoNZeroDigit; >-*/ >- >-//CHECK#0 >-if (0. !== 0) { >- testFailed('#0: 0. === 0'); >-} >- >-//CHECK#1 >-if (1. !== 1) { >- testFailed('#1: 1. === 1'); >-} >- >-//CHECK#2 >-if (2. !== 2) { >- testFailed('#2: 2. === 2'); >-} >- >-//CHECK#3 >-if (3. !== 3) { >- testFailed('#3: 3. === 3'); >-} >- >-//CHECK#4 >-if (4. !== 4) { >- testFailed('#4: 4. === 4'); >-} >- >-//CHECK#5 >-if (5. !== 5) { >- testFailed('#5: 5. === 5'); >-} >- >-//CHECK#6 >-if (6. !== 6) { >- testFailed('#6: 6. === 6'); >-} >- >-//CHECK#7 >-if (7. !== 7) { >- testFailed('#7: 7. === 7'); >-} >- >-//CHECK#8 >-if (8. !== 8) { >- testFailed('#8: 8. === 8'); >-} >- >-//CHECK#9 >-if (9. !== 9) { >- testFailed('#9: 9. === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2-expected.txt >deleted file mode 100644 >index 0b32912efd3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.html >deleted file mode 100644 >index 6ee6d061cc7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.1_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ; >- * @description: DecimalIntegerLiteral :: NoNZeroDigit DecimalDigigts; >-*/ >- >- >-//CHECK#1 >-if (11. !== 11) { >- testFailed('#1: 11. === 11'); >-} >- >-//CHECK#2 >-if (22. !== 22) { >- testFailed('#2: 22. === 22'); >-} >- >-//CHECK#3 >-if (33. !== 33) { >- testFailed('#3: 33. === 33'); >-} >- >-//CHECK#4 >-if (44. !== 44) { >- testFailed('#4: 44. === 44'); >-} >- >-//CHECK#5 >-if (55. !== 55) { >- testFailed('#5: 55. === 55'); >-} >- >-//CHECK#6 >-if (66. !== 66) { >- testFailed('#6: 66. === 66'); >-} >- >-//CHECK#7 >-if (77. !== 77) { >- testFailed('#7: 77. === 77'); >-} >- >-//CHECK#8 >-if (88. !== 88) { >- testFailed('#8: 88. === 88'); >-} >- >-//CHECK#9 >-if (99. !== 99) { >- testFailed('#9: 99. === 99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1-expected.txt >deleted file mode 100644 >index 6d9642eb2c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.html >deleted file mode 100644 >index 79c62386862..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.2_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits; >- * @description: After DecimalIntegerLiteral. used ZeroDigit; >-*/ >- >-//CHECK#0 >-if (0.0 !== 0) { >- testFailed('#0: 0.0 === 0'); >-} >- >-//CHECK#1 >-if (1.0 !== 1) { >- testFailed('#1: 1.0 === 1'); >-} >- >-//CHECK#2 >-if (2.0 !== 2) { >- testFailed('#2: 2.0 === 2'); >-} >- >-//CHECK#3 >-if (3.0 !== 3) { >- testFailed('#3: 3.0 === 3'); >-} >- >-//CHECK#4 >-if (4.0 !== 4) { >- testFailed('#4: 4.0 === 4'); >-} >- >-//CHECK#5 >-if (5.0 !== 5) { >- testFailed('#5: 5.0 === 5'); >-} >- >-//CHECK#6 >-if (6.0 !== 6) { >- testFailed('#6: 6.0 === 6'); >-} >- >-//CHECK#7 >-if (7.0 !== 7) { >- testFailed('#7: 7.0 === 7'); >-} >- >-//CHECK#8 >-if (8.0 !== 8) { >- testFailed('#8: 8.0 === 8'); >-} >- >-//CHECK#9 >-if (9.0 !== 9) { >- testFailed('#9: 9.0 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2-expected.txt >deleted file mode 100644 >index 6f2480001a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.html >deleted file mode 100644 >index 622badc587c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.2_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits; >- * @description: After DecimalIntegerLiteral. used ZeroDigits; >-*/ >- >-//CHECK#0 >-if (0.00 !== 0) { >- testFailed('#0: 0.00 === 0'); >-} >- >-//CHECK#1 >-if (1.00 !== 1) { >- testFailed('#1: 1.00 === 1'); >-} >- >-//CHECK#2 >-if (2.00 !== 2) { >- testFailed('#2: 2.00 === 2'); >-} >- >-//CHECK#3 >-if (3.00 !== 3) { >- testFailed('#3: 3.00 === 3'); >-} >- >-//CHECK#4 >-if (4.00 !== 4) { >- testFailed('#4: 4.00 === 4'); >-} >- >-//CHECK#5 >-if (5.00 !== 5) { >- testFailed('#5: 5.00 === 5'); >-} >- >-//CHECK#6 >-if (6.00 !== 6) { >- testFailed('#6: 6.00 === 6'); >-} >- >-//CHECK#7 >-if (7.00 !== 7) { >- testFailed('#7: 7.00 === 7'); >-} >- >-//CHECK#8 >-if (8.00 !== 8) { >- testFailed('#8: 8.00 === 8'); >-} >- >-//CHECK#9 >-if (9.00 !== 9) { >- testFailed('#9: 9.00 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3-expected.txt >deleted file mode 100644 >index 8cf31be1c91..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.html >deleted file mode 100644 >index c1f009dbe44..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.2_T3; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigits; >- * @description: After DecimalIntegerLiteral. used NoNZeroDigit; >-*/ >- >-//CHECK#0 >-if (0.0 !== 0.0) { >- testFailed('#0: 0.0 === 0.0'); >-} >- >-//CHECK#1 >-if (1.1 !== 1.1) { >- testFailed('#1: 1.1 === 1.1'); >-} >- >-//CHECK#2 >-if (2.2 !== 2.2) { >- testFailed('#2: 2.2 === 2.2'); >-} >- >-//CHECK#3 >-if (3.3 !== 3.3) { >- testFailed('#3: 3.3 === 3.3'); >-} >- >-//CHECK#4 >-if (4.4 !== 4.4) { >- testFailed('#4: 4.4 === 4.4'); >-} >- >-//CHECK#5 >-if (5.5 !== 5.5) { >- testFailed('#5: 5.5 === 5.5'); >-} >- >-//CHECK#6 >-if (6.6 !== 6.6) { >- testFailed('#6: 6.6 === 6.6'); >-} >- >-//CHECK#7 >-if (7.7 !== 7.7) { >- testFailed('#7: 7.7 === 7.7'); >-} >- >-//CHECK#8 >-if (8.8 !== 8.8) { >- testFailed('#8: 8..8 === 8.8'); >-} >- >-//CHECK#9 >-if (9.9 !== 9.9) { >- testFailed('#9: 9.9 === 9.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1-expected.txt >deleted file mode 100644 >index 6e6ab537cea..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.html >deleted file mode 100644 >index e5eb3c1aad8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.3_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; >- * @description: ExponentPart :: e DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.e1 !== 0) { >- testFailed('#0: 0.e1 === 0'); >-} >- >-//CHECK#1 >-if (1.e1 !== 10) { >- testFailed('#1: 1.e1 === 10'); >-} >- >-//CHECK#2 >-if (2.e1 !== 20) { >- testFailed('#2: 2.e1 === 20'); >-} >- >-//CHECK#3 >-if (3.e1 !== 30) { >- testFailed('#3: 3.e1 === 30'); >-} >- >-//CHECK#4 >-if (4.e1 !== 40) { >- testFailed('#4: 4.e1 === 40'); >-} >- >-//CHECK#5 >-if (5.e1 !== 50) { >- testFailed('#5: 5.e1 === 50'); >-} >- >-//CHECK#6 >-if (6.e1 !== 60) { >- testFailed('#6: 6.e1 === 60'); >-} >- >-//CHECK#7 >-if (7.e1 !== 70) { >- testFailed('#7: 7.e1 === 70'); >-} >- >-//CHECK#8 >-if (8.e1 !== 80) { >- testFailed('#8: 8.e1 === 80'); >-} >- >-//CHECK#9 >-if (9.e1 !== 90) { >- testFailed('#9: 9.e1 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2-expected.txt >deleted file mode 100644 >index 7e24a3549d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.html >deleted file mode 100644 >index 4497523b00f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.3_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; >- * @description: ExponentPart :: E DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.E1 !== 0) { >- testFailed('#0: 0.E1 === 0'); >-} >- >-//CHECK#1 >-if (1.E1 !== 10) { >- testFailed('#1: 1.E1 === 10'); >-} >- >-//CHECK#2 >-if (2.E1 !== 20) { >- testFailed('#2: 2.E1 === 20'); >-} >- >-//CHECK#3 >-if (3.E1 !== 30) { >- testFailed('#3: 3.E1 === 30'); >-} >- >-//CHECK#4 >-if (4.E1 !== 40) { >- testFailed('#4: 4.E1 === 40'); >-} >- >-//CHECK#5 >-if (5.E1 !== 50) { >- testFailed('#5: 5.E1 === 50'); >-} >- >-//CHECK#6 >-if (6.E1 !== 60) { >- testFailed('#6: 6.E1 === 60'); >-} >- >-//CHECK#7 >-if (7.E1 !== 70) { >- testFailed('#7: 7.E1 === 70'); >-} >- >-//CHECK#8 >-if (8.E1 !== 80) { >- testFailed('#8: 8.E1 === 80'); >-} >- >-//CHECK#9 >-if (9.E1 !== 90) { >- testFailed('#9: 9.E1 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3-expected.txt >deleted file mode 100644 >index 6e4df7e77e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.html >deleted file mode 100644 >index 56bced46548..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.3_T3; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; >- * @description: ExponentPart :: e -DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.e-1 !== 0) { >- testFailed('#0: 0.e-1 === 0'); >-} >- >-//CHECK#1 >-if (1.e-1 !== 0.1) { >- testFailed('#1: 1.e-1 === 0.1'); >-} >- >-//CHECK#2 >-if (2.e-1 !== 0.2) { >- testFailed('#2: 2.e-1 === 0.2'); >-} >- >-//CHECK#3 >-if (3.e-1 !== 0.3) { >- testFailed('#3: 3.e-1 === 0.3'); >-} >- >-//CHECK#4 >-if (4.e-1 !== 0.4) { >- testFailed('#4: 4.e-1 === 0.4'); >-} >- >-//CHECK#5 >-if (5.e-1 !== 0.5) { >- testFailed('#5: 5.e-1 === 0.5'); >-} >- >-//CHECK#6 >-if (6.e-1 !== 0.6) { >- testFailed('#6: 6.e-1 === 0.6'); >-} >- >-//CHECK#7 >-if (7.e-1 !== 0.7) { >- testFailed('#7: 7.e-1 === 0.7'); >-} >- >-//CHECK#8 >-if (8.e-1 !== 0.8) { >- testFailed('#8: 8.e-1 === 0.8'); >-} >- >-//CHECK#9 >-if (9.e-1 !== 0.9) { >- testFailed('#9: 9.e-1 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4-expected.txt >deleted file mode 100644 >index f242f09913e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.html >deleted file mode 100644 >index 7c818868000..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.3_T4; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; >- * @description: ExponentPart :: E -DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.E-1 !== 0) { >- testFailed('#0: 0.E-1 === 0'); >-} >- >-//CHECK#1 >-if (1.E-1 !== 0.1) { >- testFailed('#1: 1.E-1 === 0.1'); >-} >- >-//CHECK#2 >-if (2.E-1 !== 0.2) { >- testFailed('#2: 2.E-1 === 0.2'); >-} >- >-//CHECK#3 >-if (3.E-1 !== 0.3) { >- testFailed('#3: 3.E-1 === 0.3'); >-} >- >-//CHECK#4 >-if (4.E-1 !== 0.4) { >- testFailed('#4: 4.E-1 === 0.4'); >-} >- >-//CHECK#5 >-if (5.E-1 !== 0.5) { >- testFailed('#5: 5.E-1 === 0.5'); >-} >- >-//CHECK#6 >-if (6.E-1 !== 0.6) { >- testFailed('#6: 6.E-1 === 0.6'); >-} >- >-//CHECK#7 >-if (7.E-1 !== 0.7) { >- testFailed('#7: 7.E-1 === 0.7'); >-} >- >-//CHECK#8 >-if (8.E-1 !== 0.8) { >- testFailed('#8: 8.E-1 === 0.8'); >-} >- >-//CHECK#9 >-if (9.E-1 !== 0.9) { >- testFailed('#9: 9.E-1 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5-expected.txt >deleted file mode 100644 >index 7d3e1f60c58..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.html >deleted file mode 100644 >index c9202b92594..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.3_T5; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; >- * @description: ExponentPart :: e +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.e+1 !== 0) { >- testFailed('#0: 0.e+1 === 0'); >-} >- >-//CHECK#1 >-if (1.e+1 !== 10) { >- testFailed('#1: 1.e+1 === 10'); >-} >- >-//CHECK#2 >-if (2.e+1 !== 20) { >- testFailed('#2: 2.e+1 === 20'); >-} >- >-//CHECK#3 >-if (3.e+1 !== 30) { >- testFailed('#3: 3.e+1 === 30'); >-} >- >-//CHECK#4 >-if (4.e+1 !== 40) { >- testFailed('#4: 4.e+1 === 40'); >-} >- >-//CHECK#5 >-if (5.e+1 !== 50) { >- testFailed('#5: 5.e+1 === 50'); >-} >- >-//CHECK#6 >-if (6.e+1 !== 60) { >- testFailed('#6: 6.e+1 === 60'); >-} >- >-//CHECK#7 >-if (7.e+1 !== 70) { >- testFailed('#7: 7.e+1 === 70'); >-} >- >-//CHECK#8 >-if (8.e+1 !== 80) { >- testFailed('#8: 8.e+1 === 80'); >-} >- >-//CHECK#9 >-if (9.e+1 !== 90) { >- testFailed('#9: 9.e+1 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6-expected.txt >deleted file mode 100644 >index e7ef20af922..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.html >deleted file mode 100644 >index 799a46ecbed..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.3_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.3_T6; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; >- * @description: ExponentPart :: E +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.E+1 !== 0) { >- testFailed('#0: 0.E+1 === 0'); >-} >- >-//CHECK#1 >-if (1.E+1 !== 10) { >- testFailed('#1: 1.E+1 === 10'); >-} >- >-//CHECK#2 >-if (2.E+1 !== 20) { >- testFailed('#2: 2.E+1 === 20'); >-} >- >-//CHECK#3 >-if (3.E+1 !== 30) { >- testFailed('#3: 3.E+1 === 30'); >-} >- >-//CHECK#4 >-if (4.E+1 !== 40) { >- testFailed('#4: 4.E+1 === 40'); >-} >- >-//CHECK#5 >-if (5.E+1 !== 50) { >- testFailed('#5: 5.E+1 === 50'); >-} >- >-//CHECK#6 >-if (6.E+1 !== 60) { >- testFailed('#6: 6.E+1 === 60'); >-} >- >-//CHECK#7 >-if (7.E+1 !== 70) { >- testFailed('#7: 7.E+1 === 70'); >-} >- >-//CHECK#8 >-if (8.E+1 !== 80) { >- testFailed('#8: 8.E+1 === 80'); >-} >- >-//CHECK#9 >-if (9.E+1 !== 90) { >- testFailed('#9: 9.E+1 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7-expected.txt >deleted file mode 100644 >index f0925eb50c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.html >deleted file mode 100644 >index 70c78ac8ebd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.3_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.3_T7; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; >- * @description: ExponentPart :: e 0; >-*/ >- >-//CHECK#0 >-if (0.e0 !== 0) { >- testFailed('#0: 0.e0 === 0'); >-} >- >-//CHECK#1 >-if (1.e0 !== 1) { >- testFailed('#1: 1.e0 === 1'); >-} >- >-//CHECK#2 >-if (2.e0 !== 2) { >- testFailed('#2: 2.e0 === 2'); >-} >- >-//CHECK#3 >-if (3.e0 !== 3) { >- testFailed('#3: 3.e0 === 3'); >-} >- >-//CHECK#4 >-if (4.e0 !== 4) { >- testFailed('#4: 4.e0 === 4'); >-} >- >-//CHECK#5 >-if (5.e0 !== 5) { >- testFailed('#5: 5.e0 === 5'); >-} >- >-//CHECK#6 >-if (6.e0 !== 6) { >- testFailed('#6: 6.e0 === 6'); >-} >- >-//CHECK#7 >-if (7.e0 !== 7) { >- testFailed('#7: 7.e0 === 7'); >-} >- >-//CHECK#8 >-if (8.e0 !== 8) { >- testFailed('#8: 8.e0 === 8'); >-} >- >-//CHECK#9 >-if (9.e0 !== 9) { >- testFailed('#9: 9.e0 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8-expected.txt >deleted file mode 100644 >index 36643e5dc80..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.html >deleted file mode 100644 >index 98bc03b64f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.3_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.3_T8; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. ExponentPart; >- * @description: ExponentPart :: E 0; >-*/ >- >-//CHECK#0 >-if (0.E0 !== 0) { >- testFailed('#0: 0.E0 === 0'); >-} >- >-//CHECK#1 >-if (1.E0 !== 1) { >- testFailed('#1: 1.E0 === 1'); >-} >- >-//CHECK#2 >-if (2.E0 !== 2) { >- testFailed('#2: 2.E0 === 2'); >-} >- >-//CHECK#3 >-if (3.E0 !== 3) { >- testFailed('#3: 3.E0 === 3'); >-} >- >-//CHECK#4 >-if (4.E0 !== 4) { >- testFailed('#4: 4.E0 === 4'); >-} >- >-//CHECK#5 >-if (5.E0 !== 5) { >- testFailed('#5: 5.E0 === 5'); >-} >- >-//CHECK#6 >-if (6.E0 !== 6) { >- testFailed('#6: 6.E0 === 6'); >-} >- >-//CHECK#7 >-if (7.E0 !== 7) { >- testFailed('#7: 7.E0 === 7'); >-} >- >-//CHECK#8 >-if (8.E0 !== 8) { >- testFailed('#8: 8.E0 === 8'); >-} >- >-//CHECK#9 >-if (9.E0 !== 9) { >- testFailed('#9: 9.E0 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1-expected.txt >deleted file mode 100644 >index cb00ad82813..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.html >deleted file mode 100644 >index 35084d9a033..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.4_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; >- * @description: ExponentPart :: e DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.0e1 !== 0) { >- testFailed('#0: 0.0e1 === 0'); >-} >- >-//CHECK#1 >-if (1.1e1 !== 11) { >- testFailed('#1: 1.1e1 === 11'); >-} >- >-//CHECK#2 >-if (2.2e1 !== 22) { >- testFailed('#2: 2.2e1 === 22'); >-} >- >-//CHECK#3 >-if (3.3e1 !== 33) { >- testFailed('#3: 3.3e1 === 33'); >-} >- >-//CHECK#4 >-if (4.4e1 !== 44) { >- testFailed('#4: 4.4e1 === 44'); >-} >- >-//CHECK#5 >-if (5.5e1 !== 55) { >- testFailed('#5: 5.5e1 === 55'); >-} >- >-//CHECK#6 >-if (6.6e1 !== 66) { >- testFailed('#6: 6.e1 === 66'); >-} >- >-//CHECK#7 >-if (7.7e1 !== 77) { >- testFailed('#7: 7.7e1 === 77'); >-} >- >-//CHECK#8 >-if (8.8e1 !== 88) { >- testFailed('#8: 8.8e1 === 88'); >-} >- >-//CHECK#9 >-if (9.9e1 !== 99) { >- testFailed('#9: 9.9e1 === 99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2-expected.txt >deleted file mode 100644 >index 63866057433..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.html >deleted file mode 100644 >index 7481068f394..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.4_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; >- * @description: ExponentPart :: E DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.0E1 !== 0) { >- testFailed('#0: 0.0E1 === 0'); >-} >- >-//CHECK#1 >-if (1.1E1 !== 11) { >- testFailed('#1: 1.1E1 === 11'); >-} >- >-//CHECK#2 >-if (2.2E1 !== 22) { >- testFailed('#2: 2.2E1 === 22'); >-} >- >-//CHECK#3 >-if (3.3E1 !== 33) { >- testFailed('#3: 3.3E1 === 33'); >-} >- >-//CHECK#4 >-if (4.4E1 !== 44) { >- testFailed('#4: 4.4E1 === 44'); >-} >- >-//CHECK#5 >-if (5.5E1 !== 55) { >- testFailed('#5: 5.5E1 === 55'); >-} >- >-//CHECK#6 >-if (6.6E1 !== 66) { >- testFailed('#6: 6.E1 === 66'); >-} >- >-//CHECK#7 >-if (7.7E1 !== 77) { >- testFailed('#7: 7.7E1 === 77'); >-} >- >-//CHECK#8 >-if (8.8E1 !== 88) { >- testFailed('#8: 8.8E1 === 88'); >-} >- >-//CHECK#9 >-if (9.9E1 !== 99) { >- testFailed('#9: 9.9E1 === 99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3-expected.txt >deleted file mode 100644 >index c06d0b7eeed..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.html >deleted file mode 100644 >index 67753bccab5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.4_T3; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; >- * @description: ExponentPart :: e -DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.0e-1 !== 0) { >- testFailed('#0: 0.0e-1 === 0'); >-} >- >-//CHECK#1 >-if (1.1e-1 !== 0.11) { >- testFailed('#1: 1.1e-1 === 0.11'); >-} >- >-//CHECK#2 >-if (2.2e-1 !== 0.22) { >- testFailed('#2: 2.2e-1 === 0.22'); >-} >- >-//CHECK#3 >-if (3.3e-1 !== 0.33) { >- testFailed('#3: 3.3e-1 === 0.33'); >-} >- >-//CHECK#4 >-if (4.4e-1 !== 0.44) { >- testFailed('#4: 4.4e-1 === 0.44'); >-} >- >-//CHECK#5 >-if (5.5e-1 !== 0.55) { >- testFailed('#5: 5.5e-1 === 0.55'); >-} >- >-//CHECK#6 >-if (6.6e-1 !== 0.66) { >- testFailed('#6: 6.e-1 === 0.66'); >-} >- >-//CHECK#7 >-if (7.7e-1 !== 0.77) { >- testFailed('#7: 7.7e-1 === 0.77'); >-} >- >-//CHECK#8 >-if (8.8e-1 !== 0.88) { >- testFailed('#8: 8.8e-1 === 0.88'); >-} >- >-//CHECK#9 >-if (9.9e-1 !== 0.99) { >- testFailed('#9: 9.9e-1 === 0.99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4-expected.txt >deleted file mode 100644 >index 06c92a54544..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.html >deleted file mode 100644 >index 90bf53e413b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.4_T4; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; >- * @description: ExponentPart :: E -DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.0E-1 !== 0) { >- testFailed('#0: 0.0E-1 === 0'); >-} >- >-//CHECK#1 >-if (1.1E-1 !== 0.11) { >- testFailed('#1: 1.1E-1 === 0.11'); >-} >- >-//CHECK#2 >-if (2.2E-1 !== 0.22) { >- testFailed('#2: 2.2E-1 === 0.22'); >-} >- >-//CHECK#3 >-if (3.3E-1 !== 0.33) { >- testFailed('#3: 3.3E-1 === 0.33'); >-} >- >-//CHECK#4 >-if (4.4E-1 !== 0.44) { >- testFailed('#4: 4.4E-1 === 0.44'); >-} >- >-//CHECK#5 >-if (5.5E-1 !== 0.55) { >- testFailed('#5: 5.5E-1 === 0.55'); >-} >- >-//CHECK#6 >-if (6.6E-1 !== 0.66) { >- testFailed('#6: 6.E-1 === 0.66'); >-} >- >-//CHECK#7 >-if (7.7E-1 !== 0.77) { >- testFailed('#7: 7.7E-1 === 0.77'); >-} >- >-//CHECK#8 >-if (8.8E-1 !== 0.88) { >- testFailed('#8: 8.8E-1 === 0.88'); >-} >- >-//CHECK#9 >-if (9.9E-1 !== 0.99) { >- testFailed('#9: 9.9E-1 === 0.99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5-expected.txt >deleted file mode 100644 >index 4a234ea76f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.html >deleted file mode 100644 >index aeaa21e484b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.4_T5; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; >- * @description: ExponentPart :: e +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.0e+1 !== 0) { >- testFailed('#0: 0.0e+1 === 0'); >-} >- >-//CHECK#1 >-if (1.1e+1 !== 11) { >- testFailed('#1: 1.1e+1 === 11'); >-} >- >-//CHECK#2 >-if (2.2e+1 !== 22) { >- testFailed('#2: 2.2e+1 === 22'); >-} >- >-//CHECK#3 >-if (3.3e+1 !== 33) { >- testFailed('#3: 3.3e+1 === 33'); >-} >- >-//CHECK#4 >-if (4.4e+1 !== 44) { >- testFailed('#4: 4.4e+1 === 44'); >-} >- >-//CHECK#5 >-if (5.5e+1 !== 55) { >- testFailed('#5: 5.5e+1 === 55'); >-} >- >-//CHECK#6 >-if (6.6e+1 !== 66) { >- testFailed('#6: 6.e+1 === 66'); >-} >- >-//CHECK#7 >-if (7.7e+1 !== 77) { >- testFailed('#7: 7.7e+1 === 77'); >-} >- >-//CHECK#8 >-if (8.8e+1 !== 88) { >- testFailed('#8: 8.8e+1 === 88'); >-} >- >-//CHECK#9 >-if (9.9e+1 !== 99) { >- testFailed('#9: 9.9e+1 === 99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6-expected.txt >deleted file mode 100644 >index 371358578d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.html >deleted file mode 100644 >index 63f23addd26..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.4_T6; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; >- * @description: ExponentPart :: E +DecimalDigits; >-*/ >- >-//CHECK#0 >-if (0.0E+1 !== 0) { >- testFailed('#0: 0.0E+1 === 0'); >-} >- >-//CHECK#1 >-if (1.1E+1 !== 11) { >- testFailed('#1: 1.1E+1 === 11'); >-} >- >-//CHECK#2 >-if (2.2E+1 !== 22) { >- testFailed('#2: 2.2E+1 === 22'); >-} >- >-//CHECK#3 >-if (3.3E+1 !== 33) { >- testFailed('#3: 3.3E+1 === 33'); >-} >- >-//CHECK#4 >-if (4.4E+1 !== 44) { >- testFailed('#4: 4.4E+1 === 44'); >-} >- >-//CHECK#5 >-if (5.5E+1 !== 55) { >- testFailed('#5: 5.5E+1 === 55'); >-} >- >-//CHECK#6 >-if (6.6E+1 !== 66) { >- testFailed('#6: 6.E+1 === 66'); >-} >- >-//CHECK#7 >-if (7.7E+1 !== 77) { >- testFailed('#7: 7.7E+1 === 77'); >-} >- >-//CHECK#8 >-if (8.8E+1 !== 88) { >- testFailed('#8: 8.8E+1 === 88'); >-} >- >-//CHECK#9 >-if (9.9E+1 !== 99) { >- testFailed('#9: 9.9E+1 === 99'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7-expected.txt >deleted file mode 100644 >index bcbaea97cd1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.html >deleted file mode 100644 >index 76c8e85ce61..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.4_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.4_T7; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; >- * @description: ExponentPart :: e 0; >-*/ >- >-//CHECK#0 >-if (0.0e0 !== 0.0) { >- testFailed('#0: 0.0e0 === 0.0'); >-} >- >-//CHECK#1 >-if (1.1e0 !== 1.1) { >- testFailed('#1: 1.1e0 === 1.1'); >-} >- >-//CHECK#2 >-if (2.2e0 !== 2.2) { >- testFailed('#2: 2.2e0 === 2.2'); >-} >- >-//CHECK#3 >-if (3.3e0 !== 3.3) { >- testFailed('#3: 3.3e0 === 3.3'); >-} >- >-//CHECK#4 >-if (4.4e0 !== 4.4) { >- testFailed('#4: 4.4e0 === 4.4'); >-} >- >-//CHECK#5 >-if (5.5e0 !== 5.5) { >- testFailed('#5: 5.5e0 === 5.5'); >-} >- >-//CHECK#6 >-if (6.6e0 !== 6.6) { >- testFailed('#6: 6.e0 === 6.6'); >-} >- >-//CHECK#7 >-if (7.7e0 !== 7.7) { >- testFailed('#7: 7.7e0 === 7.7'); >-} >- >-//CHECK#8 >-if (8.8e0 !== 8.8) { >- testFailed('#8: 8.8e0 === 8.8'); >-} >- >-//CHECK#9 >-if (9.9e0 !== 9.9) { >- testFailed('#9: 9.9e0 === 9.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8-expected.txt >deleted file mode 100644 >index ff17e74f9d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.html >deleted file mode 100644 >index 5a9ee22d0e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A3.4_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A3.4_T8; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: DecimalIntegerLiteral. DecimalDigigts ExponentPart; >- * @description: ExponentPart :: E 0; >-*/ >- >-//CHECK#0 >-if (0.0E0 !== 0.0) { >- testFailed('#0: 0.0E0 === 0.0'); >-} >- >-//CHECK#1 >-if (1.1E0 !== 1.1) { >- testFailed('#1: 1.1E0 === 1.1'); >-} >- >-//CHECK#2 >-if (2.2E0 !== 2.2) { >- testFailed('#2: 2.2E0 === 2.2'); >-} >- >-//CHECK#3 >-if (3.3E0 !== 3.3) { >- testFailed('#3: 3.3E0 === 3.3'); >-} >- >-//CHECK#4 >-if (4.4E0 !== 4.4) { >- testFailed('#4: 4.4E0 === 4.4'); >-} >- >-//CHECK#5 >-if (5.5E0 !== 5.5) { >- testFailed('#5: 5.5E0 === 5.5'); >-} >- >-//CHECK#6 >-if (6.6E0 !== 6.6) { >- testFailed('#6: 6.E0 === 6.6'); >-} >- >-//CHECK#7 >-if (7.7E0 !== 7.7) { >- testFailed('#7: 7.7E0 === 7.7'); >-} >- >-//CHECK#8 >-if (8.8E0 !== 8.8) { >- testFailed('#8: 8.8E0 === 8.8'); >-} >- >-//CHECK#9 >-if (9.9E0 !== 9.9) { >- testFailed('#9: 9.9E0 === 9.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1-expected.txt >deleted file mode 100644 >index 5148adc0417..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T1 >- >-PASS ReferenceError: Can't find variable: e1 >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.html >deleted file mode 100644 >index ae030de7a06..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.1_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: ExponentPart is incorrect; >- * @description: ExponentPart :: e DecimalDigits; >- * @negative >-*/ >- >-//CHECK#1 >-e1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2-expected.txt >deleted file mode 100644 >index edcda24941d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T2 >- >-PASS ReferenceError: Can't find variable: E1 >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.html >deleted file mode 100644 >index d463c8e94a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.1_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: ExponentPart is incorrect; >- * @description: ExponentPart :: E DecimalDigits; >- * @negative >-*/ >- >-//CHECK#1 >-E1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3-expected.txt >deleted file mode 100644 >index f10fa295475..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T3 >- >-PASS ReferenceError: Can't find variable: e >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.html >deleted file mode 100644 >index 2284faefcf4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.1_T3; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: ExponentPart is incorrect; >- * @description: ExponentPart :: e DecimalDigits; >- * @negative >-*/ >- >-//CHECK#1 >-e-1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4-expected.txt >deleted file mode 100644 >index 3fe3ea30404..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T4 >- >-PASS ReferenceError: Can't find variable: E >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.html >deleted file mode 100644 >index 19ad7986723..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.1_T4; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: ExponentPart is incorrect; >- * @description: ExponentPart :: E DecimalDigits; >- * @negative >-*/ >- >-//CHECK#1 >-E-1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5-expected.txt >deleted file mode 100644 >index 75fa5e1a908..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T5 >- >-PASS ReferenceError: Can't find variable: e >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.html >deleted file mode 100644 >index 4a14f144d43..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.1_T5; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: ExponentPart is incorrect; >- * @description: ExponentPart :: e DecimalDigits; >- * @negative >-*/ >- >-//CHECK#1 >-e+1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6-expected.txt >deleted file mode 100644 >index 563f8a920d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T6 >- >-PASS ReferenceError: Can't find variable: E >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.html >deleted file mode 100644 >index 98893a65196..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.1_T6; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: ExponentPart is incorrect; >- * @description: ExponentPart :: E DecimalDigits; >- * @negative >-*/ >- >-//CHECK#1 >-E+1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7-expected.txt >deleted file mode 100644 >index 98589932463..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T7 >- >-PASS ReferenceError: Can't find variable: e0 >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.html >deleted file mode 100644 >index b24eda82fe8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.1_T7; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: ExponentPart is incorrect; >- * @description: ExponentPart :: e 0; >- * @negative >-*/ >- >-//CHECK#1 >-e0 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8-expected.txt >deleted file mode 100644 >index ef0feed4644..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T8 >- >-PASS ReferenceError: Can't find variable: E0 >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.html >deleted file mode 100644 >index abd85d7bbbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.1_T8; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: ExponentPart is incorrect; >- * @description: ExponentPart :: E 0; >- * @negative >-*/ >- >-//CHECK#1 >-E0 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1-expected.txt >deleted file mode 100644 >index 7b9b50c80cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.html >deleted file mode 100644 >index ec9b1a867ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.2_T1; >- * @section: 7.8.3; >- * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; >- * @description: ExponentIndicator :: e; >-*/ >- >-//CHECK#0 >-if (0e01 !== 0) { >- testFailed('#0: 0e01 === 0'); >-} >- >-//CHECK#1 >-if (1e01 !== 10) { >- testFailed('#1: 1e01 === 10'); >-} >- >-//CHECK#2 >-if (2e01 !== 20) { >- testFailed('#2: 2e01 === 20'); >-} >- >-//CHECK#3 >-if (3e01 !== 30) { >- testFailed('#3: 3e01 === 30'); >-} >- >-//CHECK#4 >-if (4e01 !== 40) { >- testFailed('#4: 4e01 === 40'); >-} >- >-//CHECK#5 >-if (5e01 !== 50) { >- testFailed('#5: 5e01 === 50'); >-} >- >-//CHECK#6 >-if (6e01 !== 60) { >- testFailed('#6: 6e01 === 60'); >-} >- >-//CHECK#7 >-if (7e01 !== 70) { >- testFailed('#7: 7e01 === 70'); >-} >- >-//CHECK#8 >-if (8e01 !== 80) { >- testFailed('#8: 8e01 === 80'); >-} >- >-//CHECK#9 >-if (9e01 !== 90) { >- testFailed('#9: 9e01 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2-expected.txt >deleted file mode 100644 >index fe478b5d63f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.html >deleted file mode 100644 >index 956d7540663..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.2_T2; >- * @section: 7.8.3; >- * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; >- * @description: ExponentIndicator :: E; >-*/ >- >-//CHECK#0 >-if (0E01 !== 0) { >- testFailed('#0: 0E01 === 0'); >-} >- >-//CHECK#1 >-if (1E01 !== 10) { >- testFailed('#1: 1E01 === 10'); >-} >- >-//CHECK#2 >-if (2E01 !== 20) { >- testFailed('#2: 2E01 === 20'); >-} >- >-//CHECK#3 >-if (3E01 !== 30) { >- testFailed('#3: 3E01 === 30'); >-} >- >-//CHECK#4 >-if (4E01 !== 40) { >- testFailed('#4: 4E01 === 40'); >-} >- >-//CHECK#5 >-if (5E01 !== 50) { >- testFailed('#5: 5E01 === 50'); >-} >- >-//CHECK#6 >-if (6E01 !== 60) { >- testFailed('#6: 6E01 === 60'); >-} >- >-//CHECK#7 >-if (7E01 !== 70) { >- testFailed('#7: 7E01 === 70'); >-} >- >-//CHECK#8 >-if (8E01 !== 80) { >- testFailed('#8: 8E01 === 80'); >-} >- >-//CHECK#9 >-if (9E01 !== 90) { >- testFailed('#9: 9E01 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3-expected.txt >deleted file mode 100644 >index b3904bfc0a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.html >deleted file mode 100644 >index 419cf354a4e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.2_T3; >- * @section: 7.8.3; >- * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; >- * @description: ExponentIndicator :: e; >-*/ >- >-//CHECK#0 >-if (0e-01 !== 0) { >- testFailed('#0: 0e-01 === 0'); >-} >- >-//CHECK#1 >-if (1e-01 !== 0.1) { >- testFailed('#1: 1e-01 === 0.1'); >-} >- >-//CHECK#2 >-if (2e-01 !== 0.2) { >- testFailed('#2: 2e-01 === 0.2'); >-} >- >-//CHECK#3 >-if (3e-01 !== 0.3) { >- testFailed('#3: 3e-01 === 0.3'); >-} >- >-//CHECK#4 >-if (4e-01 !== 0.4) { >- testFailed('#4: 4e-01 === 0.4'); >-} >- >-//CHECK#5 >-if (5e-01 !== 0.5) { >- testFailed('#5: 5e-01 === 0.5'); >-} >- >-//CHECK#6 >-if (6e-01 !== 0.6) { >- testFailed('#6: 6e-01 === 0.6'); >-} >- >-//CHECK#7 >-if (7e-01 !== 0.7) { >- testFailed('#7: 7e-01 === 0.7'); >-} >- >-//CHECK#8 >-if (8e-01 !== 0.8) { >- testFailed('#8: 8e-01 === 0.8'); >-} >- >-//CHECK#9 >-if (9e-01 !== 0.9) { >- testFailed('#9: 9e-01 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4-expected.txt >deleted file mode 100644 >index c4f9b31a434..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.html >deleted file mode 100644 >index 2bc06389be9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.2_T4; >- * @section: 7.8.3; >- * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; >- * @description: ExponentIndicator :: E; >-*/ >- >-//CHECK#0 >-if (0E-01 !== 0) { >- testFailed('#0: 0E-01 === 0'); >-} >- >-//CHECK#1 >-if (1E-01 !== 0.1) { >- testFailed('#1: 1E-01 === 0.1'); >-} >- >-//CHECK#2 >-if (2E-01 !== 0.2) { >- testFailed('#2: 2E-01 === 0.2'); >-} >- >-//CHECK#3 >-if (3E-01 !== 0.3) { >- testFailed('#3: 3E-01 === 0.3'); >-} >- >-//CHECK#4 >-if (4E-01 !== 0.4) { >- testFailed('#4: 4E-01 === 0.4'); >-} >- >-//CHECK#5 >-if (5E-01 !== 0.5) { >- testFailed('#5: 5E-01 === 0.5'); >-} >- >-//CHECK#6 >-if (6E-01 !== 0.6) { >- testFailed('#6: 6E-01 === 0.6'); >-} >- >-//CHECK#7 >-if (7E-01 !== 0.7) { >- testFailed('#7: 7E-01 === 0.7'); >-} >- >-//CHECK#8 >-if (8E-01 !== 0.8) { >- testFailed('#8: 8E-01 === 0.8'); >-} >- >-//CHECK#9 >-if (9E-01 !== 0.9) { >- testFailed('#9: 9E-01 === 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5-expected.txt >deleted file mode 100644 >index d7a42ea2f06..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.html >deleted file mode 100644 >index 7f3d0b99afb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.2_T5; >- * @section: 7.8.3; >- * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; >- * @description: ExponentIndicator :: e; >-*/ >- >-//CHECK#0 >-if (0e+01 !== 0) { >- testFailed('#0: 0e+01 === 0'); >-} >- >-//CHECK#1 >-if (1e+01 !== 10) { >- testFailed('#1: 1e+01 === 10'); >-} >- >-//CHECK#2 >-if (2e+01 !== 20) { >- testFailed('#2: 2e+01 === 20'); >-} >- >-//CHECK#3 >-if (3e+01 !== 30) { >- testFailed('#3: 3e+01 === 30'); >-} >- >-//CHECK#4 >-if (4e+01 !== 40) { >- testFailed('#4: 4e+01 === 40'); >-} >- >-//CHECK#5 >-if (5e+01 !== 50) { >- testFailed('#5: 5e+01 === 50'); >-} >- >-//CHECK#6 >-if (6e+01 !== 60) { >- testFailed('#6: 6e+01 === 60'); >-} >- >-//CHECK#7 >-if (7e+01 !== 70) { >- testFailed('#7: 7e+01 === 70'); >-} >- >-//CHECK#8 >-if (8e+01 !== 80) { >- testFailed('#8: 8e+01 === 80'); >-} >- >-//CHECK#9 >-if (9e+01 !== 90) { >- testFailed('#9: 9e+01 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6-expected.txt >deleted file mode 100644 >index 00a5dab1fd4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.html >deleted file mode 100644 >index 4ddc68e02c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.2_T6; >- * @section: 7.8.3; >- * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; >- * @description: ExponentIndicator :: E; >-*/ >- >-//CHECK#0 >-if (0E+01 !== 0) { >- testFailed('#0: 0E+01 === 0'); >-} >- >-//CHECK#1 >-if (1E+01 !== 10) { >- testFailed('#1: 1E+01 === 10'); >-} >- >-//CHECK#2 >-if (2E+01 !== 20) { >- testFailed('#2: 2E+01 === 20'); >-} >- >-//CHECK#3 >-if (3E+01 !== 30) { >- testFailed('#3: 3E+01 === 30'); >-} >- >-//CHECK#4 >-if (4E+01 !== 40) { >- testFailed('#4: 4E+01 === 40'); >-} >- >-//CHECK#5 >-if (5E+01 !== 50) { >- testFailed('#5: 5E+01 === 50'); >-} >- >-//CHECK#6 >-if (6E+01 !== 60) { >- testFailed('#6: 6E+01 === 60'); >-} >- >-//CHECK#7 >-if (7E+01 !== 70) { >- testFailed('#7: 7E+01 === 70'); >-} >- >-//CHECK#8 >-if (8E+01 !== 80) { >- testFailed('#8: 8E+01 === 80'); >-} >- >-//CHECK#9 >-if (9E+01 !== 90) { >- testFailed('#9: 9E+01 === 90'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7-expected.txt >deleted file mode 100644 >index 77b5a897902..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.html >deleted file mode 100644 >index aef4e3d4ad7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.2_T7; >- * @section: 7.8.3; >- * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; >- * @description: ExponentIndicator :: e; >-*/ >- >-//CHECK#0 >-if (0e00 !== 0) { >- testFailed('#0: 0e00 === 0'); >-} >- >-//CHECK#1 >-if (1e00 !== 1) { >- testFailed('#1: 1e00 === 1'); >-} >- >-//CHECK#2 >-if (2e00 !== 2) { >- testFailed('#2: 2e00 === 2'); >-} >- >-//CHECK#3 >-if (3e00 !== 3) { >- testFailed('#3: 3e00 === 3'); >-} >- >-//CHECK#4 >-if (4e00 !== 4) { >- testFailed('#4: 4e00 === 4'); >-} >- >-//CHECK#5 >-if (5e00 !== 5) { >- testFailed('#5: 5e00 === 5'); >-} >- >-//CHECK#6 >-if (6e00 !== 6) { >- testFailed('#6: 6e00 === 6'); >-} >- >-//CHECK#7 >-if (7e00 !== 7) { >- testFailed('#7: 7e00 === 7'); >-} >- >-//CHECK#8 >-if (8e00 !== 8) { >- testFailed('#8: 8e00 === 8'); >-} >- >-//CHECK#9 >-if (9e00 !== 9) { >- testFailed('#9: 9e00 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8-expected.txt >deleted file mode 100644 >index 55bf4e5250c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.html >deleted file mode 100644 >index e52c598b8d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A4.2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A4.2_T8; >- * @section: 7.8.3; >- * @assertion: ExponentPart :: ExponentIndicator ( /+/-) 0 DecimalDigits is allowed; >- * @description: ExponentIndicator :: E; >-*/ >- >-//CHECK#0 >-if (0E00 !== 0) { >- testFailed('#0: 0E00 === 0'); >-} >- >-//CHECK#1 >-if (1E00 !== 1) { >- testFailed('#1: 1E00 === 1'); >-} >- >-//CHECK#2 >-if (2E00 !== 2) { >- testFailed('#2: 2E00 === 2'); >-} >- >-//CHECK#3 >-if (3E00 !== 3) { >- testFailed('#3: 3E00 === 3'); >-} >- >-//CHECK#4 >-if (4E00 !== 4) { >- testFailed('#4: 4E00 === 4'); >-} >- >-//CHECK#5 >-if (5E00 !== 5) { >- testFailed('#5: 5E00 === 5'); >-} >- >-//CHECK#6 >-if (6E00 !== 6) { >- testFailed('#6: 6E00 === 6'); >-} >- >-//CHECK#7 >-if (7E00 !== 7) { >- testFailed('#7: 7E00 === 7'); >-} >- >-//CHECK#8 >-if (8E00 !== 8) { >- testFailed('#8: 8E00 === 8'); >-} >- >-//CHECK#9 >-if (9E00 !== 9) { >- testFailed('#9: 9E00 === 9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1-expected.txt >deleted file mode 100644 >index b5e459a6b45..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.html >deleted file mode 100644 >index 043217554eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.html >+++ /dev/null >@@ -1,172 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A5.1_T1; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: HexIntegerLiteral; >- * @description: HexIntegerLiteral :: 0x Digit; >-*/ >- >-//CHECK#0 >-if (0x0 !== 0) { >- testFailed('#0: 0x0 === 0'); >-} >- >-//CHECK#1 >-if (0x1 !== 1) { >- testFailed('#1: 0x1 === 1'); >-} >- >-//CHECK#2 >-if (0x2 !== 2) { >- testFailed('#2: 0x2 === 2'); >-} >- >-//CHECK#3 >-if (0x3 !== 3) { >- testFailed('#3: 0x3 === 3'); >-} >- >-//CHECK#4 >-if (0x4 !== 4) { >- testFailed('#4: 0x4 === 4'); >-} >- >-//CHECK#5 >-if (0x5 !== 5) { >- testFailed('#5: 0x5 === 5'); >-} >- >-//CHECK#6 >-if (0x6 !== 6) { >- testFailed('#6: 0x6 === 6'); >-} >- >-//CHECK#7 >-if (0x7 !== 7) { >- testFailed('#7: 0x7 === 7'); >-} >- >-//CHECK#8 >-if (0x8 !== 8) { >- testFailed('#8: 0x8 === 8'); >-} >- >-//CHECK#9 >-if (0x9 !== 9) { >- testFailed('#9: 0x9 === 9'); >-} >- >-//CHECK#A >-if (0xA !== 10) { >- testFailed('#A: 0xA === 10'); >-} >- >-//CHECK#B >-if (0xB !== 11) { >- testFailed('#B: 0xB === 11'); >-} >- >-//CHECK#C >-if (0xC !== 12) { >- testFailed('#C: 0xC === 12'); >-} >- >-//CHECK#D >-if (0xD !== 13) { >- testFailed('#D: 0xD === 13'); >-} >- >-//CHECK#E >-if (0xE !== 14) { >- testFailed('#E: 0xE === 14'); >-} >- >-//CHECK#F >-if (0xF !== 15) { >- testFailed('#F: 0xF === 15'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2-expected.txt >deleted file mode 100644 >index c456c7a35a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.html >deleted file mode 100644 >index c42d66ba46d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.html >+++ /dev/null >@@ -1,172 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A5.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A5.1_T2; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: HexIntegerLiteral; >- * @description: HexIntegerLiteral :: 0X Digit; >-*/ >- >-//CHECK#0 >-if (0X0 !== 0) { >- testFailed('#0: 0X0 === 0'); >-} >- >-//CHECK#1 >-if (0X1 !== 1) { >- testFailed('#1: 0X1 === 1'); >-} >- >-//CHECK#2 >-if (0X2 !== 2) { >- testFailed('#2: 0X2 === 2'); >-} >- >-//CHECK#3 >-if (0X3 !== 3) { >- testFailed('#3: 0X3 === 3'); >-} >- >-//CHECK#4 >-if (0X4 !== 4) { >- testFailed('#4: 0X4 === 4'); >-} >- >-//CHECK#5 >-if (0X5 !== 5) { >- testFailed('#5: 0X5 === 5'); >-} >- >-//CHECK#6 >-if (0X6 !== 6) { >- testFailed('#6: 0X6 === 6'); >-} >- >-//CHECK#7 >-if (0X7 !== 7) { >- testFailed('#7: 0X7 === 7'); >-} >- >-//CHECK#8 >-if (0X8 !== 8) { >- testFailed('#8: 0X8 === 8'); >-} >- >-//CHECK#9 >-if (0X9 !== 9) { >- testFailed('#9: 0X9 === 9'); >-} >- >-//CHECK#A >-if (0XA !== 10) { >- testFailed('#A: 0XA === 10'); >-} >- >-//CHECK#B >-if (0XB !== 11) { >- testFailed('#B: 0XB === 11'); >-} >- >-//CHECK#C >-if (0XC !== 12) { >- testFailed('#C: 0XC === 12'); >-} >- >-//CHECK#D >-if (0XD !== 13) { >- testFailed('#D: 0XD === 13'); >-} >- >-//CHECK#E >-if (0XE !== 14) { >- testFailed('#E: 0XE === 14'); >-} >- >-//CHECK#F >-if (0XF !== 15) { >- testFailed('#F: 0XF === 15'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3-expected.txt >deleted file mode 100644 >index a741f738c59..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.html >deleted file mode 100644 >index 90f724bd4a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A5.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A5.1_T3; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: HexIntegerLiteral; >- * @description: HexIntegerLiteral :: 0x NonZeroDigit Digits; >-*/ >- >-//CHECK#0 >-if (0x0 !== 0) { >- testFailed('#0: 0x0 === 0'); >-} >- >-//CHECK#1 >-if (0x1 !== 1) { >- testFailed('#1: 0x1 === 1'); >-} >- >-//CHECK#2 >-if (0x10 !== 16) { >- testFailed('#2: 0x10 === 16'); >-} >- >-//CHECK3 >-if (0x100 !== 256) { >- testFailed('3: 0x100 === 256'); >-} >- >-//CHECK#4 >-if (0x1000 !== 4096) { >- testFailed('#4: 0x1000 === 4096'); >-} >- >-//CHECK#5 >-if (0x10000 !== 65536) { >- testFailed('#5: 0x10000 === 65536'); >-} >- >-//CHECK#6 >-if (0x100000 !== 1048576) { >- testFailed('#6: 0x100000 === 1048576'); >-} >- >-//CHECK#7 >-if (0x1000000 !== 16777216) { >- testFailed('#7: 0x1000000 === 16777216'); >-} >- >-//CHECK#8 >-if (0x10000000 !== 268435456) { >- testFailed('#8: 0x10000000 === 268435456'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4-expected.txt >deleted file mode 100644 >index 1e49a5e7dc4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.html >deleted file mode 100644 >index 5d3cce1ffbf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A5.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A5.1_T4; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: HexIntegerLiteral; >- * @description: HexIntegerLiteral :: 0X NonZeroDigit Digits; >-*/ >- >-//CHECK#0 >-if (0X0 !== 0) { >- testFailed('#0: 0X0 === 0'); >-} >- >-//CHECK#1 >-if (0X1 !== 1) { >- testFailed('#1: 0X1 === 1'); >-} >- >-//CHECK#2 >-if (0X10 !== 16) { >- testFailed('#2: 0X10 === 16'); >-} >- >-//CHECK3 >-if (0X100 !== 256) { >- testFailed('3: 0X100 === 256'); >-} >- >-//CHECK#4 >-if (0X1000 !== 4096) { >- testFailed('#4: 0X1000 === 4096'); >-} >- >-//CHECK#5 >-if (0X10000 !== 65536) { >- testFailed('#5: 0X10000 === 65536'); >-} >- >-//CHECK#6 >-if (0X100000 !== 1048576) { >- testFailed('#6: 0X100000 === 1048576'); >-} >- >-//CHECK#7 >-if (0X1000000 !== 16777216) { >- testFailed('#7: 0X1000000 === 16777216'); >-} >- >-//CHECK#8 >-if (0X10000000 !== 268435456) { >- testFailed('#8: 0X10000000 === 268435456'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5-expected.txt >deleted file mode 100644 >index b0a47535cf9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.html >deleted file mode 100644 >index f1cba6660e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A5.1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A5.1_T5; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: HexIntegerLiteral; >- * @description: HexIntegerLiteral :: 0x0 Digits; >-*/ >- >-//CHECK#0 >-if (0x00 !== 0) { >- testFailed('#0: 0x00 === 0'); >-} >- >-//CHECK#1 >-if (0x01 !== 1) { >- testFailed('#1: 0x01 === 1'); >-} >- >-//CHECK#2 >-if (0x010 !== 16) { >- testFailed('#2: 0x010 === 16'); >-} >- >-//CHECK3 >-if (0x0100 !== 256) { >- testFailed('3: 0x0100 === 256'); >-} >- >-//CHECK#4 >-if (0x01000 !== 4096) { >- testFailed('#4: 0x01000 === 4096'); >-} >- >-//CHECK#5 >-if (0x010000 !== 65536) { >- testFailed('#5: 0x010000 === 65536'); >-} >- >-//CHECK#6 >-if (0x0100000 !== 1048576) { >- testFailed('#6: 0x0100000 === 1048576'); >-} >- >-//CHECK#7 >-if (0x01000000 !== 16777216) { >- testFailed('#7: 0x01000000 === 16777216'); >-} >- >-//CHECK#8 >-if (0x010000000 !== 268435456) { >- testFailed('#8: 0x010000000 === 268435456'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6-expected.txt >deleted file mode 100644 >index 6a91894fbb4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.html >deleted file mode 100644 >index d6c64cd0c96..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A5.1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A5.1_T6; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: HexIntegerLiteral; >- * @description: HexIntegerLiteral :: 0X0 Digits; >-*/ >- >-//CHECK#0 >-if (0X00 !== 0) { >- testFailed('#0: 0X00 === 0'); >-} >- >-//CHECK#1 >-if (0X01 !== 1) { >- testFailed('#1: 0X01 === 1'); >-} >- >-//CHECK#2 >-if (0X010 !== 16) { >- testFailed('#2: 0X010 === 16'); >-} >- >-//CHECK3 >-if (0X0100 !== 256) { >- testFailed('3: 0X0100 === 256'); >-} >- >-//CHECK#4 >-if (0X01000 !== 4096) { >- testFailed('#4: 0X01000 === 4096'); >-} >- >-//CHECK#5 >-if (0X010000 !== 65536) { >- testFailed('#5: 0X010000 === 65536'); >-} >- >-//CHECK#6 >-if (0X0100000 !== 1048576) { >- testFailed('#6: 0X0100000 === 1048576'); >-} >- >-//CHECK#7 >-if (0X01000000 !== 16777216) { >- testFailed('#7: 0X01000000 === 16777216'); >-} >- >-//CHECK#8 >-if (0X010000000 !== 268435456) { >- testFailed('#8: 0X010000000 === 268435456'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7-expected.txt >deleted file mode 100644 >index ec112b531a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.html >deleted file mode 100644 >index 85680e289b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A5.1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A5.1_T7; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: HexIntegerLiteral; >- * @description: HexIntegerLiteral :: 0x one of a, b, c, d, e, f; >-*/ >- >-//CHECK#a >-if (0xa !== 10) { >- testFailed('#a: 0xa === 10'); >-} >- >-//CHECK#b >-if (0xb !== 11) { >- testFailed('#b: 0xb === 11'); >-} >- >-//CHECK#c >-if (0xc !== 12) { >- testFailed('#c: 0xc === 12'); >-} >- >-//CHECK#d >-if (0xd !== 13) { >- testFailed('#d: 0xd === 13'); >-} >- >-//CHECK#e >-if (0xe !== 14) { >- testFailed('#e: 0xe === 14'); >-} >- >-//CHECK#f >-if (0xf !== 15) { >- testFailed('#f: 0xf === 15'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8-expected.txt >deleted file mode 100644 >index e5764e58afd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.html >deleted file mode 100644 >index 9479959a6c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A5.1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A5.1_T8; >- * @section: 7.8.3; >- * @assertion: DecimalLiteral :: HexIntegerLiteral; >- * @description: HexIntegerLiteral :: 0X one of a, b, c, d, e, f; >-*/ >- >-//CHECK#a >-if (0Xa !== 10) { >- testFailed('#a: 0Xa === 10'); >-} >- >-//CHECK#b >-if (0Xb !== 11) { >- testFailed('#b: 0Xb === 11'); >-} >- >-//CHECK#c >-if (0Xc !== 12) { >- testFailed('#c: 0Xc === 12'); >-} >- >-//CHECK#d >-if (0Xd !== 13) { >- testFailed('#d: 0Xd === 13'); >-} >- >-//CHECK#e >-if (0Xe !== 14) { >- testFailed('#e: 0Xe === 14'); >-} >- >-//CHECK#f >-if (0Xf !== 15) { >- testFailed('#f: 0Xf === 15'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt >deleted file mode 100644 >index d45a625a12e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: No hexadecimal digits after '0x' >-S7.8.3_A6.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.html >deleted file mode 100644 >index 2fb14af6f2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A6.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A6.1_T1; >- * @section: 7.8.3; >- * @assertion: HexIntegerLiteral :: 0(x/X) is incorrect; >- * @description: Checking if execution of "0x" passes; >- * @negative >-*/ >- >-//CHECK#1 >-0x >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt >deleted file mode 100644 >index 76d091bcdee..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: No hexadecimal digits after '0x' >-S7.8.3_A6.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.html >deleted file mode 100644 >index 91d8673466a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A6.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A6.1_T2; >- * @section: 7.8.3; >- * @assertion: HexIntegerLiteral :: 0(x/X) is incorrect; >- * @description: Checking if execution of "0X" passes; >- * @negative >-*/ >- >-//CHECK#1 >-0X >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt >deleted file mode 100644 >index a0f9defb43a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: No hexadecimal digits after '0x' >-S7.8.3_A6.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.html >deleted file mode 100644 >index 2fd58c4066b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A6.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A6.2_T1; >- * @section: 7.8.3; >- * @assertion: 0xG is incorrect; >- * @description: Checking if execution of "0xG" fails; >- * @negative >-*/ >- >-//CHECK#1 >-0xG >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt >deleted file mode 100644 >index db13acf04d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: No hexadecimal digits after '0x' >-S7.8.3_A6.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.html >deleted file mode 100644 >index d5b4c59aa2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.3_A6.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.3_A6.2_T2; >- * @section: 7.8.3; >- * @assertion: 0xG is incorrect; >- * @description: Checking if execution of "0xg" fails; >- * @negative >-*/ >- >-//CHECK#1 >-0xg >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt >deleted file mode 100644 >index d021bd1b2fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A1.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.html >deleted file mode 100644 >index ce9e8adf9c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A1.1_T1; >- * @section: 7.8.4; >- * @assertion: StringLiteral :: "DoubleStringCharacters_opt"; >- * @description: DoubleStringCharacter :: SourceCharacter but not double-quote " or LineTerminator; >- * @negative >-*/ >- >-//CHECK#1 >-""" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt >deleted file mode 100644 >index f081263d0a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A1.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.html >deleted file mode 100644 >index 073c90519bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A1.1_T2; >- * @section: 7.8.4; >- * @assertion: StringLiteral :: "DoubleStringCharacters_opt"; >- * @description: DoubleStringCharacter :: SourceCharacter but not double-quote " or LineTerminator; >- * @negative >-*/ >- >-//CHECK#1 >-" >-" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt >deleted file mode 100644 >index 2c2f1c40345..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A1.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.html >deleted file mode 100644 >index c17e9a97aa2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A1.2_T1; >- * @section: 7.8.4; >- * @assertion: StringLiteral :: 'SingleStringCharacters_opt'; >- * @description: SingleStringCharacter :: SourceCharacter but not single-quote ' or LineTerminator; >- * @negative >-*/ >- >-//CHECK#1 >-''' >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt >deleted file mode 100644 >index 917a8a08486..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A1.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.html >deleted file mode 100644 >index 34a6ccb6d1b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A1.2_T2; >- * @section: 7.8.4; >- * @assertion: StringLiteral :: 'SingleStringCharacters_opt'; >- * @description: SingleStringCharacter :: SourceCharacter but not single-quote ' or LineTerminator; >- * @negative >-*/ >- >-//CHECK#1 >-' >-' >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1-expected.txt >deleted file mode 100644 >index 99bdd4cd67c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.html >deleted file mode 100644 >index b0a4a4bbbba..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A2.1_T1; >- * @section: 7.8.4; >- * @assertion: Correct interpretation of ENGLISH ALPHABET; >- * @description: Check ENGLISH CAPITAL ALPHABET; >-*/ >- >-//CHECK#A-Z >-unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u0047", "\u0048", "\u0049", "\u004A", "\u004B", "\u004C", "\u004D", "\u004E", "\u004F", "\u0050", "\u0051", "\u0052", "\u0053", "\u0054", "\u0055", "\u0056", "\u0057", "\u0058", "\u0059", "\u005A"]; >-character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; >-for (index = 0; index <= 25; index++) { >- if (unicode[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2-expected.txt >deleted file mode 100644 >index fa68707c746..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.html >deleted file mode 100644 >index b004f45ead0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A2.1_T2; >- * @section: 7.8.4; >- * @assertion: Correct interpretation of ENGLISH ALPHABET; >- * @description: Check ENGLISH SMALL ALPHABET; >-*/ >- >-//CHECK#a-z >-hex = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067", "\u0068", "\u0069", "\u006A", "\u006B", "\u006C", "\u006D", "\u006E", "\u006F", "\u0070", "\u0071", "\u0072", "\u0073", "\u0074", "\u0075", "\u0076", "\u0077", "\u0078", "\u0079", "\u007A"]; >-character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; >-for (index = 0; index <= 25; index++) { >- if (hex[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1-expected.txt >deleted file mode 100644 >index 159c7fd778c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.html >deleted file mode 100644 >index 3ebb0d05eef..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A2.2_T1; >- * @section: 7.8.4; >- * @assertion: Correct interpretation of RUSSIAN ALPHABET; >- * @description: Check RUSSIAN CAPITAL ALPHABET; >-*/ >- >-//CHECK#Ð-Я >-unicode = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u0416", "\u0417", "\u0418", "\u0419", "\u041A", "\u041B", "\u041C", "\u041D", "\u041E", "\u041F", "\u0420", "\u0421", "\u0422", "\u0423", "\u0424", "\u0425", "\u0426", "\u0427", "\u0428", "\u0429", "\u042A", "\u042B", "\u042C", "\u042D", "\u042E", "\u042F", "\u0401"]; >-character = ["Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð", "Ð ", "С", "Т", "У", "Ф", "Ð¥", "Ц", "Ч", "Ш", "Щ", "Ъ", "Ы", "Ь", "Ð", "Ю", "Я", "Ð"]; >-for (index = 0; index <= 32; index++) { >- if (unicode[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2-expected.txt >deleted file mode 100644 >index 762ec825a7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.html >deleted file mode 100644 >index c4be2db752a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A2.2_T2; >- * @section: 7.8.4; >- * @assertion: Correct interpretation of RUSSIAN ALPHABET; >- * @description: Check RUSSIAN SMALL ALPHABET; >-*/ >- >-//CHECK#а-Ñ >-unicode = ["\u0430", "\u0431", "\u0432", "\u0433", "\u0434", "\u0435", "\u0436", "\u0437", "\u0438", "\u0439", "\u043A", "\u043B", "\u043C", "\u043D", "\u043E", "\u043F", "\u0440", "\u0441", "\u0442", "\u0443", "\u0444", "\u0445", "\u0446", "\u0447", "\u0448", "\u0449", "\u044A", "\u044B", "\u044C", "\u044D", "\u044E", "\u044F", "\u0451"]; >-character = ["а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ ", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ", "Ñ"]; >-for (index = 0; index <= 32; index++) { >- if (unicode[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1-expected.txt >deleted file mode 100644 >index bd64538c300..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.html >deleted file mode 100644 >index 12377985480..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A2.3_T1; >- * @section: 7.8.4; >- * @assertion: Correct interpretation of DIGITS; >- * @description: Check DIGITS; >-*/ >- >-//CHECK#0-9 >-unicode = ["\u0030", "\u0031", "\u0032", "\u0033", "\u0034", "\u0035", "\u0036", "\u0037", "\u0038", "\u0039"]; >-character = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; >-for (index = 0; index <= 9; index++) { >- if (unicode[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt >deleted file mode 100644 >index e35235dca58..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A3.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.html >deleted file mode 100644 >index f5567f61326..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A3.1_T1; >- * @section: 7.8.4; >- * @assertion: StringLiteral :: "\" or '\' is not correct; >- * @description: Checking if execution of "\" fails; >- * @negative >-*/ >- >-//CHECK#1 >-"\" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt >deleted file mode 100644 >index c645de2413d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A3.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.html >deleted file mode 100644 >index 862eded34e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A3.1_T2; >- * @section: 7.8.4; >- * @assertion: StringLiteral :: "\" or '\' is not correct; >- * @description: Checking if execution of "'\'" fails; >- * @negative >-*/ >- >-//CHECK#1 >-'\' >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt >deleted file mode 100644 >index 7ce39b24b3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A3.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.html >deleted file mode 100644 >index d8ae21986b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A3.2_T1; >- * @section: 7.8.4; >- * @assertion: StringLiteral :: "\\\" or '\\\' is not correct; >- * @description: Checking if execution of "\\\" fails; >- * @negative >-*/ >- >-//CHECK#1 >-"\\\" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt >deleted file mode 100644 >index 372a0e151f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A3.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.html >deleted file mode 100644 >index df760f1e186..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A3.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A3.2_T2; >- * @section: 7.8.4; >- * @assertion: StringLiteral :: "\\\" or '\\\' is not correct; >- * @description: Checking if execution of '\\\' fails; >- * @negative >-*/ >- >-//CHECK#1 >-'\\\' >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1-expected.txt >deleted file mode 100644 >index c99cde90d15..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.html >deleted file mode 100644 >index 13ad1e3a20e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.1_T1; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: SingleEscapeSequence; >- * @description: SingleEscapeSequence :: one of b f n r t v; >-*/ >- >-//CHECK#1 >-if (String.fromCharCode(0x0008) !== "\b") { >- testFailed('#1: String.fromCharCode(0x0008) === "\\b"'); >-} >- >-//CHECK#2 >-if (String.fromCharCode(0x0009) !== "\t") { >- testFailed('#2: String.fromCharCode(0x0009) === "\\t"'); >-} >- >-//CHECK#3 >-if (String.fromCharCode(0x000A) !== "\n") { >- testFailed('#3: String.fromCharCode(0x000A) === "\\n"'); >-} >- >-//CHECK#4 >-if (String.fromCharCode(0x000B) !== "\v") { >- testFailed('#4: String.fromCharCode(0x000B) === "\\v"'); >-} >- >-//CHECK#5 >-if (String.fromCharCode(0x000C) !== "\f") { >- testFailed('#5: String.fromCharCode(0x000C) === "\\f"'); >-} >- >-//CHECK#6 >-if (String.fromCharCode(0x000D) !== "\r") { >- testFailed('#6: String.fromCharCode(0x000D) === "\\r"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2-expected.txt >deleted file mode 100644 >index 014a7c46de0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.html >deleted file mode 100644 >index a8738bd5801..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.1_T2; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: SingleEscapeSequence; >- * @description: SingleEscapeSequence :: one of ' " \; >-*/ >- >-//CHECK#1 >-if (String.fromCharCode(0x0027) !== "\'") { >- testFailed('#1: String.fromCharCode(0x0027) === "\\\'"'); >-} >- >-//CHECK#2 >-if (String.fromCharCode(0x0022) !== '\"') { >- testFailed('#2: String.fromCharCode(0x0027) === \'\\\"\''); >-} >- >-//CHECK#3 >-if (String.fromCharCode(0x005C) !== "\\") { >- testFailed('#3: String.fromCharCode(0x005C) === "\\\"'); >-} >- >-//CHECK#4 >-if ("\'" !== "'") { >- testFailed('#4: "\'" === "\\\'"'); >-} >- >-//CHECK#5 >-if ('\"' !== '"') { >- testFailed('#5: \'\"\' === \'\\\"\''); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1-expected.txt >deleted file mode 100644 >index 9d5226c4a65..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.html >deleted file mode 100644 >index 30abde11f55..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.2_T1; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; >- * @description: NonEscapeSequence :: ENGLISH CAPITAL ALPHABET; >-*/ >- >-//CHECK#A-Z >-CharacterCode = [0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004A, 0x004B, 0x004C, 0x004D, 0x004E, 0x004F, 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005A]; >-NonEscapeCharacter = ["\A", "\B", "\C", "\D", "\E", "\F", "\G", "\H", "\I", "\J", "\K", "\L", "\M", "\N", "\O", "\P", "\Q", "\R", "\S", "\T", "\U", "\V", "\W", "\X", "\Y", "\Z"]; >-for (index = 0; index <= 25; index++) { >- if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { >- testFailed('#' + NonEscapeCharacter[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2-expected.txt >deleted file mode 100644 >index 03d8bf4e447..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.html >deleted file mode 100644 >index 29f0d4ad900..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.html >+++ /dev/null >@@ -1,197 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.2_T2; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; >- * @description: NonEscapeSequence :: ENGLISH CAPITAL ALPHABET; >-*/ >- >-//CHECK#A-Z >-if ("A" !== "\A") { >- testFailed('#A'); >-} >- >-if ("B" !== "\B") { >- testFailed('#B'); >-} >- >-if ("C" !== "\C") { >- testFailed('#C'); >-} >- >-if ("D" !== "\D") { >- testFailed('#D'); >-} >- >-if ("E" !== "\E") { >- testFailed('#E'); >-} >- >-if ("F" !== "\F") { >- testFailed('#F'); >-} >- >-if ("G" !== "\G") { >- testFailed('#G'); >-} >- >-if ("H" !== "\H") { >- testFailed('#H'); >-} >- >-if ("I" !== "\I") { >- testFailed('#I'); >-} >- >-if ("J" !== "\J") { >- testFailed('#J'); >-} >- >-if ("K" !== "\K") { >- testFailed('#K'); >-} >- >-if ("L" !== "\L") { >- testFailed('#L'); >-} >- >-if ("M" !== "\M") { >- testFailed('#M'); >-} >- >-if ("N" !== "\N") { >- testFailed('#N'); >-} >- >-if ("O" !== "\O") { >- testFailed('#O'); >-} >- >-if ("P" !== "\P") { >- testFailed('#P'); >-} >- >-if ("Q" !== "\Q") { >- testFailed('#Q'); >-} >- >-if ("R" !== "\R") { >- testFailed('#R'); >-} >- >-if ("S" !== "\S") { >- testFailed('#S'); >-} >- >-if ("T" !== "\T") { >- testFailed('#T'); >-} >- >-if ("U" !== "\U") { >- testFailed('#U'); >-} >- >-if ("V" !== "\V") { >- testFailed('#V'); >-} >- >-if ("W" !== "\W") { >- testFailed('#W'); >-} >- >-if ("X" !== "\X") { >- testFailed('#X'); >-} >- >-if ("Y" !== "\Y") { >- testFailed('#Y'); >-} >- >-if ("Z" !== "\Z") { >- testFailed('#Z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3-expected.txt >deleted file mode 100644 >index 822e7849d80..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.html >deleted file mode 100644 >index 5bf46dfb4ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.2_T3; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; >- * @description: NonEscapeSequence :: ENGLISH SMALL ALPHABET; >-*/ >- >-//CHECK#a-z without b, f, n, r, t, v, x, u >-CharacterCode = [0x0061, 0x0063, 0x0064, 0x0065, 0x0067, 0x0068, 0x0069, 0x006A, 0x006B, 0x006C, 0x006D, 0x006F, 0x0070, 0x0071, 0x0073, 0x0077, 0x0079, 0x007A]; >-NonEscapeCharacter = ["\a", "\c", "\d", "\e", "\g", "\h", "\i", "\j", "\k", "\l", "\m", "\o", "\p", "\q", "\s", "\w", "\y", "\z"]; >-for (index = 0; index <= 17; index++) { >- if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { >- testFailed('#' + NonEscapeCharacter[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4-expected.txt >deleted file mode 100644 >index acfe6540638..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.html >deleted file mode 100644 >index a31bad0b748..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.html >+++ /dev/null >@@ -1,168 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.2_T4; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; >- * @description: NonEscapeSequence :: ENGLISH SMALL ALPHABET; >-*/ >- >-//CHECK#a-z without b, f, n, r, t, v, x, u >- >-if ("a" !== "\a") { >- testFailed('#a'); >-} >- >-if ("c" !== "\c") { >- testFailed('#c'); >-} >- >-if ("d" !== "\d") { >- testFailed('#d'); >-} >- >-if ("e" !== "\e") { >- testFailed('#e'); >-} >- >-if ("g" !== "\g") { >- testFailed('#g'); >-} >- >-if ("h" !== "\h") { >- testFailed('#h'); >-} >- >-if ("i" !== "\i") { >- testFailed('#i'); >-} >- >-if ("j" !== "\j") { >- testFailed('#j'); >-} >- >-if ("k" !== "\k") { >- testFailed('#k'); >-} >- >-if ("l" !== "\l") { >- testFailed('#l'); >-} >- >-if ("m" !== "\m") { >- testFailed('#m'); >-} >- >- >-if ("o" !== "\o") { >- testFailed('#o'); >-} >- >-if ("p" !== "\p") { >- testFailed('#p'); >-} >- >-if ("q" !== "\q") { >- testFailed('#q'); >-} >- >-if ("s" !== "\s") { >- testFailed('#s'); >-} >- >-if ("w" !== "\w") { >- testFailed('#w'); >-} >- >-if ("y" !== "\y") { >- testFailed('#y'); >-} >- >-if ("z" !== "\z") { >- testFailed('#z'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5-expected.txt >deleted file mode 100644 >index 772b297945e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.html >deleted file mode 100644 >index 54608501586..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.2_T5; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; >- * @description: NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET; >-*/ >- >-//CHECK#Ð-Я >-CharacterCode = [0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428, 0x0429, 0x042A, 0x042B, 0x042C, 0x042D, 0x042E, 0x042F, 0x0401]; >-NonEscapeCharacter = ["\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð", "\Ð ", "\С", "\Т", "\У", "\Ф", "\Ð¥", "\Ц", "\Ч", "\Ш", "\Щ", "\Ъ", "\Ы", "\Ь", "\Ð", "\Ю", "\Я", "\Ð"]; >-for (index = 0; index <= 32; index++) { >- if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { >- testFailed('#' + NonEscapeCharacter[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6-expected.txt >deleted file mode 100644 >index acb2ea37d44..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.html >deleted file mode 100644 >index 6231a96bb7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.html >+++ /dev/null >@@ -1,226 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.2_T6; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; >- * @description: NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET; >-*/ >- >-//CHECK#Ð-Я >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ð " !== "\Ð ") { >- testFailed('#Ð '); >-} >- >-if ("С" !== "\С") { >- testFailed('#С'); >-} >- >-if ("Т" !== "\Т") { >- testFailed('#Т'); >-} >- >-if ("У" !== "\У") { >- testFailed('#У'); >-} >- >-if ("Ф" !== "\Ф") { >- testFailed('#Ф'); >-} >- >-if ("Ð¥" !== "\Ð¥") { >- testFailed('#Ð¥'); >-} >- >-if ("Ц" !== "\Ц") { >- testFailed('#Ц'); >-} >- >-if ("Ч" !== "\Ч") { >- testFailed('#Ч'); >-} >- >-if ("Ш" !== "\Ш") { >- testFailed('#Ш'); >-} >- >-if ("Щ" !== "\Щ") { >- testFailed('#Щ'); >-} >- >-if ("Ъ" !== "\Ъ") { >- testFailed('#Ъ'); >-} >- >-if ("Ы" !== "\Ы") { >- testFailed('#Ы'); >-} >- >-if ("Ь" !== "\Ь") { >- testFailed('#Ь'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-if ("Ю" !== "\Ю") { >- testFailed('#Ю'); >-} >- >-if ("Я" !== "\Я") { >- testFailed('#Я'); >-} >- >-if ("Ð" !== "\Ð") { >- testFailed('#Ð'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7-expected.txt >deleted file mode 100644 >index 24e5c046a26..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.html >deleted file mode 100644 >index 2ef4c6456da..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.2_T7; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; >- * @description: NonEscapeSequence :: RUSSIAN SMALL ALPHABET; >-*/ >- >-//CHECK#а-Ñ >-CharacterCode = [0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F, 0x0451]; >-NonEscapeCharacter = ["\а", "\б", "\в", "\г", "\д", "\е", "\ж", "\з", "\и", "\й", "\к", "\л", "\м", "\н", "\о", "\п", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ ", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ", "\Ñ"]; >-for (index = 0; index <= 32; index++) { >- if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { >- testFailed('#' + NonEscapeCharacter[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8-expected.txt >deleted file mode 100644 >index 621925f1139..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.html >deleted file mode 100644 >index 53f509535e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.html >+++ /dev/null >@@ -1,226 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.2_T8; >- * @section: 7.8.4; >- * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; >- * @description: NonEscapeSequence :: RUSSIAN SMALL ALPHABET; >-*/ >- >-//CHECK#а-Ñ >- >-if ("а" !== "\а") { >- testFailed('#а'); >-} >- >-if ("б" !== "\б") { >- testFailed('#б'); >-} >- >-if ("в" !== "\в") { >- testFailed('#в'); >-} >- >-if ("г" !== "\г") { >- testFailed('#г'); >-} >- >-if ("д" !== "\д") { >- testFailed('#д'); >-} >- >-if ("е" !== "\е") { >- testFailed('#е'); >-} >- >-if ("ж" !== "\ж") { >- testFailed('#ж'); >-} >- >-if ("з" !== "\з") { >- testFailed('#з'); >-} >- >-if ("и" !== "\и") { >- testFailed('#и'); >-} >- >-if ("й" !== "\й") { >- testFailed('#й'); >-} >- >-if ("к" !== "\к") { >- testFailed('#к'); >-} >- >-if ("л" !== "\л") { >- testFailed('#л'); >-} >- >-if ("м" !== "\м") { >- testFailed('#м'); >-} >- >-if ("н" !== "\н") { >- testFailed('#н'); >-} >- >-if ("о" !== "\о") { >- testFailed('#о'); >-} >- >-if ("п" !== "\п") { >- testFailed('#п'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ " !== "\Ñ ") { >- testFailed('#Ñ '); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-if ("Ñ" !== "\Ñ") { >- testFailed('#Ñ'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1-expected.txt >deleted file mode 100644 >index ff6ab6b459d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.html >deleted file mode 100644 >index 91f6852e234..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.3_T1; >- * @section: 7.8.4; >- * @assertion: NonEscapeSequence is not EscapeCharacter; >- * @description: EscapeCharacter :: DecimalDigits :: 1; >- * @negative >-*/ >- >-//CHECK#1 >-"\1" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2-expected.txt >deleted file mode 100644 >index 3bd457c17de..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.html >deleted file mode 100644 >index a547f2e8819..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.3_T2; >- * @section: 7.8.4; >- * @assertion: NonEscapeSequence is not EscapeCharacter; >- * @description: EscapeCharacter :: DecimalDigits :: 7; >- * @negative >-*/ >- >-//CHECK#1 >-"\7" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3-expected.txt >deleted file mode 100644 >index 2dd06f4f07a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T3 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.html >deleted file mode 100644 >index 8b71f9145de..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.3_T3; >- * @section: 7.8.4; >- * @assertion: NonEscapeSequence is not EscapeCharacter; >- * @description: EscapeCharacter :: DecimalDigits :: 8; >- * @negative >-*/ >- >-//CHECK#1 >-"\8" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4-expected.txt >deleted file mode 100644 >index b0461985c12..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T4 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.html >deleted file mode 100644 >index fc3f800f00a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.3_T4; >- * @section: 7.8.4; >- * @assertion: NonEscapeSequence is not EscapeCharacter; >- * @description: EscapeCharacter :: DecimalDigits :: 9; >- * @negative >-*/ >- >-//CHECK#1 >-"\9" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5-expected.txt >deleted file mode 100644 >index bfc6bc2cee5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T5 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.html >deleted file mode 100644 >index a5e62ed5243..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.3_T5; >- * @section: 7.8.4; >- * @assertion: NonEscapeSequence is not EscapeCharacter; >- * @description: EscapeCharacter :: u; >- * @negative >-*/ >- >-//CHECK#1 >-"\u" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6-expected.txt >deleted file mode 100644 >index 14b00d24473..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \x can only be followed by a hex character sequence >-S7.8.4_A4.3_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.html >deleted file mode 100644 >index b49619f9d8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.3_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.3_T6; >- * @section: 7.8.4; >- * @assertion: NonEscapeSequence is not EscapeCharacter; >- * @description: EscapeCharacter :: x; >- * @negative >-*/ >- >-//CHECK#1 >-"\x" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7-expected.txt >deleted file mode 100644 >index f54ff8e1915..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.html >deleted file mode 100644 >index 024dc8c789e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A4.3_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A4.3_T7; >- * @section: 7.8.4; >- * @assertion: NonEscapeSequence is not EscapeCharacter; >- * @description: EscapeCharacter :: SingleEscapeCharacter :: one of b f n r t v; >-*/ >- >-//CHECK#bfnrtv >-if ("b" === "\b") { >- testFailed('#b') >-} >- >-if ("f" === "\f") { >- testFailed('#f') >-} >- >-if ("n" === "\n") { >- testFailed('#n') >-} >- >-if ("r" === "\r") { >- testFailed('#r') >-} >- >-if ("t" === "\t") { >- testFailed('#t') >-} >- >-if ("v" === "\v") { >- testFailed('#v') >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1-expected.txt >deleted file mode 100644 >index 2416ab20bec..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.html >deleted file mode 100644 >index 8416bfcec7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A5.1_T1; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: 0; >- * @description: String.fromCharCode(0x0000); >-*/ >- >-//CHECK#1 >-if (String.fromCharCode(0x0000) !== "\0") { >- testFailed('#1: String.fromCharCode(0x0000) === "\\0"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2-expected.txt >deleted file mode 100644 >index 463a23e4749..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A5.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.html >deleted file mode 100644 >index 631feb57789..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A5.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A5.1_T2; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: 0; >- * @description: "\u0000"; >-*/ >- >-//CHECK#1 >-if ("\u0000" !== "\0") { >- testFailed('#1: "\\u0000" === "\\0"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3-expected.txt >deleted file mode 100644 >index 81f1f388fb3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A5.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.html >deleted file mode 100644 >index 7ffb0d291fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A5.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A5.1_T3; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: 0; >- * @description: "\x00"; >-*/ >- >-//CHECK#1 >-if ("\x00" !== "\0") { >- testFailed('#1: "\\x00" === "\\0"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1-expected.txt >deleted file mode 100644 >index 68f9ea3909a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A6.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.html >deleted file mode 100644 >index b7de0feb1e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.html >+++ /dev/null >@@ -1,172 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.1_T1; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit; >- * @description: HexEscapeSequence :: HexDigit; >-*/ >- >-//CHECK#0 >-if ("\x00" !== String.fromCharCode("0")) { >- testFailed('#0: "\\x00" === String.fromCharCode("0")'); >-} >- >-//CHECK#1 >-if ("\x01" !== String.fromCharCode("1")) { >- testFailed('#1: "\\x01" === String.fromCharCode("1")'); >-} >- >-//CHECK#2 >-if ("\x02" !== String.fromCharCode("2")) { >- testFailed('#2: "\\x02" === String.fromCharCode("2")'); >-} >- >-//CHECK#3 >-if ("\x03" !== String.fromCharCode("3")) { >- testFailed('#3: "\\x03" === String.fromCharCode("3")'); >-} >- >-//CHECK#4 >-if ("\x04" !== String.fromCharCode("4")) { >- testFailed('#4: "\\x04" === String.fromCharCode("4")'); >-} >- >-//CHECK#5 >-if ("\x05" !== String.fromCharCode("5")) { >- testFailed('#5: "\\x05" === String.fromCharCode("5")'); >-} >- >-//CHECK#6 >-if ("\x06" !== String.fromCharCode("6")) { >- testFailed('#6: "\\x06" === String.fromCharCode("6")'); >-} >- >-//CHECK#7 >-if ("\x07" !== String.fromCharCode("7")) { >- testFailed('#7: "\\x07" === String.fromCharCode("7")'); >-} >- >-//CHECK#8 >-if ("\x08" !== String.fromCharCode("8")) { >- testFailed('#8: "\\x08" === String.fromCharCode("8")'); >-} >- >-//CHECK#9 >-if ("\x09" !== String.fromCharCode("9")) { >- testFailed('#9: "\\x09" === String.fromCharCode("9")'); >-} >- >-//CHECK#A >-if ("\x0A" !== String.fromCharCode("10")) { >- testFailed('#A: "\\x0A" === String.fromCharCode("10")'); >-} >- >-//CHECK#B >-if ("\x0B" !== String.fromCharCode("11")) { >- testFailed('#B: "\\x0B" === String.fromCharCode("11")'); >-} >- >-//CHECK#C >-if ("\x0C" !== String.fromCharCode("12")) { >- testFailed('#C: "\\x0C" === String.fromCharCode("12")'); >-} >- >-//CHECK#D >-if ("\x0D" !== String.fromCharCode("13")) { >- testFailed('#D: "\\x0D" === String.fromCharCode("13")'); >-} >- >-//CHECK#E >-if ("\x0E" !== String.fromCharCode("14")) { >- testFailed('#E: "\\x0E" === String.fromCharCode("14")'); >-} >- >-//CHECK#F >-if ("\x0F" !== String.fromCharCode("15")) { >- testFailed('#F: "\\x0F" === String.fromCharCode("15")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2-expected.txt >deleted file mode 100644 >index 3b84dca21a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A6.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.html >deleted file mode 100644 >index e2980c92562..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.1_T2; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit; >- * @description: HexEscapeSequence :: ENGLISH CAPITAL ALPHABET; >-*/ >- >-//CHECK#A-Z >-hex = ["\x41", "\x42", "\x43", "\x44", "\x45", "\x46", "\x47", "\x48", "\x49", "\x4A", "\x4B", "\x4C", "\x4D", "\x4E", "\x4F", "\x50", "\x51", "\x52", "\x53", "\x54", "\x55", "\x56", "\x57", "\x58", "\x59", "\x5A"]; >-character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; >-for (index = 0; index <= 25; index++) { >- if (hex[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3-expected.txt >deleted file mode 100644 >index 1ffd07b6168..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A6.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.html >deleted file mode 100644 >index 3782e364e02..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.1_T3; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit; >- * @description: HexEscapeSequence :: ENGLISH SMALL ALPHABET; >-*/ >- >-//CHECK#a-z >-hex = ["\x61", "\x62", "\x63", "\x64", "\x65", "\x66", "\x67", "\x68", "\x69", "\x6A", "\x6B", "\x6C", "\x6D", "\x6E", "\x6F", "\x70", "\x71", "\x72", "\x73", "\x74", "\x75", "\x76", "\x77", "\x78", "\x79", "\x7A"]; >-character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; >-for (index = 0; index <= 25; index++) { >- if (hex[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4-expected.txt >deleted file mode 100644 >index 81957d09160..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \x can only be followed by a hex character sequence >-S7.8.4_A6.1_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.html >deleted file mode 100644 >index 2a592aafcde..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.1_T4; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit; >- * @description: HexEscapeSequence :: x0G is incorrect; >- * @negative >-*/ >- >-//CHECK# >-"\x0G" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1-expected.txt >deleted file mode 100644 >index 2403764ddd9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \x can only be followed by a hex character sequence >-S7.8.4_A6.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.html >deleted file mode 100644 >index 63e1fa22d01..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.2_T1; >- * @section: 7.8.4; >- * @assertion: HexEscapeSequence :: x HexDigit is incorrect; >- * @description: HexDigit :: 1; >- * @negative >-*/ >- >-//CHECK#1 >-"\x1" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2-expected.txt >deleted file mode 100644 >index 3cf875bfe21..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \x can only be followed by a hex character sequence >-S7.8.4_A6.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.html >deleted file mode 100644 >index 86684399584..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.2_T2; >- * @section: 7.8.4; >- * @assertion: HexEscapeSequence :: x HexDigit is incorrect; >- * @description: HexDigit :: A; >- * @negative >-*/ >- >-//CHECK#1 >-"\xA" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1-expected.txt >deleted file mode 100644 >index 73d888ddb0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A6.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.html >deleted file mode 100644 >index 8e3a29187e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.html >+++ /dev/null >@@ -1,167 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.3_T1; >- * @section: 7.8.4; >- * @assertion: \x HexDigit HexDigit SingleStringCharacter; >- * @description: Check similar to ('\x01F' === String.fromCharCode('1') + 'F'); >-*/ >- >-//CHECK#1 >-if ('\x01F' !== String.fromCharCode('1') + 'F') { >- testFailed("#1: '\x01F' === String.fromCharCode('1') + 'F'"); >-} >- >-//CHECK#2 >-if ('\x02E' !== String.fromCharCode('2') + 'E') { >- testFailed("#2: '\x02E' === String.fromCharCode('2') + 'E'"); >-} >- >-//CHECK#3 >-if ('\x03D' !== String.fromCharCode('3') + 'D') { >- testFailed("#3: '\x03D' === String.fromCharCode('3') + 'D'"); >-} >- >-//CHECK#4 >-if ('\x04C' !== String.fromCharCode('4') + 'C') { >- testFailed("#4: '\x04C' === String.fromCharCode('4') + 'C'"); >-} >- >-//CHECK#5 >-if ('\x05B' !== String.fromCharCode('5') + 'B') { >- testFailed("#5: '\x05B' === String.fromCharCode('5') + 'B'"); >-} >- >-//CHECK#6 >-if ('\x06A' !== String.fromCharCode('6') + 'A') { >- testFailed("#6: '\x06A' === String.fromCharCode('6') + 'A'"); >-} >- >-//CHECK#7 >-if ('\x079' !== String.fromCharCode('7') + '9') { >- testFailed("#7: '\x079' === String.fromCharCode('7') + '9'"); >-} >- >-//CHECK#8 >-if ('\x088' !== String.fromCharCode('8') + '8') { >- testFailed("#8: '\x088' === String.fromCharCode('8') + '8'"); >-} >- >-//CHECK#9 >-if ('\x097' !== String.fromCharCode('9') + '7') { >- testFailed("#9: '\x097' === String.fromCharCode('9') + '7'"); >-} >- >-//CHECK#A >-if ('\x0A6' !== String.fromCharCode('10') + '6') { >- testFailed("#A: '\x0A6' === String.fromCharCode('10') + '6'"); >-} >- >-//CHECK#B >-if ('\x0B5' !== String.fromCharCode('11') + '5') { >- testFailed("#B: '\x0B5' === String.fromCharCode('11') + '5'"); >-} >- >-//CHECK#C >-if ('\x0C4' !== String.fromCharCode('12') + '4') { >- testFailed("#C: '\x0C4' === String.fromCharCode('12') + '4'"); >-} >- >-//CHECK#D >-if ('\x0D3' !== String.fromCharCode('13') + '3') { >- testFailed("#D: '\x0D3' === String.fromCharCode('13') + '3'"); >-} >- >-//CHECK#E >-if ('\x0E2' !== String.fromCharCode('14') + '2') { >- testFailed("#E: '\x0E2' === String.fromCharCode('14') + '2'"); >-} >- >-//CHECK#F >-if ('\x0F1' !== String.fromCharCode('15') + '1') { >- testFailed("#F: '\x0F1' === String.fromCharCode('15') + '1'"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1-expected.txt >deleted file mode 100644 >index 2a9d8332679..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A6.4_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.html >deleted file mode 100644 >index a02496e4bdf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.4_T1; >- * @section: 7.8.4; >- * @assertion: HexEscapeSequence \X HexDigit HexDigit is incorrect; >- * @description: Checking if execution of "\X01" passes; >- * @negative >-*/ >- >-//CHECK#1 >-"\X01" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2-expected.txt >deleted file mode 100644 >index 4030564461d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A6.4_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.html >deleted file mode 100644 >index e7ed37c2084..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A6.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A6.4_T2; >- * @section: 7.8.4; >- * @assertion: HexEscapeSequence \X HexDigit HexDigit is incorrect; >- * @description: Checking if execution of "\X0A" passes; >- * @negative >-*/ >- >-//CHECK#1 >-"\X0A" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1-expected.txt >deleted file mode 100644 >index fa73e51da0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A7.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.html >deleted file mode 100644 >index 344de625381..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.html >+++ /dev/null >@@ -1,172 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.1_T1; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; >- * @description: Check similar to ("\u0000" === String.fromCharCode("0")); >-*/ >- >-//CHECK#0 >-if ("\u0000" !== String.fromCharCode("0")) { >- testFailed('#0: "\\u0000" === String.fromCharCode("0")'); >-} >- >-//CHECK#1 >-if ("\u0001" !== String.fromCharCode("1")) { >- testFailed('#1: "\\u0001" === String.fromCharCode("1")'); >-} >- >-//CHECK#2 >-if ("\u0002" !== String.fromCharCode("2")) { >- testFailed('#2: "\\u0002" === String.fromCharCode("2")'); >-} >- >-//CHECK#3 >-if ("\u0003" !== String.fromCharCode("3")) { >- testFailed('#3: "\\u0003" === String.fromCharCode("3")'); >-} >- >-//CHECK#4 >-if ("\u0004" !== String.fromCharCode("4")) { >- testFailed('#4: "\\u0004" === String.fromCharCode("4")'); >-} >- >-//CHECK#5 >-if ("\u0005" !== String.fromCharCode("5")) { >- testFailed('#5: "\\u0005" === String.fromCharCode("5")'); >-} >- >-//CHECK#6 >-if ("\u0006" !== String.fromCharCode("6")) { >- testFailed('#6: "\\u0006" === String.fromCharCode("6")'); >-} >- >-//CHECK#7 >-if ("\u0007" !== String.fromCharCode("7")) { >- testFailed('#7: "\\u0007" === String.fromCharCode("7")'); >-} >- >-//CHECK#8 >-if ("\u0008" !== String.fromCharCode("8")) { >- testFailed('#8: "\\u0008" === String.fromCharCode("8")'); >-} >- >-//CHECK#9 >-if ("\u0009" !== String.fromCharCode("9")) { >- testFailed('#9: "\\u0009" === String.fromCharCode("9")'); >-} >- >-//CHECK#A >-if ("\u000A" !== String.fromCharCode("10")) { >- testFailed('#A: "\\u000A" === String.fromCharCode("10")'); >-} >- >-//CHECK#B >-if ("\u000B" !== String.fromCharCode("11")) { >- testFailed('#B: "\\u000B" === String.fromCharCode("11")'); >-} >- >-//CHECK#C >-if ("\u000C" !== String.fromCharCode("12")) { >- testFailed('#C: "\\u000C" === String.fromCharCode("12")'); >-} >- >-//CHECK#D >-if ("\u000D" !== String.fromCharCode("13")) { >- testFailed('#D: "\\u000D" === String.fromCharCode("13")'); >-} >- >-//CHECK#E >-if ("\u000E" !== String.fromCharCode("14")) { >- testFailed('#E: "\\u000E" === String.fromCharCode("14")'); >-} >- >-//CHECK#F >-if ("\u000F" !== String.fromCharCode("15")) { >- testFailed('#F: "\\u000F" === String.fromCharCode("15")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2-expected.txt >deleted file mode 100644 >index 36120adf8d6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A7.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.html >deleted file mode 100644 >index 35fd1131167..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.1_T2; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; >- * @description: UnicodeEscapeSequence :: ENGLISH CAPITAL ALPHABET; >-*/ >- >-//CHECK#A-Z >-unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u0047", "\u0048", "\u0049", "\u004A", "\u004B", "\u004C", "\u004D", "\u004E", "\u004F", "\u0050", "\u0051", "\u0052", "\u0053", "\u0054", "\u0055", "\u0056", "\u0057", "\u0058", "\u0059", "\u005A"]; >-character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; >-for (index = 0; index <= 25; index++) { >- if (unicode[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3-expected.txt >deleted file mode 100644 >index ed835a4e64e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A7.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.html >deleted file mode 100644 >index d34a27995ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.1_T3; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; >- * @description: UnicodeEscapeSequence :: ENGLISH SMALL ALPHABET; >-*/ >- >-//CHECK#a-z >-unicode = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067", "\u0068", "\u0069", "\u006A", "\u006B", "\u006C", "\u006D", "\u006E", "\u006F", "\u0070", "\u0071", "\u0072", "\u0073", "\u0074", "\u0075", "\u0076", "\u0077", "\u0078", "\u0079", "\u007A"]; >-character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; >-for (index = 0; index <= 25; index++) { >- if (unicode[index] !== character[index]) { >- testFailed('#' + character[index] + ' '); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt >deleted file mode 100644 >index e7aa66cd858..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \u can only be followed by a Unicode character sequence >-S7.8.4_A7.1_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.html >deleted file mode 100644 >index c23c9b18df5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.1_T4; >- * @section: 7.8.4; >- * @assertion: EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; >- * @description: UnicodeEscapeSequence :: u000G is incorrect; >- * @negative >-*/ >- >-//CHECK# >-"\u000G" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt >deleted file mode 100644 >index f1afdfb4aee..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \u can only be followed by a Unicode character sequence >-S7.8.4_A7.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.html >deleted file mode 100644 >index 908f3d27898..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.2_T1; >- * @section: 7.8.4; >- * @assertion: UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect; >- * @description: :: HexDigit :: 1; >- * @negative >-*/ >- >-//CHECK#1 >-"\u1" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt >deleted file mode 100644 >index 301cec6bf93..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \u can only be followed by a Unicode character sequence >-S7.8.4_A7.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.html >deleted file mode 100644 >index 4fddad7a2a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.2_T2; >- * @section: 7.8.4; >- * @assertion: UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect; >- * @description: :: HexDigit :: A; >- * @negative >-*/ >- >-//CHECK#1 >-"\uA" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt >deleted file mode 100644 >index 9d7b476c51f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \u can only be followed by a Unicode character sequence >-S7.8.4_A7.2_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.html >deleted file mode 100644 >index f1a2969e0a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.2_T3; >- * @section: 7.8.4; >- * @assertion: UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect; >- * @description: :: HexDigit :: 1; >- * @negative >-*/ >- >-//CHECK#1 >-"\u11" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt >deleted file mode 100644 >index 06573acac8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \u can only be followed by a Unicode character sequence >-S7.8.4_A7.2_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.html >deleted file mode 100644 >index 6230ac9f4c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.2_T4; >- * @section: 7.8.4; >- * @assertion: UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect; >- * @description: :: HexDigit :: A; >- * @negative >-*/ >- >-//CHECK#1 >-"\uAA" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt >deleted file mode 100644 >index 0dd61cb95d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \u can only be followed by a Unicode character sequence >-S7.8.4_A7.2_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.html >deleted file mode 100644 >index b69c77a4c70..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.2_T5; >- * @section: 7.8.4; >- * @assertion: UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect; >- * @description: :: HexDigit :: 1; >- * @negative >-*/ >- >-//CHECK#1 >-"\u111" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt >deleted file mode 100644 >index ec846b606c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: \u can only be followed by a Unicode character sequence >-S7.8.4_A7.2_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.html >deleted file mode 100644 >index 89d6dc9455b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.2_T6; >- * @section: 7.8.4; >- * @assertion: UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect; >- * @description: :: HexDigit :: A; >- * @negative >-*/ >- >-//CHECK#1 >-"\uAAA" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1-expected.txt >deleted file mode 100644 >index daaa3024a13..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A7.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.html >deleted file mode 100644 >index be65a4e87e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.html >+++ /dev/null >@@ -1,167 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.3_T1; >- * @section: 7.8.4; >- * @assertion: \u HexDigit HexDigit HexDigit HexDigit DoubleStringCharacter; >- * @description: Check similar to ("\u0001F" === String.fromCharCode("1") + "F"); >-*/ >- >-//CHECK#1 >-if ("\u0001F" !== String.fromCharCode("1") + "F") { >- testFailed('#1: "\\u0001F" === String.fromCharCode("1") + "F"'); >-} >- >-//CHECK#2 >-if ("\u0002E" !== String.fromCharCode("2") + "E") { >- testFailed('#2: "\\u0002E" === String.fromCharCode("2") + "E"'); >-} >- >-//CHECK#3 >-if ("\u0003D" !== String.fromCharCode("3") + "D") { >- testFailed('#3: "\\u0003D" === String.fromCharCode("3") + "D"'); >-} >- >-//CHECK#4 >-if ("\u0004C" !== String.fromCharCode("4") + "C") { >- testFailed('#4: "\\u0004C" === String.fromCharCode("4") + "C"'); >-} >- >-//CHECK#5 >-if ("\u0005B" !== String.fromCharCode("5") + "B") { >- testFailed('#5: "\\u0005B" === String.fromCharCode("5") + "B"'); >-} >- >-//CHECK#6 >-if ("\u0006A" !== String.fromCharCode("6") + "A") { >- testFailed('#6: "\\u0006A" === String.fromCharCode("6") + "A"'); >-} >- >-//CHECK#7 >-if ("\u00079" !== String.fromCharCode("7") + "9") { >- testFailed('#7: "\\u00079" === String.fromCharCode("7") + "9"'); >-} >- >-//CHECK#8 >-if ("\u00088" !== String.fromCharCode("8") + "8") { >- testFailed('#8: "\\u00088" === String.fromCharCode("8") + "8"'); >-} >- >-//CHECK#9 >-if ("\u00097" !== String.fromCharCode("9") + "7") { >- testFailed('#9: "\\u00097" === String.fromCharCode("9") + "7"'); >-} >- >-//CHECK#A >-if ("\u000A6" !== String.fromCharCode("10") + "6") { >- testFailed('#A: "\\u000A6" === String.fromCharCode("10") + "6"'); >-} >- >-//CHECK#B >-if ("\u000B5" !== String.fromCharCode("11") + "5") { >- testFailed('#B: "\\u000B5" === String.fromCharCode("11") + "5"'); >-} >- >-//CHECK#C >-if ("\u000C4" !== String.fromCharCode("12") + "4") { >- testFailed('#C: "\\u000C4" === String.fromCharCode("12") + "4"'); >-} >- >-//CHECK#D >-if ("\u000D3" !== String.fromCharCode("13") + "3") { >- testFailed('#D: "\\u000D3" === String.fromCharCode("13") + "3"'); >-} >- >-//CHECK#E >-if ("\u000E2" !== String.fromCharCode("14") + "2") { >- testFailed('#E: "\\u000E2" === String.fromCharCode("14") + "2"'); >-} >- >-//CHECK#F >-if ("\u000F1" !== String.fromCharCode("15") + "1") { >- testFailed('#F: "\\u000F1" === String.fromCharCode("15") + "1"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1-expected.txt >deleted file mode 100644 >index 25588f8e7a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A7.4_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.html >deleted file mode 100644 >index 03244c421c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.4_T1; >- * @section: 7.8.4; >- * @assertion: UnicodeEscapeSequence \U HexDigit HexDigit HexDigit HexDigit is incorrect; >- * @description: Checking if execution of "\U0001" passes; >- * @negative >-*/ >- >-//CHECK#1 >-"\U0001" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2-expected.txt >deleted file mode 100644 >index 2bbeb36deeb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.4_A7.4_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.html >deleted file mode 100644 >index 4bec12852d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.4_A7.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.4_A7.4_T2; >- * @section: 7.8.4; >- * @assertion: UnicodeEscapeSequence \U HexDigit HexDigit HexDigit HexDigit is incorrect; >- * @description: Checking if execution of "\U000A" passes; >- * @negative >-*/ >- >-//CHECK#1 >-"\U000A" >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1-expected.txt >deleted file mode 100644 >index 167d255455d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.html >deleted file mode 100644 >index 16ea75c9428..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.1_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: NonTerminator but not * or \ or /, >- * RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]; >- * @description: Without eval; >-*/ >- >-//CHECK#1 >-if (/1/.source !== "1") { >- testFailed('#1: /1/'); >-} >- >-//CHECK#2 >-if (/a/.source !== "a") { >- testFailed('#2: /a/'); >-} >- >-//CHECK#3 >-if (/;/.source !== ";") { >- testFailed('#3: /;/'); >-} >- >-//CHECK#4 >-if (/ /.source !== " ") { >- testFailed('#4: / /'); >-} >- >-//CHECK#5 >-if (/\u0041/.source !== "\\u0041") { >- testFailed('#5: /\\u0041/'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2-expected.txt >deleted file mode 100644 >index cddcd8e7ad6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html >deleted file mode 100644 >index 296680752c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.1_T2; >- * @section: 7.8.5, 15.10.1; >- * @assertion: RegularExpressionFirstChar :: NonTerminator but not * or \ or /, >- * RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]; >- * @description: Complex test with eval, using syntax pattern; >-*/ >- >-//CHECK >-errorCount = 0; >-count = 0; >-var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; >-for (i1 = 0; i1 < 16; i1++) { >- for (i2 = 0; i2 < 16; i2++) { >- for (i3 = 0; i3 < 16; i3++) { >- for (i4 = 0; i4 < 16; i4++) { >- try { >- var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; >- var Elimination = >- ((uu === "002A") || (uu === "002F") || (uu === "005C") || (uu === "002B") || >- (uu === "003F") || (uu === "0028") || (uu === "0029") || >- (uu === "005B") || (uu === "005D") || (uu === "007B") || (uu === "007D")); >- /* >- * \u002A / \u002F \ \u005C + \u002B >- ? \u003F ( \u0028 ) \u0029 >- [ \u005B ] \u005D { \u007B } \u007D >- */ >- var LineTerminator = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); >- if ((Elimination || LineTerminator ) === false) { >- var xx = String.fromCharCode("0x" + uu); >- var pattern = eval("/" + xx + "/"); >- if (pattern.source !== xx) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- } else { >- count--; >- } >- } catch (e) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- count++; >- } >- } >- } >-} >- >-if (errorCount > 0) { >- testFailed('Total error: ' + errorCount + ' bad Regular Expression First Char in ' + count); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt >deleted file mode 100644 >index 9f86288cc5d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 84: SyntaxError: Multiline comment was not closed properly >-S7.8.5_A1.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.html >deleted file mode 100644 >index 3ad1230ec8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.2_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: * or \ or / or [empty] is incorrect; >- * @description: * ; >- * @negative >-*/ >- >-//CHECK#1 >-/*/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt >deleted file mode 100644 >index b6ff9d40f71..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/\/' >-S7.8.5_A1.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.html >deleted file mode 100644 >index 49f71ce99c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.2_T2; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: * or \ or / or [empty] is incorrect; >- * @description: \; >- * @negative >-*/ >- >-//CHECK#1 >-/\/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt >deleted file mode 100644 >index bb1009681e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '.' >-S7.8.5_A1.2_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.html >deleted file mode 100644 >index 2244b5dc2f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.2_T3; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: * or \ or / or [empty] is incorrect; >- * @description: /; >- * @negative >-*/ >- >-//CHECK#1 >-/// >-.source; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt >deleted file mode 100644 >index 3094a9432e8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '.' >-S7.8.5_A1.2_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.html >deleted file mode 100644 >index f1e23bb27e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.2_T4; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: * or \ or / or [empty] is incorrect; >- * @description: [empty]; >- * @negative >-*/ >- >-//CHECK#1 >-// >-.source; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt >deleted file mode 100644 >index 34ca680e84f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/' >-S7.8.5_A1.3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.html >deleted file mode 100644 >index 85a06e78587..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.3_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; >- * @description: Line Feed, without eval; >- * @negative >-*/ >- >-//CHECK#1 >-/ >-/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2-expected.txt >deleted file mode 100644 >index 0de92f344cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.html >deleted file mode 100644 >index ef256d49332..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.3_T2; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; >- * @description: Line Feed, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/\u000A/").source; >- testFailed('#1.1: RegularExpressionFirstChar :: Line Feed is incorrect. Actual: ' + (eval("/\u000A/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionFirstChar :: Line Feed is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt >deleted file mode 100644 >index 7d7dd8fa3dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/' >-S7.8.5_A1.3_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.html >deleted file mode 100644 >index 0396b5b240d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.3_T3; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; >- * @description: Carriage Return, without eval; >- * @negative >-*/ >- >-//CHECK#1 >-/ / >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4-expected.txt >deleted file mode 100644 >index 05eb4ac981c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.html >deleted file mode 100644 >index af4cbc3ce54..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.3_T4; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; >- * @description: Carriage Return, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/\u000D/").source; >- testFailed('#1.1: RegularExpressionFirstChar :: Carriage Return is incorrect. Actual: ' + (eval("/\u000D/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionFirstChar :: Carriage Return is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5-expected.txt >deleted file mode 100644 >index 90d21600107..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.html >deleted file mode 100644 >index 8b58f62e571..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.3_T5; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; >- * @description: Line separator, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/\u2028/").source; >- testFailed('#1.1: RegularExpressionFirstChar :: Line separator is incorrect. Actual: ' + (eval("/\u2028/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionFirstChar :: Line separator is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6-expected.txt >deleted file mode 100644 >index c117c5a06d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.3_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.html >deleted file mode 100644 >index 6a11dcaf85d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.3_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.3_T6; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; >- * @description: Paragraph separator, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/\u2029/").source; >- testFailed('#1.1: RegularExpressionFirstChar :: Paragraph separator is incorrect. Actual: ' + (eval("/\u2029/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionFirstChar :: Paragraph separator is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1-expected.txt >deleted file mode 100644 >index b387ae32ff3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.html >deleted file mode 100644 >index 257f7faa992..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.4_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \NonTerminator, >- * RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]; >- * @description: Check similar to (/\1/.source === "\\1"); >-*/ >- >-//CHECK#1 >-if (/\1/.source !== "\\1") { >- testFailed('#1: /\\1/'); >-} >- >-//CHECK#2 >-if (/\a/.source !== "\\a") { >- testFailed('#2: /\\a/'); >-} >- >-//CHECK#3 >-if (/\;/.source !== "\\;") { >- testFailed('#3: /\\;/'); >-} >- >-//CHECK#4 >-if (/\ /.source !== "\\ ") { >- testFailed('#4: /\\ /'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2-expected.txt >deleted file mode 100644 >index 25e108093d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html >deleted file mode 100644 >index 4a2891e7643..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.4_T2; >- * @section: 7.8.5, 15.10.1; >- * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \NonTerminator, >- * RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]; >- * @description: Complex test with eval, using syntax pattern; >-*/ >- >-//CHECK >-errorCount = 0; >-count = 0; >-var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; >-for (i1 = 0; i1 < 16; i1++) { >- for (i2 = 0; i2 < 16; i2++) { >- for (i3 = 0; i3 < 16; i3++) { >- for (i4 = 0; i4 < 16; i4++) { >- try { >- var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; >- var Elimination = >- ((uu === "002A") || (uu === "002F") || (uu === "005C") || (uu === "002B") || >- (uu === "003F") || (uu === "0028") || (uu === "0029") || >- (uu === "005B") || (uu === "005D") || (uu === "007B") || (uu === "007D")); >- /* >- * \u002A / \u002F \ \u005C + \u002B >- ? \u003F ( \u0028 ) \u0029 >- [ \u005B ] \u005D { \u007B } \u007D >- */ >- var LineTerminator = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); >- if ((Elimination || LineTerminator ) === false) { >- var xx = "\\" + String.fromCharCode("0x" + uu); >- var pattern = eval("/" + xx + "/"); >- if (pattern.source !== xx) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- } else { >- count--; >- } >- } catch (e) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- count++; >- } >- } >- } >-} >- >-if (errorCount > 0) { >- testFailed('Total error: ' + errorCount + ' bad Regular Expression First Char in ' + count); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt >deleted file mode 100644 >index e4eceab34f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/\' >-S7.8.5_A1.5_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.html >deleted file mode 100644 >index 570f3419b0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.5_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Line Feed, without eval; >- * @negative >-*/ >- >-//CHECK#1 >-/\ >-/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2-expected.txt >deleted file mode 100644 >index 94eb0dd62b7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.html >deleted file mode 100644 >index e3f0cada652..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.5_T2; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Line Feed, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/\\\u000A/").source; >- testFailed('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (eval("/\\\u000A/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt >deleted file mode 100644 >index 1a1f2457bfa..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/\' >-S7.8.5_A1.5_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.html >deleted file mode 100644 >index 4347261b22d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.5_T3; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Carriage Return, without eval; >- * @negative >-*/ >- >-//CHECK#1 >-/\ / >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4-expected.txt >deleted file mode 100644 >index fbc7df2dedd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.html >deleted file mode 100644 >index 524e7fa5f90..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.5_T4; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Carriage Return, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/\\\u000D/").source; >- testFailed('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (eval("/\\\u000D/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5-expected.txt >deleted file mode 100644 >index e4d9b602c9b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.5_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.html >deleted file mode 100644 >index 657a373d358..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.5_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.5_T5; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Line separator, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/\\\u2028/").source; >- testFailed('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (eval("/\\\u2028/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6-expected.txt >deleted file mode 100644 >index cc50f0b3c00..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A1.5_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.html >deleted file mode 100644 >index 807695cbadd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A1.5_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A1.5_T6; >- * @section: 7.8.5; >- * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Paragraph separator, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/\\\u2029/").source; >- testFailed('#1.1: RegularExpressionFirstChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (eval("/\\\u2029/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionFirstChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1-expected.txt >deleted file mode 100644 >index 14e2c070351..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.html >deleted file mode 100644 >index 5a77378cb1b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.1_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: NonTerminator but not \ or /, >- * RegularExpressionFlags :: [empty]; >- * @description: Without eval; >-*/ >- >-//CHECK#1 >-if (/1a/.source !== "1a") { >- testFailed('#1: /1a/'); >-} >- >-//CHECK#2 >-if (/aa/.source !== "aa") { >- testFailed('#2: /aa/'); >-} >- >-//CHECK#3 >-if (/,;/.source !== ",;") { >- testFailed('#3: /,;/'); >-} >- >-//CHECK#4 >-if (/ /.source !== " ") { >- testFailed('#4: / /'); >-} >- >-//CHECK#5 >-if (/a\u0041/.source !== "a\\u0041") { >- testFailed('#5: /a\\u0041/'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2-expected.txt >deleted file mode 100644 >index bee8286f50b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html >deleted file mode 100644 >index d108e7d632c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.1_T2; >- * @section: 7.8.5, 15.10.1; >- * @assertion: RegularExpressionChar :: NonTerminator but not \ or /, >- * RegularExpressionFlags :: [empty]; >- * @description: Complex test with eval, using syntax pattern; >-*/ >- >-//CHECK >-errorCount = 0; >-count = 0; >-var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; >-for (i1 = 0; i1 < 16; i1++) { >- for (i2 = 0; i2 < 16; i2++) { >- for (i3 = 0; i3 < 16; i3++) { >- for (i4 = 0; i4 < 16; i4++) { >- try { >- var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; >- var Elimination = >- ((uu === "002A") || (uu === "002F") || (uu === "005C") || (uu === "002B") || >- (uu === "003F") || (uu === "0028") || (uu === "0029") || >- (uu === "005B") || (uu === "005D") || (uu === "007B") || (uu === "007D")); >- /* >- * \u002A / \u002F \ \u005C + \u002B >- ? \u003F ( \u0028 ) \u0029 >- [ \u005B ] \u005D { \u007B } \u007D >- */ >- var LineTerminator = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); >- if ((Elimination || LineTerminator ) === false) { >- var xx = "nnnn" + String.fromCharCode("0x" + uu); >- var pattern = eval("/" + xx + "/"); >- if (pattern.source !== xx) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- >- } else { >- count--; >- } >- } catch (e) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- count++; >- } >- } >- } >-} >- >-if (errorCount > 0) { >- testFailed('Total error: ' + errorCount + ' bad Regular Expression First Char in ' + count); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt >deleted file mode 100644 >index 109d3473e54..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/a\/' >-S7.8.5_A2.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.html >deleted file mode 100644 >index 46210a6653b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.2_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: \ or / is incorrect; >- * @description: \; >- * @negative >-*/ >- >-//CHECK#1 >-/a\/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt >deleted file mode 100644 >index a06825da7f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '.' >-S7.8.5_A2.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.html >deleted file mode 100644 >index bc612c9dda1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.2_T2; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: \ or / is incorrect; >- * @description: /; >- * @negative >-*/ >- >-//CHECK#1 >-/a//.source; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt >deleted file mode 100644 >index 96a94063815..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/a' >-S7.8.5_A2.3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.html >deleted file mode 100644 >index 5bd26a42d94..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.3_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: LineTerminator is incorrect; >- * @description: Line Feed, without eval; >- * @negative >-*/ >- >-//CHECK#1 >-/a >-/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2-expected.txt >deleted file mode 100644 >index 1faa844b436..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.html >deleted file mode 100644 >index 7ce72308e65..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.3_T2; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: LineTerminator is incorrect; >- * @description: Line Feed, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/a\u000A/").source; >- testFailed('#1.1: RegularExpressionChar :: Line Feedis incorrect. Actual: ' + (eval("/a\u000A/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionChar :: Line Feed is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt >deleted file mode 100644 >index e475d58b679..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/a' >-S7.8.5_A2.3_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.html >deleted file mode 100644 >index 29c5b5f7ff3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.3_T3; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: LineTerminator is incorrect; >- * @description: Carriage Return, without eval; >- * @negative >-*/ >- >-//CHECK#1 >-/a / >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4-expected.txt >deleted file mode 100644 >index ec900b71f9d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.html >deleted file mode 100644 >index e01aa184022..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.3_T4; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: LineTerminator is incorrect; >- * @description: Carriage Return, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/a\u000D/").source; >- testFailed('#1.1: RegularExpressionChar :: Carriage Retur is incorrect. Actual: ' + (eval("/a\u000D/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionChar :: Carriage Retur is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5-expected.txt >deleted file mode 100644 >index c38fa0fa2e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.html >deleted file mode 100644 >index 7709bbb7d12..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.3_T5; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: LineTerminator is incorrect; >- * @description: Line separator, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/a\u2028/").source; >- testFailed('#1.1: RegularExpressionChar :: Line separator is incorrect. Actual: ' + (eval("/a\u2028/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionChar :: Line separator is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6-expected.txt >deleted file mode 100644 >index e192c1e6497..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.3_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.html >deleted file mode 100644 >index cd2e2d95d76..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.3_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.3_T6; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: LineTerminator is incorrect; >- * @description: Paragraph separator, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/s\u2029/").source; >- testFailed('#1.1: RegularExpressionChar :: Paragraph separator is incorrect. Actual: ' + (eval("/s\u2029/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionChar :: Paragraph separator is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1-expected.txt >deleted file mode 100644 >index 1905a620a55..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.html >deleted file mode 100644 >index 7ac7f182040..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.4_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: BackslashSequence :: \NonTerminator, >- * RegularExpressionFlags :: [empty]; >- * @description: Check similar to (/a\1/.source === "a\\1"); >-*/ >- >-//CHECK#1 >-if (/a\1/.source !== "a\\1") { >- testFailed('#1: /a\\1/'); >-} >- >-//CHECK#2 >-if (/a\a/.source !== "a\\a") { >- testFailed('#2: /a\\a/'); >-} >- >-//CHECK#3 >-if (/,\;/.source !== ",\\;") { >- testFailed('#3: /,\\;/'); >-} >- >-//CHECK#4 >-if (/ \ /.source !== " \\ ") { >- testFailed('#4: / \\ /'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2-expected.txt >deleted file mode 100644 >index 5f666219253..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html >deleted file mode 100644 >index c152effda52..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.4_T2; >- * @section: 7.8.5, 15.10.1; >- * @assertion: RegularExpressionChar :: BackslashSequence :: \NonTerminator, >- * RegularExpressionFlags :: [empty]; >- * @description: Complex test with eval, using syntax pattern; >-*/ >- >-//CHECK >-errorCount = 0; >-count = 0; >-var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]; >-for (i1 = 0; i1 < 16; i1++) { >- for (i2 = 0; i2 < 16; i2++) { >- for (i3 = 0; i3 < 16; i3++) { >- for (i4 = 0; i4 < 16; i4++) { >- try { >- var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4]; >- var Elimination = >- ((uu === "002A") || (uu === "002F") || (uu === "005C") || (uu === "002B") || >- (uu === "003F") || (uu === "0028") || (uu === "0029") || >- (uu === "005B") || (uu === "005D") || (uu === "007B") || (uu === "007D")); >- /* >- * \u002A / \u002F \ \u005C + \u002B >- ? \u003F ( \u0028 ) \u0029 >- [ \u005B ] \u005D { \u007B } \u007D >- */ >- var LineTerminator = ((uu === "000A") || (uu === "000D") || (uu === "2028") || (uu === "2029")); >- if ((Elimination || LineTerminator ) === false) { >- var xx = "a\\" + String.fromCharCode("0x" + uu); >- var pattern = eval("/" + xx + "/"); >- if (pattern.source !== xx) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- } else { >- count--; >- } >- } catch (e) { >- testFailed('#' + uu + ' '); >- errorCount++; >- } >- count++; >- } >- } >- } >-} >- >-if (errorCount > 0) { >- testFailed('Total error: ' + errorCount + ' bad Regular Expression First Char in ' + count); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt >deleted file mode 100644 >index 2ee465ba294..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/a\' >-S7.8.5_A2.5_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.html >deleted file mode 100644 >index e4443c80e68..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.5_T1; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Line Feed, without eval; >- * @negative >-*/ >- >-//CHECK#1 >-/a\ >-/ >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2-expected.txt >deleted file mode 100644 >index 6f95a1e6363..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.html >deleted file mode 100644 >index 9b73da4e6db..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.5_T2; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Line Feed, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/a\\\u000A/").source; >- testFailed('#1.1: RegularExpressionChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (eval("/a\\\u000A/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionChar :: BackslashSequence :: \\Line Feed is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt >deleted file mode 100644 >index 5991cdb8ac1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unterminated regular expression literal '/a\' >-S7.8.5_A2.5_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.html >deleted file mode 100644 >index 8bce782b68e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.5_T3; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Carriage Return, without eval; >- * @negative >-*/ >- >-//CHECK#1 >-/a\ / >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4-expected.txt >deleted file mode 100644 >index ee12003b6c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.html >deleted file mode 100644 >index e745d9e4a54..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.5_T4; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Carriage Return, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/a\\\u000D/").source; >- testFailed('#1.1: RegularExpressionChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (eval("/a\\\u000D/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionChar :: BackslashSequence :: \\Carriage Return is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5-expected.txt >deleted file mode 100644 >index 237ae934d43..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.5_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.html >deleted file mode 100644 >index 2dbb127fcac..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.5_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.5_T5; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Line separator, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/a\\\u2028/").source; >- testFailed('#1.1: RegularExpressionChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (eval("/a\\\u2028/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionChar :: BackslashSequence :: \\Line separator is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6-expected.txt >deleted file mode 100644 >index 56879199ab1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A2.5_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.html >deleted file mode 100644 >index 62a33a2f60f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A2.5_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A2.5_T6; >- * @section: 7.8.5; >- * @assertion: RegularExpressionChar :: BackslashSequence :: \LineTerminator is incorrect; >- * @description: Paragraph separator, with eval; >-*/ >- >-//CHECK#1 >-try { >- eval("/a\\\u2029/").source; >- testFailed('#1.1: RegularExpressionChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (eval("/a\\\u2029/").source)); >-} >-catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: RegularExpressionChar :: BackslashSequence :: \\Paragraph separator is incorrect. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1-expected.txt >deleted file mode 100644 >index 68a70fcb207..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.html >deleted file mode 100644 >index 90a897f557e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T1; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: g; >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/g; >-if (regexp.global !== true) { >- testFailed('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global)); >-} >- >-//CHECK#2 >-if (regexp.ignoreCase !== false) { >- testFailed('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase)); >-} >- >-//CHECK#3 >-if (regexp.multiline !== false) { >- testFailed('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2-expected.txt >deleted file mode 100644 >index 0a31cc11802..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.html >deleted file mode 100644 >index f6370dd76a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T2; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: i; >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/i; >-if (regexp.global !== false) { >- testFailed('#1: var regexp = /(?:)/g; regexp.global === false. Actual: ' + (regexp.global)); >-} >- >-//CHECK#2 >-if (regexp.ignoreCase !== true) { >- testFailed('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); >-} >- >-//CHECK#3 >-if (regexp.multiline !== false) { >- testFailed('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3-expected.txt >deleted file mode 100644 >index 3cad1e23303..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.html >deleted file mode 100644 >index fbd8716eccf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T3; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: m; >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/m; >-if (regexp.global !== false) { >- testFailed('#1: var regexp = /(?:)/g; regexp.global === false. Actual: ' + (regexp.global)); >-} >- >-//CHECK#2 >-if (regexp.ignoreCase !== false) { >- testFailed('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase)); >-} >- >-//CHECK#3 >-if (regexp.multiline !== true) { >- testFailed('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4-expected.txt >deleted file mode 100644 >index ecdecc52859..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.html >deleted file mode 100644 >index e1516eb457f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T4; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: gi; >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/gi; >-if (regexp.global !== true) { >- testFailed('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global)); >-} >- >-//CHECK#2 >-if (regexp.ignoreCase !== true) { >- testFailed('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); >-} >- >-//CHECK#3 >-if (regexp.multiline !== false) { >- testFailed('#3: var regexp = /(?:)/g; regexp.multiline === false. Actual: ' + (regexp.multiline)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5-expected.txt >deleted file mode 100644 >index 02b1b79126b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.html >deleted file mode 100644 >index 916845a847b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T5; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: mg; >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/mg; >-if (regexp.global !== true) { >- testFailed('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global)); >-} >- >-//CHECK#2 >-if (regexp.ignoreCase !== false) { >- testFailed('#2: var regexp = /(?:)/g; regexp.ignoreCase === false. Actual: ' + (regexp.ignoreCase)); >-} >- >-//CHECK#3 >-if (regexp.multiline !== true) { >- testFailed('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6-expected.txt >deleted file mode 100644 >index d3723f5eb9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.html >deleted file mode 100644 >index d22c6675267..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T6; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: mig; >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/mig; >-if (regexp.global !== true) { >- testFailed('#1: var regexp = /(?:)/g; regexp.global === true. Actual: ' + (regexp.global)); >-} >- >-//CHECK#2 >-if (regexp.ignoreCase !== true) { >- testFailed('#2: var regexp = /(?:)/g; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); >-} >- >-//CHECK#3 >-if (regexp.multiline !== true) { >- testFailed('#3: var regexp = /(?:)/g; regexp.multiline === true. Actual: ' + (regexp.multiline)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt >deleted file mode 100644 >index dcd60f6f90d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected identifier '\u0067'. Expected ';' after variable declaration. >-S7.8.5_A3.1_T7 >- >-FAIL successfullyParsed is not set >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.html >deleted file mode 100644 >index 89660e2b16e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T7; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: \u0067 (g); >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/\u0067; >-if (regexp.global !== true) { >- testFailed('#1: var regexp = /(?:)/\\u0067; regexp.global === true. Actual: ' + (regexp.global)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt >deleted file mode 100644 >index 5753629363c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected identifier '\u0069'. Expected ';' after variable declaration. >-S7.8.5_A3.1_T8 >- >-FAIL successfullyParsed is not set >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.html >deleted file mode 100644 >index 8f1d2726434..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T8; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: \u0069 (i); >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/\u0069; >-if (regexp.ignoreCase !== true) { >- testFailed('#1: var regexp = /(?:)/\\u0069; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt >deleted file mode 100644 >index ce9b386bd0c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected identifier '\u006D'. Expected ';' after variable declaration. >-S7.8.5_A3.1_T9 >- >-FAIL successfullyParsed is not set >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.html >deleted file mode 100644 >index 0a4e6118bab..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A3.1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A3.1_T9; >- * @section: 7.8.5, 15.10.4.1; >- * @assertion: RegularExpressionFlags :: IdentifierPart; >- * @description: IdentifierPart :: \u006D (m); >-*/ >- >-//CHECK#1 >-var regexp = /(?:)/\u006D; >-if (regexp.multiline !== true) { >- testFailed('#1: var regexp = /(?:)/\\u006D; regexp.multiline === true. Actual: ' + (regexp.multiline)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1-expected.txt >deleted file mode 100644 >index 510d5b5b5e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A4.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.html >deleted file mode 100644 >index 1f0a7eba11b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A4.1; >- * @section: 7.8.5; >- * @assertion: A regular expression literal is an input element that is converted to >- * a RegExp object when it is scanned; >- * @description: Check ((/(?:)/ instanceof RegExp) === true); >-*/ >- >-//CHECK#1 >-if ((/(?:)/ instanceof RegExp) !== true) { >- testFailed('#1: (/(?:)/ instanceof RegExp) === true. Actual: ' + ((/(?:)/ instanceof RegExp))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2-expected.txt >deleted file mode 100644 >index 8d1a760f56a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.8.5_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.html >deleted file mode 100644 >index c903dba626f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.8.5_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.8.5_A4.2; >- * @section: 7.8.5; >- * @assertion: Two regular expression literals in a program evaluate to >- * regular expression objects that never compare as === to each other even >- * if the two literals' contents are identical; >- * @description: Check equality two regular expression literals; >-*/ >- >-//CHECK#1 >-var regexp1 = /(?:)/; >-var regexp2 = /(?:)/; >-if (regexp1 === regexp2) { >- testFailed('#1: var regexp1 = /(?:)/; var regexp2 = /(?:)/; regexp1 !== regexp2'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt >deleted file mode 100644 >index ff5e3425b7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected number '2'. Parse error. >-S7.9.2_A1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1.html >deleted file mode 100644 >index 8647b208374..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9.2_A1_T1; >- * @section: 7.9.2; >- * @assertion: Check examples for automatic semicolon insertion from the Standart; >- * @description: { 1 2 } 3 is not a valid sentence in the ECMAScript grammar; >- * @negative; >-*/ >- >-//CHECK#1 >-{ 1 2 } 3 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2-expected.txt >deleted file mode 100644 >index d11903693ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2.html >deleted file mode 100644 >index d2850e793ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9.2_A1_T2; >- * @section: 7.9.2; >- * @assertion: Check examples for automatic semicolon insertion from the Standart; >- * @description: { 1 \n 2 } 3 is a valid sentence in the ECMAScript grammar with automatic semicolon insertion; >-*/ >- >-//CHECK#1 >-{ 1 >-2 } 3 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt >deleted file mode 100644 >index 7d71a440fab..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. >-S7.9.2_A1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3.html >deleted file mode 100644 >index d8b7e2694a6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9.2_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9.2_A1_T3; >- * @section: 7.9.2; >- * @assertion: Check examples for automatic semicolon insertion from the Standart; >- * @description: for( a ; b \n ) is not a valid sentence in the ECMAScript grammar; >- * @negative; >-*/ >- >-//CHECK#1 >-for( a ; b >-) >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4-expected.txt >deleted file mode 100644 >index f5847a5f7e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9.2_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4.html >deleted file mode 100644 >index 87adbfa1c03..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9.2_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9.2_A1_T4; >- * @section: 7.9.2; >- * @assertion: Check examples for automatic semicolon insertion from the Standart; >- * @description: return \n a+b is a valid sentence in the ECMAScript grammar >- * with automatic semicolon insertion, but returned undefined; >-*/ >- >-//CHECK#1 >-var a=1,b=2; >-function test(){ >- return >- a+b >-} >-var x=test(); >-if (x!==undefined) testFailed('#1: Automatic semicolon insertion not work with return'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5-expected.txt >deleted file mode 100644 >index 4955bf8bf60..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9.2_A1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5.html >deleted file mode 100644 >index e0d30d7ca12..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9.2_A1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9.2_A1_T5; >- * @section: 7.9.2; >- * @assertion: Check examples for automatic semicolon insertion from the Standart; >- * @description: a=b \n ++c is a valid sentence in the ECMAScript grammar >- * with automatic semicolon insertion, but a!==b++c; >-*/ >- >-//CHECK#1 >-var a=1,b=2,c=3; >-a=b >-++c >- >-if (a!==b) testFailed('#1: Automatic semicolon insertion not work with ++'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt >deleted file mode 100644 >index 0fb4828bb21..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected keyword 'else' >-S7.9.2_A1_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6.html >deleted file mode 100644 >index ad331da868c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9.2_A1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9.2_A1_T6; >- * @section: 7.9.2; >- * @assertion: Check examples for automatic semicolon insertion from the Standart; >- * @description: if(a>b) \n else c=d is not a valid sentence in the ECMAScript grammar; >- * @negative; >-*/ >- >-//CHECK#1 >-var a=1,b=2,c=3,d; >-if(a>b) >-else c=d >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7-expected.txt >deleted file mode 100644 >index 62b1e9388e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9.2_A1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7.html >deleted file mode 100644 >index 04c385e8e78..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9.2_A1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9.2_A1_T7; >- * @section: 7.9.2; >- * @assertion: Check examples for automatic semicolon insertion from the Standart; >- * @description: a=b+c \n (d+e).print() is a valid sentence in the ECMAScript grammar, >- * and automatic semicolon insertion not run; >-*/ >- >-//CHECK#1 >-function c (a){ >- return 2*a; >-} >- >-var a=1,b=2,d=4,e=5; >- >-a=b+c >-(d+e) >- >-if (a !== 20) testFailed('#1: Automatic semicolon insertion work wrong'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1-expected.txt >deleted file mode 100644 >index 839f292083c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.html >deleted file mode 100644 >index 52a07023bf7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A1; >- * @section: 7.9, 12.7, 12.12; >- * @assertion: Check Continue Statement for automatic semicolon insertion; >- * @description: Try use continue \n Label construction; >-*/ >- >-//CHECK#1 >-label1: for (var i = 0; i <= 0; i++) { >- for (var j = 0; j <= 1; j++) { >- if (j === 0) { >- continue label1; >- } else { >- testFailed('#1: Check continue statement for automatic semicolon insertion'); >- } >- } >-} >- >-//CHECK#2 >-var result = false; >-label2: for (var i = 0; i <= 1; i++) { >- for (var j = 0; j <= 1; j++) { >- if (j === 0) { >- continue >- label2; >- } else { >- result = true; >- } >- } >-} >- >-if (result !== true) { >- testFailed('#2: Check continue statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1-expected.txt >deleted file mode 100644 >index 0d2b7daa817..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A10_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.html >deleted file mode 100644 >index 5eb8cb76b16..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T1; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "1 * {}" passes; >-*/ >- >-//CHECK#1 >-1 * {} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10-expected.txt >deleted file mode 100644 >index 59840f0f8b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A10_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.html >deleted file mode 100644 >index 9d4f109598d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T10; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "{a:1 \n} 3" passes; >-*/ >- >-//CHECK#1 >-{a:1 >-} 3 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11-expected.txt >deleted file mode 100644 >index a51cc231b05..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A10_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.html >deleted file mode 100644 >index b2895ccedf5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T11; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "{a:1 \n} \n 3" passes; >-*/ >- >-//CHECK#1 >-{a:1 >-} >-3 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12-expected.txt >deleted file mode 100644 >index 80eca44c0ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A10_T12 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.html >deleted file mode 100644 >index a8d1dd5e688..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T12; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "{ \n a: \n 1 \n } \n 3" passes; >-*/ >- >-//CHECK#1 >-{ >-a: >-1 >-} >-3 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt >deleted file mode 100644 >index de0a298fc13..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '*' >-S7.9_A10_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.html >deleted file mode 100644 >index f1dbbb23706..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T2; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "{}*1" fails; >- * @negative >-*/ >- >-//CHECK#1 >-{} * 1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3-expected.txt >deleted file mode 100644 >index b99ae4c61d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A10_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.html >deleted file mode 100644 >index 79d7c5db721..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T3; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "({}) * 1" passes; >-*/ >- >-//CHECK#1 >-({}) * 1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt >deleted file mode 100644 >index afebebe5fbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token ';'. Expected ')' to end a compound expression. >-S7.9_A10_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.html >deleted file mode 100644 >index e11ec94593f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T4; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "({};)*1" fails; >- * @negative >-*/ >- >-//CHECK#1 >-({};) * 1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5-expected.txt >deleted file mode 100644 >index dcf63b8e50e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A10_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.html >deleted file mode 100644 >index 7cf3d4170cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T5; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "( \n {} \n ) * 1" passes; >-*/ >- >-//CHECK#1 >-( >- {} >-) * 1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt >deleted file mode 100644 >index 5d637fdac50..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '*' >-S7.9_A10_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.html >deleted file mode 100644 >index 15516f3ca7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T6; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "{} \n * 1" fails; >- * @negative >-*/ >- >-//CHECK#1 >-{} >- * 1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7-expected.txt >deleted file mode 100644 >index 6f5d18330a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A10_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.html >deleted file mode 100644 >index 080ff763caf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T7; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "{1} 2" passes; >-*/ >- >-//CHECK#1 >-{1} 2 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt >deleted file mode 100644 >index f6646a479dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected number '2'. Parse error. >-S7.9_A10_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.html >deleted file mode 100644 >index 75023ca4038..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T8; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "{1 2} 3" fails; >- * @negative >-*/ >- >-//CHECK#1 >-{1 2} 3 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9-expected.txt >deleted file mode 100644 >index 9c50519128e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A10_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.html >deleted file mode 100644 >index 04b3c727217..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A10_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A10_T9; >- * @section: 7.9; >- * @assertion: Check {} for automatic semicolon insertion; >- * @description: Checking if execution of "{1 \n 2} 3" passes; >-*/ >- >-//CHECK#1 >-{1 >-2} 3 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1-expected.txt >deleted file mode 100644 >index 03c8a1a82ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.html >deleted file mode 100644 >index c0b47704e54..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T1; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) x = 1 (without semicolon) and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) x = 1 >-if (x !== 0) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10-expected.txt >deleted file mode 100644 >index 5b90350af37..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.html >deleted file mode 100644 >index 0f4e228033a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T10; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) {x = 1} else {x=-1} and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) {x = 1} else {x = -1} >-if (x !== -1) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11-expected.txt >deleted file mode 100644 >index b68afa30299..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.html >deleted file mode 100644 >index e27f675251a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T11; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) {{x = 1};} \n else x=-1 and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) {{x = 1};} >-else x = -1 >-if (x !== -1) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2-expected.txt >deleted file mode 100644 >index 13f8c516779..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.html >deleted file mode 100644 >index ae80c33f560..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T2; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) \n x = 1 and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) >-x = 1 >-if (x !== 0) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3-expected.txt >deleted file mode 100644 >index 31b76a88b49..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.html >deleted file mode 100644 >index ecdffa992b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T3; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false);\n x = 1 and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false); >-x = 1 >-if (x !== 1) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt >deleted file mode 100644 >index 0a1303a9329..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'else' >-S7.9_A11_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.html >deleted file mode 100644 >index 0bb48109739..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T4; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Checking if execution of "if (false) x = 1 else x = -1" fails; >- * @negative >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) x = 1 else x = -1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5-expected.txt >deleted file mode 100644 >index d4e1a6a2204..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.html >deleted file mode 100644 >index 726fedc40fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T5; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) x = 1; else x=-1 and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) x = 1; else x = -1 >-if (x !== -1) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6-expected.txt >deleted file mode 100644 >index 48c99e72439..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.html >deleted file mode 100644 >index 09e45935638..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T6; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) x = 1 \n else x=-1 and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) x = 1 >-else x = -1 >-if (x !== -1) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7-expected.txt >deleted file mode 100644 >index d1503137734..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.html >deleted file mode 100644 >index df0444b832d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T7; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) x = 1; \n else x=-1 and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) x = 1; >-else x = -1 >-if (x !== -1) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt >deleted file mode 100644 >index 592d7dfc929..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected keyword 'else' >-S7.9_A11_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.html >deleted file mode 100644 >index 6565cd50b1f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T8; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) {x = 1}; \n else x=-1 and check x; >- * @negative >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) {x = 1}; >-else x = -1 >-if (x !== -1) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9-expected.txt >deleted file mode 100644 >index 77cbb52b6c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A11_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.html >deleted file mode 100644 >index 8cc424c23df..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A11_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A11_T9; >- * @section: 7.9, 12.5; >- * @assertion: Check If Statement for automatic semicolon insertion; >- * @description: Use if (false) {x = 1} \n else x=-1 and check x; >-*/ >- >-//CHECK#1 >-x = 0; >-if (false) {x = 1} >-else x = -1 >-if (x !== -1) { >- testFailed('#1: Check If Statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2-expected.txt >deleted file mode 100644 >index 03416bd9a77..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.html >deleted file mode 100644 >index b4d88f9cecb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A2; >- * @section: 7.9, 12.8, 12.12; >- * @assertion: Check Break Statement for automatic semicolon insertion; >- * @description: Try use break \n Label construction; >-*/ >- >-//CHECK#1 >-label1: for (var i = 0; i <= 0; i++) { >- for (var j = 0; j <= 0; j++) { >- break label1; >- } >- testFailed('#1: Check break statement for automatic semicolon insertion'); >-} >- >-//CHECK#2 >-var result = false; >-label2: for (var i = 0; i <= 0; i++) { >- for (var j = 0; j <= 0; j++) { >- break >- label2; >- } >- result = true; >-} >- >-if (result !== true) { >- testFailed('#2: Check break statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3-expected.txt >deleted file mode 100644 >index 6dc4e7fd5ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.html >deleted file mode 100644 >index 186bf32a660..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A3; >- * @section: 7.9, 12.9; >- * @assertion: Check Return Statement for automatic semicolon insertion; >- * @description: Try use return \n Expression construction; >-*/ >- >-//CHECK#1 >-function f1() >-{ >- return 1; >-} >-if (f1() !== 1) { >- testFailed('#1: Check return statement for automatic semicolon insertion'); >-} >- >-//CHECK#2 >-function f2() >-{ >- return >- 1; >-} >-if (f2() !== undefined) { >- testFailed('#2: Check return statement for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt >deleted file mode 100644 >index 612295f2b1a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Cannot have a newline after 'throw'. >-S7.9_A4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.html >deleted file mode 100644 >index 50deb85dbee..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A4; >- * @section: 7.9, 12.13; >- * @assertion: Check Throw Statement for automatic semicolon insertion; >- * @description: Try use Throw \n Expression construction; >- * @negative >-*/ >- >-//CHECK#1 >-try { >- throw >- 1; >-} catch(e) { >-} >-testFailed('#1: Check throw statement for automatic semicolon insertion'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt >deleted file mode 100644 >index 9d2f1eaa919..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';' >-S7.9_A5.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.html >deleted file mode 100644 >index 522de9eead6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.1_T1; >- * @section: 7.9, 12.4, 11.13.1; >- * @assertion: Check Postfix Increment Operator for automatic semicolon insertion; >- * @description: Try use Variable \n ++ construction; >- * @negative >-*/ >- >-//CHECK#1 >-var x = 0; >-x >-++; >-testFailed('#1: Check Postfix Increment Operator for automatic semicolon insertion'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1-expected.txt >deleted file mode 100644 >index 7c0cd674397..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.html >deleted file mode 100644 >index 966f5700fd3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.2_T1; >- * @section: 7.9, 12.4, 11.13.1; >- * @assertion: Check Prefix Increment Operator for automatic semicolon insertion; >- * @description: Try use Variable1 \n ++Variable2 construction; >-*/ >- >-//CHECK#1 >-var x = 0; >-var y = 0; >-x >-++y >-if (x !== 0) { >- testFailed('#1: Check Prefix Increment Operator for automatic semicolon insertion'); >-} else { >- if (y !== 1) { >- testFailed('#2: Check Prefix Increment Operator for automatic semicolon insertion'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt >deleted file mode 100644 >index 7b0fbf27820..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';' >-S7.9_A5.3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.html >deleted file mode 100644 >index a1d42ce2c84..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.3_T1; >- * @section: 7.9, 12.4, 11.13.2; >- * @assertion: Check Postfix Decrement Operator for automatic semicolon insertion; >- * @description: Try use Variable \n -- construction; >- * @negative >-*/ >- >-//CHECK#1 >-var x = 1; >-x >---; >-testFailed('#1: Check Postfix Decrement Operator for automatic semicolon insertion'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1-expected.txt >deleted file mode 100644 >index 7da55b93529..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.html >deleted file mode 100644 >index 577a7d62568..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.4_T1; >- * @section: 7.9, 12.4, 11.13.2; >- * @assertion: Check Prefix Decrement Operator for automatic semicolon insertion; >- * @description: Try use Variable1 \n --Variable2 construction; >-*/ >- >-//CHECK#1 >-var x = 1; >-var y = 1; >-x >---y >-if (x !== 1) { >- testFailed('#1: Check Prefix Decrement Operator for automatic semicolon insertion'); >-} else { >- if (y !== 0) { >- testFailed('#1: Check Prefix Decrement Operator for automatic semicolon insertion'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1-expected.txt >deleted file mode 100644 >index 9008b5bb066..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.html >deleted file mode 100644 >index 9c9e6cf633e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.5_T1; >- * @section: 7.9, 12.4, 11.2.5; >- * @assertion: Check Function Expression for automatic semicolon insertion; >- * @description: Try use 1 + function_name\n(2 + 3) construction; >-*/ >- >-//CHECK#1 >-function f(t) { >- return t; >-} >-var x = 1 + f >-(2 + 3) >-if (x !== 6) { >- testFailed('#1: Check Function Expression for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2-expected.txt >deleted file mode 100644 >index 79fb1c51837..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.html >deleted file mode 100644 >index bdeb457ccc6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.5_T2; >- * @section: 7.9, 12.4, 11.2.5; >- * @assertion: Check Function Expression for automatic semicolon insertion; >- * @description: Try use function f(o) {o.x = 1; return o;}; \n (new Object()).x; construction; >-*/ >- >-//CHECK#1 >-var result = function f(o) {o.x = 1; return o;}; >-(new Object()).x; >-if (typeof result !== "function") { >- testFailed('#1: Check Function Expression for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3-expected.txt >deleted file mode 100644 >index 32c2c5a789c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.html >deleted file mode 100644 >index 31913093e18..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.5_T3; >- * @section: 7.9, 12.4, 11.2.5; >- * @assertion: Check Function Expression for automatic semicolon insertion; >- * @description: Try use function f(o) {o.x = 1; return o;} \n (new Object()).x; construction; >-*/ >- >-//CHECK#1 >-var result = function f(o) {o.x = 1; return o;} >-(new Object()).x; >-if (result !== 1) { >- testFailed('#1: Check Function Expression for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4-expected.txt >deleted file mode 100644 >index b412b7a2d17..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.html >deleted file mode 100644 >index c20ee3c1b4a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.5_T4; >- * @section: 7.9, 12.4, 11.2.5; >- * @assertion: Check Function Expression for automatic semicolon insertion; >- * @description: Insert some LineTerminators into function body; >-*/ >- >-//CHECK#1 >-var x = >-1 + (function (t){return {a:t >-} >-}) >-(2 + 3). >-a >- >-if (x !== 6) { >- testFailed('#1: Check Function Expression for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5-expected.txt >deleted file mode 100644 >index 73b7fa476d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.html >deleted file mode 100644 >index 36a479b5b1b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.5_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.5_T5; >- * @section: 7.9, 12.4, 11.2.5; >- * @assertion: Check Function Expression for automatic semicolon insertion; >- * @description: Insert some LineTerminators into rerutn expression; >- * >-*/ >- >-//CHECK#1 >-var x = >-1 + (function f >-(t){ >-return { >-a: >-function(){ >-return t + 1 >-} >-} >-} >-) >-(2 + 3). >-a >-() >- >-if (x !== 7) { >- testFailed('#1: Check Function Expression for automatic semicolon insertion'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1-expected.txt >deleted file mode 100644 >index c3f63114fe1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.html >deleted file mode 100644 >index 89100e0e3d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.6_T1; >- * @section: 7.9, 12.4, 11.3, 11.4.4, 11.4.5; >- * @assertion: Since LineTerminator between Postfix Increment/Decrement Operator(I/DO) and operand is not allowed but >- * between Prefix I/DO and operand admitted, Postfix I/DO in combination with prefix I/DO after automatic semicolon insertion gives valid result; >- * @description: Try use Variable1 \n ++ \n Variable2 construction; >-*/ >- >-var x=0, y=0; >- >-x >-++ >-y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==0)&(y!==1)) { >- testFailed('#1: Check Postfix Increment Operator for automatic semicolon insertion'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-x >-++y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if ((x!==0)&(y!==2)) { >- testFailed('#2: Check Postfix Increment Operator for automatic semicolon insertion'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2-expected.txt >deleted file mode 100644 >index 4746257fb54..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.html >deleted file mode 100644 >index f2a2d8532f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A5.6_T2; >- * @section: 7.9, 12.4, 11.3, 11.4.4, 11.4.5; >- * @assertion: Since LineTerminator between Postfix Increment/Decrement Operator(I/DO) and operand is not allowed but >- * between Prefix I/DO and operand admitted, Postfix I/DO in combination with prefix I/DO after automatic semicolon insertion gives valid result; >- * @description: Try use Variable1 \n -- \n Variable2 construction; >-*/ >- >-var x=0, y=2; >- >-x >--- >-y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==0)&(y!==1)) { >- testFailed('#1: Check Postfix Increment Operator for automatic semicolon insertion'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-x >---y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if ((x!==0)&(y!==0)) { >- testFailed('#2: Check Postfix Increment Operator for automatic semicolon insertion'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1-expected.txt >deleted file mode 100644 >index f4509fcdb8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.7_T1 >- >-PASS ReferenceError: Prefix ++ operator applied to value that is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.html >deleted file mode 100644 >index 297e77d6096..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S7.9_A5.7_T1; >-* @section: 7.9; >-* @assertion: Since LineTerminator(LT) between Postfix Increment/Decrement Operator(I/DO) and operand is not allowed, two IO(just as two DO and their combination) >-* between two references separated by [LT] after automatic semicolon insertion lead to syntax error; >-* @description: Try use Variable1 \n ++ \n ++ \n Variable2 construction; >-* @negative; >-*/ >- >-var x=0, y=0; >-z= >-x >-++ >-++ >-y >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1-expected.txt >deleted file mode 100644 >index 4d3fcb6dddd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.html >deleted file mode 100644 >index 07de90289ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S7.9_A5.8_T1; >-* @section: 7.9; >-* @assertion: Since LineTerminator(LT) between Postfix Increment/Decrement Operator(I/DO) and operand is admitted, >-* Additive/Substract Operator(A/SO) in combination with I/DO separated by LT or white spaces after automatic semicolon insertion gives valid result; >-* @description: Try use Variable1 \n + \n ++ \n Variable2 construction; >-*/ >- >-var x=0, y=0; >-z= >-x >-+ >-++ >-y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((z!==1)&&(y!==1)&&(x!==0)) { >- testFailed('#1: '); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-z= >-x >-+ ++ >-y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if ((z!==2)&&(y!==2)&&(x!==0)) { >- testFailed(''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-z= >-x >-+ ++ >-y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if ((z!==3)&&(y!==3)&&(x!==0)) { >- testFailed(''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1-expected.txt >deleted file mode 100644 >index d2cf096e052..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A5.9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.html >deleted file mode 100644 >index f371bcec2f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A5.9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S7.9_A5.9_T1; >-* @section: 7.9; >-* @assertion: Additive/Substract Operator(A/SO) in combination with itself separated by LT or white spaces >-* after automatic semicolon insertion gives valid result; >-* @description: Try use Variable1 (different combinations of three +) Variable2 construction; >-*/ >- >-var x=1, y=1; >-z= >-x >-+ >-+ >-+ >-y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((z!==2)&&(y!==1)&&(x!==1)) { >- testFailed('#1: '); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-z= >-x + + + y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if ((z!==2)&&(y!==1)&&(x!==1)) { >- testFailed(''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-z= >-x >-+ + >-+ + >-y >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if ((z!==2)&&(y!==1)&&(x!==1)) { >- testFailed(''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1-expected.txt >deleted file mode 100644 >index 245e5f363bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.html >deleted file mode 100644 >index e2e21ef9039..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T1; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for( Empty two semicolons and \n); >-*/ >- >-//CHECK#1 >-for(;; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10-expected.txt >deleted file mode 100644 >index 473d360b1f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.html >deleted file mode 100644 >index 9b334ea3103..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T10; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (false \n two semicolons false \n); >-*/ >- >-//CHECK#1 >-for(false >- ;;false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11-expected.txt >deleted file mode 100644 >index eef60d52893..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.html >deleted file mode 100644 >index fce03e49387..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T11; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (false \n semicolon \n semicolon \n); >-*/ >- >-//CHECK#1 >-for(false >- ; >- ; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12-expected.txt >deleted file mode 100644 >index c1c18fda0fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T12 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.html >deleted file mode 100644 >index 58816e9098d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T12; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (false \n semicolon false \n semicolon \n); >-*/ >- >-//CHECK#1 >-for(false >- ;false >- ; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13-expected.txt >deleted file mode 100644 >index cf9a8e6725b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T13 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.html >deleted file mode 100644 >index 99de330dec8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T13; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (false \n semicolon false \n semicolon false \n); >-*/ >- >-//CHECK#1 >-for(false >- ;false >- ;false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2-expected.txt >deleted file mode 100644 >index f026dce3b30..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.html >deleted file mode 100644 >index 1f45dada9be..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T2; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (semicolon \n semicolon \n); >-*/ >- >-//CHECK#1 >-for(; >- ; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3-expected.txt >deleted file mode 100644 >index cb2e9b76b7e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.html >deleted file mode 100644 >index fe391e4ecde..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T3; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (\n two semicolons \n); >-*/ >- >-//CHECK#1 >-for( >- ;; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4-expected.txt >deleted file mode 100644 >index 9db9ef5c11f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.html >deleted file mode 100644 >index d9cc95ff3d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T4; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for( \n semicolon \n semicolon \n); >-*/ >- >-//CHECK#1 >-for( >- ; >- ; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5-expected.txt >deleted file mode 100644 >index e0ae71c3f7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.html >deleted file mode 100644 >index cbabebe028a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T5; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for ( \n semicolon \n\n semicolon \n); >-*/ >- >-//CHECK#1 >-for( >- ; >- >- ; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6-expected.txt >deleted file mode 100644 >index 70af588a99f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.html >deleted file mode 100644 >index 60f8c0333c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T6; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for(false semicolon false semicolon false \n); >-*/ >- >-//CHECK#1 >-for(false;false;false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7-expected.txt >deleted file mode 100644 >index 0eae341d3d6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.html >deleted file mode 100644 >index c5df29c9bf3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T7; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (false semicolon false \n semicolon \n); >-*/ >- >-//CHECK#1 >-for(false;false >- ; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8-expected.txt >deleted file mode 100644 >index bbd6b97a1a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.html >deleted file mode 100644 >index f28c2696945..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T8; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (false semicolon false \n semicolon false \n); >-*/ >- >-//CHECK#1 >-for(false;false >- ;false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9-expected.txt >deleted file mode 100644 >index dfee6729525..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.html >deleted file mode 100644 >index a43ea35195c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.1_T9; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: for (false \n two semicolons \n); >-*/ >- >-//CHECK#1 >-for(false >- ;; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt >deleted file mode 100644 >index 8c362b8bc7a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.html >deleted file mode 100644 >index 2b44b5b4d9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T1; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (semicolon \n); >- * @negative >-*/ >- >-//CHECK#1 >-for(; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt >deleted file mode 100644 >index 913e187feb3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T10 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.html >deleted file mode 100644 >index 12bb4b8de4c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T10; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (\n false \n semicolon); >- * @negative >-*/ >- >-//CHECK#1 >-for( >- false >-;) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt >deleted file mode 100644 >index 4f66f0800a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.html >deleted file mode 100644 >index dd5db30eedd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T2; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (\n semicolon \n); >- * @negative >-*/ >- >-//CHECK#1 >-for( >- ; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt >deleted file mode 100644 >index 031e94ee21a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.html >deleted file mode 100644 >index 1e3874b9205..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T3; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (\n semicolon); >- * @negative >-*/ >- >-//CHECK#1 >-for( >-;) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt >deleted file mode 100644 >index 991b8f10f6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.html >deleted file mode 100644 >index ebd7f025619..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T4; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (\n \n semicolon); >- * @negative >-*/ >- >-//CHECK#1 >-for( >- >-;) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt >deleted file mode 100644 >index 38dae22b881..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. >-S7.9_A6.2_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.html >deleted file mode 100644 >index 6a039193c3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T5; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (false semicolon false\n); >- * @negative >-*/ >- >-//CHECK#1 >-for(false;false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt >deleted file mode 100644 >index 2384a984060..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. >-S7.9_A6.2_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.html >deleted file mode 100644 >index 8842e1bb578..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T6; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (false semicolon \n false); >- * @negative >-*/ >- >-//CHECK#1 >-for(false; >-false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt >deleted file mode 100644 >index 5ba528871d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.html >deleted file mode 100644 >index 0e57ecff95c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T7; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (false \n semicolon \n); >- * @negative >-*/ >- >-//CHECK#1 >-for(false >- ; >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt >deleted file mode 100644 >index 7df33d4a864..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. >-S7.9_A6.2_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.html >deleted file mode 100644 >index b342a0d48d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T8; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (false \n semicolon false \n); >- * @negative >-*/ >- >-//CHECK#1 >-for(false >- ;false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt >deleted file mode 100644 >index 39793d5c5cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. >-S7.9_A6.2_T9 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.html >deleted file mode 100644 >index dd33e1573cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.2_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.2_T9; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Use one semicolon; >- * @description: For header is (\n semicolon false); >- * @negative >-*/ >- >-//CHECK#1 >-for( >-;false) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt >deleted file mode 100644 >index 96195c7ad41..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')' >-S7.9_A6.3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.html >deleted file mode 100644 >index c34331c8b33..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.3_T1; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Don`t use semicolons; >- * @description: For header is (\n); >- * @negative >-*/ >- >-//CHECK#1 >-for( >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt >deleted file mode 100644 >index 012934062b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.3_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.html >deleted file mode 100644 >index d6e32645a43..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.3_T2; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Don`t use semicolons; >- * @description: For header is (\n \n); >- * @negative >-*/ >- >-//CHECK#1 >-for( >- >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt >deleted file mode 100644 >index ddedccc9b2c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Unexpected token ')' >-S7.9_A6.3_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.html >deleted file mode 100644 >index e0250b9ff93..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.3_T3; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Don`t use semicolons; >- * @description: For header is (\n \n \n); >- * @negative >-*/ >- >-//CHECK#1 >-for( >- >- >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt >deleted file mode 100644 >index 3dc67ef0d35..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')'. Expected either 'in' or 'of' in enumeration syntax. >-S7.9_A6.3_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.html >deleted file mode 100644 >index a7b077f01de..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.3_T4; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Don`t use semicolons; >- * @description: For header is (\n false \n); >- * @negative >-*/ >- >-//CHECK#1 >-for( >- false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt >deleted file mode 100644 >index a5095d6959a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected keyword 'false'. Expected either 'in' or 'of' in enumeration syntax. >-S7.9_A6.3_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.html >deleted file mode 100644 >index c8ed0024d5a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.3_T5; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Don`t use semicolons; >- * @description: For header is (false \n false \n); >- * @negative >-*/ >- >-//CHECK#1 >-for(false >- false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt >deleted file mode 100644 >index cfec8f8e2e8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected keyword 'false'. Expected either 'in' or 'of' in enumeration syntax. >-S7.9_A6.3_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.html >deleted file mode 100644 >index af1913cf439..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.3_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.3_T6; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Don`t use semicolons; >- * @description: For header is (\n false \n false \n); >- * @negative >-*/ >- >-//CHECK#1 >-for( >- false >- false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt >deleted file mode 100644 >index c377cd6679e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected keyword 'false'. Expected either 'in' or 'of' in enumeration syntax. >-S7.9_A6.3_T7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.html >deleted file mode 100644 >index 8a9213318dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.3_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.3_T7; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion. >- * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. >- * Don`t use semicolons; >- * @description: For header is (\n false \n false \n false \n); >- * @negative >-*/ >- >-//CHECK#1 >-for( >- false >- false >- false >-) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt >deleted file mode 100644 >index 4b654ba8a4d..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. >-S7.9_A6.4_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.html >deleted file mode 100644 >index 2018e6ed5cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.4_T1; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: Three semicolons. For header is (false semicolon false semicolon false semicolon); >- * @negative >-*/ >- >-//CHECK#1 >-for(false;false;false;) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt >deleted file mode 100644 >index a1b89b57d4e..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token ';' >-S7.9_A6.4_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.html >deleted file mode 100644 >index aa4dd6dd3d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A6.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A6.4_T2; >- * @section: 7.9, 12.6.3; >- * @assertion: Check For Statement for automatic semicolon insertion; >- * @description: Three semicolons. For header is (false semicolon false two semicolons false); >- * @negative >-*/ >- >-//CHECK#1 >-for(false;false;;false) { >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1-expected.txt >deleted file mode 100644 >index fe6783e8421..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.html >deleted file mode 100644 >index a554ab498d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T1; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var x \n = 1" passes; >- >-*/ >- >-//CHECK#1 >-var x >-= 1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2-expected.txt >deleted file mode 100644 >index 2f05c603cae..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.html >deleted file mode 100644 >index 0f96f5be757..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T2; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var x = \n 1" passes; >-*/ >- >-//CHECK#1 >-var x = >-1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3-expected.txt >deleted file mode 100644 >index 4e639499d95..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.html >deleted file mode 100644 >index 5ab37de400b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T3; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var x \n x = 1" passes; >-*/ >- >-//CHECK#1 >-var x >-x = 1 >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4-expected.txt >deleted file mode 100644 >index aa0247115d6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.html >deleted file mode 100644 >index 3d92df8f722..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T4; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var \n x" passes; >-*/ >- >-//CHECK#1 >-var >-x >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5-expected.txt >deleted file mode 100644 >index addd351a8a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.html >deleted file mode 100644 >index 6e0d1a4b043..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T5; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var \n x \n = \n 1" passes; >-*/ >- >-//CHECK#1 >-var >-x >-= >-1 >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6-expected.txt >deleted file mode 100644 >index b33d4c8c24f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.html >deleted file mode 100644 >index 0015d1489e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T6; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var x, \n y" passes; >-*/ >- >-//CHECK#1 >-var x, >-y >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7-expected.txt >deleted file mode 100644 >index 91fe40d4b70..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T7 >- >-PASS ReferenceError: Can't find variable: y >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.html >deleted file mode 100644 >index bff065791bb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T7; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var x \n y" passes; >- * @negative >-*/ >- >-//CHECK#1 >-var x >-y >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8-expected.txt >deleted file mode 100644 >index cc0cfbc5af6..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.html >deleted file mode 100644 >index 87be394d87b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T8; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var x \n ,y" passes; >-*/ >- >-//CHECK#1 >-var x >-,y >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9-expected.txt >deleted file mode 100644 >index 92abc8c3c02..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A7_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.html >deleted file mode 100644 >index 23cd3b336e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A7_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A7_T9; >- * @section: 7.9, 12.2; >- * @assertion: Check Var Statement for automatic semicolon insertion; >- * @description: Checking if execution of "var x \n ,y = 1" passes; >-*/ >- >-//CHECK#1 >-var >-x >-,y = 1 >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1-expected.txt >deleted file mode 100644 >index 20a697dfa0c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.html >deleted file mode 100644 >index 44e763b129a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A8_T1; >- * @section: 7.9, 12.4; >- * @assertion: Check Empty Statement for automatic semicolon insertion; >- * @description: Checking if execution of one semicolon passes; >-*/ >- >-//CHECK#1 >-; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2-expected.txt >deleted file mode 100644 >index cb502361961..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A8_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.html >deleted file mode 100644 >index 4b9c58fd625..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A8_T2; >- * @section: 7.9, 12.4; >- * @assertion: Check Empty Statement for automatic semicolon insertion; >- * @description: Checking if execution of some semicolons with LineTerminators pases; >-*/ >- >-//CHECK#1 >-; >-; >-; >-; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3-expected.txt >deleted file mode 100644 >index 45815a1002b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A8_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.html >deleted file mode 100644 >index 656756b5e8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A8_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A8_T3; >- * @section: 7.9, 12.4; >- * @assertion: Check Empty Statement for automatic semicolon insertion; >- * @description: Checking if execution of some semicolons without LineTerminators passes; >-*/ >- >-//CHECK#1 >-;;;; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4-expected.txt >deleted file mode 100644 >index 825d82931c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A8_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.html >deleted file mode 100644 >index 2753283926f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A8_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A8_T4; >- * @section: 7.9, 12.4; >- * @assertion: Check Empty Statement for automatic semicolon insertion; >- * @description: Checking if execution of some semicolons with LineTerminators and numbers passes; >-*/ >- >-//CHECK#1 >-;1; >-;1 >-;1; >-;1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5-expected.txt >deleted file mode 100644 >index d68e2b06b17..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A8_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.html >deleted file mode 100644 >index 4dad1d725a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A8_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A8_T5; >- * @section: 7.9, 12.4; >- * @assertion: Check Empty Statement for automatic semicolon insertion; >- * @description: Checking if execution of some semicolons without LineTerminators but with numbers passes; >-*/ >- >-//CHECK#1 >-;;1;;1;;1 >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1-expected.txt >deleted file mode 100644 >index 47c22df229c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.html >deleted file mode 100644 >index 0dc308cde9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T1; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do { \n }while(false); >-*/ >- >-//CHECK#1 >-do { >-} while (false) >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2-expected.txt >deleted file mode 100644 >index 832b5c027eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.html >deleted file mode 100644 >index e856c7c43ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T2; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do; while(false) \n true; >-*/ >- >-//CHECK#1 >-do ; while (false) >-true >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3-expected.txt >deleted file mode 100644 >index c2066c67a5c..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A9_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.html >deleted file mode 100644 >index 561b38c4127..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T3; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do { \n ; \n }while(false) true; >-*/ >- >-//CHECK#1 >-do { >- ; >-} while (false) true >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4-expected.txt >deleted file mode 100644 >index 2c8320656aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A9_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.html >deleted file mode 100644 >index d0e97116190..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T4; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do ; while \n (false) true; >-*/ >- >-//CHECK#1 >-do ; while >-(false) true >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5-expected.txt >deleted file mode 100644 >index e9904eecdb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A9_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.html >deleted file mode 100644 >index 58ccdd3438b..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T5; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do { \n ; \n }while((false) \n ); >-*/ >- >-//CHECK#1 >-do { >- ; >-} while ((false) >-) >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt >deleted file mode 100644 >index 7d5550c603a..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}'. Expected a statement as the body of a while loop. >-S7.9_A9_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.html >deleted file mode 100644 >index 1a10123deb9..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T6; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do \n while(false); >- * @negative >-*/ >- >-//CHECK#1 >-do >-while (false) >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt >deleted file mode 100644 >index e07706ebc5f..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token '}'. Expected a statement as the body of a while loop. >-S7.9_A9_T7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.html >deleted file mode 100644 >index 85e190cdede..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T7; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do \n\n while(false); >- * @negative >-*/ >- >-//CHECK#1 >-do >- >-while (false) >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt >deleted file mode 100644 >index 48239cdeb17..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token ';'. Expected 'while' to end a do-while loop. >-S7.9_A9_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.html >deleted file mode 100644 >index efd106d3c94..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T8; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do {}; \n while(false); >- * @negative >-*/ >- >-//CHECK#1 >-do {}; >-while (false) >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9-expected.txt b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9-expected.txt >deleted file mode 100644 >index d2f4dc81071..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S7.9_A9_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.html b/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.html >deleted file mode 100644 >index fb77fb9cf35..00000000000 >--- a/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S7.9_A9_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S7.9_A9_T9; >- * @section: 7.9, 12.6.1; >- * @assertion: Check Do-While Statement for automatic semicolon insertion; >- * @description: Execute do {} \n while(false); >-*/ >- >-//CHECK#1 >-do {} >-while (false) >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1-expected.txt >deleted file mode 100644 >index 21a6189e43d..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.html >deleted file mode 100644 >index 1935e98edf8..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.1_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.1_A1_T1; >- * @section: 8.1; >- * @assertion: The Undefined type has one value, called undefined; >- * @description: Checking if execution of "x = undefined" passes; >-*/ >- >-// CHECK#1 >-x = undefined; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2-expected.txt >deleted file mode 100644 >index fc1c713e775..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.html >deleted file mode 100644 >index 325c4b930ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.1_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.1_A1_T2; >- * @section: 8.1; >- * @assertion: The Undefined type has one value, called undefined; >- * @description: Check typeof(undefined) and typeof(void 0); >-*/ >- >-// CHECK#1 >-if (!(typeof(undefined) === "undefined")) { >- ERROR('#1: typeof(undefined) === "undefined". Actual: ' + (typeof(undefined))); >-} >- >-// CHECK#2 >-if (!(typeof(void 0) === "undefined")) { >- ERROR('#2: typeof(void 0) === "undefined". Actual: ' + (typeof(void 0))); >-} >- >-// CHECK#3 >-if (!(undefined === void 0)) { >- ERROR('#3: undefined === void 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1-expected.txt >deleted file mode 100644 >index 135ccf8467c..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.1_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.html >deleted file mode 100644 >index 523609187e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.1_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.1_A2_T1; >- * @section: 8.1; >- * @assertion: Any variable that has not been assigned a value has the value undefined; >- * @description: Check that var x have value and type undefined; >-*/ >- >-var x; >- >-/////////////////////////////////////////////////////////////////// >-// CHECK#1 >-if (!(x === undefined)) { >- testFailed('#1: var x; x === undefined. Actual: ' + (x)); >-} >-// >-/////////////////////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////////////////////// >-// CHECK#2 >-if (!(typeof(x) === "undefined")) { >- testFailed('#2: var x; typeof(x) === "undefined". Actual: ' + (typeof(x))); >-} >-// >-/////////////////////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////////////////////// >-// CHECK#3 >-if (!(x === void 0)) { >- testFailed('#3: var x; x === void 0. Actual: ' + (x)); >-} >-// >-/////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2-expected.txt >deleted file mode 100644 >index 36598b68caf..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.1_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.html >deleted file mode 100644 >index 5c4792922c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.1_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.1_A2_T2; >- * @section: 8.1; >- * @assertion: Any variable that has not been assigned a value has the value undefined; >- * @description: Function return undefined; >-*/ >- >-// CHECK#1 >-function test1(x) { >- return x; >-} >- >-if (!(test1() === void 0)) { >- testFailed('#1: function test1(x){return x} test1() === void 0. Actual: ' + (test1())); >-} >- >-// CHECK#2 >-function test2() { >-} >- >-if (!(test2() === void 0)) { >- testFailed('#2: function test2(){} test2() === void 0. Actual: ' + (test2())); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3-expected.txt >deleted file mode 100644 >index 174c8e5bd8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.1_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3.html >deleted file mode 100644 >index 1dce9ab0c65..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.1_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.1_A3; >- * @section: 8.1; >- * @assertion: undefined is not a keyword or reserved word; >- * @description: Checking if execution of "undefined=1" passes; >-*/ >- >-////////////////////////////////////////////////////////// >-// CHECK#1 >-undefined=1; >-// >-////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4-expected.txt >deleted file mode 100644 >index fadd3e76dcf..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.1_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4.html b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4.html >deleted file mode 100644 >index 1724dde6ffe..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.1_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.1_A4; >- * @section: 8.1; >- * @assertion: If property of object not exist, return undefined; >- * @description: Check value of not existed property; >-*/ >- >-// CHECK#1 >-if ((new Object()).newProperty !== undefined) { >- testFailed('#1: (new Object()).newProperty === undefined. Actual: ' + ((new Object()).newProperty)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5-expected.txt >deleted file mode 100644 >index 4aeb1c7e834..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.1_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5.html b/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5.html >deleted file mode 100644 >index 31a7c00ee3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.1_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.1_A5; >- * @section: 8.1; >- * @assertion: Function argument that isn't provided has a value of undefined; >- * @description: Call function without provided argument; >-*/ >- >-/////////////////////////////////////// >-// >-function test(arg) { >-// Check and make sure that arg is not undefined >- if (typeof(arg) !== "undefined") { >- testFailed('#1: Function argument that isn\'t provided has a value of undefined. Actual: ' + (typeof(arg))); >- } >-} >- >-test(); >-// >-//////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1-expected.txt >deleted file mode 100644 >index 333eaa63fa8..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1.html >deleted file mode 100644 >index fa85587dd2d..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.2_A1_T1; >- * @section: 8.2; >- * @assertion: The Null Type has one value, called null; >- * @description: Checking if execution of "var x = null" passes; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x = null; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2-expected.txt >deleted file mode 100644 >index cdb6182ba1d..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2.html >deleted file mode 100644 >index ef8ed47058d..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.2_A1_T2; >- * @section: 8.2; >- * @assertion: The Null Type has one value, called null; >- * @description: Checking if execution of "x = null" passes; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-x = null; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt >deleted file mode 100644 >index 23e27a8a7e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Cannot use the keyword 'null' as a variable name. >-S8.2_A2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2.html >deleted file mode 100644 >index f9645d7661a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.2_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.2_A2; >- * @section: 8.2; >- * @assertion: The null is resrved word; >- * @description: Checking if execution of "var null" fails; >- * @negative; >-*/ >- >-var null; >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3-expected.txt >deleted file mode 100644 >index 52f61a2a84b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.2_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3.html >deleted file mode 100644 >index e1d22aa3924..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.2_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.2_A3; >- * @section: 8.2, 11.4.3; >- * @assertion: For the keyword null the typeof operator returns the "object" >- * See also >- * http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Special_Operators:typeof_Operator >- * and >- * http://bugs.ecmascript.org/ticket/250 >- * for example; >- * @description: Check type of null; >-*/ >- >-////////////////////////////////////////////////////////////// >-// CHECK#1 >-if (typeof(null) !== "object") { >- testFailed('#1: typeof null === "object". Actual: ' + (typeof null)); >-} >-// >-///////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1-expected.txt >deleted file mode 100644 >index af5323ecaff..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.3_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.html >deleted file mode 100644 >index 057b913a80f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.3_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.3_A1_T1; >- * @section: 8.3; >- * @assertion: The Boolean type have two values, called true and false; >- * @description: Assign true and false to variables; >-*/ >- >-//////////////////////////////////////////////////////////////////////// >-// CHECK#1 >-x = true; >-var y = false; >-// >-//////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2-expected.txt >deleted file mode 100644 >index 591085a6a9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.3_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.html >deleted file mode 100644 >index 2cc142a3d7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.html >+++ /dev/null >@@ -1,157 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.3_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.3_A1_T2; >- * @section: 8.3; >- * @assertion: The Boolean type have two values, called true and false; >- * @description: Check type of true/false and it`s equality; >-*/ >- >-////////////////////////////////////////////////////////////////////// >-// CHECK#1 >-if (typeof(true) !== "boolean") { >- testFailed('#1: typeof(true) === "boolean"'); >-} >-// >-////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////// >-// CHECK#2 >-if (typeof(true) != "boolean") { >- testFailed('#2: typeof(true) == "boolean"'); >-} >-// >-////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////// >-// CHECK#3 >-if (typeof(false) !== "boolean") { >- testFailed('#3: typeof(false) === "boolean"'); >-} >-// >-////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////// >-// CHECK#4 >-if (typeof(false) != "boolean") { >- testFailed('#4: typeof(false) == "boolean"'); >-} >-// >-////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////// >-// CHECK#5 >-if (true === false) { >- testFailed('#5: true !== false'); >-} >-// >-////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////// >-// CHECK#6 >-if (true == false) { >- testFailed('#6: true != false'); >-} >-// >-////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////// >-// CHECK#7 >-if (false === true) { >- testFailed('#7: false !== true'); >-} >-// >-////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////// >-// CHECK#8 >-if (false == true) { >- testFailed('#8: false != true'); >-} >-// >-////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1-expected.txt >deleted file mode 100644 >index aabe50f2643..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.3_A2.1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.html b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.html >deleted file mode 100644 >index 9be5980f219..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.3_A2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.3_A2.1; >- * @section: 8.3; >- * @assertion: The true is reserved word; >- * @description: Checking if execution of "true=1" fails; >- * @negative >-*/ >- >-true = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2-expected.txt >deleted file mode 100644 >index 80f9a79ac30..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.3_A2.2 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.html b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.html >deleted file mode 100644 >index 06885f043c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.3_A2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.3_A2.2; >- * @section: 8.3; >- * @assertion: The false is reserved word; >- * @description: Checking if execution of "false=0" fails; >- * @negative >-*/ >- >-false = 0; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3-expected.txt >deleted file mode 100644 >index a1da6438a60..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.3_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3.html >deleted file mode 100644 >index 1fa7af43834..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.3_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.3_A3; >-* @section: 8.3; >-* @assertion: Applaing negation to boolean works well; >-* @description: Check not false equals true, not true equals false; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!false !== true){ >- testFailed('#1: !false === true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!false != true){ >- testFailed('#2: !false == true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (!true !== false){ >- testFailed('#3: !true === false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (!true != false){ >- testFailed('#4: !true == false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1-expected.txt >deleted file mode 100644 >index 5b019b852ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1.html >deleted file mode 100644 >index dd307f42804..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A1; >- * @section: 8.4, 7.8.4; >- * @assertion: Any variable that has been assigned with string literal has the type string; >- * @description: Check type of variable that has been assigned with string literal; >-*/ >- >-///////////////////////////////////////////////////////// >-// CHECK#1 >-var str="abcdfg"; >-if (typeof(str)!=="string"){ >- testFailed('#1: var str="abcdfg"; typeof(str) === "string". Actual: ' + (typeof(str))); >-} >-// >-//////////////////////////////////////////////////////// >- >-///////////////////////////////////////////////////////// >-// CHECK#2 >-var str2='qwerty'; >-if (typeof(str2)!=="string"){ >- testFailed('#2: var str2=\'qwerty\'; typeof(str) === "string". Actual: ' + (typeof(str2))); >-} >-// >-//////////////////////////////////////////////////////// >- >-///////////////////////////////////////////////////////// >-// CHECK#3 >-var __str='\u0042\u0043\u0044\u0045\u0046\u0047\u0048'; >-if (typeof(__str)!=="string"){ >- testFailed('#3: var __str=\'\\u0042\\u0043\\u0044\\u0045\\u0046\\u0047\\u0048\'; typeof(__str) === "string". Actual: ' + (typeof(__str))); >-} >-// >-//////////////////////////////////////////////////////// >- >-///////////////////////////////////////////////////////// >-// CHECK#4 >-var str__="\u0042\u0043\u0044\u0045\u0046\u0047\u0048"; >-if (typeof(str__)!=="string"){ >- testFailed('#4: var str__="abcdfg"; typeof(str__) === "string". Actual: ' + (typeof(str__))); >-} >-// >-//////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10-expected.txt >deleted file mode 100644 >index 1f33addb603..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10.html >deleted file mode 100644 >index 81156829d80..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A10; >-* @section: 8.4, 7.8.4; >-* @assertion: Both unicode and ascii chars are allowed; >-* @description: Create string using both unicode and ascii chars; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var __str = "\u0041A\u0042B\u0043C"; >-if (__str !== 'AABBCC'){ >- testFailed('#1: var __str = "\\u0041A\\u0042B\\u0043C"; __str === \'AABBCC\'. Actual: ' + (__str)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-var __str__ = "\u0041\u0042\u0043"+'ABC'; >-if (__str__ !== 'ABCABC'){ >- testFailed('#2: var __str__ = "\\u0041\\u0042\\u0043"+\'ABC\'; __str__ === \'ABCABC\'. Actual: ' + (__str__)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-var str__ = "ABC"+'\u0041\u0042\u0043'; >-if (str__ !== "ABCABC"){ >- testFailed('#2: var str__ = "ABC"+\'\\u0041\\u0042\\u0043\'; str__ === "ABCABC". Actual: ' + (str__)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11-expected.txt >deleted file mode 100644 >index 7703cbe68c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11.html >deleted file mode 100644 >index 8f304368151..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A11; >-* @section: 8.4, 7.8.4; >-* @assertion: Presence of reserved words in string literal are allowed; >-* @description: Create string variable, thet include all reserved words; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var __delete=" break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof "; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12-expected.txt >deleted file mode 100644 >index a10c58df5a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A12 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12.html >deleted file mode 100644 >index d2d32775250..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A12; >-* @section: 8.4, 7.8.4; >-* @assertion: Assignment to string literal calls String constructor; >-* @description: Check constructor of simple assigned variable; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var str = "rock'n'roll"; >-if (str.constructor !== String){ >- testFailed('#1: var str = "rock\'n\'roll"; str.constructor === String. Actual: ' + (str.constructor)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt >deleted file mode 100644 >index 98e8d9ef522..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected EOF >-S8.4_A13_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1.html >deleted file mode 100644 >index 6a8f90510ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A13_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A13_T1; >-* @section: 8.4; >-* @assertion: When appears not closed single-quote program failes; >-* @description: Try to create variable using 3 single-quote; >-* @negative; >-*/ >- >-var str = '''; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt >deleted file mode 100644 >index a4092de1ba7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected EOF >-S8.4_A13_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2.html >deleted file mode 100644 >index 70e83af6ee6..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A13_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A13_T2; >-* @section: 8.4; >-* @assertion: When appears not closed single-quote program failes; >-* @description: Try to create variable using 1 single-quote; >-* @negative; >-*/ >- >-var str = '; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt >deleted file mode 100644 >index 410dd5c314e..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected string literal ''. Expected ';' after variable declaration. >-S8.4_A13_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3.html >deleted file mode 100644 >index 4ce5705a0ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A13_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A13_T3; >-* @section: 8.4; >-* @assertion: When appears not closed single-quote program failes; >-* @description: Try to create variable using 4 single-quote; >-* @negative; >-*/ >- >-var str = ''''; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt >deleted file mode 100644 >index 1ada740ce13..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected EOF >-S8.4_A14_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1.html >deleted file mode 100644 >index 0ce93058f51..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A14_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A14_T1; >-* @section: 8.4; >-* @assertion: When appears not closed double-quote program failes; >-* @description: Try to create variable using 1 double-quote; >-* @negative; >-*/ >- >-var str = "; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt >deleted file mode 100644 >index 23462048db9..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected EOF >-S8.4_A14_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2.html >deleted file mode 100644 >index 14566e239df..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A14_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A14_T2; >-* @section: 8.4; >-* @assertion: When appears not closed double-quote program failes; >-* @description: Try to create variable using 3 double-quote; >-* @negative; >-*/ >- >-var str = """; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt >deleted file mode 100644 >index fe5a9f1a080..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected string literal "". Expected ';' after variable declaration. >-S8.4_A14_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3.html >deleted file mode 100644 >index 883a8f7b13d..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A14_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A14_T3; >-* @section: 8.4; >-* @assertion: When appears not closed double-quote program failes; >-* @description: Try to create variable using 4 double-quote; >-* @negative; >-*/ >- >-var str = """"; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2-expected.txt >deleted file mode 100644 >index 7d476bd7ab0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2.html >deleted file mode 100644 >index b0369e56d81..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A2; >- * @section: 8.4, 7.8.4; >- * @assertion: Empty string has type string; >- * @description: Create empty string and check it type; >-*/ >- >-///////////////////////////////////////////////////////// >-// CHECK#1 >-var str = ''; >-if (typeof(str) !== 'string'){ >- testFailed('#1: var str = \'\'; typeof(str) === \'string\'. Actual: ' + (typeof(str))); >-} >-// >-//////////////////////////////////////////////////////// >- >-///////////////////////////////////////////////////////// >-// CHECK#2 >-var str = ""; >-if (typeof(str) !== "string"){ >- testFailed('#2: var str = ""; typeof(str) === "string". Actual: ' + (str)); >-} >-// >-//////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3-expected.txt >deleted file mode 100644 >index 2a2f2087875..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3.html >deleted file mode 100644 >index c8944df28bd..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A3; >-* @section: 8.4; >-* @assertion: String type has a length property; >-* @description: Try read length property of string variable; >-*/ >- >-var __str = "ABCDEFGH"; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__str.length !== 8) { >- testFailed('#1: var __str = "ABCDEFGH"; __str.length === 8. Actual: ' + (__str.length)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4-expected.txt >deleted file mode 100644 >index b9822d22146..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4.html >deleted file mode 100644 >index 1b26c50e9b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A4; >-* @section: 8.4; >-* @assertion: Empty string variable has a length property; >-* @description: Try read length property of empty string variable; >-*/ >- >-var __str = ""; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__str.length !== 0) { >- testFailed('#1: var __str = ""; __str.length === 0. Actual: ' + (__str)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5-expected.txt >deleted file mode 100644 >index e7d3cf3ea24..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5.html >deleted file mode 100644 >index 1044b980c05..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A5; >- * @section: 8.4, 7.8.4; >- * @assertion: Zero "\0" not terminates the string(C string); >- * @description: Insert "\0" into string; >-*/ >- >-// CHECK#1 >-if ("x\0y" === "x") { >- testFailed('#1: "x\\0y" !== "x"'); >-} >- >-// CHECK#2 >-if (!(("x\0a" < "x\0b") && ("x\0b" < "x\0c"))) { >- testFailed('#2: (("x\\0a" < "x\\0b") && ("x\\0b" < "x\\0c")) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1-expected.txt >deleted file mode 100644 >index da29283f208..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A6.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1.html >deleted file mode 100644 >index 580c778b5de..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A6.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A6.1; >- * @section: 8.4, 7.8.4; >- * @assertion: Large string 4096 bytes; >- * @description: Assign variable by large string; >-*/ >- >-//////////////////////////////////////////////////// >-// Check#1 >-var largeStr='Standard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chECMAScript LanguageSpecificationStandard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chMB Ecma-262.doc 08-04-02 16,53ECMAScript LanguageSpecificationBrief HistoryThis ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape)and JScript (Microsoft). The language was invented by Brendan Eich at Netscape and first appeared in thatcompan Navigator 2.0 browser. It has appeared in all subsequent browsers from Netscape and in all browsers fromMicrosoft starting with Internet Explorer 3.0.The development of this Standard started in November 1996. The first edition of this ECMA Standard was adopted bythe ECMA General Assembly of June 1997.That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the fast-track procedure, and approved asinternational standard ISO/IEC 16262, in April 1998. The ECMA General Assembly of June 1998 approved thesecond edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262. Changes between the first and the secondedition are editorial in nature.The current document defines the third edition of the Standard and includes powerful regular expressions, betterstring handling, new control statements, try/catch exception handling, tighter definition of errors, formatting fornumeric output and minor changes in anticipation of forthcoming internationalisation facilities and future languagegrowth.Work on the language is not complete. The technical committee is working on significant enhancements, includingmechanisms for scripts to be created and used across the Internet, and tighter coordination with other standards bodiessuch as groups within the World Wide Web Consortium and the Wireless Application Protocol Forum.This Standard has been adopted as 3rd Edition of ECMA-262 by the ECMA General Assembly in December, 1999.- i -Table of contents1 Scope 12 Conformance 13 References 14 Overview 1 4.1 Web Scripting 2 4.2 Language Overview 2 4.2.1 Objects 3 4.3 Definitions 4 4.3.1 Type 4 4.3.2 Primitive Value 4 4.3.3 Object 4 4.3.4 Constructor 4 4.3.5 Prototype 4 4.3.6 Native Object 4 4.3.7 Built-in Object 4 4.3.8 Host Object 4 4.3.9 Undefined Value 4 4.3.10 Undefined Type 4 4.3.11 Null Value 4 4.3.12 Null Type 4 4.3.13 Boolean Value 4 4.3.14 Boolean Type 4 4.3.15 Boolean Object 5 4.3.16 String Value 5 4.3.17 String Type 5 4.3.18 String Object 5 4.3.19 Number Value 5 4.3.20 Number Type 5 4.3.21 Number Object 5 4.3.22 Infinity 5 4.3.23 NaN 5 5 Notational Conventions 6 5.1 Syntactic and Lexical Grammars 6 5.1.1 Context-Free Grammars 6 5.1.2 The Lexical and RegExp Grammars 6 5.1.3 The Numeric String Grammar 6 5.1.4 The Syntactic Grammar 6 5.1.5 Grammar Notation 7 5.2 Algorithm Conventions 9 6. Source Text 10 7 Lexical Conventions 11 7.1 Unicode Format-Control Characters 11 7.2 White Space 11 7.3 Line Terminators 12 7.4 Comments 12 - ii - 7.5 Tokens 13 7.5.1 Reserved Words 13 7.5.2 Keywords 13 7.5.3 Future Reserved Words 14 7.6 Identifiers 14 7.7 Punctuators 15 7.8 Literals 16 7.8.1 Null Literals 16 7.8.2 Boolean Literals 16 7.8.3 Numeric Literals 16 7.8.4 String Literals 18 7.8.5 Regular Expression Literals 20 7.9 Automatic Semicolon Insertion 21 7.9.1 Rules of Automatic Semicolon Insertion 21 7.9.2 Examples of Automatic Semicolon Insertion 22 8 Types 24 8.1 The Undefined Type 24 8.2 The Null Type 24 8.3 The Boolean Type 24 8.4 The String Type 24 8.5 The Number Type 24 8.6 The Object Type 25 8.6.1 Property Attributes 25 8.6.2 Internal Properties and Methods 26 8.7 The Reference Type 29 8.7.1 GetValue (V) 29 8.7.2 PutValue (V, W) 29 8.8 The List Type 30 8.9 The Completion Type 30 9 Type Conversion 30 9.1 ToPrimitive 30 9.2 ToBoolean 30 9.3 ToNumber 31 9.3.1 ToNumber Ap'; >-if(largeStr !== 'Standard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chECMAScript LanguageSpecificationStandard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chMB Ecma-262.doc 08-04-02 16,53ECMAScript LanguageSpecificationBrief HistoryThis ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape)and JScript (Microsoft). The language was invented by Brendan Eich at Netscape and first appeared in thatcompan Navigator 2.0 browser. It has appeared in all subsequent browsers from Netscape and in all browsers fromMicrosoft starting with Internet Explorer 3.0.The development of this Standard started in November 1996. The first edition of this ECMA Standard was adopted bythe ECMA General Assembly of June 1997.That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the fast-track procedure, and approved asinternational standard ISO/IEC 16262, in April 1998. The ECMA General Assembly of June 1998 approved thesecond edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262. Changes between the first and the secondedition are editorial in nature.The current document defines the third edition of the Standard and includes powerful regular expressions, betterstring handling, new control statements, try/catch exception handling, tighter definition of errors, formatting fornumeric output and minor changes in anticipation of forthcoming internationalisation facilities and future languagegrowth.Work on the language is not complete. The technical committee is working on significant enhancements, includingmechanisms for scripts to be created and used across the Internet, and tighter coordination with other standards bodiessuch as groups within the World Wide Web Consortium and the Wireless Application Protocol Forum.This Standard has been adopted as 3rd Edition of ECMA-262 by the ECMA General Assembly in December, 1999.- i -Table of contents1 Scope 12 Conformance 13 References 14 Overview 1 4.1 Web Scripting 2 4.2 Language Overview 2 4.2.1 Objects 3 4.3 Definitions 4 4.3.1 Type 4 4.3.2 Primitive Value 4 4.3.3 Object 4 4.3.4 Constructor 4 4.3.5 Prototype 4 4.3.6 Native Object 4 4.3.7 Built-in Object 4 4.3.8 Host Object 4 4.3.9 Undefined Value 4 4.3.10 Undefined Type 4 4.3.11 Null Value 4 4.3.12 Null Type 4 4.3.13 Boolean Value 4 4.3.14 Boolean Type 4 4.3.15 Boolean Object 5 4.3.16 String Value 5 4.3.17 String Type 5 4.3.18 String Object 5 4.3.19 Number Value 5 4.3.20 Number Type 5 4.3.21 Number Object 5 4.3.22 Infinity 5 4.3.23 NaN 5 5 Notational Conventions 6 5.1 Syntactic and Lexical Grammars 6 5.1.1 Context-Free Grammars 6 5.1.2 The Lexical and RegExp Grammars 6 5.1.3 The Numeric String Grammar 6 5.1.4 The Syntactic Grammar 6 5.1.5 Grammar Notation 7 5.2 Algorithm Conventions 9 6. Source Text 10 7 Lexical Conventions 11 7.1 Unicode Format-Control Characters 11 7.2 White Space 11 7.3 Line Terminators 12 7.4 Comments 12 - ii - 7.5 Tokens 13 7.5.1 Reserved Words 13 7.5.2 Keywords 13 7.5.3 Future Reserved Words 14 7.6 Identifiers 14 7.7 Punctuators 15 7.8 Literals 16 7.8.1 Null Literals 16 7.8.2 Boolean Literals 16 7.8.3 Numeric Literals 16 7.8.4 String Literals 18 7.8.5 Regular Expression Literals 20 7.9 Automatic Semicolon Insertion 21 7.9.1 Rules of Automatic Semicolon Insertion 21 7.9.2 Examples of Automatic Semicolon Insertion 22 8 Types 24 8.1 The Undefined Type 24 8.2 The Null Type 24 8.3 The Boolean Type 24 8.4 The String Type 24 8.5 The Number Type 24 8.6 The Object Type 25 8.6.1 Property Attributes 25 8.6.2 Internal Properties and Methods 26 8.7 The Reference Type 29 8.7.1 GetValue (V) 29 8.7.2 PutValue (V, W) 29 8.8 The List Type 30 8.9 The Completion Type 30 9 Type Conversion 30 9.1 ToPrimitive 30 9.2 ToBoolean 30 9.3 ToNumber 31 9.3.1 ToNumber Ap'){ >- testFailed('#1: Large string 4096 bytes'); >-} >-// >-//////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2-expected.txt >deleted file mode 100644 >index f820b43d8f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A6.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2.html >deleted file mode 100644 >index e25ce85b029..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A6.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A6.2; >- * @section: 8.4, 7.8.4; >- * @assertion: Large string 8192 bytes; >- * @description: Assign variable by large string; >-*/ >- >-//////////////////////////////////////////////////// >-// Check#2 >-var largeStr='Standard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chECMAScript LanguageSpecificationStandard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chMB Ecma-262.doc 08-04-02 16,53ECMAScript LanguageSpecificationBrief HistoryThis ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape)and JScript (Microsoft). The language was invented by Brendan Eich at Netscape and first appeared in thatcompans Navigator 2.0 browser. It has appeared in all subsequent browsers from Netscape and in all browsers fromMicrosoft starting with Internet Explorer 3.0.The development of this Standard started in November 1996. The first edition of this ECMA Standard was adopted bythe ECMA General Assembly of June 1997.That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the fast-track procedure, and approved asinternational standard ISO/IEC 16262, in April 1998. The ECMA General Assembly of June 1998 approved thesecond edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262. Changes between the first and the secondedition are editorial in nature.The current document defines the third edition of the Standard and includes powerful regular expressions, betterstring handling, new control statements, try/catch exception handling, tighter definition of errors, formatting fornumeric output and minor changes in anticipation of forthcoming internationalisation facilities and future languagegrowth.Work on the language is not complete. The technical committee is working on significant enhancements, includingmechanisms for scripts to be created and used across the Internet, and tighter coordination with other standards bodiessuch as groups within the World Wide Web Consortium and the Wireless Application Protocol Forum.This Standard has been adopted as 3rd Edition of ECMA-262 by the ECMA General Assembly in December, 1999.- i -Table of contents1 Scope 12 Conformance 13 References 14 Overview 1 4.1 Web Scripting 2 4.2 Language Overview 2 4.2.1 Objects 3 4.3 Definitions 4 4.3.1 Type 4 4.3.2 Primitive Value 4 4.3.3 Object 4 4.3.4 Constructor 4 4.3.5 Prototype 4 4.3.6 Native Object 4 4.3.7 Built-in Object 4 4.3.8 Host Object 4 4.3.9 Undefined Value 4 4.3.10 Undefined Type 4 4.3.11 Null Value 4 4.3.12 Null Type 4 4.3.13 Boolean Value 4 4.3.14 Boolean Type 4 4.3.15 Boolean Object 5 4.3.16 String Value 5 4.3.17 String Type 5 4.3.18 String Object 5 4.3.19 Number Value 5 4.3.20 Number Type 5 4.3.21 Number Object 5 4.3.22 Infinity 5 4.3.23 NaN 5 5 Notational Conventions 6 5.1 Syntactic and Lexical Grammars 6 5.1.1 Context-Free Grammars 6 5.1.2 The Lexical and RegExp Grammars 6 5.1.3 The Numeric String Grammar 6 5.1.4 The Syntactic Grammar 6 5.1.5 Grammar Notation 7 5.2 Algorithm Conventions 9 6. Source Text 10 7 Lexical Conventions 11 7.1 Unicode Format-Control Characters 11 7.2 White Space 11 7.3 Line Terminators 12 7.4 Comments 12 - ii - 7.5 Tokens 13 7.5.1 Reserved Words 13 7.5.2 Keywords 13 7.5.3 Future Reserved Words 14 7.6 Identifiers 14 7.7 Punctuators 15 7.8 Literals 16 7.8.1 Null Literals 16 7.8.2 Boolean Literals 16 7.8.3 Numeric Literals 16 7.8.4 String Literals 18 7.8.5 Regular Expression Literals 20 7.9 Automatic Semicolon Insertion 21 7.9.1 Rules of Automatic Semicolon Insertion 21 7.9.2 Examples of Automatic Semicolon Insertion 22 8 Types 24 8.1 The Undefined Type 24 8.2 The Null Type 24 8.3 The Boolean Type 24 8.4 The String Type 24 8.5 The Number Type 24 8.6 The Object Type 25 8.6.1 Property Attributes 25 8.6.2 Internal Properties and Methods 26 8.7 The Reference Type 29 8.7.1 GetValue (V) 29 8.7.2 PutValue (V, W) 29 8.8 The List Type 30 8.9 The Completion Type 30 9 Type Conversion 30 9.1 ToPrimitive 30 9.2 ToBoolean 30 9.3 ToNumber 31 9.3.1 ToNumber Applied to the String Type 31 9.4 ToInteger 34 9.5 ToInt32: (Signed 32 Bit Integer) 34 9.6 ToUint32: (Unsigned 32 Bit Integer) 34 9.7 ToUint16: (Unsigned 16 Bit Integer) 35 9.8 ToString 35 9.8.1 ToString Applied to the Number Type 35 9.9 ToObject 36 10 Execution Contexts 37 10.1 Definitions 37 10.1.1 Function Objects 37 10.1.2 Types of Executable Code 37 10.1.3 Variable Instantiation 37 10.1.4 Scope Chain and Identifier Resolution 38 10.1.5 Global Object 38 10.1.6 Activation Object 38 - i i i - 10.1.7 This 39 10.1.8 Arguments Object 39 10.2 Entering An Execution Context 39 10.2.1 Global Code 39 10.2.2 Eval Code 39 10.2.3 Function Code 39 11 Expressions 40 11.1 Primary Expressions 40 11.1.1 The this Keyword 40 11.1.2 Identifier Reference 40 11.1.3 Literal Reference 40 11.1.4 Array Initialiser 40 11.1.5 Object Initialiser 41 11.1.6 The Grouping Operator 42 11.2 Left-Hand-Side Expressions 43 11.2.1 Property Accessors 43 11.2.2 The new Operator 44 11.2.3 Function Calls 44 11.2.4 Argument Lists 45 11.2.5 Function Expressions 45 11.3 Postfix Expressions 45 11.3.1 Postfix Increment Operator 45 11.3.2 Postfix Decrement Operator 45 11.4 Unary Operators 46 11.4.1 The delete Operator 46 11.4.2 The void Operator 46 11.4.3 The typeof Operator 46 11.4.4 Prefix Increment Operator 47 11.4.5 Prefix Decrement Operator 47 11.4.6 Unary + Operator 47 11.4.7 Unary - Operator 47 11.4.8 Bitwise NOT Operator ( ~) 48 11.4.9 Logical NOT Operator ( !) 48 11.5 Multiplicative Operators 48 11.5.1 Applying the * Operator 48 11.5.2 Applying the / Operator 49 11.5.3 Applying the % Operator 49 11.6 Additive Operators 50 11.6.1 The Addition operator ( +) 50 11.6.2 The Subtraction Operator ( -) 50 11.6.3 Applying the Additive Operators ( +,- ) to Numbers 51 11.7 Bitwise Shift Operators 51 11.7.1 The Left Shift Operator ( <<) 51 11.7.2 The Signed Right Shift Operator ( >>) 51 11.7.3 The Unsigned Right Shift Operator ( >>>) 52 11.4 Relational Operators 52 11.8.1 The Less-than Operator ( <) 53 11.8.2 The Greater-than Operator ( >) 53 11.8.3 The Less-than-or-equal Operator ( <=) 53 11.8.4 The Greater-than-or-equal Operator ( >=) 53 11.8.5 The Abstract Relational Comparison Algorithm 53 - iv - 11.8.6 The instanceof operator 54 11.8.7 The in operator 54 11.9 Equality Operators 54 11.9.1 The Equals Operator ( ==) 55 11.9.2 The Does-not-equals Operator ( !=) 55 11.9.3 The Abstract Equality Comparison Algorithm 55 11.9.4 The Strict Equals Operator ( ===) 56 11.9.5 The Strict Does-not-equal Operator ( !==) 56 11.9.6 The Strict Equality Comparison Algorithm 56 11.10 Binary Bitwise Operators 57 11.11 Binary Logical Operators 58 11.12 Conditional Operator ( ?: ) 58 11.13 Assignment Operators 59 11.13.1 Simple Assignment ( =) 59 11.13.2 Compound Assignment ( op=) 60 11.14 Comma Operator ( , ) 60 12 Statements 61 12.1 Block 61 12.2 Variable statement 62 12.3 Empty Statement 63 12.4 Expression Statement 63 12.5 The if Statement 63 12.6 Iteration Statements 64 12.6.1 The do-while Statement 64 12.6.2 The while statement 64 12.6.3 The for Statement 65 12.6.4 The for-in Statement 65 12.7 The continue Statement 66 12.8 The break Statement 67 12.9 The return Statement 67 12.10 The with Statement 67 12.11 The switch Statement 68 12.12 Labelled Statements 69 12.13 The throw statement 69 12.14 The try statement 70 13 Function Definition 71 13.1 Definitions 72 13.1.1 Equated Grammar Productions 72 13.1.2 Joined Objects 72 13.2 Creating Function Objects 72 13.2.1 [[Call]] 73 13.2.2 [[Construct]] 74 14 Program 75 15 Native ECMAScript Objects 76 15.1 The Global Object 76 15.1.1 Value Properties of the Global Object 77 15.1.2 Function Properties of the Global Object 77 15.1.3 URI Handling Function Properties 78 - v - 15.1.4 Constructor Properties of the Global Object 83 15.1.5 Other Properties of the Global Object 83 15.2 Object Objects 83 15.2.1 The Object Constructor Called as a Function 83 15.2.2 The Object Constructor 84 15.2.3 Properties of the Object Constructor 84 15.2.4 Properties of the Object Prototype Object 84 15.2.5 Properties of Object Instances 85 15.3 Function Objects 85 '; >-if(largeStr !== 'Standard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chECMAScript LanguageSpecificationStandard ECMA-2623r d Edition - December 1999S t a n d a r d i z i n g Informat i o n and Commu n i c a t i o n SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: ht tp: / /www.ecma.ch - Internet: helpdesk@ecma.chMB Ecma-262.doc 08-04-02 16,53ECMAScript LanguageSpecificationBrief HistoryThis ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape)and JScript (Microsoft). The language was invented by Brendan Eich at Netscape and first appeared in thatcompans Navigator 2.0 browser. It has appeared in all subsequent browsers from Netscape and in all browsers fromMicrosoft starting with Internet Explorer 3.0.The development of this Standard started in November 1996. The first edition of this ECMA Standard was adopted bythe ECMA General Assembly of June 1997.That ECMA Standard was submitted to ISO/IEC JTC 1 for adoption under the fast-track procedure, and approved asinternational standard ISO/IEC 16262, in April 1998. The ECMA General Assembly of June 1998 approved thesecond edition of ECMA-262 to keep it fully aligned with ISO/IEC 16262. Changes between the first and the secondedition are editorial in nature.The current document defines the third edition of the Standard and includes powerful regular expressions, betterstring handling, new control statements, try/catch exception handling, tighter definition of errors, formatting fornumeric output and minor changes in anticipation of forthcoming internationalisation facilities and future languagegrowth.Work on the language is not complete. The technical committee is working on significant enhancements, includingmechanisms for scripts to be created and used across the Internet, and tighter coordination with other standards bodiessuch as groups within the World Wide Web Consortium and the Wireless Application Protocol Forum.This Standard has been adopted as 3rd Edition of ECMA-262 by the ECMA General Assembly in December, 1999.- i -Table of contents1 Scope 12 Conformance 13 References 14 Overview 1 4.1 Web Scripting 2 4.2 Language Overview 2 4.2.1 Objects 3 4.3 Definitions 4 4.3.1 Type 4 4.3.2 Primitive Value 4 4.3.3 Object 4 4.3.4 Constructor 4 4.3.5 Prototype 4 4.3.6 Native Object 4 4.3.7 Built-in Object 4 4.3.8 Host Object 4 4.3.9 Undefined Value 4 4.3.10 Undefined Type 4 4.3.11 Null Value 4 4.3.12 Null Type 4 4.3.13 Boolean Value 4 4.3.14 Boolean Type 4 4.3.15 Boolean Object 5 4.3.16 String Value 5 4.3.17 String Type 5 4.3.18 String Object 5 4.3.19 Number Value 5 4.3.20 Number Type 5 4.3.21 Number Object 5 4.3.22 Infinity 5 4.3.23 NaN 5 5 Notational Conventions 6 5.1 Syntactic and Lexical Grammars 6 5.1.1 Context-Free Grammars 6 5.1.2 The Lexical and RegExp Grammars 6 5.1.3 The Numeric String Grammar 6 5.1.4 The Syntactic Grammar 6 5.1.5 Grammar Notation 7 5.2 Algorithm Conventions 9 6. Source Text 10 7 Lexical Conventions 11 7.1 Unicode Format-Control Characters 11 7.2 White Space 11 7.3 Line Terminators 12 7.4 Comments 12 - ii - 7.5 Tokens 13 7.5.1 Reserved Words 13 7.5.2 Keywords 13 7.5.3 Future Reserved Words 14 7.6 Identifiers 14 7.7 Punctuators 15 7.8 Literals 16 7.8.1 Null Literals 16 7.8.2 Boolean Literals 16 7.8.3 Numeric Literals 16 7.8.4 String Literals 18 7.8.5 Regular Expression Literals 20 7.9 Automatic Semicolon Insertion 21 7.9.1 Rules of Automatic Semicolon Insertion 21 7.9.2 Examples of Automatic Semicolon Insertion 22 8 Types 24 8.1 The Undefined Type 24 8.2 The Null Type 24 8.3 The Boolean Type 24 8.4 The String Type 24 8.5 The Number Type 24 8.6 The Object Type 25 8.6.1 Property Attributes 25 8.6.2 Internal Properties and Methods 26 8.7 The Reference Type 29 8.7.1 GetValue (V) 29 8.7.2 PutValue (V, W) 29 8.8 The List Type 30 8.9 The Completion Type 30 9 Type Conversion 30 9.1 ToPrimitive 30 9.2 ToBoolean 30 9.3 ToNumber 31 9.3.1 ToNumber Applied to the String Type 31 9.4 ToInteger 34 9.5 ToInt32: (Signed 32 Bit Integer) 34 9.6 ToUint32: (Unsigned 32 Bit Integer) 34 9.7 ToUint16: (Unsigned 16 Bit Integer) 35 9.8 ToString 35 9.8.1 ToString Applied to the Number Type 35 9.9 ToObject 36 10 Execution Contexts 37 10.1 Definitions 37 10.1.1 Function Objects 37 10.1.2 Types of Executable Code 37 10.1.3 Variable Instantiation 37 10.1.4 Scope Chain and Identifier Resolution 38 10.1.5 Global Object 38 10.1.6 Activation Object 38 - i i i - 10.1.7 This 39 10.1.8 Arguments Object 39 10.2 Entering An Execution Context 39 10.2.1 Global Code 39 10.2.2 Eval Code 39 10.2.3 Function Code 39 11 Expressions 40 11.1 Primary Expressions 40 11.1.1 The this Keyword 40 11.1.2 Identifier Reference 40 11.1.3 Literal Reference 40 11.1.4 Array Initialiser 40 11.1.5 Object Initialiser 41 11.1.6 The Grouping Operator 42 11.2 Left-Hand-Side Expressions 43 11.2.1 Property Accessors 43 11.2.2 The new Operator 44 11.2.3 Function Calls 44 11.2.4 Argument Lists 45 11.2.5 Function Expressions 45 11.3 Postfix Expressions 45 11.3.1 Postfix Increment Operator 45 11.3.2 Postfix Decrement Operator 45 11.4 Unary Operators 46 11.4.1 The delete Operator 46 11.4.2 The void Operator 46 11.4.3 The typeof Operator 46 11.4.4 Prefix Increment Operator 47 11.4.5 Prefix Decrement Operator 47 11.4.6 Unary + Operator 47 11.4.7 Unary - Operator 47 11.4.8 Bitwise NOT Operator ( ~) 48 11.4.9 Logical NOT Operator ( !) 48 11.5 Multiplicative Operators 48 11.5.1 Applying the * Operator 48 11.5.2 Applying the / Operator 49 11.5.3 Applying the % Operator 49 11.6 Additive Operators 50 11.6.1 The Addition operator ( +) 50 11.6.2 The Subtraction Operator ( -) 50 11.6.3 Applying the Additive Operators ( +,- ) to Numbers 51 11.7 Bitwise Shift Operators 51 11.7.1 The Left Shift Operator ( <<) 51 11.7.2 The Signed Right Shift Operator ( >>) 51 11.7.3 The Unsigned Right Shift Operator ( >>>) 52 11.4 Relational Operators 52 11.8.1 The Less-than Operator ( <) 53 11.8.2 The Greater-than Operator ( >) 53 11.8.3 The Less-than-or-equal Operator ( <=) 53 11.8.4 The Greater-than-or-equal Operator ( >=) 53 11.8.5 The Abstract Relational Comparison Algorithm 53 - iv - 11.8.6 The instanceof operator 54 11.8.7 The in operator 54 11.9 Equality Operators 54 11.9.1 The Equals Operator ( ==) 55 11.9.2 The Does-not-equals Operator ( !=) 55 11.9.3 The Abstract Equality Comparison Algorithm 55 11.9.4 The Strict Equals Operator ( ===) 56 11.9.5 The Strict Does-not-equal Operator ( !==) 56 11.9.6 The Strict Equality Comparison Algorithm 56 11.10 Binary Bitwise Operators 57 11.11 Binary Logical Operators 58 11.12 Conditional Operator ( ?: ) 58 11.13 Assignment Operators 59 11.13.1 Simple Assignment ( =) 59 11.13.2 Compound Assignment ( op=) 60 11.14 Comma Operator ( , ) 60 12 Statements 61 12.1 Block 61 12.2 Variable statement 62 12.3 Empty Statement 63 12.4 Expression Statement 63 12.5 The if Statement 63 12.6 Iteration Statements 64 12.6.1 The do-while Statement 64 12.6.2 The while statement 64 12.6.3 The for Statement 65 12.6.4 The for-in Statement 65 12.7 The continue Statement 66 12.8 The break Statement 67 12.9 The return Statement 67 12.10 The with Statement 67 12.11 The switch Statement 68 12.12 Labelled Statements 69 12.13 The throw statement 69 12.14 The try statement 70 13 Function Definition 71 13.1 Definitions 72 13.1.1 Equated Grammar Productions 72 13.1.2 Joined Objects 72 13.2 Creating Function Objects 72 13.2.1 [[Call]] 73 13.2.2 [[Construct]] 74 14 Program 75 15 Native ECMAScript Objects 76 15.1 The Global Object 76 15.1.1 Value Properties of the Global Object 77 15.1.2 Function Properties of the Global Object 77 15.1.3 URI Handling Function Properties 78 - v - 15.1.4 Constructor Properties of the Global Object 83 15.1.5 Other Properties of the Global Object 83 15.2 Object Objects 83 15.2.1 The Object Constructor Called as a Function 83 15.2.2 The Object Constructor 84 15.2.3 Properties of the Object Constructor 84 15.2.4 Properties of the Object Prototype Object 84 15.2.5 Properties of Object Instances 85 15.3 Function Objects 85 '){ >- testFailed('#2: Large string 8192 bytes'); >-} >-// >-//////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1-expected.txt >deleted file mode 100644 >index 9060b0bec8b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A7.1 >- >-PASS ReferenceError: Can't find variable: asdf >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1.html >deleted file mode 100644 >index 78714061199..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A7.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A7.1; >- * @section: 8.4, 7.8.4; >- * @assertion: <LF> between chunks of one string not allowed; >- * @description: Insert <LF> between chunks of one string; >- * @negative >-*/ >- >-eval("var x = asdf\u000Aghjk"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2-expected.txt >deleted file mode 100644 >index 19cd24bf565..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A7.2 >- >-PASS ReferenceError: Can't find variable: asdf >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html >deleted file mode 100644 >index 20ead4529ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A7.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A7.2; >-* @section: 8.4, 7.8.4; >-* @assertion: <CR> between chunks of one string not allowed; >-* @description: Insert <CR> between chunks of one string; >-* @negative; >-*/ >- >-eval("var x = asdf\u000Dghjk"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3-expected.txt >deleted file mode 100644 >index 86bc900fd5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A7.3 >- >-PASS ReferenceError: Can't find variable: asdf >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3.html >deleted file mode 100644 >index 76ada3b4143..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A7.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A7.3; >-* @section: 8.4, 7.8.4; >-* @assertion: <PS> between chunks of one string not allowed; >-* @description: Insert <PS> between chunks of one string; >-* @negative; >-*/ >- >-eval("var x = asdf\u2028ghjk"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4-expected.txt >deleted file mode 100644 >index 552fad0a4bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A7.4 >- >-PASS ReferenceError: Can't find variable: asdf >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4.html >deleted file mode 100644 >index b4fe1616848..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A7.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.4_A7.4; >-* @section: 8.4, 7.8.4; >-* @assertion: <LS> between chunks of one string not allowed; >-* @description: Insert <LS> between chunks of one string; >-* @negative; >-*/ >- >-eval("var x = asdf\u2029ghjk"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8-expected.txt >deleted file mode 100644 >index 54727ebcf79..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8.html >deleted file mode 100644 >index 8870983be99..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A8; >- * @section: 8.4, 7.8.4; >- * @assertion: Empty string, 0, false are all equal (==) to each other, since they all evaluate to 0; >- * @description: Compare empty string with undefined, null, 0 and false; >-*/ >- >-var str=''; >- >-//////////////////////////////////////////////////////////// >-// CHECK#1 >-if (str == undefined){ >- testFailed('#1: Empty string and undefined are not equal (!=) to each other'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#2 >-if (str == null){ >- testFailed('#1: Empty string and Null are not equal (!=) to each other'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#3 >-if (str != 0){ >- testFailed('#3: Empty string and 0 are equal (==) to each other, since they all evaluate to 0'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#4 >-if (str != false){ >- testFailed('#4: Empty string and false are equal (==) to each other, since they all evaluate to 0'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1-expected.txt >deleted file mode 100644 >index 73ac70dbf4e..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1.html >deleted file mode 100644 >index 6b1e7ef9e10..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A9_T1; >- * @section: 8.4, 7.8.4; >- * @assertion: Assignment to string literals calls String constructor; >- * @description: Simple string variable compare with object String; >-*/ >- >-var str='ABC'; >-var strObj=new String('ABC'); >- >-//////////////////////////////////////////////////////////// >-// CHECK#1 >-if (str.constructor !== strObj.constructor){ >- testFailed('#1: \'ABC\'.constructor === new String(\'ABC\').constructor'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#2 >-if (str != strObj){ >- testFailed('#2: "ABC" == new String("ABC")'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#3 >-if (str === strObj){ >- testFailed('#3: "ABC" !== new String("ABC")'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2-expected.txt >deleted file mode 100644 >index ad9a2d77c5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2.html >deleted file mode 100644 >index 2b3d3109faf..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2.html >+++ /dev/null >@@ -1,144 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A9_T2; >- * @section: 8.4, 7.8.4; >- * @assertion: Assignment to string literals calls String constructor; >- * @description: Compare empty string variable, object String('') and object String(); >-*/ >- >-var str=""; >-var strObj=new String(""); >-var strObj_=new String(); >- >-//////////////////////////////////////////////////////////// >-// CHECK#1 >-if (str.constructor !== strObj.constructor){ >- testFailed('#1: "".constructor === new String("").constructor'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#2 >-if (str.constructor !== strObj_.constructor){ >- testFailed('#2: "".constructor === new String().constructor'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#3 >-if (str != strObj){ >- testFailed('#3: values of str=""; and strObj=new String(""); are equal'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#4 >-if (str === strObj){ >- testFailed('#4: objects of str=""; and strObj=new String(""); are different'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#5 >-if (str != strObj_){ >- testFailed('#5: values of str=""; and strObj=new String(); are equal'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#6 >-if (str === strObj_){ >- testFailed('#6: objects of str=""; and strObj=new String(); are different'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3-expected.txt >deleted file mode 100644 >index ea3a41b2b7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.4_A9_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3.html b/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3.html >deleted file mode 100644 >index b60e9437aa6..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.4_A9_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.4_A9_T3; >- * @section: 8.4, 7.8.4; >- * @assertion: Assignment to string literals calls String constructor; >- * @description: Simple empty string variable compare with empty object String; >-*/ >- >-var str=""; >-var strObj=new String; >- >-//////////////////////////////////////////////////////////// >-// CHECK#1 >-if (str.constructor !== strObj.constructor){ >- testFailed('#1: "".constructor === new String.constructor'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#2 >-if (str != strObj){ >- testFailed('#2: values of str=""; and strObj=new String(""); are equal'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-//////////////////////////////////////////////////////////// >-// CHECK#3 >-if (str === strObj){ >- testFailed('#3: objects of str=""; and strObj=new String(""); are different'); >-} >-// >-///////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (typeof str == typeof strObj){ >- testFailed('#4: types of str=""; and strObj=new String(""); are different'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1-expected.txt >deleted file mode 100644 >index dce815d44a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1.html >deleted file mode 100644 >index 5d30721209a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A1; >- * @section: 8.5, 7.8.3; >- * @assertion: NaN !== NaN; >- * @description: Compare NaN with NaN; >-*/ >- >-var x = Number.NaN; >-var x_ = Number.NaN; >- >-/////////////////////////////////////////////////////// >-// CHECK #1 >-if (x === x_){ >- testFailed('#1: NaN !== NaN '); >-} >-// >-////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10-expected.txt >deleted file mode 100644 >index 03ca5ad1cc7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10.html >deleted file mode 100644 >index 5e6318cd1ab..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A10; >- * @section: 8.5, 7.8.3; >- * @assertion: Infinity is not a keyword; >- * @description: Create variable entitled Infinity; >-*/ >- >-var Infinity=1.0; >-Infinity='asdf'; >-Infinity=true; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1-expected.txt >deleted file mode 100644 >index 19a7148105f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A11_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1.html >deleted file mode 100644 >index e89f1afd1f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A11_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A11_T1; >- * @section: 8.5, 7.8.3; >- * @assertion: The integer 0 has two representations, +0 and -0; >- * @description: Check 1.0/p_zero !== 1.0/n_zero; >-*/ >- >-var p_zero=+0; >-var n_zero=-0; >- >-if (1.0/p_zero === 1.0/n_zero){ >- testFailed('#1: var p_zero=+0; var n_zero=-0; 1.0/p_zero !== 1.0/n_zero'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2-expected.txt >deleted file mode 100644 >index 619ff8f68c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A11_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2.html >deleted file mode 100644 >index 3996ae06718..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A11_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A11_T2; >- * @section: 8.5, 7.8.3; >- * @assertion: The integer 0 has two representations, +0 and -0; >- * @description: Compare positive_zero and negative_zero; >-*/ >- >-var p_zero=+0; >-var n_zero=-0; >- >-//CHECK #1 >-if ((p_zero == n_zero) !== true){ >- testFailed('#1: var p_zero=+0; var n_zero=-0; p_zero != n_zero'); >-} >- >-//CHECK #2 >-if ((n_zero == 0) !== true){ >- testFailed('#2: var p_zero=+0; var n_zero=-0; n_zero == 0'); >-} >- >-//CHECK #3 >-if ((p_zero == -0) !== true){ >- testFailed('#3: var p_zero=+0; var n_zero=-0; p_zero == -0'); >-} >- >-//CHECK #4 >-if ((p_zero === 0) !== true){ >- testFailed('#4: var p_zero=+0; var n_zero=-0; p_zero === 0'); >-} >- >-//CHECK #5 >-if ((n_zero === -0) !== true){ >- testFailed('#5: var p_zero=+0; var n_zero=-0; n_zero === -0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1-expected.txt >deleted file mode 100644 >index 4d0de64018b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A12.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1.html >deleted file mode 100644 >index dfbef206853..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A12.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A12.1; >- * @section: 8.5, 7.8.3; >- * @assertion: +Infinity and Infinity are the same as Number.POSITIVE_INFINITY; >- * @description: Compare Infinity and +Infinity with Number.POSITIVE_INFINITY; >-*/ >- >- >-var p_inf=+Infinity; >-var inf=Infinity; >- >-//CHECK #1 >-if (p_inf!==Number.POSITIVE_INFINITY){ >- testFailed('#1: +Infinity is the same as Number.POSITIVE_INFINITY'); >-} >- >-//CHECK #2 >-if (inf!==Number.POSITIVE_INFINITY){ >- testFailed('#2: Infinity is the same as Number.POSITIVE_INFINITY'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2-expected.txt >deleted file mode 100644 >index aa3ed5bfb4a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A12.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2.html >deleted file mode 100644 >index 0779bab5d3a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A12.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A12.2; >- * @section: 8.5, 7.8.3; >- * @assertion: -Infinity is the same as Number.NEGATIVE_INFINITY; >- * @description: Compare -Infinity with Number.NEGATIVE_INFINITY; >-*/ >- >- >-var n_inf=-Infinity; >- >-//CHECK #1 >-if (n_inf !== Number.NEGATIVE_INFINITY){ >- testFailed('#1: -Infinity is the same as Number.NEGATIVE_INFINITY'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1-expected.txt >deleted file mode 100644 >index 52cc7d321a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A13_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1.html >deleted file mode 100644 >index 8ecd5c43e18..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A13_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A13_T1; >- * @section: 8.5, 7.8.3; >- * @assertion: Finite nonzero values that are Normalised having the form s*m*2**e >- * where s is +1 or -1, m is a positive integer less than 2**53 but not >- * less than s**52 and e is an integer ranging from -1074 to 971; >- * @description: Finite Non zero values where e is -1074; >-*/ >- >-//CHECK #1 >-if ((1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))) !== 4.4501477170144023e-308){ >- testFailed('#1: (1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))) === 4.4501477170144023e-308. Actual: ' + ((1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))))); >-} >- >-//CHECK #2 >-if ((1*(Math.pow(2,52))*(Math.pow(2,-1074))) !== 2.2250738585072014e-308){ >- testFailed('#2: (1*(Math.pow(2,52))*(Math.pow(2,-1074))) === 2.2250738585072014e-308. Actual: ' + ((1*(Math.pow(2,52))*(Math.pow(2,-1074))))); >-} >- >-//CHECK #3 >-if ((-1*(Math.pow(2,52))*(Math.pow(2,-1074))) !== -2.2250738585072014e-308){ >- testFailed('#3: (-1*(Math.pow(2,52))*(Math.pow(2,-1074))) === -2.2250738585072014e-308. Actual: ' + ((-1*(Math.pow(2,52))*(Math.pow(2,-1074))))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2-expected.txt >deleted file mode 100644 >index 44788f784f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A13_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2.html >deleted file mode 100644 >index a6d3d14e4f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A13_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A13_T2; >- * @section: 8.5, 7.8.3; >- * @assertion: Finite nonzero values that are Normalised having the form s*m*2**e >- * where s is +1 or -1, m is a positive integer less than 2**53 but not >- * less than s**52 and e is an integer ranging from -1074 to 971; >- * @description: Finite Non zero values where e is 971; >-*/ >- >-//CHECK #1 >-if ((1*(Math.pow(2,52))*(Math.pow(2,971))) !== 8.98846567431158e+307){ >- testFailed('#1: (1*(Math.pow(2,52))*(Math.pow(2,971))) === 8.98846567431158e+307. Actual: ' + ((1*(Math.pow(2,52))*(Math.pow(2,971))))); >-} >- >-//CHECK #2 >-if ((1*((Math.pow(2,53))-1)*(Math.pow(2,971))) !== 1.7976931348623157e+308){ >- testFailed('#2: (1*((Math.pow(2,53))-1)*(Math.pow(2,971))) === 1.7976931348623157e+308. Actual: ' + ((1*((Math.pow(2,53))-1)*(Math.pow(2,971))))); >-} >- >-//CHECK #3 >-if ((-1*(Math.pow(2,52))*(Math.pow(2,971))) !== -8.98846567431158e+307){ >- testFailed('#3: (-1*(Math.pow(2,52))*(Math.pow(2,971))) === -8.98846567431158e+307. Actual: ' + ((-1*(Math.pow(2,52))*(Math.pow(2,971))))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1-expected.txt >deleted file mode 100644 >index cb2d536714a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A14_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1.html >deleted file mode 100644 >index 36a9655db59..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A14_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A14_T1; >- * @section: 8.5, 7.8.3; >- * @assertion: When number absolute value is bigger of 2**1024 should convert to Infinity; >- * @description: Create number bigger of 2**1024; >-*/ >- >-//CHECK #1 >-if (1e+308*2 !== Infinity){ >- testFailed('#1: 1e+308*2 === Infinity. Actual: ' + (1e+308*2)); >-} >- >-//CHECK #2 >-if ((1*(Math.pow(2,53))*(Math.pow(2,971))) !== Infinity){ >- testFailed('#2: (1*(Math.pow(2,53))*(Math.pow(2,971))) === Infinity. Actual: ' + ((1*(Math.pow(2,53))*(Math.pow(2,971))))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2-expected.txt >deleted file mode 100644 >index d5523fe9557..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A14_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2.html >deleted file mode 100644 >index 03ebc006c23..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A14_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A14_T2; >- * @section: 8.5, 7.8.3; >- * @assertion: When number absolute value is bigger of 2**1024 should convert to Infinity; >- * @description: Create number smaller of -2**1024; >-*/ >- >-//CHECK #1 >-if (-1e+308*3 !== -Infinity){ >- testFailed('#1: -1e+308*3 === Infinity. Actual: ' + (-1e+308*3)); >-} >- >-//CHECK #2 >-if ((-1*(Math.pow(2,53))*(Math.pow(2,971))) !== -Infinity){ >- testFailed('#2: (-1*(Math.pow(2,53))*(Math.pow(2,971))) === Infinity. Actual: ' + ((-1*(Math.pow(2,53))*(Math.pow(2,971))))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1-expected.txt >deleted file mode 100644 >index a9c2274dde3..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1.html >deleted file mode 100644 >index e398e7c5bb2..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A2.1; >- * @section: 8.5, 7.8.3; >- * @assertion: Number type represented as the double precision 64-bit format IEEE 754; >- * @description: Use 2^53 + 2 number and do some operation with it; >-*/ >- >-var x = 9007199254740994.0; /* 2^53 + 2 */ >-var y = 1.0 - 1/65536.0; >-var z = x + y; >-var d = z - x; >- >-if (d !== 0){ >- testFailed('#1: var x = 9007199254740994.0; var y = 1.0 - 1/65536.0; var z = x + y; var d = z - x; d === 0. Actual: ' + (d)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2-expected.txt >deleted file mode 100644 >index 922b8ce7abf..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2.html >deleted file mode 100644 >index f729379d3e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A2.2; >- * @section: 8.5, 7.8.3; >- * @assertion: Number type represented as the extended precision 64-bit format IEEE 754; >- * @description: Use 2^53 + 2 number and do some operation with it; >-*/ >- >-var x = 9007199254740994.0; /* 2^53 + 2 */ >-var y = 1.0 - 1/65536.0; >-var z = x + y; >-var d = z - x; >- >-if (d === 2){ >- testFailed('#1: var x = 9007199254740994.0; var y = 1.0 - 1/65536.0; var z = x + y; var d = z - x; d !== 2'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3-expected.txt >deleted file mode 100644 >index 1e7965dfc7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3.html >deleted file mode 100644 >index 724190a89f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A3; >- * @section: 8.5, 7.8.3; >- * @assertion: NaN expression has a type Number; >- * @description: Check type of NaN; >-*/ >- >-var x=NaN; >- >-/////////////////////////////////////////////////////// >-// CHECK#1 >-if (typeof(x) !== "number"){ >- testFailed('#1: var x=NaN; typeof(x) === "number". Actual: ' + (typeof(x))); >-} >-// >-////////////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////////// >-// CHECK#2 >-if (typeof(NaN) !== "number"){ >- testFailed('#2: typeof(NaN) === "number". Actual: ' + (typeof(NaN))); >-} >-// >-////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4-expected.txt >deleted file mode 100644 >index 3c97c2504ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4.html >deleted file mode 100644 >index 338eb6cfad7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A4; >- * @section: 8.5, 7.8.3; >- * @assertion: NaN is not a keyword; >- * @description: Create variable entitled NaN; >-*/ >- >-var NaN=1.0; >-NaN='asdf'; >-NaN=true; >-NaN=Number.NaN; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5-expected.txt >deleted file mode 100644 >index 809f1734496..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5-expected.txt >+++ /dev/null >@@ -1,10 +0,0 @@ >-S8.5_A5 >- >-#1: NaN not greater or equal zero >-#2: NaN not less or equal zero >-#3: NaN not less or equal zero OR greater or equal zero >-#4: NaN not less or equal zero ADD greater or equal zero >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5.html >deleted file mode 100644 >index b830376fbb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A5; >- * @section: 8.5, 7.8.3; >- * @assertion: NaN not greater or equal zero; >- * @description: Compare NaN with zero; >-*/ >- >-var x = NaN; >-var x_geq_0=(x >= 0.0); >-var x_leq_0=(x <= 0.0); >-var x_leq_0_OR_geq_0=(x <= 0.0)||(x >= 0.0); >-var x_geq_0_ADD_leq_0=(x >= 0.0) + (x <= 0.0); >- >- >-/////////////////////////////////////////////////// >-// CHECK#1 >-if (x_geq_0){ >- testFailed('#1: NaN not greater or equal zero'); >-} else { >- testPrint('#1: NaN not greater or equal zero'); >-} >-// >-/////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////// >-// CHECK#2 >-if (x_leq_0){ >- testFailed('#2: NaN not less or equal zero'); >-} else { >- testPrint('#2: NaN not less or equal zero'); >-} >-// >-/////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////// >-// CHECK#3 >-if (x_leq_0_OR_geq_0){ >- testFailed('#3: NaN not less or equal zero OR greater or equal zero'); >-} else { >- testPrint('#3: NaN not less or equal zero OR greater or equal zero'); >-} >-// >-/////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////// >-// CHECK#4 >-if (x_geq_0_ADD_leq_0){ >- testFailed('#4: NaN not less or equal zero ADD greater or equal zero'); >-} else { >- testPrint('#4: NaN not less or equal zero ADD greater or equal zero'); >-} >-// >-/////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6-expected.txt >deleted file mode 100644 >index 45c246d9e31..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6.html >deleted file mode 100644 >index 5789a20ba9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A6; >- * @section: 8.5, 7.8.3; >- * @assertion: -Infinity expression has a type Number; >- * @description: Check type of -Infinity; >-*/ >- >-var x=-Infinity; >- >-/////////////////////////////////////////////////////// >-// CHECK#1 >-if (typeof(x) !== "number"){ >- testFailed('#1: var x=-Infinity; typeof(x) === "number". Actual: ' + (typeof(x))); >-} >-// >-////////////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////////// >-// CHECK#2 >-if (typeof(-Infinity) !== "number"){ >- testFailed('#2: typeof(-Infinity) === "number". Actual: ' + (typeof(-Infinity))); >-} >-// >-////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7-expected.txt >deleted file mode 100644 >index 52457ed043a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7.html >deleted file mode 100644 >index 48181e09177..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A7; >- * @section: 8.5, 7.8.3; >- * @assertion: +Infinity expression has a type Number; >- * @description: Check type of +Infinity; >-*/ >- >-var x=+Infinity; >- >-/////////////////////////////////////////////////////// >-// CHECK#1 >-if (typeof(x) !== "number"){ >- testFailed('#1: var x=+Infinity; typeof(x) === "number". Actual: ' + (typeof(x))); >-} >-// >-////////////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////////// >-// CHECK#2 >-if (typeof(+Infinity) !== "number"){ >- testFailed('#2: typeof(+Infinity) === "number". Actual: ' + (typeof(+Infinity))); >-} >-// >-////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8-expected.txt >deleted file mode 100644 >index 875862260c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8.html >deleted file mode 100644 >index 648d1a5a79c..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A8; >- * @section: 8.5, 7.8.3; >- * @assertion: Infinity is the same as +Infinity; >- * @description: Compare Infinity and +Infinity; >-*/ >- >-var p_inf=+Infinity; >-var inf=Infinity; >- >-/////////////////////////////////////////////////////// >-// >-if (p_inf!==inf){ >- testFailed('#1: Infinity is the same as +Infinity'); >-} >-// >-////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9-expected.txt >deleted file mode 100644 >index dd613e4ebbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.5_A9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9.html b/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9.html >deleted file mode 100644 >index a1a4ea12681..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.5_A9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.5_A9; >- * @section: 8.5, 7.8.3; >- * @assertion: Globally defined variable NaN has not been altered by program execution; >- * @description: Try alter globally defined variable NaN; >-*/ >- >-Number.NaN = 1; >- >-if (Number.NaN === 1) { >- testFailed('#1: Globally defined variable NaN has not been altered by program execution'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1-expected.txt >deleted file mode 100644 >index 4884ef6dbd7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.html >deleted file mode 100644 >index 3d0b28d6710..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.6.1_A1; >- * @section: 8.6.1, 15.2.2, 15.8; >- * @assertion: A property can have attribute ReadOnly like E in Math; >- * @description: Try change Math.E property; >-*/ >- >-__e = Math.E; >-Math.E=1; >-if (Math.E !==__e){ >- testFailed('#1: __e = Math.E; Math.E=1; Math.E ===__e'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2-expected.txt >deleted file mode 100644 >index 966eb1cd44a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.1_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.html >deleted file mode 100644 >index 84a2f1e36fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.6.1_A2; >- * @section: 8.6.1, 12.6.4, 15.7; >- * @assertion: A property can have attribute DontEnum like all properties of Number; >- * @description: Try to enumerate properties of Number; >-*/ >- >-//CHECK#1 >-count=0; >-for (p in Number) count++; >-if (count > 0){ >- testFailed('#1: count=0; for (p in Number) count++; count > 0. Actual: ' + (count)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3-expected.txt >deleted file mode 100644 >index 6a631cb6684..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.1_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.html >deleted file mode 100644 >index 99d95f0a90f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.1_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.6.1_A3; >- * @section: 8.6.1, 15.7; >- * @assertion: A property can have attribute DontDelete like NaN propertie of Number object; >- * @description: Try to delete Number.NaN; >-*/ >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (delete Number.NaN !== false){ >- testFailed('#1: delete Number.NaN === false. Actual: ' + (delete Number.NaN)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof(Number.NaN) === "undefined"){ >- testFailed('#2: delete Number.NaN; typeof(Number.NaN) !== "undefined" '); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1-expected.txt >deleted file mode 100644 >index 8346d7c4c14..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.html >deleted file mode 100644 >index b3089cb7897..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.1_A1; >-* @section: 8.6.2.1; >-* @assertion: [[Get]](P) method should return value when property P does not exist in instance but prototype contain it; >-* @description: Try to get P when property P does not exist in instance but prototype contain it; >-*/ >- >-//Establish foo object >-function FooObj(){}; FooObj.prototype.propFoo="some"; >- >-// Invoke instance of foo object >-var __obj= new FooObj; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.propFoo !== "some"){ >- testFailed('#1: function FooObj(){}; FooObj.prototype.propFoo="some"; var __obj= new FooObj; __obj.propFoo === "some". Actual: ' + (__obj.propFoo)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj['propFoo'] !== "some"){ >- testFailed('#1: function FooObj(){}; FooObj.prototype.propFoo="some"; var __obj= new FooObj; __obj[\'propFoo\'] === "some". Actual: ' + (__obj['propFoo'])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2-expected.txt >deleted file mode 100644 >index 9da4f949aae..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.1_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.html >deleted file mode 100644 >index 4b14f7d9a80..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.1_A2; >-* @section: 8.6.2.1; >-* @assertion: [[Get]](P) method should return undefined when property P does not exist both in instance and prototype; >-* @description: Try to get P when property P does not exist both in instance and prototype; >-*/ >- >-var __obj={}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.propFoo !== undefined){ >- testFailed('#1: var __obj={}; __obj.propFoo === undefined. Actual: ' + (__obj.propFoo)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj['propFoo'] !== undefined){ >- testFailed('#2: var __obj={}; __obj[\'propFoo\'] === undefined. Actual: ' + (__obj['propFoo'])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3-expected.txt >deleted file mode 100644 >index 8126fe398c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.1_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.html >deleted file mode 100644 >index 5ba927a81c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.1_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.1_A3; >-* @section: 8.6.2.1; >-* @assertion: When the [[Get]] method of O is called with property name P value of P returns; >-* @description: Try to get P property P exist in instance; >-*/ >- >-var __map={shape:"cube", 5:"five", "6":"six"}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__map.shape !== "cube"){ >- testFailed('#1: var __map={shape:"cube", 5:"five", "6":"six"}; __map.shape === "cube". Actual: ' + (__map.shape)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__map["shape"] !== "cube"){ >- testFailed('#2: var __map={shape:"cube", 5:"five", "6":"six"}; __map["shape"] === "cube". Actual: ' + (__map["shape"])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__map["5"] !== "five"){ >- testFailed('#3: var __map={shape:"cube", 5:"five", "6":"six"}; __map["5"] === "five". Actual: ' + (__map["5"])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__map[5] !== "five"){ >- testFailed('#4: var __map={shape:"cube", 5:"five", "6":"six"}; __map[5] === "five". Actual: ' + (__map[5])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (__map["6"] !== "six"){ >- testFailed('#5: var __map={shape:"cube", 5:"five", "6":"six"}; __map["6"] === "six". Actual: ' + (__map["6"])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-if (__map[6] !== "six"){ >- testFailed('#6: var __map={shape:"cube", 5:"five", "6":"six"}; __map[6] === "six". Actual: ' + (__map[6])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1-expected.txt >deleted file mode 100644 >index 2541fa28648..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.html >deleted file mode 100644 >index d68a81b4711..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.2_A1; >-* @section: 8.6.2.2; >-* @assertion: When the [[Put]] method of O is called with property P and value V, >-* and If O doesn't have a property with name P, then >-* creates a property with name P, set its value to V and give it empty attributes; >-* @description: Put to not existent properties; >-*/ >- >-var __map={}; __map[1]="one"; __map["two"]=2; __map["3"]="tre"; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__map[1] !== "one") { >- testFailed('#1: var __map={}; __map[1]="one"; __map["two"]=2; __map["3"]="tre"; __map[1] === "one". Actual: ' + (__map[1])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__map["two"] !== 2) { >- testFailed('#2: var __map={}; __map[1]="one"; __map["two"]=2; __map["3"]="tre"; __map["two"] === 2. Actual: ' + (__map["two"])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__map["3"] !== "tre") { >- testFailed('#3: var __map={}; __map[1]="one"; __map["two"]=2; __map["3"]="tre"; __map["3"] === "tre". Actual: ' + (__map["3"])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2-expected.txt >deleted file mode 100644 >index 2f4d5f941e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.2_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.html >deleted file mode 100644 >index 9d9e7386495..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.2_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.2_A2; >-* @section: 8.6.2.2; >-* @assertion: When the [[Put]] method of O is called with property P and value V, >-* then set the value of the property to V. The attributes of the property are not changed; >-* @description: Put to existent properties; >-*/ >- >-var _map={1:"one",two:2}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-_map[1]="uno"; >-if (_map[1] !== "uno") { >- testFailed('#1: var _map={1:"one",two:2}; _map[1]="uno"; _map[1] === "uno". Actual: ' + (_map[1])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-_map["1"]=1; >-if (_map[1] !== 1) { >- testFailed('#2: var _map={1:"one",two:2}; _map[1]="uno"; _map["1"]=1; _map[1] === 1. Actual: ' + (_map[1])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-_map["two"]="two"; >-if (_map["two"] !== "two") { >- testFailed('#3: var _map={1:"one",two:2}; _map[1]="uno"; _map["1"]=1; _map["two"]="two"; _map["two"] === "two". Actual: ' + (_map["two"])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-_map.two="duo"; >-if (_map.two !== "duo") { >- testFailed('#4: var _map={1:"one",two:2}; _map[1]="uno"; _map["1"]=1; _map["two"]="two"; _map.two="duo"; _map.two === "duo". Actual: ' + (_map.two)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1-expected.txt >deleted file mode 100644 >index a2678cf2686..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.html >deleted file mode 100644 >index 248813219a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.6.2.3_A1; >- * @section: 8.6.2.3, 8.6.2.2, 8.6.1; >- * @assertion: If the property has the ReadOnly attribute, [[CanPut]](P) return false; >- * @description: Try put other value for Math.E property; >-*/ >- >-__e = Math.E; >-Math.E = 1; >-if (Math.E !== __e){ >- testFailed('#1: __e = Math.E; Math.E = 1; Math.E === __e. Actual: ' + (Math.E)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1-expected.txt >deleted file mode 100644 >index 42bdedd1ec0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.4_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.html >deleted file mode 100644 >index c88199bff99..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.4_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.4_A1; >-* @section: 8.6.2.4, 12.6.4; >-* @assertion: When the [[HasProperty]] method of O is called with property name P and if O has a property with name P, return true; >-* @description: Try find existent property of any Object; >-*/ >- >-var __obj={fooProp:"fooooooo"}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!("fooProp" in __obj)) { >- testFailed('#1: var __obj={fooProp:"fooooooo"}; "fooProp" in __obj'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1-expected.txt >deleted file mode 100644 >index 122d162b349..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.4_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.html >deleted file mode 100644 >index 4bef54d0dc7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.4_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.4_A2_T1; >-* @section: 8.6.2.4, 12.6.4; >-* @assertion: When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P >-* then If the [[Prototype]] of O is null, return false or call the [[HasProperty]] method of [[Prototype]] with property name P; >-* @description: Try find not existent property of any Object; >-*/ >- >-var __obj={}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!("valueOf" in __obj)) { >- testFailed('#1: var __obj={}; "valueOf" in __obj'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2-expected.txt >deleted file mode 100644 >index 13d3361b265..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.4_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.html >deleted file mode 100644 >index a9ef9af4317..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.4_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.4_A2_T2; >-* @section: 8.6.2.4, 12.6.4; >-* @assertion: When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P >-* then If the [[Prototype]] of O is null, return false or call the [[HasProperty]] method of [[Prototype]] with property name P; >-* @description: Try find not existent property of any Object, but existent property of this Object prototype; >-*/ >- >- >- >-var __proto={phylum:"avis"}; >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!("valueOf" in __proto)) { >- testFailed('#1: var __proto={phylum:"avis"}; "valueOf" in __proto'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function Robin(){this.name="robin"}; >-Robin.prototype=__proto; >- >-var __my__robin = new Robin; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!("phylum" in __my__robin)) { >- testFailed('#2: var __proto={phylum:"avis"}; function Robin(){this.name="robin"}; Robin.prototype=__proto; var __my__robin = new Robin; "phylum" in __my__robin'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__my__robin.hasOwnProperty("phylum")) { >- testFailed('#3: var __proto={phylum:"avis"}; function Robin(){this.name="robin"}; Robin.prototype=__proto; var __my__robin = new Robin; __my__robin.hasOwnProperty("phylum") === false. Actual: ' + (__my__robin.hasOwnProperty("phylum"))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3-expected.txt >deleted file mode 100644 >index 0f53c7a145f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.4_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.html >deleted file mode 100644 >index 72bba14236a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.4_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.4_A3; >-* @section: 8.6.2.4, 12.6.4; >-* @assertion: [[hasProperty]] is sensitive to property existence but [[Get]] is not; >-* @description: Use [[hasProperty]] and [[Get]] for existent and not existent properties; >-*/ >- >-var __obj={}; __obj.hole=undefined; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.hole !== undefined) { >- testFailed('#1: var __obj={}; __obj.hole=undefined; __obj.hole === undefined. Actual: ' + (__obj.hole)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.notexist !== undefined) { >- testFailed('#2: var __obj={}; __obj.hole=undefined; __obj.notexist === undefined. Actual: ' + (__obj.notexist)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (!("hole" in __obj)) { >- testFailed('#3: var __obj={}; __obj.hole=undefined; "hole" in __obj'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (("notexist" in __obj)) { >- testFailed('#4: var __obj={}; __obj.hole=undefined; "notexist" in __obj'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1-expected.txt >deleted file mode 100644 >index 1fdd5d8cd93..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.5_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.html >deleted file mode 100644 >index ff7d5a8563c..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.5_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.5_A1; >-* @section: 8.6.2.5, 15.8, 11.4.1; >-* @assertion: When the [[Delete]] method of O is called with property name P, >-* and If the property has the DontDelete attribute, return false; >-* @description: Try to delete Math.E, that has the DontDelete attribute; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (delete Math.E !== false){ >- testFailed('#1: delete Math.E === false. Actual: ' + (delete Math.E)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (Math.E === undefined){ >- testFailed('#2: delete Math.E; Math.E !== undefined'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1-expected.txt >deleted file mode 100644 >index a163c3d9da3..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.5_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.html >deleted file mode 100644 >index 09ef977c1e8..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.5_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.5_A2_T1; >-* @section: 8.6.2.5, 11.4.1; >-* @assertion: When the [[Delete]] method of O is called with property name P, >-* and if O doesn't have a property with name P, return true; >-* @description: Try to delete not existent properties; >-*/ >- >-var __color__map = {}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (delete __color__map.red !== true){ >- testFailed('#1: var __color__map = {}; delete __color__map.red === true. Actual: ' + (delete __color__map.red)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (delete __color__map["green"] !== true){ >- testFailed('#2: var __color__map = {}; delete __color__map["green"] === true. Actual: ' + (delete __color__map["green"])); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-var blue = 1; >-if (delete __color__map[blue] !== true){ >- testFailed('#3: var __color__map = {}; var blue = 1; delete __color__map[blue] === true. Actual: ' + (delete __color__map[blue])); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2-expected.txt >deleted file mode 100644 >index 893a11a3144..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.5_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.html >deleted file mode 100644 >index 8e5ca63d89e..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.5_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.5_A2_T2; >-* @section: 8.6.2.5, 11.4.1; >-* @assertion: When the [[Delete]] method of O is called with property name P, >-* and if O doesn't have a property with name P, return true; >-* @description: Try to delete not existent properties of O, but existent property of prototype; >-*/ >- >- >-function Palette(){}; >-Palette.prototype = {red:0xFF0000, green:0x00FF00}; >-__palette = new Palette; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__palette.red !== 0xFF0000){ >- testFailed('#1: function Palette(){}; Palette.prototype = {red:0xFF0000, green:0x00FF00}; __palette = new Palette; __palette.red === 0xFF0000. Actual: ' + (__palette.red)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (delete __palette.red !== true) { >- testFailed('#2 function Palette(){}; Palette.prototype = {red:0xFF0000, green:0x00FF00}; __palette = new Palette; delete __palette.red === true. Actual: ' + (delete __palette.red)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__palette.red !== 0xFF0000){ >- testFailed('#3: function Palette(){}; Palette.prototype = {red:0xFF0000, green:0x00FF00}; __palette = new Palette; __palette.red === 0xFF0000. Actual: ' + (__palette.red)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3-expected.txt >deleted file mode 100644 >index 80c7278f46b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.5_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.html >deleted file mode 100644 >index 00d2970fb0b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.html >+++ /dev/null >@@ -1,130 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.5_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.5_A3; >-* @section: 8.6.2.5, 11.4.1; >-* @assertion: When the [[Delete]] method of O is called with property name P, >-* removes the property with name P from O and return true; >-* @description: Delete existent properties; >-*/ >-var BLUE_NUM=1; >-var BLUE_STR="1"; >-var YELLOW_NUM=2; >-var YELLOW_STR="2"; >-var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (delete __color__map[YELLOW_NUM] !== true){ >- testFailed('#1: var BLUE_NUM=1; var BLUE_STR="1"; var YELLOW_NUM=2; var YELLOW_STR="2"; var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; delete __color__map[YELLOW_NUM] === true;'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__color__map[YELLOW_STR] !== undefined) { >- testFailed('#2: var BLUE_NUM=1; var BLUE_STR="1"; var YELLOW_NUM=2; var YELLOW_STR="2"; var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; delete __color__map[YELLOW_NUM]; __color__map[YELLOW_STR] === undefined. Actual: ' + (__color__map[YELLOW_STR])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (delete __color__map[BLUE_STR] !== true){ >- testFailed('#3: var BLUE_NUM=1; var BLUE_STR="1"; var YELLOW_NUM=2; var YELLOW_STR="2"; var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; delete __color__map[BLUE_STR] === true. Actual: ' + (delete __color__map[BLUE_STR])); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__color__map[BLUE_NUM] !== undefined) { >- testFailed('#4: var BLUE_NUM=1; var BLUE_STR="1"; var YELLOW_NUM=2; var YELLOW_STR="2"; var __color__map = {red:0xFF0000, BLUE_NUM:0x0000FF, green:0x00FF00, YELLOW_STR:0xFFFF00}; delete __color__map[BLUE_STR]; __color__map[BLUE_NUM] === undefined. Actual: ' + (__color__map[BLUE_NUM])); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1-expected.txt >deleted file mode 100644 >index 833363a625c..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.6_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.html >deleted file mode 100644 >index e993a6ef0e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.6_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.6_A1; >-* @section: 8.6.2.6, 8.6.2, 9.8, 11.8.6; >-* @assertion: This should generate a TypeError, >-* Cause we overload toString method so it return non Primitive value >-* See ECMA reference at http://bugzilla.mozilla.org/show_bug.cgi?id=167325; >-* @description: Try to overload toString method; >-*/ >- >-try >-{ >- var __obj = {toString: function() {return new Object();}} >- String(__obj); >- testFailed('#1.1: var __obj = {toString: function() {return new Object();}}; String(__obj) throw TypeError. Actual: ' + (String(__obj))); >-} >-catch(e) >-{ >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: var __obj = {toString: function() {return new Object();}}; String(__obj) throw TypeError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2-expected.txt >deleted file mode 100644 >index 7fb5f9b7956..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.6_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.html >deleted file mode 100644 >index 79f2b19d73a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.6_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.6_A2; >-* @section: 8.6.2.6, 8.6.2, 9.8; >-* @assertion: This should generate no TypeError, >-* Cause we overload toString method so it return non Primitive value >-* but we overloaded valueOf method too. >-* See ECMA reference at http://bugzilla.mozilla.org/show_bug.cgi?id=167325; >-* @description: Try to overload toString, that returned new Object, and valueOf methods; >-*/ >- >-try >-{ >- var __obj = {toString: function() {return new Object();}, valueOf: function() {return 1;}} >- if (String(__obj) !== "1") { >- testFailed('#1.1: var __obj = {toString: function() {return new Object();}, valueOf: function() {return 1;}}; String(__obj) === "1". Actual: ' + (String(__obj))); >- } >-} >-catch(e) >-{ >- testFailed('#1.2: var __obj = {toString: function() {return new Object();}, valueOf: function() {return 1;}}; String(__obj) === "1". Actual: ' + (e)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3-expected.txt >deleted file mode 100644 >index f7ed5977a9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.6_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.html >deleted file mode 100644 >index 7d3ded85034..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.6_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.6_A3; >-* @section: 8.6.2.6, 8.6.2; >-* @assertion: We overload valueOf method so it return non Primitive value >-* Thus [[DefaultValue]] must return Object.toString() value; >-* @description: Try to overload toString method, that returned Primitive, and valueOf method, that returned new Object; >-*/ >- >- >-try >-{ >- var __obj = {toString: function() {return "1"}, valueOf: function() {return new Object();}} >- if (Number(__obj) !== 1) { >- testFailed('#1.1: var __obj = {toNumber: function() {return "1"}, valueOf: function() {return new Object();}}; Number(__obj) === 1. Actual: ' + (Number(__obj))); >- } >-} >-catch(e) >-{ >- testFailed('#1.2: var __obj = {toNumber: function() {return "1"}, valueOf: function() {return new Object();}}; Number(__obj) === 1. Actual: ' + (e)); >-} >- >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4-expected.txt >deleted file mode 100644 >index 0f4fbba82e6..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2.6_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.html >deleted file mode 100644 >index 42e84d3b2f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2.6_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2.6_A4; >-* @section: 8.6.2.6, 8.6.2; >-* @assertion: We overload valueOf method so it return non Primitive value and toString method so it return non Primitive value too >-* Thus [[DefaultValue]] must generate TypeError error; >-* @description: Try to overload toString and valueOf methods, they returned new Objects; >-*/ >- >-try >-{ >- var __obj = {valueOf:function(){return new Object;},toString: function() {return new Object();}} >- Number(__obj); >- testFailed('#1.1: var __obj = {valueOf:function(){return new Object;},toNumber: function() {return new Object();}}; Number(__obj) throw TypeError. Actual: ' + (Number(__obj))); >-} >-catch(e) >-{ >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: var __obj = {valueOf:function(){return new Object;},toNumber: function() {return new Object();}}; Number(__obj) throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1-expected.txt >deleted file mode 100644 >index 7f5a1c07d8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.html >deleted file mode 100644 >index ad921a23af4..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.html >+++ /dev/null >@@ -1,155 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.6.2_A1; >- * @section: 8.6.2, 15.2.4; >- * @assertion: Native ECMAScript objects have an internal property called [[Prototype]]. The value of this property is >- * either null or an object and is used for implementing inheritance; >- * @description: Check [[Prototype]] property of object; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var __obj={}; >-if (!Object.prototype.isPrototypeOf(__obj)){ >- testFailed('#1: Native ECMAScript objects have an internal property called [[Prototype]]. '); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-//Establish proto (base) object >-/*function ProtoObj(){ >- >-};*/ >-protoObj={}; >-//Establish foo object >-function FooObj(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-// Invoke instance of foo object >-var obj__= new FooObj; >- >-if (!Object.prototype.isPrototypeOf(obj__)){ >- testFailed('#2.1: protoObj={}; function FooObj(){}; var obj__= new FooObj; Object.prototype.isPrototypeOf(obj__) === true. Actual: ' + (Object.prototype.isPrototypeOf(obj__))); >-}; >- >-if (!FooObj.prototype.isPrototypeOf(obj__)){ >- testFailed('#2.2: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype.isPrototypeOf(obj__) === true. Actual: ' + (FooObj.prototype.isPrototypeOf(obj__))); >-}; >- >-if (protoObj.isPrototypeOf(obj__)){ >- testFailed('#2.3: protoObj={}; function FooObj(){}; var obj__= new FooObj; protoObj.isPrototypeOf(obj__) === false. Actual: ' + (protoObj.isPrototypeOf(obj__))); >-}; >-// Establish inheritance from proto object >-FooObj.prototype=protoObj; >- >-if (protoObj.isPrototypeOf(obj__)){ >- testFailed('#2.4: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype=protoObj; protoObj.isPrototypeOf(obj__) === false. Actual: ' + (protoObj.isPrototypeOf(obj__))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >- >-// Invoke instance of foo object >-var __foo=new FooObj; >- >-if (!Object.prototype.isPrototypeOf(__foo)){ >- testFailed('#3.1: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype=protoObj; var __foo=new FooObj; Object.prototype.isPrototypeOf(__foo) === true. Actual: ' + (Object.prototype.isPrototypeOf(__foo))); >-}; >- >-if (!FooObj.prototype.isPrototypeOf(__foo)){ >- testFailed('#3.2: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype=protoObj; var __foo=new FooObj; FooObj.prototype.isPrototypeOf(__foo) === true. Actual: ' + (FooObj.prototype.isPrototypeOf(__foo))); >-}; >- >-if (!protoObj.isPrototypeOf(__foo)){ >- testFailed('#3.3: protoObj={}; function FooObj(){}; var obj__= new FooObj; FooObj.prototype=protoObj; var __foo=new FooObj; protoObj.isPrototypeOf(__foo) === true. Actual: ' + (protoObj.isPrototypeOf(__foo))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2-expected.txt >deleted file mode 100644 >index 9e1b294669e..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.html >deleted file mode 100644 >index 4fc4bb3c3a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.6.2_A2; >- * @section: 8.6.2, 15.2.4; >- * @assertion: Properties of the [[Prototype]] object >- * are visible as properties of the child object for the purposes of get access, but not for put access; >- * @description: Check visibility properties of the child object for the purposes of get access, but not for put access; >-*/ >- >-//Establish foo object >-function FooObj(){}; >-FooObj.prototype.prop="some"; >- >-// Invoke instance of foo object >-var foo= new FooObj; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (foo.prop !== "some"){ >- testFailed('#1: function FooObj(){}; FooObj.prototype.prop="some"; var foo= new FooObj; foo.prop === "some". Actual: ' + (foo.prop)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-foo.prop=true; >-// Invoke another instance of foo object >-var foo__ = new FooObj; >-if (foo__.prop !== "some"){ >- testFailed('#2: function FooObj(){}; FooObj.prototype.prop="some"; var foo= new FooObj; foo.prop=true; var foo__ = new FooObj; foo__.prop === "some". Actual: ' + (foo__.prop)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3-expected.txt >deleted file mode 100644 >index 9086c4912f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.html >deleted file mode 100644 >index e68c32e4799..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2_A3; >-* @section: 8.6.2, 15.2.4.2; >-* @assertion: The specification does not provide any means for a program to access [[class]] value except through Object.prototype.toString; >-* @description: Get [[class]] value except through Object.prototype.toString; >-*/ >- >-var __obj={}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.toString() !== "[object " + 'Object' + "]"){ >- testFailed('#1: var __obj={}; __obj.toString() === "[object " + \'Object\' + "]". Actual: ' + (__obj.toString())); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4-expected.txt >deleted file mode 100644 >index 9de0b3e0fb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.html >deleted file mode 100644 >index fa255cf261f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2_A4; >-* @section: 8.6.2, 11.8.6; >-* @assertion: [[HasInstance]] returns a boolean value indicating whether Value delegates behaviour to this object; >-* @description: Check that the obj instance of Object, but not instance >-* of Function, String, Number, Array; >-*/ >- >-var __obj={}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__obj instanceof Object)) { >- testFailed('#1: var __obj={}; (__obj instanceof Object) === true. Actual: ' + ((__obj instanceof Object))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj instanceof Function) { >- testFailed('#2: var __obj={}; (__obj instanceof Function) === false. Actual: ' + ((__obj instanceof Function))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj instanceof String) { >- testFailed('#3: var __obj={}; (__obj instanceof String) === false. Actual: ' + ((__obj instanceof String))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__obj instanceof Number) { >- testFailed('#4: var __obj={}; (__obj instanceof Number) === false. Actual: ' + ((__obj instanceof Number))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (__obj instanceof Array) { >- testFailed('#5: var __obj={}; (__obj instanceof Array) === false. Actual: ' + ((__obj instanceof Array))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1-expected.txt >deleted file mode 100644 >index bd6dd8d9051..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.html >deleted file mode 100644 >index 2d5ee37faa3..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2_A5_T1; >-* @section: 8.6.2, 13.1, 13.2; >-* @assertion: [[Call]] executes code associated with the object; >-* @description: Call function-property of object, property defined >-* as screen = {touch:function(){count++}}; >-*/ >- >-this.count=0; >- >-screen = {touch:function(){count++}}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-screen.touch(); >-if (count !==1) { >- testFailed('#1: this.count=0; screen = {touch:function(){count++}}; screen.touch(); count === 1. Actual: ' + (count)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-screen['touch'](); >-if (count !==2) { >- testFailed('#2: this.count=0; screen = {touch:function(){count++}}; screen.touch(); screen[\'touch\'](); count === 2. Actual: ' + (count)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2-expected.txt >deleted file mode 100644 >index ca7069969f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.html >deleted file mode 100644 >index 1d412c27464..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2_A5_T2; >-* @section: 8.6.2, 13.1, 13.2; >-* @assertion: [[Call]] executes code associated with the object; >-* @description: Call function-property of object, property defined >-* as seat['move']=function(){position++}; >-*/ >- >-this.position=0; >-seat = {}; >-seat['move']=function(){position++}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-seat.move(); >-if (position !==1) { >- testFailed('#1: this.position=0; seat = {}; seat[\'move\']=function(){position++}; seat.move(); position === 1. Actual: ' + (position)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-seat['move'](); >-if (position !==2) { >- testFailed('#2: this.position=0; seat = {}; seat[\'move\']=function(){position++}; seat.move(); seat[\'move\'](); position === 2. Actual: ' + (position)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3-expected.txt >deleted file mode 100644 >index 84af7d68770..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.html >deleted file mode 100644 >index 8e72f5c4b20..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2_A5_T3; >-* @section: 8.6.2, 13.1, 13.2; >-* @assertion: [[Call]] executes code associated with the object; >-* @description: Call function-property of global object, property defined >-* as knock=function(){count++}; >-*/ >- >-count=0; >-knock=function(){count++}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-knock(); >-if (count !==1) { >- testFailed('#1: count=0; knock=function(){count++}; knock(); count === 1. Actual: ' + (count)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-this['knock'](); >-if (count !==2) { >- testFailed('#2: count=0; knock=function(){count++}; knock(); this[\'knock\'](); count === 2. Actual: ' + (count)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4-expected.txt >deleted file mode 100644 >index c21421c4f0d..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.html >deleted file mode 100644 >index 61654cf9646..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2_A5_T4; >-* @section: 8.6.2, 13.1, 13.2; >-* @assertion: [[Call]] executes code associated with the object; >-* @description: Call function-property of global object, property defined >-* as this['beep']=function(){__count++}; >-*/ >- >-__count=0; >- >-this["beep"]=function(){__count++}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-beep(); >-if (__count !==1) { >- testFailed('#1: __count=0; this["beep"]=function(){__count++}; beep(); __count === 1. Actual: ' + (__count)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-this["beep"](); >-if (__count !==2) { >- testFailed('#2: __count=0; this["beep"]=function(){__count++}; beep(); this["beep"](); __count === 2. Actual: ' + (__count)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6-expected.txt >deleted file mode 100644 >index 826b2856395..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.html >deleted file mode 100644 >index 839c13f0cdd..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2_A6; >-* @section: 8.6.2, 15.2.2; >-* @assertion: [[Construct]] constructs an object. Invoked via the new operator. Objects that implement this internal method are called constructors; >-* @description: Create a few Objects via the new operator; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var objInstance=new Object; >-if (objInstance.constructor !== Object){ >- testFailed('#1: var objInstance=new Object; objInstance.constructor === Object. Actual: ' + (objInstance.constructor)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-var numInstance=new Number; >-if (numInstance.constructor !== Number){ >- testFailed('#2: var numInstance=new Number; numInstance.constructor === Number. Actual: ' + (numInstance.constructor)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7-expected.txt >deleted file mode 100644 >index 5101c1c7365..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6.2_A7 >- >-PASS TypeError: Math is not a constructor (evaluating 'new Math') >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.html >deleted file mode 100644 >index 7a3cbb618f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6.2_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6.2_A7; >-* @section: 8.6.2, 15.8; >-* @assertion: Objects that implement internal method [[Construct]] are called constructors. Math object is NOT constructor; >-* @description: Checking if execution of "var objMath=new Math" passes; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var objMath=new Math; >- >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1-expected.txt >deleted file mode 100644 >index 198ec3228cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1.html >deleted file mode 100644 >index bca632cb0c4..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6_A2_T1; >-* @section: 8.6, 11.3.1; >-* @assertion: Do not crash with postincrement custom property; >-* @description: Try to implement postincrement for custom property; >-*/ >- >-var __map={foo:"bar"}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >- >-__map.foo++; >-if (!isNaN(__map.foo)) { >- testFailed('#1: var __map={foo:"bar"}; __map.foo++; __map.foo === Not-a-Number. Actual: ' + (__map.foo)); >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2-expected.txt >deleted file mode 100644 >index e0f9e203a19..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2.html >deleted file mode 100644 >index 0402ab00d0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6_A2_T2; >-* @section: 8.6, 11.3.1; >-* @assertion: Do not crash with postincrement custom property; >-* @description: Try to implement postincrement for not declared custom property; >-*/ >- >-var __map={}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!isNaN(__map.foo++)) { >- testFailed('#1: var __map={}; __map.foo === Not-a-Number. Actual: ' + (__map.foo)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!("foo" in __map)) { >- testFailed('#2: var __map={}; "foo" in __map'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1-expected.txt >deleted file mode 100644 >index fcf00a22bb9..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1.html >deleted file mode 100644 >index f145e7630b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6_A3_T1; >-* @section: 8.6, 11.4.4; >-* @assertion: Do not crash with pefixincrement custom property; >-* @description: Try to implement pefixincrement for custom property; >-*/ >- >-var __map={foo:'bar'}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >- >-++__map.foo; >-if (!isNaN(__map.foo)) { >- testFailed('#1: var __map={foo:"bar"}; ++__map.foo; __map.foo === Not-a-Number. Actual: ' + (__map.foo)); >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2-expected.txt >deleted file mode 100644 >index ef131db6f53..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2.html >deleted file mode 100644 >index d50d63f75a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.6_A3_T2; >-* @section: 8.6, 11.4.4; >-* @assertion: Do not crash with pefixincrement custom property; >-* @description: Try to implement pefixincrement for not declared custom property; >-*/ >- >-var __map={}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!isNaN(++__map.foo)) { >- testFailed('#1: var __map={}; __map.foo++; __map.foo === Not-a-Number. Actual: ' + (__map.foo)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!("foo" in __map)) { >- testFailed('#2: var __map={}; "foo" in __map'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1-expected.txt >deleted file mode 100644 >index 8398248e958..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.6_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1.html >deleted file mode 100644 >index 9b00cc4de2b..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.6_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S8.6_A4_T1; >- * @section: 8.6, 8.6.1, 15.2.2, 12.6.4; >- * @assertion: An Object is an unordered collection of properties; >- * @description: Simple using a few custom properties; >-*/ >- >-/////////////////////////////////////////////////////// >-// CHECK#1 >-obj = {bar:true, some:1, foo:"a"}; >- >-count=0; >- >-for (property in obj) count++; >- >-if (count !== 3){ >- testFailed('#1: obj = {bar:true, some:1, foo:"a"}; count=0; for (property in obj) count++; count === 3. Actual: ' + (count)); >-} >-// >-//////////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////////// >-// CHECK#2 >-obj_ = {bar:true}; >-obj_.some = 1; >-obj_.foo = "a"; >- >-count=0; >- >-for (property in obj_) count++; >- >-if (count !== 3){ >- testFailed('#2: obj_ = {bar:true}; obj_.some = 1; obj_.foo = "a"; count=0; for (property in obj_) count++; count === 3. Actual: ' + (count)); >-} >-// >-//////////////////////////////////////////////////////// >- >-/////////////////////////////////////////////////////// >-// CHECK#3 >-obj__ = new Object(); >-obj__.bar = true; >-obj__.some = 1; >-obj__.foo = "a"; >- >-count=0; >- >-for (property in obj__) count++; >- >-if (count !== 3){ >- testFailed('#3: obj__ = new Object(); obj__.bar = true; obj__.some = 1; obj__.foo = "a"; for (property in obj__) count++; count === 3. Actual: ' + (count)); >-} >-// >-//////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1-expected.txt >deleted file mode 100644 >index 0bac11f824c..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1.html >deleted file mode 100644 >index 458a8b6f2d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7.1_A1; >-* @section: 8.7.1, 11.4.1; >-* @assertion: Delete operator deletes pure property, so it returns true to be applyed to this.property; >-* @description: Try to delete this.y, where y is this.y=1; >-*/ >- >-this.y = 1; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if((delete this.y) !== true){ >- testFailed('#1: this.y = 1; (delete this.y) === true. Actual: ' + ((delete this.y))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (this.y !== undefined){ >- testFailed('#2: this.y = 1; (delete this.y) === true; this.y === undefined. Actual: ' + (this.y)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2-expected.txt >deleted file mode 100644 >index e9ae9109d2c..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7.1_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2.html >deleted file mode 100644 >index 8ac3c5accdd..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7.1_A2; >-* @section: 8.7.1; >-* @assertion: Delete operator can't delete reference, so it returns false to be applyed to reference; >-* @description: Try to delete y, where y is var y=1; >-*/ >- >-var y = 1; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(delete y){ >- testFailed('#1: y = 1; (delete y) === false. Actual: ' + ((delete y))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (y !== 1) { >- testFailed('#2: y = 1; delete y; y === 1. Actual: ' + (y)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1-expected.txt >deleted file mode 100644 >index 4c8adf8f5f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7.2_A1_T1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.html >deleted file mode 100644 >index a7320b8e295..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7.2_A1_T1; >-* @section: 8.7.2; >-* @assertion: GetValue(V) mast fail; >-* @description: Checking if execution of "'litera'=1;" fails; >-* @negative; >-*/ >- >-'litera'=1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2-expected.txt >deleted file mode 100644 >index 63112ce2ff0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7.2_A1_T2 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.html >deleted file mode 100644 >index d5b4ea7fe4a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7.2_A1_T2; >-* @section: 8.7.2; >-* @assertion: GetValue(V) mast fail; >-* @description: Checking if execution of "1=1" fails; >-* @negative; >-*/ >- >-1=1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2-expected.txt >deleted file mode 100644 >index 4ca14a59363..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7.2_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2.html >deleted file mode 100644 >index cf565122dbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7.2_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7.2_A2; >-* @section: 8.7.2; >-* @assertion: x++ calls GetValue then PutValue so after applying postfix increment(actually conrete operator type is unimportant) >-* we must have reference to defined value; >-* @description: Execute x++, where x is var x; >-*/ >- >-var x; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x !== undefined) { >- testFailed('#1: var x; x === undefined. Actual: ' + (x)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >-x++; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (x === undefined) { >- testFailed('#2: var x; x++; x !== undefined'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3-expected.txt >deleted file mode 100644 >index 9713038d8c4..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7.2_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3.html >deleted file mode 100644 >index 192beafe44e..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7.2_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7.2_A3; >-* @section: 8.7.2; >-* @assertion: this.x++ calls GetValue then PutValue so after applying postfix increment(actually conrete operator type is unimportan) >-* we must have reference to defined value; >-* @description: Execute this.x++, where this.x is undefined; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (this.x !== undefined) { >- testFailed('#1: this.x === undefined. Actual: ' + (this.x)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >-this.x++; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (x === undefined) { >- testFailed('#2: this.x; this.x++; x !== undefined'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1-expected.txt >deleted file mode 100644 >index 01702bfe0e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1.html >deleted file mode 100644 >index 0b27875cc2f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7_A1; >-* @section: 8.7; >-* @assertion: Multiple Variables should Referring to a Single Object; >-* @description: Create object and refers to the other object, modify a property in the original object. >-* We now see that that change is represented in both variables; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-// Set obj to an empty object >-// >-var obj = new Object(); >-// objRef now refers to the other object >-// >-var objRef = obj; >-// Modify a property in the original object >-objRef.oneProperty = -1; >-obj.oneProperty = true; >-// We now see that that change is represented in both variables >-// (Since they both refer to the same object) >-if(objRef.oneProperty !== true){ >- testFailed('#1: var obj = new Object(); var objRef = obj; objRef.oneProperty = -1; obj.oneProperty = true; objRef.oneProperty === true. Actual: ' + (objRef.oneProperty)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2-expected.txt >deleted file mode 100644 >index 1f121c6221d..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2.html >deleted file mode 100644 >index 0b11d974bcd..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7_A2; >-* @section: 8.7; >-* @assertion: Reference to Self-Modifying Object remain the integrity; >-* @description: Create a reference to the array, and change original array; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-// Create an array of items >-var items = new Array( "one", "two", "three" ); >-// Create a reference to the array of items >-var itemsRef = items; >-// Add an item to the original array >-items.push( "four" );var itemsRef = items; >-// The length of each array should be the same, >-// since they both point to the same array object >-if( itemsRef.length !== 4){ >- testFailed('#1: var items = new Array( "one", "two", "three" ); var itemsRef = items; items.push( "four" );var itemsRef = items; itemsRef.length !== 4'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-// Create an array of items >-var items = new Array( "one", "two", "three" ); >-// Create a reference to the array of items >-var itemsRef = items; >-// Add an item to the original array >-items[1]="duo"; >-// The length of each array should be the same, >-// since they both point to the same array object >-if( itemsRef[1] !== "duo"){ >- testFailed('#2: var items = new Array( "one", "two", "three" ); var itemsRef = items; items[1]="duo"; itemsRef[1] === "duo". Actual: ' + (itemsRef[1])); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3-expected.txt >deleted file mode 100644 >index 9c91572c56a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3.html >deleted file mode 100644 >index cee25eef2c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7_A3; >-* @section: 8.7; >-* @assertion: Changing the Reference of an Object While Maintaining Integrity; >-* @description: Create a reference to the array, and redefine original array with new array; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-// Set items to an array (object) of strings >-var items = new Array( "one", "two", "three" ); >-// Set itemsRef to a reference to items >-// >-var itemsRef = items; >-// Set items to equal a new object >-// >-items = new Array( "new", "array" ); >-// items and itemsRef now point to different objects. >-// items points to new Array( "new", "array" ) >-// itemsRef points to new Array( "one", "two", "three" ) >-if( items == itemsRef ){ >- testFailed('#1: var items = new Array( "one", "two", "three" ); var itemsRef = items; items = new Array( "new", "array" ); items != itemsRef'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4-expected.txt >deleted file mode 100644 >index 4995fdc383f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4.html >deleted file mode 100644 >index 35f816145ab..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7_A4; >-* @section: 8.7; >-* @assertion: Object Modification Resulting in a New Object for Not a Self-Modified Object leads to loss of integrity; >-* @description: Create a reference to the string, and Concatenate some new text onto the string object; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-// Set item equal to a new string object >-var item = new String("test"); >-// itemRef now refers to the same string object >-var itemRef = item; >-// Concatenate some new text onto the string object >-// NOTE: This creates a new object, and does not modify >-// the original object. >-item += "ing"; >-// The values of item and itemRef are NOT equal, as a whole >-// new string object has been created >-if( item == itemRef ){ >- testFailed('#1: var item = new String("test"); var itemRef = item; item += "ing"; item != itemRef'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1-expected.txt >deleted file mode 100644 >index 10732c6005f..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.html >deleted file mode 100644 >index b9fc13fc193..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7_A5_T1; >-* @section: 8.7; >-* @assertion: Delete unary operator can't delete object to be referenced; >-* @description: Delete referenced object, var __ref = obj; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof(__ref) !== "undefined"){ >- testFailed('#1: typeof(__ref) === "undefined". Actual: ' + (typeof(__ref))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-obj = new Object(); >-var __ref = obj; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof(__ref) === "undefined"){ >- testFailed('#2: obj = new Object(); var __ref = obj; typeof(__ref) !== "undefined"'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (delete __ref !== false){ >- testFailed('#3: obj = new Object(); var __ref = obj; delete __ref === false. Actual: ' + (delete __ref)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (typeof(__ref) !== "object"){ >- testFailed('#4: obj = new Object(); var __ref = obj; delete __ref; typeof(__ref) === "object". Actual: ' + (typeof(__ref))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (typeof(obj) !== "object"){ >- testFailed('#5: obj = new Object(); var __ref = obj; delete __ref; typeof(obj) === "object". Actual: ' + (typeof(obj))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2-expected.txt >deleted file mode 100644 >index ec6376c51d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.html >deleted file mode 100644 >index fa8198f11ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7_A5_T2; >-* @section: 8.7, 11.4.1; >-* @assertion: Delete unary operator can't delete object to be referenced; >-* @description: Delete referenced object, __ref = obj; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof(__ref) !== "undefined"){ >- testFailed('#1: typeof(__ref) === "undefined". Actual: ' + (typeof(__ref))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-obj = new Object(); >-__ref = obj; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof(__ref) === "undefined"){ >- testFailed('#2: obj = new Object(); __ref = obj; typeof(__ref) !== "undefined"'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (delete __ref !== true){ >- testFailed('#3: obj = new Object(); __ref = obj; delete __ref === true. Actual: ' + (delete __ref)); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (typeof(__ref) !== "undefined"){ >- testFailed('#4: obj = new Object(); __ref = obj; delete __ref; typeof(__ref) === "undefined". Actual: ' + (typeof(__ref))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (typeof(obj) !== "object"){ >- testFailed('#5: obj = new Object(); __ref = obj; delete __ref; typeof(obj) === "object". Actual: ' + (typeof(obj))); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6-expected.txt >deleted file mode 100644 >index 9bda1a47ccc..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6.html >deleted file mode 100644 >index 8af45a24ad6..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7_A6; >-* @section: 8.7; >-* @assertion: Passing arguments by value differs from by reference and do not change values to be passed; >-* @description: Adding original variable with referenced one inside function; >-*/ >- >-var n = 1; >-var m = n; >- >-function addFirst2Second(first, second){first += second;} >- >-addFirst2Second(n, m); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (m !== 1) { >- testFailed('#1: var n = 1; var m = n; function addFirst2Second(first, second){first += second;} addFirst2Second(n, m); m === 1. Actual: ' + (m)); >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7-expected.txt >deleted file mode 100644 >index 78045fda15a..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.7_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7.html b/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7.html >deleted file mode 100644 >index 8b86bb83c51..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.7_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.7_A7; >-* @section: 8.7; >-* @assertion: Passing arguments by reference do change values of reference to be passed; >-* @description: Add new property to original variable inside function; >-*/ >- >-var n = {}; >-var m = n; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof m !== "object") { >- testFailed('#1: var n = {}; var m = n; typeof m === "object". Actual: ' + (typeof m)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function populateAge(person){person.age = 50;} >- >-populateAge(m); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (n.age !== 50) { >- testFailed('#2: var n = {}; var m = n; function populateAge(person){person.age = 50;} populateAge(m); n.age === 50. Actual: ' + (n.age)); >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1-expected.txt >deleted file mode 100644 >index e46223b72bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.8_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1.html b/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1.html >deleted file mode 100644 >index 5af2db7ce41..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.8_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.8_A2_T1; >-* @section: 8.8; >-* @assertion: Values of the List type are simply ordered sequences of values; >-* @description: Call function __mFunc(1,2,3) with 3 arguments; >-*/ >- >-function __mFunc(){return arguments.length;}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__mFunc(1,2,3) !== 3){ >- testFailed('#1: function __mFunc(){return arguments.length;}; __mFunc(1,2,3) === 3. Actual: ' + (__mFunc(1,2,3))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2-expected.txt >deleted file mode 100644 >index 491370c8ce5..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.8_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2.html b/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2.html >deleted file mode 100644 >index 1b3d7dce6d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.8_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.8_A2_T2; >-* @section: 8.8; >-* @assertion: Values of the List type are simply ordered sequences of values; >-* @description: Call function __mFunc([,,]) with 1 arguments; >-*/ >- >-function __mFunc(){return arguments.length;}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__mFunc([,,]) !== 1){ >- testFailed('#1: function __mFunc(){return arguments.length;}; __mFunc([,,]) === 1. Actual: ' + (__mFunc([,,]))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3-expected.txt b/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3-expected.txt >deleted file mode 100644 >index 70fbf8fc2b7..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S8.8_A2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3.html b/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3.html >deleted file mode 100644 >index 547ddd679f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S8.8_A2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S8.8_A2_T3; >-* @section: 8.8; >-* @assertion: Values of the List type are simply ordered sequences of values; >-* @description: Call function, that concatenate all it`s arguments; >-*/ >- >-function __mFunc(){var __accum=""; for (var i = 0; i < arguments.length; ++i){__accum += arguments[i]};return __accum;}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__mFunc("A","B","C","D","E","F") !== "ABCDEF"){ >- testFailed('#1: function __mFunc(){var __accum=""; for (var i = 0; i < arguments.length; ++i){__accum += arguments[i]};return __accum;}; __mFunc("A","B","C","D","E","F") === "ABCDEF". Actual: ' + (__mFunc("A","B","C","D","E","F"))); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1-expected.txt >deleted file mode 100644 >index b87b062ee5a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.html >deleted file mode 100644 >index 0fd4ebdc97e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.1_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.1_A1_T1; >- * @section: 9.1; >- * @assertion: Result of primitive conversion from object is a default value for the Object; >- * @description: Using operator Number. The operator calls ToPrimitive with hint Number; >-*/ >- >-// CHECK#1 >-var object = {valueOf: function() {return "1"}, toString: function() {return 0}}; >-if (Number(object) !== 1) { >- testFailed('#1: var object = {valueOf: function() {return "1"}, toString: function() {return 0}}; Number(object) === 1. Actual: ' + (Number(object))); >-} >- >-// CHECK#2 >-var object = {valueOf: function() {return {}}, toString: function() {return "0"}}; >-if (Number(object) !== 0) { >- testFailed('#2: var object = {valueOf: function() {return {}}, toString: function() {return "0"}}; Number(object) === 0. Actual: ' + (Number(object))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2-expected.txt >deleted file mode 100644 >index 51a48417dfc..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.html >deleted file mode 100644 >index 89f32d75f9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.1_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.1_A1_T2; >- * @section: 9.1; >- * @assertion: Result of primitive conversion from object is a default value for the Object; >- * @description: Using operator Number. This operator calls ToPrimitive with hint Number; >-*/ >- >-// CHECK#1 >-var object = {valueOf: function() {return 0}, toString: function() {return 1}}; >-if (String(object) !== "1") { >- testFailed('#1: var object = {valueOf: function() {return 0}, toString: function() {return 1}}; String(object) === "1". Actual: ' + (String(object))); >-} >- >-// CHECK#2 >-var object = {valueOf: function() {return 0}, toString: function() {return {}}}; >-if (String(object) !== "0") { >- testFailed('#2: var object = {valueOf: function() {return 0}, toString: function() {return {}}}; String(object) === "0". Actual: ' + (String(object))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3-expected.txt >deleted file mode 100644 >index aed1fc2a962..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.1_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.html >deleted file mode 100644 >index ed74cd9f4a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.1_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.1_A1_T3; >- * @section: 9.1; >- * @assertion: Result of primitive conversion from object is a default value for the Object; >- * @description: Using operator "+". This operator firstly calls ToPrimitive and then calls ToString or ToNumber; >-*/ >- >-// CHECK#1 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if (object + "" !== "1") { >- testFailed('#1: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; object + "" === "1". Actual: ' + (object + "")); >-} >- >-// CHECK#2 >-var object = {valueOf: function() {return "1"}, toString: function() {return 0}}; >-if (object + 0 !== "10") { >- testFailed('#2: var object = {valueOf: function() {return "1"}, toString: function() {return 0}}; object + 0 === "10". Actual: ' + (object + 0)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4-expected.txt >deleted file mode 100644 >index 19a173b01b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.1_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.html >deleted file mode 100644 >index 45ae864f4cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.1_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.1_A1_T4; >- * @section: 9.1; >- * @assertion: Result of primitive conversion from object is a default value for the Object; >- * @description: Using operator "<". The operator firstly calls ToPrimitive and then calls ToString or ToNumber; >-*/ >- >-// CHECK#1 >-var object = {valueOf: function() {return -2}, toString: function() {return "-2"}}; >-if ("-1" < object) { >- testFailed('#1: var object = {valueOf: function() {return -2}, toString: function() {return "-2"}}; "-1" < object'); >-} >- >-// CHECK#2 >-var object = {valueOf: function() {return "-2"}, toString: function() {return -2}}; >-if (object < "-1") { >- testFailed('#2: var object = {valueOf: function() {return "-2"}, toString: function() {return -2}}; object < "-1"'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1-expected.txt >deleted file mode 100644 >index 3059bf15de8..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.html >deleted file mode 100644 >index 5a2d719a45e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A1_T1; >- * @section: 9.2, 15.6.1; >- * @assertion: Result of boolean conversion from undefined value is false; >- * @description: Undefined, void and others are converted to Boolean by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Boolean(undefined) !== false) { >- testFailed('#1: Boolean(undefined) === false. Actual: ' + (Boolean(undefined))); >-} >- >-// CHECK#2 >-if (Boolean(void 0) !== false) { >- testFailed('#2: Boolean(undefined) === false. Actual: ' + (Boolean(undefined))); >-} >- >-// CHECK#3 >-if (Boolean(eval("var x")) !== false) { >- testFailed('#3: Boolean(eval("var x")) === false. Actual: ' + (Boolean(eval("var x")))); >-} >- >-// CHECK#4 >-if (Boolean() !== false) { >- testFailed('#4: Boolean() === false. Actual: ' + (Boolean())); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2-expected.txt >deleted file mode 100644 >index 86628844654..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.html >deleted file mode 100644 >index 0ba8380293e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A1_T2; >- * @section: 9.2, 11.4.9; >- * @assertion: Result of boolean conversion from undefined value is false; >- * @description: Undefined, void and others are converted to Boolean by implicit transformation; >-*/ >- >-// CHECK#1 >-if (!(undefined) !== true) { >- testFailed('#1: !(undefined) === true. Actual: ' + (!(undefined))); >-} >- >-// CHECK#2 >-if (!(void 0) !== true) { >- testFailed('#2: !(undefined) === true. Actual: ' + (!(undefined))); >-} >- >-// CHECK#3 >-if (!(eval("var x")) !== true) { >- testFailed('#3: !(eval("var x")) === true. Actual: ' + (!(eval("var x")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1-expected.txt >deleted file mode 100644 >index 58040c55a56..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.html >deleted file mode 100644 >index cbc37dd9025..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A2_T1; >- * @section: 9.2, 15.6.1; >- * @assertion: Result of boolean conversion from null value is false; >- * @description: null convert to Boolean by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Boolean(null) !== false) { >- testFailed('#1: Boolean(null) === false. Actual: ' + (Boolean(null))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2-expected.txt >deleted file mode 100644 >index 7e40fa81ef5..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.html >deleted file mode 100644 >index 24093e2c641..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A2_T2; >- * @section: 9.2, 11.4.9; >- * @assertion: Result of boolean conversion from null value is false; >- * @description: null convert to Boolean by implicit transformation; >-*/ >- >-// CHECK#1 >-if (!(null) !== true) { >- testFailed('#1: !(null) === true. Actual: ' + (!(null))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1-expected.txt >deleted file mode 100644 >index 148d12981aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.html >deleted file mode 100644 >index 4c34c8a0c18..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A3_T1; >- * @section: 9.2, 15.6.1; >- * @assertion: Result of boolean conversion from boolean value is no conversion; >- * @description: true and false convert to Boolean by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Boolean(true) !== true) { >- testFailed('#1: Boolean(true) === true. Actual: ' + (Boolean(true))); >-} >- >-// CHECK#2 >-if (Boolean(false) !== false) { >- testFailed('#2: Boolean(false) === false. Actual: ' + (Boolean(false))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2-expected.txt >deleted file mode 100644 >index 9e44e46a23a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.html >deleted file mode 100644 >index cb4ac54cc30..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A3_T2; >- * @section: 9.2, 11.4.9; >- * @assertion: Result of boolean conversion from boolean value is no conversion; >- * @description: true and false convert to Boolean by implicit transformation; >-*/ >- >-// CHECK#1 >-if (!(true) !== false) { >- testFailed('#1: !(true) === false. Actual: ' + (!(true))); >-} >- >-// CHECK#2 >-if (!(false) !== true) { >- testFailed('#2: !(false) === true. Actual: ' + (!(false))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1-expected.txt >deleted file mode 100644 >index 276ddaa434b..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.html >deleted file mode 100644 >index 7565ff6c23c..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A4_T1; >- * @section: 9.2, 15.6.1; >- * @assertion: Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true; >- * @description: +0, -0 and NaN convert to Boolean by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Boolean(+0) !== false) { >- testFailed('#1: Boolean(+0) === false. Actual: ' + (Boolean(+0))); >-} >- >-// CHECK#2 >-if (Boolean(-0) !== false) { >- testFailed('#2: Boolean(-0) === false. Actual: ' + (Boolean(-0))); >-} >- >-// CHECK#3 >-if (Boolean(Number.NaN) !== false) { >- testFailed('#3: Boolean(Number.NaN) === false. Actual: ' + (Boolean(Number.NaN))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2-expected.txt >deleted file mode 100644 >index 8fe346727d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.html >deleted file mode 100644 >index 37ad6e76da4..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A4_T2; >- * @section: 9.2, 11.4.9; >- * @assertion: Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true; >- * @description: +0, -0 and NaN convert to Boolean by implicit transformation; >-*/ >- >-// CHECK#1 >-if (!(+0) !== true) { >- testFailed('#1: !(+0) === true. Actual: ' + (!(+0))); >-} >- >-// CHECK#2 >-if (!(-0) !== true) { >- testFailed('#2: !(-0) === true. Actual: ' + (!(-0))); >-} >- >-// CHECK#3 >-if (!(Number.NaN) !== true) { >- testFailed('#3: !(Number.NaN) === true. Actual: ' + (!(Number.NaN))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3-expected.txt >deleted file mode 100644 >index f24b2766b66..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.html >deleted file mode 100644 >index 5213f06db4d..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A4_T3; >- * @section: 9.2, 15.6.1; >- * @assertion: Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true; >- * @description: Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, >- * Number.MAX_VALUE, Number.MIN_VALUE and some numbers convert to Boolean by explicit transformation; >- */ >- >-// CHECK#1 >-if (Boolean(Number.POSITIVE_INFINITY) !== true) { >- testFailed('#1: Boolean(+Infinity) === true. Actual: ' + (Boolean(+Infinity))); >-} >- >-// CHECK#2; >-if (Boolean(Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#2: Boolean(-Infinity) === true. Actual: ' + (Boolean(-Infinity))); >-} >- >-// CHECK#3 >-if (Boolean(Number.MAX_VALUE) !== true) { >- testFailed('#3: Boolean(Number.MAX_VALUE) === true. Actual: ' + (Boolean(Number.MAX_VALUE))); >-} >- >-// CHECK#4 >-if (Boolean(Number.MIN_VALUE) !== true) { >- testFailed('#4: Boolean(Number.MIN_VALUE) === true. Actual: ' + (Boolean(Number.MIN_VALUE))); >-} >- >-// CHECK#5 >-if (Boolean(13) !== true) { >- testFailed('#5: Boolean(13) === true. Actual: ' + (Boolean(13))); >-} >- >-// CHECK#6 >-if (Boolean(-13) !== true) { >- testFailed('#6: Boolean(-13) === true. Actual: ' + (Boolean(-13))); >-} >- >-// CHECK#7 >-if (Boolean(1.3) !== true) { >- testFailed('#7: Boolean(1.3) === true. Actual: ' + (Boolean(1.3))); >-} >- >-// CHECK#8 >-if (Boolean(-1.3) !== true) { >- testFailed('#8: Boolean(-1.3) === true. Actual: ' + (Boolean(-1.3))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4-expected.txt >deleted file mode 100644 >index 996a8819949..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.html >deleted file mode 100644 >index aa0833fbf3d..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A4_T4; >- * @section: 9.2, 11.4.9; >- * @assertion: Result of boolean conversion from number value is false if the argument is +0, -0, or NaN; otherwise, is true; >- * @description: Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, >- * Number.MAX_VALUE, Number.MIN_VALUE and some other numbers are converted to Boolean by implicit transformation; >- */ >- >-// CHECK#1 >-if (!(Number.POSITIVE_INFINITY) !== false) { >- testFailed('#1: !(+Infinity) === false. Actual: ' + (!(+Infinity))); >-} >- >-// CHECK#2; >-if (!(Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#2: !(-Infinity) === false. Actual: ' + (!(-Infinity))); >-} >- >-// CHECK#3 >-if (!(Number.MAX_VALUE) !== false) { >- testFailed('#3: !(Number.MAX_VALUE) === false. Actual: ' + (!(Number.MAX_VALUE))); >-} >- >-// CHECK#4 >-if (!(Number.MIN_VALUE) !== false) { >- testFailed('#4: !(Number.MIN_VALUE) === false. Actual: ' + (!(Number.MIN_VALUE))); >-} >- >-// CHECK#5 >-if (!(13) !== false) { >- testFailed('#5: !(13) === false. Actual: ' + (!(13))); >-} >- >-// CHECK#6 >-if (!(-13) !== false) { >- testFailed('#6: !(-13) === false. Actual: ' + (!(-13))); >-} >- >-// CHECK#7 >-if (!(1.3) !== false) { >- testFailed('#7: !(1.3) === false. Actual: ' + (!(1.3))); >-} >- >-// CHECK#8 >-if (!(-1.3) !== false) { >- testFailed('#8: !(-1.3) === false. Actual: ' + (!(-1.3))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1-expected.txt >deleted file mode 100644 >index f7f8fd33212..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.html >deleted file mode 100644 >index d6462725677..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A5_T1; >- * @section: 9.2, 15.6.1; >- * @assertion: Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false; >- * @description: "" is converted to Boolean by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Boolean("") !== false) { >- testFailed('#1: Boolean("") === false. Actual: ' + (Boolean(""))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2-expected.txt >deleted file mode 100644 >index c4e0f4537f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.html >deleted file mode 100644 >index 5864cce0c44..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A5_T2; >- * @section: 9.2, 11.4.9; >- * @assertion: Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false; >- * @description: "" convert to Boolean by implicit transformation; >-*/ >- >-// CHECK#1 >-if (!("") !== true) { >- testFailed('#1: !("") === true. Actual: ' + (!(""))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3-expected.txt >deleted file mode 100644 >index fd98b1eeefc..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.html >deleted file mode 100644 >index 11a773310f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A5_T3; >- * @section: 9.2, 15.6.1; >- * @assertion: Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false; >- * @description: Any nonempty string convert to Boolean by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Boolean(" ") !== true) { >- testFailed('#1: Boolean(" ") === true. Actual: ' + (Boolean(" "))); >-} >- >-// CHECK#2 >-if (Boolean("Nonempty String") !== true) { >- testFailed('#2: Boolean("Nonempty String") === true. Actual: ' + (Boolean("Nonempty String"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4-expected.txt >deleted file mode 100644 >index 683a44f5d04..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.html >deleted file mode 100644 >index 6068604a121..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A5_T4; >- * @section: 9.2, 11.4.9; >- * @assertion: Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false; >- * @description: Any nonempty string convert to Boolean by implicit transformation; >-*/ >- >-// CHECK#1 >-if (!(" ") !== false) { >- testFailed('#1: !(" ") === false. Actual: ' + (!(" "))); >-} >- >-// CHECK#2 >-if (!("Nonempty String") !== false) { >- testFailed('#2: !("Nonempty String") === false. Actual: ' + (!("Nonempty String"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1-expected.txt >deleted file mode 100644 >index 942919e6703..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.html >deleted file mode 100644 >index 61e606ff72e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.html >+++ /dev/null >@@ -1,187 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A6_T1; >- * @section: 9.2, 15.6.1; >- * @assertion: Result of boolean conversion from object is true; >- * @description: Different objects convert to Boolean by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Boolean(new Object()) !== true) { >- testFailed('#1: Boolean(new Object()) === true. Actual: ' + (Boolean(new Object()))); >-} >- >-// CHECK#2 >-if (Boolean(new String("")) !== true) { >- testFailed('#2: Boolean(new String("")) === true. Actual: ' + (Boolean(new String("")))); >-} >- >-// CHECK#3 >-if (Boolean(new String()) !== true) { >- testFailed('#3: Boolean(new String()) === true. Actual: ' + (Boolean(new String()))); >-} >- >-// CHECK#4 >-if (Boolean(new Boolean(true)) !== true) { >- testFailed('#4: Boolean(new Boolean(true)) === true. Actual: ' + (Boolean(new Boolean(true)))); >-} >- >-// CHECK#5 >-if (Boolean(new Boolean(false)) !== true) { >- testFailed('#5: Boolean(new Boolean(false)) === true. Actual: ' + (Boolean(new Boolean(false)))); >-} >- >-// CHECK#6 >-if (Boolean(new Boolean()) !== true) { >- testFailed('#6: Boolean(new Boolean()) === true. Actual: ' + (Boolean(new Boolean()))); >-} >- >-// CHECK#7 >-if (Boolean(new Array()) !== true) { >- testFailed('#7: Boolean(new Array()) === true. Actual: ' + (Boolean(new Array()))); >-} >- >-// CHECK#8 >-if (Boolean(new Number()) !== true) { >- testFailed('#8: Boolean(new Number()) === true. Actual: ' + (Boolean(new Number()))); >-} >- >-// CHECK#9 >-if (Boolean(new Number(-0)) !== true) { >- testFailed('#9: Boolean(new Number(-0)) === true. Actual: ' + (Boolean(new Number(-0)))); >-} >- >-// CHECK#10 >-if (Boolean(new Number(0)) !== true) { >- testFailed('#10: Boolean(new Number(0)) === true. Actual: ' + (Boolean(new Number(0)))); >-} >- >-// CHECK#11 >-if (Boolean(new Number()) !== true) { >- testFailed('#11: Boolean(new Number()) === true. Actual: ' + (Boolean(new Number()))); >-} >- >-// CHECK#12 >-if (Boolean(new Number(Number.NaN)) !== true) { >- testFailed('#12: Boolean(new Number(Number.NaN)) === true. Actual: ' + (Boolean(new Number(Number.NaN)))); >-} >- >-// CHECK#13 >-if (Boolean(new Number(-1)) !== true) { >- testFailed('#13: Boolean(new Number(-1)) === true. Actual: ' + (Boolean(new Number(-1)))); >-} >- >-// CHECK#14 >-if (Boolean(new Number(1)) !== true) { >- testFailed('#14: Boolean(new Number(1)) === true. Actual: ' + (Boolean(new Number(1)))); >-} >- >-// CHECK#15 >-if (Boolean(new Number(Number.POSITIVE_INFINITY)) !== true) { >- testFailed('#15: Boolean(new Number(Number.POSITIVE_INFINITY)) === true. Actual: ' + (Boolean(new Number(Number.POSITIVE_INFINITY)))); >-} >- >-// CHECK#16 >-if (Boolean(new Number(Number.NEGATIVE_INFINITY)) !== true) { >- testFailed('#16: Boolean(new Number(Number.NEGATIVE_INFINITY)) === true. Actual: ' + (Boolean(new Number(Number.NEGATIVE_INFINITY)))); >-} >- >-// CHECK#17 >-if (Boolean(new Function()) !== true) { >- testFailed('#17: Boolean(new Function()) === true. Actual: ' + (Boolean(new Function()))); >-} >- >-// CHECK#18 >-if (Boolean(new Date()) !== true) { >- testFailed('#18: Boolean(new Date()) === true. Actual: ' + (Boolean(new Date()))); >-} >- >-// CHECK#19 >-if (Boolean(new Date(0)) !== true) { >- testFailed('#19: Boolean(new Date(0)) === true. Actual: ' + (Boolean(new Date(0)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2-expected.txt >deleted file mode 100644 >index 8bbb6070ae1..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.2_A6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.html >deleted file mode 100644 >index 7a39b479da4..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.html >+++ /dev/null >@@ -1,187 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.2_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.2_A6_T2; >- * @section: 9.2, 11.4.9; >- * @assertion: Result of boolean conversion from object is true; >- * @description: Different objects convert to Boolean by implicit transformation; >-*/ >- >-// CHECK#1 >-if (!(new Object()) !== false) { >- testFailed('#1: !(new Object()) === false. Actual: ' + (!(new Object()))); >-} >- >-// CHECK#2 >-if (!(new String("")) !== false) { >- testFailed('#2: !(new String("")) === false. Actual: ' + (!(new String("")))); >-} >- >-// CHECK#3 >-if (!(new String()) !== false) { >- testFailed('#3: !(new String()) === false. Actual: ' + (!(new String()))); >-} >- >-// CHECK#4 >-if (!(new Boolean(true)) !== false) { >- testFailed('#4: !(new Boolean(true)) === false. Actual: ' + (!(new Boolean(true)))); >-} >- >-// CHECK#5 >-if (!(new Boolean(false)) !== false) { >- testFailed('#5: !(new Boolean(false)) === false. Actual: ' + (!(new Boolean(false)))); >-} >- >-// CHECK#6 >-if (!(new Boolean()) !== false) { >- testFailed('#6: !(new Boolean()) === false. Actual: ' + (!(new Boolean()))); >-} >- >-// CHECK#7 >-if (!(new Array()) !== false) { >- testFailed('#7: !(new Array()) === false. Actual: ' + (!(new Array()))); >-} >- >-// CHECK#8 >-if (!(new Number()) !== false) { >- testFailed('#8: !(new Number()) === false. Actual: ' + (!(new Number()))); >-} >- >-// CHECK#9 >-if (!(new Number(-0)) !== false) { >- testFailed('#9: !(new Number(-0)) === false. Actual: ' + (!(new Number(-0)))); >-} >- >-// CHECK#10 >-if (!(new Number(0)) !== false) { >- testFailed('#10: !(new Number(0)) === false. Actual: ' + (!(new Number(0)))); >-} >- >-// CHECK#11 >-if (!(new Number()) !== false) { >- testFailed('#11: !(new Number()) === false. Actual: ' + (!(new Number()))); >-} >- >-// CHECK#12 >-if (!(new Number(Number.NaN)) !== false) { >- testFailed('#12: !(new Number(Number.NaN)) === false. Actual: ' + (!(new Number(Number.NaN)))); >-} >- >-// CHECK#13 >-if (!(new Number(-1)) !== false) { >- testFailed('#13: !(new Number(-1)) === false. Actual: ' + (!(new Number(-1)))); >-} >- >-// CHECK#14 >-if (!(new Number(1)) !== false) { >- testFailed('#14: !(new Number(1)) === false. Actual: ' + (!(new Number(1)))); >-} >- >-// CHECK#15 >-if (!(new Number(Number.POSITIVE_INFINITY)) !== false) { >- testFailed('#15: !(new Number(Number.POSITIVE_INFINITY)) === false. Actual: ' + (!(new Number(Number.POSITIVE_INFINITY)))); >-} >- >-// CHECK#16 >-if (!(new Number(Number.NEGATIVE_INFINITY)) !== false) { >- testFailed('#16: !(new Number(Number.NEGATIVE_INFINITY)) === false. Actual: ' + (!(new Number(Number.NEGATIVE_INFINITY)))); >-} >- >-// CHECK#17 >-if (!(new Function()) !== false) { >- testFailed('#17: !(new Function()) === false. Actual: ' + (!(new Function()))); >-} >- >-// CHECK#18 >-if (!(new Date()) !== false) { >- testFailed('#18: !(new Date()) === false. Actual: ' + (!(new Date()))); >-} >- >-// CHECK#19 >-if (!(new Date(0)) !== false) { >- testFailed('#19: !(new Date(0)) === false. Actual: ' + (!(new Date(0)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1-expected.txt >deleted file mode 100644 >index 8dde42ea495..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.html >deleted file mode 100644 >index 1a61e185295..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A1; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StringNumericLiteral ::: [empty] is 0; >- * @description: Number('') convert to Number by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Number("") !== 0) { >- testFailed('#1.1: Number("") === 0. Actual: ' + (Number(""))); >-} else { >- if (1/Number("") !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: Number("") == +0. Actual: -0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10-expected.txt >deleted file mode 100644 >index c9de5587a53..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.html >deleted file mode 100644 >index 16a2755f129..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A10; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrUnsignedDecimalLiteral:::. DecimalDigits is the >- * MV of DecimalDigits times 10<sup><small>-n</small></sup>, where n is the >- * number of characters in DecimalDigits; >- * @description: Compare Number('.12345') with +('12345')*1e-5; >-*/ >- >-// CHECK#1 >-if (Number(".12345") !== +("12345")*1e-5) { >- testFailed('#1: Number(".12345") === +("12345")*1e-5'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11-expected.txt >deleted file mode 100644 >index 2b73059a41e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.html >deleted file mode 100644 >index 3dd523387a6..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A11; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrUnsignedDecimalLiteral:::. DecimalDigits ExponentPart >- * is the MV of DecimalDigits times 10<sup><small>e-n</small></sup>, where n is >- * the number of characters in DecimalDigits and e is the MV of ExponentPart; >- * @description: Compare Number('.12345e6') with +('12345')*1e1, >- * and Number('.12345e-3') !== Number('12345')*1e-8; >-*/ >- >-// CHECK#1 >-if (Number(".12345e6") !== +("12345")*1e1) { >- testFailed('#1: Number(".12345e6") === +("12345")*1e1'); >-} >- >-// CHECK#2 >-if (Number(".12345e-3") !== Number("12345")*1e-8) { >- testFailed('#2: Number(".12345e-3") === Number("12345")*1e-8'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12-expected.txt >deleted file mode 100644 >index 91f834c44ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A12 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.html >deleted file mode 100644 >index 9b8e49f1b57..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A12; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrUnsignedDecimalLiteral::: DecimalDigits ExponentPart >- * is the MV of DecimalDigits times 10<sup><small>e</small></sup>, where e is the MV of ExponentPart; >- * @description: Compare Number('12345e6') with +('12345')*1e1, >- * and Number('12345e-6') !== Number('12345')*1e-6; >-*/ >- >-// CHECK#1 >-if (Number("12345e6") !== +("12345")*1e6) { >- testFailed('#1: Number("12345e6") === +("12345")*1e6'); >-} >- >-// CHECK#2 >-if (Number("12345e-6") !== Number("12345")*1e-6) { >- testFailed('#2: Number("12345e-6") === Number("12345")*1e-6'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13-expected.txt >deleted file mode 100644 >index 1611d693c86..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A13 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.html >deleted file mode 100644 >index 76a3d7e008f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A13; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigits ::: DecimalDigits DecimalDigit is >- * (the MV of DecimalDigits times 10) plus the MV of DecimalDigit; >- * @description: Compare '12' with Number("1")*10+Number("2") and analogous; >-*/ >- >-// CHECK#1 >-if (+("12") !== Number("1")*10+Number("2")) { >- testFailed('#1: +("12") === Number("1")*10+Number("2")'); >-} >- >-// CHECK#2 >-if (Number("123") !== Number("12")*10+Number("3")) { >- testFailed('#2: Number("123") === Number("12")*10+Number("3")'); >-} >- >-// CHECK#2 >-if (Number("1234") !== Number("123")*10+Number("4")) { >- testFailed('#2: Number("1234") === Number("123")*10+Number("4")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14-expected.txt >deleted file mode 100644 >index d4b09368ead..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A14 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.html >deleted file mode 100644 >index c2b1a121a4f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A14; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of SignedInteger ::: + DecimalDigits is the MV of DecimalDigits; >- * @description: Compare Number('+1234567890') with +('1234567890'); >-*/ >- >-// CHECK#1 >-if (Number("+1234567890") !== +("1234567890")) { >- testFailed('#1: Number("+1234567890") === +("1234567890")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15-expected.txt >deleted file mode 100644 >index d0ef4fafd5d..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A15 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.html >deleted file mode 100644 >index 182c2b1429c..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A15; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of SignedInteger ::: - DecimalDigits is the negative of the MV of DecimalDigits; >- * @description: Compare -Number('1234567890') with ('-1234567890'); >-*/ >- >-// CHECK#1 >-if (+("-1234567890") !== -Number("1234567890")) { >- testFailed('#1: +("-1234567890") === -Number("1234567890")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16-expected.txt >deleted file mode 100644 >index aca463f8484..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A16 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.html >deleted file mode 100644 >index 5d330081875..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A16</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A16; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 0 or of HexDigit ::: 0 is 0; >- * @description: Compare Number('0x0') and Number('0X0') with 0; >-*/ >- >-// CHECK#1 >-if (Number("0") !== 0) { >- testFailed('#1: Number("0") === 0. Actual: ' + (Number("0"))); >-} >- >-// CHECK#2 >-if (+("0x0") !== 0) { >- testFailed('#2: +("0x0") === 0. Actual: ' + (+("0x0"))); >-} >- >-// CHECK#3 >-if (Number("0X0") !== 0) { >- testFailed('#3: Number("0X0") === 0. Actual: ' + (Number("0X0"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17-expected.txt >deleted file mode 100644 >index f04455a0902..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A17 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.html >deleted file mode 100644 >index bdd0c805a24..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A17</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A17; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 1 or of HexDigit ::: 1 is 1; >- * @description: Compare Number('0x1') and Number('0X1') with 1; >-*/ >- >-// CHECK#1 >-if (Number("1") !== 1) { >- testFailed('#1: Number("1") === 1. Actual: ' + (Number("1"))); >-} >- >-// CHECK#2 >-if (Number("0x1") !== 1) { >- testFailed('#2: Number("0x1") === 1. Actual: ' + (Number("0x1"))); >-} >- >-// CHECK#3 >-if (+("0X1") !== 1) { >- testFailed('#3: +("0X1") === 1. Actual: ' + (+("0X1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18-expected.txt >deleted file mode 100644 >index f464544d2a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A18 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.html >deleted file mode 100644 >index 316eac47355..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A18</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A18; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 2 or of HexDigit ::: 2 is 2; >- * @description: Compare Number('0x2') and Number('0X2') with 2; >-*/ >- >-// CHECK#1 >-if (+("2") !== 2) { >- testFailed('#1: +("2") === 2. Actual: ' + (+("2"))); >-} >- >-// CHECK#2 >-if (Number("0x2") !== 2) { >- testFailed('#2: Number("0x2") === 2. Actual: ' + (Number("0x2"))); >-} >- >-// CHECK#3 >-if (Number("0X2") !== 2) { >- testFailed('#3: Number("0X2") === 2. Actual: ' + (Number("0X2"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19-expected.txt >deleted file mode 100644 >index 4360ff94aeb..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A19 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.html >deleted file mode 100644 >index 36a5cd2b562..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A19</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A19; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 3 or of HexDigit ::: 3 is 3; >- * @description: Compare Number('0x3') and Number('0X3') with 3; >-*/ >- >-// CHECK#1 >-if (Number("3") !== 3) { >- testFailed('#1: Number("3") === 3. Actual: ' + (Number("3"))); >-} >- >-// CHECK#2 >-if (+("0x3") !== 3) { >- testFailed('#2: +("0x3") === 3. Actual: ' + (+("0x3"))); >-} >- >-// CHECK#3 >-if (Number("0X3") !== 3) { >- testFailed('#3: Number("0X3") === 3. Actual: ' + (Number("0X3"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt >deleted file mode 100644 >index e35015252f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A2 >- >-FAIL SputnikError: #1.1: Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") === 0. Actual: NaN >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.html >deleted file mode 100644 >index 5aad5022364..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.html >+++ /dev/null >@@ -1,371 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A2; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StringNumericLiteral ::: StrWhiteSpace is 0; >- * @description: Strings with various WhiteSpaces convert to Number by explicit transformation; >- */ >- >-// CHECK#1 >-if (Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") !== 0) { >- testFailed('#1.1: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === 0. Actual: ' + (Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000"))); >-} else { >- if (1/Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === +0. Actual: -0'); >- } >-} >- >-// CHECK#2 >-if (Number(" ") !== 0) { >- testFailed('#2.1: Number(" ") === 0. Actual: ' + (Number(" "))); >-} else { >- if (1/Number(" ") !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: Number(" ") === +0. Actual: -0'); >- } >-} >- >-// CHECK#3 >-if (Number("\t") !== 0) { >- testFailed('#3.1: Number("\\t") === 0. Actual: ' + (Number("\t"))); >-} else { >- if (1/Number("\t") !== Number.POSITIVE_INFINITY) { >- testFailed('#3.2: Number("\\t") === +0. Actual: -0'); >- } >-} >- >-// CHECK#4 >-if (Number("\r") !== 0) { >- testFailed('#4.1: Number("\\r") === 0. Actual: ' + (Number("\r"))); >-} else { >- if (1/Number("\r") !== Number.POSITIVE_INFINITY) { >- testFailed('#4.2: Number("\\r") === +0. Actual: -0'); >- } >-} >- >-// CHECK#5 >-if (Number("\n") !== 0) { >- testFailed('#5.1: Number("\\n") === 0. Actual: ' + (Number("\n"))); >-} else { >- if (1/Number("\n") !== Number.POSITIVE_INFINITY) { >- testFailed('#5.2: Number("\\n") === +0. Actual: -0'); >- } >-} >- >-// CHECK#6 >-if (Number("\f") !== 0) { >- testFailed('#6.1: Number("\\f") === 0. Actual: ' + (Number("\f"))); >-} else { >- if (1/Number("\f") !== Number.POSITIVE_INFINITY) { >- testFailed('#6.2: Number("\\f") === +0. Actual: -0'); >- } >-} >- >-// CHECK#7 >-if (Number("\u0009") !== 0) { >- testFailed('#7.1: Number("\\u0009") === 0. Actual: ' + (Number("\u0009"))); >-} else { >- if (1/Number("\u0009") !== Number.POSITIVE_INFINITY) { >- testFailed('#7.2: Number("\\u0009") === +0. Actual: -0'); >- } >-} >- >-// CHECK#8 >-if (Number("\u000A") !== 0) { >- testFailed('#8.1: Number("\\u000A") === 0. Actual: ' + (Number("\u000A"))); >-} else { >- if (1/Number("\u000A") !== Number.POSITIVE_INFINITY) { >- testFailed('#8.2: Number("\\u000A") === +0. Actual: -0'); >- } >-} >- >-// CHECK#9 >-if (Number("\u000B") !== 0) { >- testFailed('#9.1: Number("\\u000B") === 0. Actual: ' + (Number("\u000B"))); >-} else { >- if (1/Number("\u000B") !== Number.POSITIVE_INFINITY) { >- testFailed('#9.1.2: Number("\\u000B") === +0. Actual: -0'); >- } >-} >- >-// CHECK#10 >-if (Number("\u000C") !== 0) { >- testFailed('#10.1: Number("\\u000C") === 0. Actual: ' + (Number("\u000C"))); >-} else { >- if (1/Number("\u000C") !== Number.POSITIVE_INFINITY) { >- testFailed('#10.2: Number("\\u000C") === +0. Actual: -0'); >- } >-} >- >-// CHECK#11 >-if (Number("\u000D") !== 0) { >- testFailed('#11.1: Number("\\u000D") === 0. Actual: ' + (Number("\u000D"))); >-} else { >- if (1/Number("\u000D") !== Number.POSITIVE_INFINITY) { >- testFailed('#11.2: Number("\\u000D") === +0. Actual: -0'); >- } >-} >- >-// CHECK#12 >-if (Number("\u00A0") !== 0) { >- testFailed('#12.1: Number("\\u00A0") === 0. Actual: ' + (Number("\u00A0"))); >-} else { >- if (1/Number("\u00A0") !== Number.POSITIVE_INFINITY) { >- testFailed('#12.2: Number("\\u00A0") === +0. Actual: -0'); >- } >-} >- >-// CHECK#13 >-if (Number("\u0020") !== 0) { >- testFailed('#13.1: Number("\\u0020") === 0. Actual: ' + (Number("\u0020"))); >-} else { >- if (1/Number("\u0020") !== Number.POSITIVE_INFINITY) { >- testFailed('#13.2: Number("\\u0020") === +0. Actual: -0'); >- } >-} >- >-// CHECK#14 >-if (Number("\u2028") !== 0) { >- testFailed('#14.1: Number("\\u2028") === 0. Actual: ' + (Number("\u2028"))); >-} else { >- if (1/Number("\u2028") !== Number.POSITIVE_INFINITY) { >- testFailed('#14.2: Number("\\u2028") === +0. Actual: -0'); >- } >-} >- >-// CHECK#15 >-if (Number("\u2029") !== 0) { >- testFailed('#15.1: Number("\\u2029") === 0. Actual: ' + (Number("\u2029"))); >-} else { >- if (1/Number("\u2029") !== Number.POSITIVE_INFINITY) { >- testFailed('#15.2: Number("\\u2029") === +0. Actual: -0'); >- } >-} >- >-// CHECK#16 >-if (Number("\u1680") !== 0) { >- testFailed('#16.1: Number("\\u1680") === 0. Actual: ' + (Number("\u1680"))); >-} else { >- if (1/Number("\u1680") !== Number.POSITIVE_INFINITY) { >- testFailed('#16.2: Number("\\u1680") === +0. Actual: -0'); >- } >-} >- >-// CHECK#17 >-if (Number("\u180E") !== 0) { >- testFailed('#17.1: Number("\\u180E") === 0. Actual: ' + (Number("\u180E"))); >-} else { >- if (1/Number("\u180E") !== Number.POSITIVE_INFINITY) { >- testFailed('#17.2: Number("\\u180E") === +0. Actual: -0'); >- } >-} >- >-// CHECK#18 >-if (Number("\u2000") !== 0) { >- testFailed('#18.1: Number("\\u2000") === 0. Actual: ' + (Number("\u2000"))); >-} else { >- if (1/Number("\u2000") !== Number.POSITIVE_INFINITY) { >- testFailed('#18.2: Number("\\u2000") === +0. Actual: -0'); >- } >-} >- >-// CHECK#19 >-if (Number("\u2001") !== 0) { >- testFailed('#19.1: Number("\\u2001") === 0. Actual: ' + (Number("\u2001"))); >-} else { >- if (1/Number("\u2001") !== Number.POSITIVE_INFINITY) { >- testFailed('#19.2: Number("\\u2001") === +0. Actual: -0'); >- } >-} >- >-// CHECK#20 >-if (Number("\u2002") !== 0) { >- testFailed('#20.1: Number("\\u2002") === 0. Actual: ' + (Number("\u2002"))); >-} else { >- if (1/Number("\u2002") !== Number.POSITIVE_INFINITY) { >- testFailed('#20.2: Number("\\u2002") === +0. Actual: -0'); >- } >-} >- >-// CHECK#21 >-if (Number("\u2003") !== 0) { >- testFailed('#21.1: Number("\\u2003") === 0. Actual: ' + (Number("\u2003"))); >-} else { >- if (1/Number("\u2003") !== Number.POSITIVE_INFINITY) { >- testFailed('#21.2: Number("\\u2003") === +0. Actual: -0'); >- } >-} >- >-// CHECK#22 >-if (Number("\u2004") !== 0) { >- testFailed('#22.1: Number("\\u2004") === 0. Actual: ' + (Number("\u2004"))); >-} else { >- if (1/Number("\u2004") !== Number.POSITIVE_INFINITY) { >- testFailed('#22.2: Number("\\u2004") === +0. Actual: -0'); >- } >-} >- >-// CHECK#23 >-if (Number("\u2005") !== 0) { >- testFailed('#23.1: Number("\\u2005") === 0. Actual: ' + (Number("\u2005"))); >-} else { >- if (1/Number("\u2005") !== Number.POSITIVE_INFINITY) { >- testFailed('#23.2: Number("\\u2005") === +0. Actual: -0'); >- } >-} >- >-// CHECK#24 >-if (Number("\u2006") !== 0) { >- testFailed('#24.1: Number("\\u2006") === 0. Actual: ' + (Number("\u2006"))); >-} else { >- if (1/Number("\u2006") !== Number.POSITIVE_INFINITY) { >- testFailed('#24.2: Number("\\u2006") === +0. Actual: -0'); >- } >-} >- >-// CHECK#25 >-if (Number("\u2007") !== 0) { >- testFailed('#25.1: Number("\\u2007") === 0. Actual: ' + (Number("\u2007"))); >-} else { >- if (1/Number("\u2007") !== Number.POSITIVE_INFINITY) { >- testFailed('#25.2: Number("\\u2007") === +0. Actual: -0'); >- } >-} >- >-// CHECK#26 >-if (Number("\u2008") !== 0) { >- testFailed('#26.1: Number("\\u2008") === 0. Actual: ' + (Number("\u2008"))); >-} else { >- if (1/Number("\u2008") !== Number.POSITIVE_INFINITY) { >- testFailed('#26.2: Number("\\u2008") === +0. Actual: -0'); >- } >-} >- >-// CHECK#27 >-if (Number("\u2009") !== 0) { >- testFailed('#27.1: Number("\\u2009") === 0. Actual: ' + (Number("\u2009"))); >-} else { >- if (1/Number("\u2009") !== Number.POSITIVE_INFINITY) { >- testFailed('#27.2: Number("\\u2009") === +0. Actual: -0'); >- } >-} >- >-// CHECK#28 >-if (Number("\u200A") !== 0) { >- testFailed('#28.1: Number("\\u200A") === 0. Actual: ' + (Number("\u200A"))); >-} else { >- if (1/Number("\u200A") !== Number.POSITIVE_INFINITY) { >- testFailed('#28.2: Number("\\u200A") === +0. Actual: -0'); >- } >-} >- >-// CHECK#29 >-if (Number("\u202F") !== 0) { >- testFailed('#29.1: Number("\\u202F") === 0. Actual: ' + (Number("\u202F"))); >-} else { >- if (1/Number("\u202F") !== Number.POSITIVE_INFINITY) { >- testFailed('#29.2: Number("\\u202F") === +0. Actual: -0'); >- } >-} >- >-// CHECK#30 >-if (Number("\u205F") !== 0) { >- testFailed('#30.1: Number("\\u205F") === 0. Actual: ' + (Number("\u205F"))); >-} else { >- if (1/Number("\u205F") !== Number.POSITIVE_INFINITY) { >- testFailed('#30.2: Number("\\u205F") === +0. Actual: -0'); >- } >-} >- >-// CHECK#31 >-if (Number("\u3000") !== 0) { >- testFailed('#31.1: Number("\\u3000") === 0. Actual: ' + (Number("\u3000"))); >-} else { >- if (1/Number("\u3000") !== Number.POSITIVE_INFINITY) { >- testFailed('#31.2: Number("\\u3000") === +0. Actual: -0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20-expected.txt >deleted file mode 100644 >index c451d0c8122..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A20 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.html >deleted file mode 100644 >index 52baad99d5f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A20</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A20; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 4 or of HexDigit ::: 4 is 4; >- * @description: Compare Number('0x4') and Number('0X4') with 4; >-*/ >- >-// CHECK#1 >-if (Number("4") !== 4) { >- testFailed('#1: Number("4") === 4. Actual: ' + (Number("4"))); >-} >- >-// CHECK#2 >-if (Number("0x4") !== 4) { >- testFailed('#2: Number("0x4") === 4. Actual: ' + (Number("0x4"))); >-} >- >-// CHECK#3 >-if (+("0X4") !== 4) { >- testFailed('#3: +("0X4") === 4. Actual: ' + (+("0X4"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21-expected.txt >deleted file mode 100644 >index b8f296dd470..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A21 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.html >deleted file mode 100644 >index 6a07167cccc..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A21</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A21; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 5 or of HexDigit ::: 5 is 5; >- * @description: Compare Number('0x5') and Number('0X5') with 5; >-*/ >- >-// CHECK#1 >-if (+("5") !== 5) { >- testFailed('#1: +("5") === 5. Actual: ' + (+("5"))); >-} >- >-// CHECK#2 >-if (Number("0x5") !== 5) { >- testFailed('#2: Number("0x5") === 5. Actual: ' + (Number("0x5"))); >-} >- >-// CHECK#3 >-if (Number("0X5") !== 5) { >- testFailed('#3: Number("0X5") === 5. Actual: ' + (Number("0X5"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22-expected.txt >deleted file mode 100644 >index 21951d296ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A22 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.html >deleted file mode 100644 >index 4483702279a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A22</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A22; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 6 or of HexDigit ::: 6 is 6; >- * @description: Compare Number('0x6') and Number('0X6') with 6; >-*/ >- >-// CHECK#1 >-if (Number("6") !== 6) { >- testFailed('#1: Number("6") === 6. Actual: ' + (Number("6"))); >-} >- >-// CHECK#2 >-if (+("0x6") !== 6) { >- testFailed('#2: +("0x6") === 6. Actual: ' + (+("0x6"))); >-} >- >-// CHECK#3 >-if (Number("0X6") !== 6) { >- testFailed('#3: Number("0X6") === 6. Actual: ' + (Number("0X6"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23-expected.txt >deleted file mode 100644 >index 938dff0e2ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A23 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.html >deleted file mode 100644 >index 941918a5d81..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A23</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A23; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 7 or of HexDigit ::: 7 is 7; >- * @description: Compare Number('0x7') and Number('0X7') with 7; >-*/ >- >-// CHECK#1 >-if (Number("7") !== 7) { >- testFailed('#1: Number("7") === 7. Actual: ' + (Number("7"))); >-} >- >-// CHECK#2 >-if (Number("0x7") !== 7) { >- testFailed('#2: Number("0x7") === 7. Actual: ' + (Number("0x7"))); >-} >- >-// CHECK#3 >-if (+("0X7") !== 7) { >- testFailed('#3: +("0X7") === 7. Actual: ' + (+("0X7"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24-expected.txt >deleted file mode 100644 >index 9b9e432bda7..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A24 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.html >deleted file mode 100644 >index c1b66b9e4ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A24</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A24; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 8 or of HexDigit ::: 8 is 8; >- * @description: Compare Number('0x8') and Number('0X8') with 8; >-*/ >- >-// CHECK#1 >-if (+("8") !== 8) { >- testFailed('#1: +("8") === 8. Actual: ' + (+("8"))); >-} >- >-// CHECK#2 >-if (Number("0x8") !== 8) { >- testFailed('#2: Number("0x8") === 8. Actual: ' + (Number("0x8"))); >-} >- >-// CHECK#3 >-if (Number("0X8") !== 8) { >- testFailed('#3: Number("0X8") === 8. Actual: ' + (Number("0X8"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25-expected.txt >deleted file mode 100644 >index ad405ed2656..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A25 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.html >deleted file mode 100644 >index 0913f7cbd95..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A25</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A25; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of DecimalDigit ::: 9 or of HexDigit ::: 9 is 9; >- * @description: Compare Number('0x9') and Number('0X9') with 9; >-*/ >- >-// CHECK#1 >-if (Number("9") !== 9) { >- testFailed('#1: Number("9") === 9. Actual: ' + (Number("9"))); >-} >- >-// CHECK#2 >-if (+("0x9") !== 9) { >- testFailed('#2: +("0x9") === 9. Actual: ' + (+("0x9"))); >-} >- >-// CHECK#3 >-if (Number("0X9") !== 9) { >- testFailed('#3: Number("0X9") === 9. Actual: ' + (Number("0X9"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26-expected.txt >deleted file mode 100644 >index 8fcf53794c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A26 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.html >deleted file mode 100644 >index 11db84840d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A26</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A26; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of HexDigit ::: a or of HexDigit ::: A is 10; >- * @description: Compare Number('0xA'), Number('0XA'), Number('0xa') and Number('0Xa') with 10; >-*/ >- >-// CHECK#1 >-if (Number("0xa") !== 10) { >- testFailed('#1: Number("0xa") === 10. Actual: ' + (Number("0xa"))); >-} >- >-// CHECK#2 >-if (Number("0xA") !== 10) { >- testFailed('#2: Number("0xA") === 10. Actual: ' + (Number("0xA"))); >-} >- >-// CHECK#3 >-if (Number("0Xa") !== 10) { >- testFailed('#3: Number("0Xa") === 10. Actual: ' + (Number("0Xa"))); >-} >- >-// CHECK#4 >-if (+("0XA") !== 10) { >- testFailed('#4: +("0XA") === 10. Actual: ' + (+("0XA"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27-expected.txt >deleted file mode 100644 >index db67ef5dc4c..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A27 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.html >deleted file mode 100644 >index 7f72a0e9fbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A27</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A27; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of HexDigit ::: b or of HexDigit ::: B is 11; >- * @description: Compare Number('0xB'), Number('0XB'), Number('0xb') and Number('0Xb') with 11; >-*/ >- >-// CHECK#1 >-if (Number("0xb") !== 11) { >- testFailed('#1: Number("0xb") === 11. Actual: ' + (Number("0xb"))); >-} >- >-// CHECK#2 >-if (Number("0xB") !== 11) { >- testFailed('#2: Number("0xB") === 11. Actual: ' + (Number("0xB"))); >-} >- >-// CHECK#3 >-if (+("0Xb") !== 11) { >- testFailed('#3: +("0Xb") === 11. Actual: ' + (+("0Xb"))); >-} >- >-// CHECK#4 >-if (Number("0XB") !== 11) { >- testFailed('#4: Number("0XB") === 11. Actual: ' + (Number("0XB"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28-expected.txt >deleted file mode 100644 >index 0063d5c0f4c..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A28 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.html >deleted file mode 100644 >index 085fc7f2a9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A28</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A28; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of HexDigit ::: c or of HexDigit ::: C is 12; >- * @description: Compare Number('0xC'), Number('0XC'), Number('0xc') and Number('0Xc') with 12; >-*/ >- >-// CHECK#1 >-if (Number("0xc") !== 12) { >- testFailed('#1: Number("0xc") === 12. Actual: ' + (Number("0xc"))); >-} >- >-// CHECK#2 >-if (+("0xC") !== 12) { >- testFailed('#2: +("0xC") === 12. Actual: ' + (+("0xC"))); >-} >- >-// CHECK#3 >-if (Number("0Xc") !== 12) { >- testFailed('#3: Number("0Xc") === 12. Actual: ' + (Number("0Xc"))); >-} >- >-// CHECK#4 >-if (Number("0XC") !== 12) { >- testFailed('#4: Number("0XC") === 12. Actual: ' + (Number("0XC"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29-expected.txt >deleted file mode 100644 >index ffaca4e7b7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A29 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.html >deleted file mode 100644 >index eeb3351e1c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A29</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A29; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of HexDigit ::: d or of HexDigit ::: D is 13; >- * @description: Compare Number('0xD'), Number('0XD'), Number('0xd') and Number('0Xd') with 13; >-*/ >- >-// CHECK#1 >-if (+("0xd") !== 13) { >- testFailed('#1: +("0xd") === 13. Actual: ' + (+("0xd"))); >-} >- >-// CHECK#2 >-if (Number("0xD") !== 13) { >- testFailed('#2: Number("0xD") === 13. Actual: ' + (Number("0xD"))); >-} >- >-// CHECK#3 >-if (Number("0Xd") !== 13) { >- testFailed('#3: Number("0Xd") === 13. Actual: ' + (Number("0Xd"))); >-} >- >-// CHECK#4 >-if (Number("0XD") !== 13) { >- testFailed('#4: Number("0XD") === 13. Actual: ' + (Number("0XD"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30-expected.txt >deleted file mode 100644 >index dd6433d332a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A30 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.html >deleted file mode 100644 >index 8af0f9aafd5..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A30</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A30; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of HexDigit ::: e or of HexDigit ::: E is 14; >- * @description: Compare Number('0xE'), Number('0XE'), Number('0xe') and Number('0Xe') with 14; >-*/ >- >-// CHECK#1 >-if (Number("0xe") !== 14) { >- testFailed('#1: Number("0xe") === 14. Actual: ' + (Number("0xe"))); >-} >- >-// CHECK#2 >-if (Number("0xE") !== 14) { >- testFailed('#2: Number("0xE") === 14. Actual: ' + (Number("0xE"))); >-} >- >-// CHECK#3 >-if (Number("0Xe") !== 14) { >- testFailed('#3: Number("0Xe") === 14. Actual: ' + (Number("0Xe"))); >-} >- >-// CHECK#4 >-if (+("0XE") !== 14) { >- testFailed('#4: +("0XE") === 14. Actual: ' + (+("0XE"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31-expected.txt >deleted file mode 100644 >index 64cb0b347c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A31 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.html >deleted file mode 100644 >index 726b43acf78..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A31</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A31; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of HexDigit ::: f or of HexDigit ::: F is 15; >- * @description: Compare Number('0xF'), Number('0XF'), Number('0xf') and Number('0Xf') with 15; >-*/ >- >-// CHECK#1 >-if (Number("0xf") !== 15) { >- testFailed('#1: Number("0xf") === 15. Actual: ' + (Number("0xf"))); >-} >- >-// CHECK#2 >-if (Number("0xF") !== 15) { >- testFailed('#2: Number("0xF") === 15. Actual: ' + (Number("0xF"))); >-} >- >-// CHECK#3 >-if (+("0Xf") !== 15) { >- testFailed('#3: +("0Xf") === 15. Actual: ' + (+("0Xf"))); >-} >- >-// CHECK#4 >-if (Number("0XF") !== 15) { >- testFailed('#4: Number("0XF") === 15. Actual: ' + (Number("0XF"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32-expected.txt >deleted file mode 100644 >index c913136b754..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A32 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.html >deleted file mode 100644 >index 10d67e80cfd..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A32</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A32; >- * @section: 9.3.1; >- * @assertion: Once the exact MV for a string numeric literal has been >- * determined, it is then rounded to a value of the Number type with 20 >- * significant digits by replacing each significant digit after the 20th >- * with a 0 digit or the number value; >- * @description: Use various long numbers, for example, 1234567890.1234567890; >-*/ >- >-// CHECK#1 >-if (Number("1234567890.1234567890") !== 1234567890.1234567890) { >- testFailed('#1: Number("1234567890.1234567890") === 1234567890.1234567890. Actual: ' + (Number("1234567890.1234567890"))); >-} >- >-// CHECK#2 >-if (Number("1234567890.1234567890") !== 1234567890.1234567000) { >- testFailed('#2: Number("1234567890.1234567890") === 1234567890.1234567000. Actual: ' + (Number("1234567890.1234567890"))); >-} >- >-// CHECK#3 >-if (+("1234567890.1234567890") === 1234567890.123456) { >- testFailed('#3: +("1234567890.1234567890") !== 1234567890.123456'); >-} >- >-// CHECK#4 >-if (Number("0.12345678901234567890") !== 0.123456789012345678) { >- testFailed('#4: Number("0.12345678901234567890") === 0.123456789012345678. Actual: ' + (Number("0.12345678901234567890"))); >-} >- >-// CHECK#4 >-if (Number("00.12345678901234567890") !== 0.123456789012345678) { >- testFailed('#4: Number("00.12345678901234567890") === 0.123456789012345678. Actual: ' + (Number("00.12345678901234567890"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt >deleted file mode 100644 >index e70c659885e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A3_T1 >- >-FAIL SputnikError: #1: Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") === Number("") >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.html >deleted file mode 100644 >index 7de1ef9e638..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A3_T1; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StringNumericLiteral ::: StrWhiteSpaceopt StrNumericLiteral StrWhiteSpaceopt is the MV of StrNumericLiteral, no matter whether white space is present or not; >- * @description: static string; >-*/ >- >-// CHECK#1 >-if (Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") !== Number("")) { >- testFailed('#1: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === Number("")'); >-} >- >-// CHECK#2 >-if (Number("\u0009\u000C\u0020\u00A0\u000A\u000D\u2028\u2029\u000B\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u30001234567890\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") !== Number("1234567890")) { >- testFailed('#2: Number("\\u0009\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029\\u000B\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u30001234567890\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === Number("1234567890")'); >-} >- >-// CHECK#3 >-if (!(+("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000Infinity\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") == Number("Infinity"))) { >- testFailed('#3: +("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000Infinity\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") == Number("Infinity")'); >-} >- >-// CHECK#4 >-if (!(Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000-Infinity\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") == Number(-"Infinity"))) { >- testFailed('#4: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000-Infinity\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") == Number("-Infinity")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt >deleted file mode 100644 >index 48c7b07f970..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A3_T2 >- >-FAIL SputnikError: #1: Number("\u0009\u000C\u0020\u00A0\u000B"+"\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") === Number("") >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.html >deleted file mode 100644 >index 182c96e0a69..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A3_T2; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StringNumericLiteral ::: StrWhiteSpaceopt StrNumericLiteral StrWhiteSpaceopt is the MV of StrNumericLiteral, no matter whether white space is present or not; >- * @description: dynamic string; >-*/ >-function dynaString(s1, s2){ >- return String(s1)+String(s2); >-} >- >-// CHECK#1 >-if (Number(dynaString("\u0009\u000C\u0020\u00A0\u000B", "\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000")) !== Number("")) { >- testFailed('#1: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B"+"\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === Number("")'); >-} >- >-// CHECK#2 >-if (+(dynaString("\u0009\u000C\u0020\u00A0\u000A\u000D\u2028\u2029\u000B12345", "67890\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000")) !== Number("1234567890")) { >- testFailed('#2: +("\\u0009\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029\\u000B12345"+"67890\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") === Number("1234567890")'); >-} >- >-// CHECK#3 >-if (!(Number(dynaString("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029Infi", "nity\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000")) == Number("Infinity"))) { >- testFailed('#3: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029Infi"+"nity\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") == Number("Infinity")'); >-} >- >-// CHECK#4 >-if (!(Number(dynaString("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029-Infi", "nity\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000")) == Number(-"Infinity"))) { >- testFailed('#4: Number("\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029-Infi"+"nity\\u0009\\u000C\\u0020\\u00A0\\u000B\\u000A\\u000D\\u2028\\u2029\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000") == Number("-Infinity")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1-expected.txt >deleted file mode 100644 >index 77c9319dda9..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.html >deleted file mode 100644 >index a899d6ac195..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A4_T1; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrDecimalLiteral::: + StrUnsignedDecimalLiteral is the MV of StrUnsignedDecimalLiteral; >- * @description: Compare Number('+any_number') with Number('any_number'); >-*/ >- >-// CHECK#1 >-if (Number("+0") !== Number("0")) { >- testFailed('#1.1: Number("+0") === Number("0")'); >-} else { >- // CHECK#2 >- if (1/Number("+0") !== 1/Number("0")) { >- testFailed('#2.2: 1/Number("+0") === 1/Number("0")'); >- } >-} >- >-// CHECK#3 >-if (Number("+Infinity") !== Number("Infinity")) { >- testFailed('#3: Number("+Infinity") === Number("Infinity")'); >-} >- >-// CHECK#4 >-if (Number("+1234.5678") !== Number("1234.5678")) { >- testFailed('#4: Number("+1234.5678") === Number("1234.5678")'); >-} >- >-// CHECK#5 >-if (Number("+1234.5678e90") !== Number("1234.5678e90")) { >- testFailed('#5: Number("+1234.5678e90") === Number("1234.5678e90")'); >-} >- >-// CHECK#6 >-if (Number("+1234.5678E90") !== Number("1234.5678E90")) { >- testFailed('#6: Number("+1234.5678E90") === Number("1234.5678E90")'); >-} >- >-// CHECK#7 >-if (Number("+1234.5678e-90") !== Number("1234.5678e-90")) { >- testFailed('#7: Number("+1234.5678e-90") === Number("1234.5678e-90")'); >-} >- >-// CHECK#8 >-if (Number("+1234.5678E-90") !== Number("1234.5678E-90")) { >- testFailed('#8: Number("+1234.5678E-90") === Number("1234.5678E-90")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2-expected.txt >deleted file mode 100644 >index 64698d36da7..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.html >deleted file mode 100644 >index cc5da1d028f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A4_T2; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrDecimalLiteral::: + StrUnsignedDecimalLiteral is the MV of StrUnsignedDecimalLiteral; >- * @description: Compare Number('+' + 'any_number') with Number('any_number'); >-*/ >- >-function dynaString(s1, s2){ >- return String(s1)+String(s2); >-} >- >-// CHECK#1 >-if (Number(dynaString("+", "0")) !== Number("0")) { >- testFailed('#1: Number("+"+"0") === Number("0")'); >-} else { >- // CHECK#2 >- if (1/Number(dynaString("+", "0")) !== 1/Number("0")) { >- testFailed('#2: 1/Number("+"+"0") === 1/Number("0")'); >- } >-} >- >-// CHECK#3 >-if (Number(dynaString("+Infi", "nity")) !== Number("Infinity")) { >- testFailed('#3: Number("+Infin"+"ity") === Number("Infinity")'); >-} >- >-// CHECK#4 >-if (Number(dynaString("+1234.", "5678")) !== Number("1234.5678")) { >- testFailed('#4: Number("+1234."+"5678") === Number("1234.5678")'); >-} >- >-// CHECK#5 >-if (Number(dynaString("+1234.", "5678e90")) !== Number("1234.5678e90")) { >- testFailed('#5: Number("+1234."+"5678e90") === Number("1234.5678e90")'); >-} >- >-// CHECK#6 >-if (Number(dynaString("+1234.", "5678E90")) !== Number("1234.5678E90")) { >- testFailed('#6: Number("+1234."+"5678E90") === Number("1234.5678E90")'); >-} >- >-// CHECK#7 >-if (Number(dynaString("+1234.", "5678e-90")) !== Number("1234.5678e-90")) { >- testFailed('#7: Number("+1234."+"5678e-90") === Number("1234.5678e-90")'); >-} >- >-// CHECK#8 >-if (Number(dynaString("+1234.", "5678E-90")) !== Number("1234.5678E-90")) { >- testFailed('#8: Number("+1234."+"5678E-90") === Number("1234.5678E-90")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1-expected.txt >deleted file mode 100644 >index 47b60a99c38..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.html >deleted file mode 100644 >index d9aff3e20e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A5_T1; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative >- * of the MV of StrUnsignedDecimalLiteral. (the negative of this 0 is also 0); >- * @description: Compare Number('-any_number') with -Number('any_number'); >-*/ >- >-// CHECK#1 >-if (Number("-0") !== -Number("0")) { >- testFailed('#1: Number("-0") === -Number("0")'); >-} else { >- // CHECK#2 >- if (1/Number("-0") !== -1/Number("0")) { >- testFailed('#2: 1/Number("-0") === -1/Number("0")'); >- } >-} >- >-// CHECK#3 >-if (Number("-Infinity") !== -Number("Infinity")) { >- testFailed('#3: Number("-Infinity") === -Number("Infinity")'); >-} >- >-// CHECK#4 >-if (Number("-1234567890") !== -Number("1234567890")) { >- testFailed('#4: Number("-1234567890") === -Number("1234567890")'); >-} >- >-// CHECK#5 >-if (Number("-1234.5678") !== -Number("1234.5678")) { >- testFailed('#5: Number("-1234.5678") === -Number("1234.5678")'); >-} >- >-// CHECK#6 >-if (Number("-1234.5678e90") !== -Number("1234.5678e90")) { >- testFailed('#6: Number("-1234.5678e90") === -Number("1234.5678e90")'); >-} >- >-// CHECK#7 >-if (Number("-1234.5678E90") !== -Number("1234.5678E90")) { >- testFailed('#6: Number("-1234.5678E90") === -Number("1234.5678E90")'); >-} >- >-// CHECK#8 >-if (Number("-1234.5678e-90") !== -Number("1234.5678e-90")) { >- testFailed('#6: Number("-1234.5678e-90") === -Number("1234.5678e-90")'); >-} >- >-// CHECK#9 >-if (Number("-1234.5678E-90") !== -Number("1234.5678E-90")) { >- testFailed('#6: Number("-1234.5678E-90") === -Number("1234.5678E-90")'); >-} >- >-// CHECK#10 >-if (Number("-Infinity") !== Number.NEGATIVE_INFINITY) { >- testFailed('#3: Number("-Infinity") === Number.NEGATIVE_INFINITY'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2-expected.txt >deleted file mode 100644 >index e46cf26087b..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.html >deleted file mode 100644 >index 0178dfe503e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.html >+++ /dev/null >@@ -1,228 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A5_T2; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative >- * of the MV of StrUnsignedDecimalLiteral. (the negative of this 0 is also 0); >- * @description: Compare Number('-[or +]any_number') with -[or without -]any_number); >-*/ >- >-// CHECK#1 >-if (Number("1") !== 1) { >- testFailed('#1: Number("1") === 1'); >-} >- >-// CHECK#2 >-if (Number("+1") !== 1) { >- testFailed('#3: Number("+1") === 1'); >-} >- >-// CHECK#3 >-if (Number("-1") !== -1) { >- testFailed('#3: Number("-1") === -1'); >-} >- >-// CHECK#4 >-if (Number("2") !== 2) { >- testFailed('#4: Number("2") === 2'); >-} >- >-// CHECK#5 >-if (Number("+2") !== 2) { >- testFailed('#5: Number("+2") === 2'); >-} >- >-// CHECK#6 >-if (Number("-2") !== -2) { >- testFailed('#6: Number("-2") === -2'); >-} >- >-// CHECK#7 >-if (Number("3") !== 3) { >- testFailed('#7: Number("3") === 3'); >-} >- >-// CHECK#8 >-if (Number("+3") !== 3) { >- testFailed('#8: Number("+3") === 3'); >-} >- >-// CHECK#9 >-if (Number("-3") !== -3) { >- testFailed('#9: Number("-3") === -3'); >-} >- >-// CHECK#10 >-if (Number("4") !== 4) { >- testFailed('#10: Number("4") === 4'); >-} >- >-// CHECK#11 >-if (Number("+4") !== 4) { >- testFailed('#11: Number("+4") === 4'); >-} >- >-// CHECK#12 >-if (Number("-4") !== -4) { >- testFailed('#12: Number("-4") === -4'); >-} >- >-// CHECK#13 >-if (Number("5") !== 5) { >- testFailed('#13: Number("5") === 5'); >-} >- >-// CHECK#14 >-if (Number("+5") !== 5) { >- testFailed('#14: Number("+5") === 5'); >-} >- >-// CHECK#15 >-if (Number("-5") !== -5) { >- testFailed('#15: Number("-5") === -5'); >-} >- >-// CHECK#16 >-if (Number("6") !== 6) { >- testFailed('#16: Number("6") === 6'); >-} >- >-// CHECK#17 >-if (Number("+6") !== 6) { >- testFailed('#17: Number("+6") === 6'); >-} >- >-// CHECK#18 >-if (Number("-6") !== -6) { >- testFailed('#18: Number("-6") === -6'); >-} >- >-// CHECK#19 >-if (Number("7") !== 7) { >- testFailed('#19: Number("7") === 7'); >-} >- >-// CHECK#20 >-if (Number("+7") !== 7) { >- testFailed('#20: Number("+7") === 7'); >-} >- >-// CHECK#21 >-if (Number("-7") !== -7) { >- testFailed('#21: Number("-7") === -7'); >-} >- >-// CHECK#22 >-if (Number("8") !== 8) { >- testFailed('#22: Number("8") === 8'); >-} >- >-// CHECK#23 >-if (Number("+8") !== 8) { >- testFailed('#23: Number("+8") === 8'); >-} >- >-// CHECK#24 >-if (Number("-8") !== -8) { >- testFailed('#24: Number("-8") === -8'); >-} >- >-// CHECK#25 >-if (Number("9") !== 9) { >- testFailed('#25: Number("9") === 9'); >-} >- >-// CHECK#26 >-if (Number("+9") !== 9) { >- testFailed('#26: Number("+9") === 9'); >-} >- >-// CHECK#27 >-if (Number("-9") !== -9) { >- testFailed('#27: Number("-9") === -9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3-expected.txt >deleted file mode 100644 >index 17f0cb47318..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.html >deleted file mode 100644 >index ea726217de8..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A5_T3; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative >- * of the MV of StrUnsignedDecimalLiteral. (the negative of this 0 is also 0); >- * @description: Compare Number('-' + 'any_number') with -Number('any_number'); >-*/ >- >-function dynaString(s1, s2){ >- return String(s1)+String(s2); >-} >- >-// CHECK#1 >-if (Number(dynaString("-", "0")) !== -Number("0")) { >- testFailed('#1: Number("-"+"0") === -Number("0")'); >-} else { >- // CHECK#2 >- if (1/Number(dynaString("-", "0")) !== -1/Number("0")) { >- testFailed('#2: 1/Number("-"+"0") === -1/Number("0")'); >- } >-} >- >-// CHECK#3 >-if (Number(dynaString("-Infi", "nity")) !== -Number("Infinity")) { >- testFailed('#3: Number("-Infi"+"nity") === -Number("Infinity")'); >-} >- >-// CHECK#4 >-if (Number(dynaString("-12345", "67890")) !== -Number("1234567890")) { >- testFailed('#4: Number("-12345"+"67890") === -Number("1234567890")'); >-} >- >-// CHECK#5 >-if (Number(dynaString("-1234.", "5678")) !== -Number("1234.5678")) { >- testFailed('#5: Number("-1234."+"5678") === -Number("1234.5678")'); >-} >- >-// CHECK#6 >-if (Number(dynaString("-1234.", "5678e90")) !== -Number("1234.5678e90")) { >- testFailed('#6: Number("-1234."+"5678e90") === -Number("1234.5678e90")'); >-} >- >-// CHECK#7 >-if (Number(dynaString("-1234.", "5678E90")) !== -Number("1234.5678E90")) { >- testFailed('#6: Number("-1234."+"5678E90") === -Number("1234.5678E90")'); >-} >- >-// CHECK#8 >-if (Number(dynaString("-1234.", "5678e-90")) !== -Number("1234.5678e-90")) { >- testFailed('#6: Number("-1234."+"5678e-90") === -Number("1234.5678e-90")'); >-} >- >-// CHECK#9 >-if (Number(dynaString("-1234.", "5678E-90")) !== -Number("1234.5678E-90")) { >- testFailed('#6: Number("-1234."+"5678E-90") === -Number("1234.5678E-90")'); >-} >- >-// CHECK#10 >-if (Number(dynaString("-Infi", "nity")) !== Number.NEGATIVE_INFINITY) { >- testFailed('#3: Number("-Infi"+"nity") === Number.NEGATIVE_INFINITY'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1-expected.txt >deleted file mode 100644 >index 914079a833b..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.html >deleted file mode 100644 >index 7adde6e4709..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A6_T1; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrUnsignedDecimalLiteral::: Infinity is 10<sup><small>10000</small></sup> >- * (a value so large that it will round to <b><tt>+∞</tt></b>); >- * @description: Compare Number('Infinity') with Number.POSITIVE_INFINITY, 10e10000, 10E10000 and Number("10e10000"); >-*/ >- >-// CHECK#1 >-if (Number("Infinity") !== Number.POSITIVE_INFINITY) { >- testFailed('#1: Number("Infinity") === Number.POSITIVE_INFINITY'); >-} >- >-// CHECK#2 >-if (Number("Infinity") !== 10e10000) { >- testFailed('#2: Number("Infinity") === 10e10000'); >-} >- >-// CHECK#3 >-if (Number("Infinity") !== 10E10000) { >- testFailed('#3: Number("Infinity") === 10E10000'); >-} >- >-// CHECK#4 >-if (Number("Infinity") !== Number("10e10000")) { >- testFailed('#4: Number("Infinity") === Number("10e10000")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2-expected.txt >deleted file mode 100644 >index ea66bb05853..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.html >deleted file mode 100644 >index 1330fbd61e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A6_T2; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrUnsignedDecimalLiteral::: Infinity is 10<sup><small>10000</small></sup> >- * (a value so large that it will round to <b><tt>+∞</tt></b>); >- * @description: Compare Number('Infi'+'nity') with Number.POSITIVE_INFINITY, 10e10000, 10E10000 and Number("10e10000"); >-*/ >- >-function dynaString(s1, s2){ >- return String(s1)+String(s2); >-} >- >- >-// CHECK#1 >-if (Number(dynaString("Infi", "nity")) !== Number.POSITIVE_INFINITY) { >- testFailed('#1: Number("Infi"+"nity") === Number.POSITIVE_INFINITY'); >-} >- >-// CHECK#2 >-if (Number(dynaString("Infi", "nity")) !== 10e10000) { >- testFailed('#2: Number("Infi"+"nity") === 10e10000'); >-} >- >-// CHECK#3 >-if (Number(dynaString("Infi", "nity")) !== 10E10000) { >- testFailed('#3: Number("Infi"+"nity") === 10E10000'); >-} >- >-// CHECK#4 >-if (Number(dynaString("Infi", "nity")) !== Number("10e10000")) { >- testFailed('#4: Number("Infi"+"nity") === Number("10e10000")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7-expected.txt >deleted file mode 100644 >index 2698ce6fd7a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.html >deleted file mode 100644 >index 15986090490..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A7; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrUnsignedDecimalLiteral::: DecimalDigits. DecimalDigits >- * is the MV of the first DecimalDigits plus the MV of the second DecimalDigits times >- * 10<sup><small>-n</small></sup>, where n is the number of characters in the second DecimalDigits; >- * @description: Compare Number('1234.5678') with Number('1234')+(+('5678')*1e-4); >-*/ >- >-// CHECK#1 >-if (Number("1234.5678") !== Number("1234")+(+("5678")*1e-4)) { >- testFailed('#1: Number("1234.5678") === Number("1234")+(+("5678")*1e-4)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8-expected.txt >deleted file mode 100644 >index b7688b79ea8..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.html >deleted file mode 100644 >index 47515542071..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A8; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrUnsignedDecimalLiteral::: DecimalDigits. ExponentPart >- * is the MV of DecimalDigits times 10<sup><small>e</small></sup> , where e is the MV of ExponentPart; >- * @description: Compare Number('1234e5') and Number('1234.e5') with Number('1234')*1e5; >-*/ >- >-// CHECK#1 >-if (Number("1234e5") !== Number("1234")*1e5) { >- testFailed('#1: Number("1234e5") === Number("1234")*1e5'); >-} >- >-// CHECK#2 >-if (Number("1234.e5") !== +("1234")*1e5) { >- testFailed('#2: Number("1234.e5") === +("1234")*1e5'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9-expected.txt >deleted file mode 100644 >index ef72cf7877a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3.1_A9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.html >deleted file mode 100644 >index 402531d7892..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3.1_A9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3.1_A9; >- * @section: 9.3.1, 15.7.1; >- * @assertion: The MV of StrUnsignedDecimalLiteral::: DecimalDigits. DecimalDigits ExponentPart >- * is (the MV of the first DecimalDigits plus (the MV of the second DecimalDigits times >- * 10<sup><small>-n</small></sup>)) times 10<sup><small>e</small></sup>, where n is the number >- * of characters in the second DecimalDigits and e is the MV of ExponentPart; >- * @description: Compare Number('1234.5678e9') with (Number('1234')+(Number('5678')*1e-4))*1e9, >- * and +('1234.5678e-9') with (Number('1234')+(Number('5678')*1e-4))*1e-9; >-*/ >- >-// CHECK#1 >-if (Number("1234.5678e9") !== (Number("1234")+(Number("5678")*1e-4))*1e9) { >- testFailed('#1: Number("1234.5678e9") === (Number("1234")+(Number("5678")*1e-4))*1e9'); >-} >- >-// CHECK#2 >-if (+("1234.5678e-9") !== (Number("1234")+(Number("5678")*1e-4))*1e-9) { >- testFailed('#2: +("1234.5678e-9") === (Number("1234")+(Number("5678")*1e-4))*1e-9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1-expected.txt >deleted file mode 100644 >index d7130974ee5..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.html >deleted file mode 100644 >index 64ea25a7e74..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A1_T1; >- * @section: 9.3, 15.7.1; >- * @assertion: Result of number conversion from undefined value is NaN; >- * @description: Undefined convert to Number by explicit transformation; >-*/ >- >-// CHECK#1 >-if (isNaN(Number(undefined)) !== true) { >- testFailed('#1: Number(undefined) === Not-a-Number. Actual: ' + (Number(undefined))); >-} >- >-// CHECK#2 >-if (isNaN(Number(void 0)) !== true) { >- testFailed('#2: Number(void 0) === Not-a-Number. Actual: ' + (Number(void 0))); >-} >- >-// CHECK#3 >-if (isNaN(Number(eval("var x"))) !== true) { >- testFailed('#3: Number(eval("var x")) === Not-a-Number. Actual: ' + (Number(eval("var x")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2-expected.txt >deleted file mode 100644 >index d7982da0196..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.html >deleted file mode 100644 >index 136ebaddef0..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A1_T2; >- * @section: 9.3, 11.6.1; >- * @assertion: Result of number conversion from undefined value is NaN; >- * @description: Undefined convert to Number by implicit transformation; >-*/ >- >-// CHECK#1 >-if (isNaN(+(undefined)) !== true) { >- testFailed('#1: +(undefined) === Not-a-Number. Actual: ' + (+(undefined))); >-} >- >-// CHECK#2 >-if (isNaN(+(void 0)) !== true) { >- testFailed('#2: +(void 0) === Not-a-Number. Actual: ' + (+(void 0))); >-} >- >-// CHECK#3 >-if (isNaN(+(eval("var x"))) !== true) { >- testFailed('#3: +(eval("var x")) === Not-a-Number. Actual: ' + (+(eval("var x")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1-expected.txt >deleted file mode 100644 >index 66c51978b88..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.html >deleted file mode 100644 >index cec47f59119..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A2_T1; >- * @section: 9.3, 15.7.1; >- * @assertion: Result of number conversion from null value is +0; >- * @description: null convert to Number by explicit transformation; >- */ >- >-// CHECK #1 >-if (Number(null) !== 0) { >- testFailed('#1.1: Number(null) === 0. Actual: ' + (Number(null))); >-} else { >- if (1/Number(null) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: Number(null) === +0. Actual: -0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2-expected.txt >deleted file mode 100644 >index 752cf2e88ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.html >deleted file mode 100644 >index 0f4d3f8f479..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A2_T2; >- * @section: 9.3, 11.6.1; >- * @assertion: Result of number conversion from null value is +0; >- * @description: null convert to Number by implicit transformation; >- */ >- >-// CHECK #1 >-if (+(null) !== 0) { >- testFailed('#1.1: +(null) === 0. Actual: ' + (+(null))); >-} else { >- if (1/+(null) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: +(null) === +0. Actual: -0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1-expected.txt >deleted file mode 100644 >index 81b1857f357..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.html >deleted file mode 100644 >index e5b91b28f2f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A3_T1; >- * @section: 9.3, 15.7.1; >- * @assertion: Result of number conversion from boolean value is 1 if the argument is true, else is +0; >- * @description: False and true convert to Number by explicit transformation; >- */ >- >-// CHECK#1 >-if (Number(false) !== +0) { >- testFailed('#1.1: Number(false) === 0. Actual: ' + (Number(false))); >-} else { >- if (1/Number(false) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: Number(false) === +0. Actual: -0'); >- } >-} >- >-// CHECK#2 >-if (Number(true) !== 1) { >- testFailed('#2: Number(true) === 1. Actual: ' + (Number(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2-expected.txt >deleted file mode 100644 >index 7b1841820eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.html >deleted file mode 100644 >index ed2c4b6e3ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A3_T2; >- * @section: 9.3, 11.6.1; >- * @assertion: Result of number conversion from boolean value is 1 if the argument is true, else is +0; >- * @description: False and true convert to Number by implicit transformation; >- */ >- >-// CHECK#1 >-if (+(false) !== +0) { >- testFailed('#1.1: +(false) === 0. Actual: ' + (+(false))); >-} else { >- if (1/+(false) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: +(false) === +0. Actual: -0'); >- } >-} >- >-// CHECK#2 >-if (+(true) !== 1) { >- testFailed('#2: +(true) === 1. Actual: ' + (+(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1-expected.txt >deleted file mode 100644 >index 0a1642da347..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.html >deleted file mode 100644 >index bb83ce22b13..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A4.1_T1; >- * @section: 9.3, 15.7.1; >- * @assertion: Result of number conversion from number value equals to the input argument (no conversion); >- * @description: Some numbers including Number.MAX_VALUE and Number.MIN_VALUE are converted to Number with explicit transformation; >-*/ >- >-// CHECK#1 >-if (Number(13) !== 13) { >- testFailed('#1: Number(13) === 13. Actual: ' + (Number(13))); >-} >- >-// CHECK#2 >-if (Number(-13) !== -13) { >- testFailed('#2: Number(-13) === -13. Actual: ' + (Number(-13))); >-} >- >-// CHECK#3 >-if (Number(1.3) !== 1.3) { >- testFailed('#3: Number(1.3) === 1.3. Actual: ' + (Number(1.3))); >-} >- >-// CHECK#4 >-if (Number(-1.3) !== -1.3) { >- testFailed('#4: Number(-1.3) === -1.3. Actual: ' + (Number(-1.3))); >-} >- >-// CHECK#5 >-if (Number(Number.MAX_VALUE) !== 1.7976931348623157e308) { >- testFailed('#5: Number(Number.MAX_VALUE) === 1.7976931348623157e308. Actual: ' + (Number(Number.MAX_VALUE))); >-} >- >-// CHECK#6 >-if (Number(Number.MIN_VALUE) !== 5e-324) { >- testFailed('#6: Number(Number.MIN_VALUE) === 5e-324. Actual: ' + (Number(Number.MIN_VALUE))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2-expected.txt >deleted file mode 100644 >index f00797243b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.html >deleted file mode 100644 >index d69c37b0ac8..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A4.1_T2; >- * @section: 9.3, 11.6.1; >- * @assertion: Result of number conversion from number value equals to the input argument (no conversion); >- * @description: Some numbers including Number.MAX_VALUE and Number.MIN_VALUE are converted to Number with implicit transformation; >-*/ >- >-// CHECK#1 >-if (+(13) !== 13) { >- testFailed('#1: +(13) === 13. Actual: ' + (+(13))); >-} >- >-// CHECK#2 >-if (+(-13) !== -13) { >- testFailed('#2: +(-13) === -13. Actual: ' + (+(-13))); >-} >- >-// CHECK#3 >-if (+(1.3) !== 1.3) { >- testFailed('#3: +(1.3) === 1.3. Actual: ' + (+(1.3))); >-} >- >-// CHECK#4 >-if (+(-1.3) !== -1.3) { >- testFailed('#4: +(-1.3) === -1.3. Actual: ' + (+(-1.3))); >-} >- >-// CHECK#5 >-if (+(Number.MAX_VALUE) !== 1.7976931348623157e308) { >- testFailed('#5: +(Number.MAX_VALUE) === 1.7976931348623157e308. Actual: ' + (+(Number.MAX_VALUE))); >-} >- >-// CHECK#6 >-if (+(Number.MIN_VALUE) !== 5e-324) { >- testFailed('#6: +(Number.MIN_VALUE) === 5e-324. Actual: ' + (+(Number.MIN_VALUE))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1-expected.txt >deleted file mode 100644 >index 44d8f7b493c..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.html >deleted file mode 100644 >index a7bee03e43e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A4.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A4.2_T1; >- * @section: 9.3, 15.7.1; >- * @assertion: Result of number conversion from number value equals to the input argument (no conversion); >- * @description: Number.NaN, +0, -0, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, >- * Number.MAX_VALUE and Number.MIN_VALUE convert to Number by explicit transformation; >- */ >- >-// CHECK#1 >-if (isNaN(Number(Number.NaN)) !== true) { >- testFailed('#1: Number(NaN) === Not-a-Number. Actual: ' + (Number(NaN))); >-} >- >-// CHECK#2 >-if (Number(+0) !== +0) { >- testFailed('#2.1: Number(+0) === 0. Actual: ' + (Number(+0))); >-} else { >- if (1/Number(+0) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: Number(+0) === +0. Actual: -0'); >- } >-} >- >-// CHECK#3 >-if (Number(-0) !== -0) { >- testFailed('#3.1: Number(-0) === 0. Actual: ' + (Number(-0))); >-} else { >- if (1/Number(-0) !== Number.NEGATIVE_INFINITY) { >- testFailed('#3.2: Number(-0) === -0. Actual: +0'); >- } >-} >- >-// CHECK#4 >-if (Number(Number.POSITIVE_INFINITY) !== Number.POSITIVE_INFINITY) { >- testFailed('#4: Number(+Infinity) === +Infinity. Actual: ' + (Number(+Infinity))); >-} >- >-// CHECK#5 >-if (Number(Number.NEGATIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { >- testFailed('#5: Number(-Infinity) === -Infinity. Actual: ' + (Number(-Infinity))); >-} >- >-// CHECK#6 >-if (Number(Number.MAX_VALUE) !== Number.MAX_VALUE) { >- testFailed('#6: Number(Number.MAX_VALUE) === Number.MAX_VALUE. Actual: ' + (Number(Number.MAX_VALUE))); >-} >- >-// CHECK#7 >-if (Number(Number.MIN_VALUE) !== Number.MIN_VALUE) { >- testFailed('#7: Number(Number.MIN_VALUE) === Number.MIN_VALUE. Actual: ' + (Number(Number.MIN_VALUE))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2-expected.txt >deleted file mode 100644 >index 941603b6315..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.html >deleted file mode 100644 >index 400ba5a7315..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A4.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A4.2_T2; >- * @section: 9.3, 11.6.1; >- * @assertion: Result of number conversion from number value equals to the input argument (no conversion); >- * @description: Number.NaN, +0, -0, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, >- * Number.MAX_VALUE and Number.MIN_VALUE convert to Number by implicit transformation; >- */ >- >-// CHECK#1 >-if (isNaN(+(Number.NaN)) !== true) { >- testFailed('#1: +(NaN) === Not-a-Number. Actual: ' + (+(NaN))); >-} >- >-// CHECK#2 >-if (+(+0) !== +0) { >- testFailed('#2.1: +(+0) === 0. Actual: ' + (+(+0))); >-} else { >- if (1/+(+0) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: +(+0) === +0. Actual: -0'); >- } >-} >- >-// CHECK#3 >-if (+(-0) !== -0) { >- testFailed('#3.1: +(-0) === 0. Actual: ' + (+(-0))); >-} else { >- if (1/+(-0) !== Number.NEGATIVE_INFINITY) { >- testFailed('#3.2: +(-0) === -0. Actual: +0'); >- } >-} >- >-// CHECK#4 >-if (+(Number.POSITIVE_INFINITY) !== Number.POSITIVE_INFINITY) { >- testFailed('#4: +(+Infinity) === +Infinity. Actual: ' + (+(+Infinity))); >-} >- >-// CHECK#5 >-if (+(Number.NEGATIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { >- testFailed('#5: +(-Infinity) === -Infinity. Actual: ' + (+(-Infinity))); >-} >- >-// CHECK#6 >-if (+(Number.MAX_VALUE) !== Number.MAX_VALUE) { >- testFailed('#6: +(Number.MAX_VALUE) === Number.MAX_VALUE. Actual: ' + (+(Number.MAX_VALUE))); >-} >- >-// CHECK#7 >-if (+(Number.MIN_VALUE) !== Number.MIN_VALUE) { >- testFailed('#7: +(Number.MIN_VALUE) === Number.MIN_VALUE. Actual: ' + (+(Number.MIN_VALUE))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1-expected.txt >deleted file mode 100644 >index fe88abc548c..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.html >deleted file mode 100644 >index ed3cfc8865e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.html >+++ /dev/null >@@ -1,208 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A5_T1; >- * @section: 9.3, 15.7.1; >- * @assertion: Result of number conversion from object value is the result >- * of conversion from primitive value; >- * @description: new Number(), new Number(0), new Number(Number.NaN), new Number(null), >- * new Number(void 0) and others convert to Number by explicit transformation; >-*/ >- >-// CHECK#1 >-if (Number(new Number()) !== 0) { >- testFailed('#1: Number(new Number()) === 0. Actual: ' + (Number(new Number()))); >-} >- >-// CHECK#2 >-if (Number(new Number(0)) !== 0) { >- testFailed('#2: Number(new Number(0)) === 0. Actual: ' + (Number(new Number(0)))); >-} >- >-// CHECK#3 >-if (isNaN(Number(new Number(Number.NaN)) !== true)) { >- testFailed('#3: Number(new Number(Number.NaN)) === Not-a-Number. Actual: ' + (Number(new Number(Number.NaN)))); >-} >- >-// CHECK#4 >-if (Number(new Number(null)) !== 0) { >- testFailed('#4.1: Number(new Number(null)) === 0. Actual: ' + (Number(new Number(null)))); >-} else { >- if (1/Number(new Number(null)) !== Number.POSITIVE_INFINITY) { >- testFailed('#4.2: Number(new Number(null)) === +0. Actual: -0'); >- } >-} >- >-// CHECK#5 >-if (isNaN(Number(new Number(void 0)) !== true)) { >- testFailed('#5: Number(new Number(void 0)) === Not-a-Number. Actual: ' + (Number(new Number(void 0)))); >-} >- >-// CHECK#6 >-if (Number(new Number(true)) !== 1) { >- testFailed('#6: Number(new Number(true)) === 1. Actual: ' + (Number(new Number(true)))); >-} >- >-// CHECK#7 >-if (Number(new Number(false)) !== +0) { >- testFailed('#7.1: Number(new Number(false)) === 0. Actual: ' + (Number(new Number(false)))); >-} else { >- if (1/Number(new Number(false)) !== Number.POSITIVE_INFINITY) { >- testFailed('#7.2: Number(new Number(false)) === +0. Actual: -0'); >- } >-} >- >-// CHECK#8 >-if (Number(new Boolean(true)) !== 1) { >- testFailed('#8: Number(new Boolean(true)) === 1. Actual: ' + (Number(new Boolean(true)))); >-} >- >-// CHECK#9 >-if (Number(new Boolean(false)) !== +0) { >- testFailed('#9.1: Number(new Boolean(false)) === 0. Actual: ' + (Number(new Boolean(false)))); >-} else { >- if (1/Number(new Boolean(false)) !== Number.POSITIVE_INFINITY) { >- testFailed('#9.2: Number(new Boolean(false)) === +0. Actual: -0'); >- } >-} >- >-// CHECK#10 >-if (isNaN(Number(new Array(2,4,8,16,32))) !== true) { >- testFailed('#10: Number(new Array(2,4,8,16,32)) === Not-a-Number. Actual: ' + (Number(new Array(2,4,8,16,32)))); >-} >- >-// CHECK#11 >-var myobj1 = { >- ToNumber : function(){return 12345;}, >- toString : function(){return "67890";}, >- valueOf : function(){return "[object MyObj]";} >- }; >- >-if (isNaN(Number(myobj1)) !== true){ >- testFailed("#11: Number(myobj1) calls ToPrimitive with hint Number. Actual: " + (Number(myobj1))); >-} >- >-// CHECK#12 >-var myobj2 = { >- ToNumber : function(){return 12345;}, >- toString : function(){return "67890";}, >- valueOf : function(){return "9876543210";} >- }; >- >-if (Number(myobj2) !== 9876543210){ >- testFailed("#12: Number(myobj2) calls ToPrimitive with hint Number. Exptected: 9876543210. Actual: " + (Number(myobj2))); >-} >- >- >-// CHECK#13 >-var myobj3 = { >- ToNumber : function(){return 12345;}, >- toString : function(){return "[object MyObj]";} >- }; >- >-if (isNaN(Number(myobj3)) !== true){ >- testFailed("#13: Number(myobj3) calls ToPrimitive with hint Number. Exptected: Not-a-Number. Actual: " + (Number(myobj3))); >-} >- >-// CHECK#14 >-var myobj4 = { >- ToNumber : function(){return 12345;}, >- toString : function(){return "67890";} >- }; >- >-if (Number(myobj4) !== 67890){ >- testFailed("#14: Number(myobj4) calls ToPrimitive with hint Number. Exptected: 67890. Actual: " + (Number(myobj4))); >-} >- >-// CHECK#15 >-var myobj5 = { >- ToNumber : function(){return 12345;} >- }; >- >-if (isNaN(Number(myobj5)) !== true){ >- testFailed("#15: Number(myobj5) calls ToPrimitive with hint Number. Exptected: Not-a-Number. Actual: " + (Number(myobj5))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2-expected.txt >deleted file mode 100644 >index 50c304eb58d..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.3_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.html >deleted file mode 100644 >index 34022535f2f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.html >+++ /dev/null >@@ -1,208 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.3_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.3_A5_T2; >- * @section: 9.3, 11.6.1; >- * @assertion: Result of number conversion from object value is the result >- * of conversion from primitive value; >- * @description: new Number(), new Number(0), new Number(Number.NaN), new Number(null), >- * new Number(void 0) and others convert to Number by implicit transformation; >-*/ >- >-// CHECK#1 >-if (+(new Number()) !== 0) { >- testFailed('#1: +(new Number()) === 0. Actual: ' + (+(new Number()))); >-} >- >-// CHECK#2 >-if (+(new Number(0)) !== 0) { >- testFailed('#2: +(new Number(0)) === 0. Actual: ' + (+(new Number(0)))); >-} >- >-// CHECK#3 >-if (isNaN(+(new Number(Number.NaN)) !== true)) { >- testFailed('#3: +(new Number(Number.NaN)) === Not-a-Number. Actual: ' + (+(new Number(Number.NaN)))); >-} >- >-// CHECK#4 >-if (+(new Number(null)) !== 0) { >- testFailed('#4.1: +(new Number(null)) === 0. Actual: ' + (+(new Number(null)))); >-} else { >- if (1/+(new Number(null)) !== Number.POSITIVE_INFINITY) { >- testFailed('#4.2: +(new Number(null)) === +0. Actual: -0'); >- } >-} >- >-// CHECK#5 >-if (isNaN(+(new Number(void 0)) !== true)) { >- testFailed('#5: +(new Number(void 0)) === Not-a-Number. Actual: ' + (+(new Number(void 0)))); >-} >- >-// CHECK#6 >-if (+(new Number(true)) !== 1) { >- testFailed('#6: +(new Number(true)) === 1. Actual: ' + (+(new Number(true)))); >-} >- >-// CHECK#7 >-if (+(new Number(false)) !== +0) { >- testFailed('#7.1: +(new Number(false)) === 0. Actual: ' + (+(new Number(false)))); >-} else { >- if (1/+(new Number(false)) !== Number.POSITIVE_INFINITY) { >- testFailed('#7.2: +(new Number(false)) === +0. Actual: -0'); >- } >-} >- >-// CHECK#8 >-if (+(new Boolean(true)) !== 1) { >- testFailed('#8: +(new Boolean(true)) === 1. Actual: ' + (+(new Boolean(true)))); >-} >- >-// CHECK#9 >-if (+(new Boolean(false)) !== +0) { >- testFailed('#9.1: +(new Boolean(false)) === 0. Actual: ' + (+(new Boolean(false)))); >-} else { >- if (1/+(new Boolean(false)) !== Number.POSITIVE_INFINITY) { >- testFailed('#9.2: +(new Boolean(false)) === +0. Actual: -0'); >- } >-} >- >-// CHECK#10 >-if (isNaN(+(new Array(2,4,8,16,32))) !== true) { >- testFailed('#10: +(new Array(2,4,8,16,32)) === Not-a-Number. Actual: ' + (+(new Array(2,4,8,16,32)))); >-} >- >-// CHECK#11 >-var myobj1 = { >- ToNumber : function(){return 12345;}, >- toString : function(){return "67890";}, >- valueOf : function(){return "[object MyObj]";} >- }; >- >-if (isNaN(+(myobj1)) !== true){ >- testFailed("#11: +(myobj1) calls ToPrimitive with hint +. Exptected: Not-a-Number. Actual: " + (+(myobj1))); >-} >- >-// CHECK#12 >-var myobj2 = { >- ToNumber : function(){return 12345;}, >- toString : function(){return "67890";}, >- valueOf : function(){return "9876543210";} >- }; >- >-if (+(myobj2) !== 9876543210){ >- testFailed("#12: +(myobj2) calls ToPrimitive with hint +. Exptected: 9876543210. Actual: " + (+(myobj2))); >-} >- >- >-// CHECK#13 >-var myobj3 = { >- ToNumber : function(){return 12345;}, >- toString : function(){return "[object MyObj]";} >- }; >- >-if (isNaN(+(myobj3)) !== true){ >- testFailed("#13: +(myobj3) calls ToPrimitive with hint +. Exptected: Not-a-Number. Actual: " + (+(myobj3))); >-} >- >-// CHECK#14 >-var myobj4 = { >- ToNumber : function(){return 12345;}, >- toString : function(){return "67890";} >- }; >- >-if (+(myobj4) !== 67890){ >- testFailed("#14: +(myobj4) calls ToPrimitive with hint +. Exptected: 67890. Actual: " + (+(myobj4))); >-} >- >-// CHECK#15 >-var myobj5 = { >- ToNumber : function(){return 12345;} >- }; >- >-if (isNaN(+(myobj5)) !== true){ >- testFailed("#15: +(myobj5) calls ToPrimitive with hint +. Exptected: 12345. Actual: " + (+(myobj5))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1-expected.txt >deleted file mode 100644 >index 424e701f089..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.4_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1.html >deleted file mode 100644 >index 432f8ce37e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.4_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.4_A1; >- * @section: 9.4, 15.5; >- * @assertion: If ToNumber(value) is NaN, ToInteger(value) returns +0; >- * @description: Check what position is defined by Number.NaN in string "abc": "abc".charAt(Number.NaN); >-*/ >- >-// CHECK#1 >-if ("abc".charAt(Number.NaN) !== "a") { >- testFailed('#1: "abc".charAt(Number.NaN) === "a". Actual: ' + ("abc".charAt(Number.NaN))); >-} >- >-// CHECK#2 >-if ("abc".charAt("x") !== "a") { >- testFailed('#2: "abc".charAt("x") === "a". Actual: ' + ("abc".charAt("x"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2-expected.txt >deleted file mode 100644 >index eeb30f5d7a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.4_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2.html >deleted file mode 100644 >index 9cb02d56e05..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.4_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.4_A2; >- * @section: 9.4, 15.5; >- * @assertion: If ToNumber(value) is +0, -0, +Infinity, or -Infinity, >- * return ToNumber(value); >- * @description: Check what position is defined by Number.NaN in string "abc": "abc".charAt(Number.NaN); >-*/ >- >-// CHECK#1 >-if ("abc".charAt(0.0) !== "a") { >- testFailed('#1: "abc".charAt(0.0) === "a". Actual: ' + ("abc".charAt(0.0))); >-} >- >-// CHECK#2 >-if ("abc".charAt(-0.0) !== "a") { >- testFailed('#2: "abc".charAt(-0.0) === "a". Actual: ' + ("abc".charAt(-0.0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1-expected.txt >deleted file mode 100644 >index 977bfd085ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.4_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.html >deleted file mode 100644 >index 18b081a414d..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.html >+++ /dev/null >@@ -1,165 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.4_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.4_A3_T1; >- * @section: 9.4, 15.9; >- * @assertion: Result of ToInteger(value) conversion is the result of computing >- * sign(ToNumber(value)) * floor(abs(ToNumber(value))); >- * @description: For testing constructor Date(Number) is used; >-*/ >- >-// CHECK#1 >-var d1 = new Date(6.54321); >-if (d1.valueOf() !== 6) { >- testFailed('#1: var d1 = new Date(6.54321); d1.valueOf() === 6;'); >-} >- >-// CHECK#2 >-var d2 = new Date(-6.54321); >-if (d2.valueOf() !== -6) { >- testFailed('#2: var d2 = new Date(-6.54321); d2.valueOf() === -6;'); >-} >- >-// CHECK#3 >-var d3 = new Date(6.54321e2); >-if (d3.valueOf() !== 654) { >- testFailed('#3: var d3 = new Date(6.54321e2); d3.valueOf() === 654;'); >-} >- >-// CHECK#4 >-var d4 = new Date(-6.54321e2); >-if (d4.valueOf() !== -654) { >- testFailed('#4: var d4 = new Date(-6.54321e2); d4.valueOf() === -654;'); >-} >- >-// CHECK#5 >-var d5 = new Date(0.654321e1); >-if (d5.valueOf() !== 6) { >- testFailed('#5: var d5 = new Date(0.654321e1); d5.valueOf() === 6;'); >-} >- >-// CHECK#6 >-var d6 = new Date(-0.654321e1); >-if (d6.valueOf() !== -6) { >- testFailed('#6: var d6 = new Date(-0.654321e1); d6.valueOf() === -6;'); >-} >- >-// CHECK#7 >-var d7 = new Date(true); >-if (d7.valueOf() !== 1) { >- testFailed('#7: var d7 = new Date(true); d7.valueOf() === 1;'); >-} >- >-// CHECK#8 >-var d8 = new Date(false); >-if (d8.valueOf() !== 0) { >- testFailed('#8: var d8 = new Date(false); d8.valueOf() === 0;'); >-} >- >-// CHECK#9 >-var d9 = new Date(1.23e15); >-if (d9.valueOf() !== 1.23e15) { >- testFailed('#9: var d9 = new Date(1.23e15); d9.valueOf() === 1.23e15;'); >-} >- >-// CHECK#10 >-var d10 = new Date(-1.23e15); >-if (d10.valueOf() !== -1.23e15) { >- testFailed('#10: var d10 = new Date(-1.23e15); d10.valueOf() === -1.23e15;'); >-} >- >-// CHECK#11 >-var d11 = new Date(1.23e-15); >-if (d11.valueOf() !== 0) { >- testFailed('#11: var d11 = new Date(1.23e-15); d11.valueOf() === 0;'); >-} >- >-// CHECK#12 >-var d12 = new Date(-1.23e-15); >-if (d12.valueOf() !== -0) { >- testFailed('#12: var d12 = new Date(-1.23e-15); d12.valueOf() === -0;'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2-expected.txt >deleted file mode 100644 >index 2ae543341e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.4_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.html >deleted file mode 100644 >index bbf885b42be..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.4_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.4_A3_T2; >- * @section: 9.4, 15.9; >- * @assertion: Result of ToInteger(value) conversion is the result of computing >- * sign(ToNumber(value)) * floor(abs(ToNumber(value))); >- * @description: For testing constructor Date(NaN, Infinity, Infinity, +0 and -0) is used; >-*/ >- >-// CHECK#1 >-var d1 = new Date(Number.NaN); >-if (!isNaN(d1.valueOf())) { >- testFailed('#1: var d1 = new Date(Number.NaN); d1.valueOf() === Number.NaN;'); >-} >- >-// CHECK#2 >-var d2 = new Date(Infinity); >-if (!isNaN(d2.valueOf())) { >- testFailed('#2: var d2 = new Date(Infinity); d2.valueOf() === Number.NaN;'); >-} >- >-// CHECK#3 >-var d3 = new Date(-Infinity); >-if (!isNaN(d3.valueOf())) { >- testFailed('#3: var d3 = new Date(-Infinity); d3.valueOf() === Number.NaN;'); >-} >- >-// CHECK#4 >-var d4 = new Date(0); >-if (d4.valueOf() !== 0) { >- testFailed('#4: var d4 = new Date(0); d4.valueOf() === 0;'); >-} >- >-// CHECK#5 >-var d5 = new Date(-0); >-if (d5.valueOf() !== -0) { >- testFailed('#5: var d5 = new Date(-0); d5.valueOf() === -0;'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1-expected.txt >deleted file mode 100644 >index 76183a75977..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.html >deleted file mode 100644 >index f209e902718..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A1_T1; >- * @section: 9.5, 11.7.1; >- * @assertion: If value is NaN, +0, -0, +Infinity, or -Infinity, return +0; >- * @description: For testing use operator <<0; >-*/ >- >-// CHECK#1 >-if ((Number.NaN << 0) !== +0) { >- testFailed('#1.1: (Number.NaN << 0) === 0. Actual: ' + ((Number.NaN << 0))); >-} else if (1/(Number.NaN << 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: (Number.NaN << 0) === +0. Actual: -0'); >-} >- >-// CHECK#2 >-if ((Number("abc") << 0) !== +0) { >- testFailed('#2.1: (Number("abc") << 0) === 0. Actual: ' + ((Number("abc") << 0))); >-} else if (1/(0 << 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: (0 << 0) === +0. Actual: -0'); >-} >- >-// CHECK#3 >-if ((0 << 0) !== +0) { >- testFailed('#3.1: (0 << 0) === 0. Actual: ' + ((0 << 0))); >-} else if (1/(0 << 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#3.2: (0 << 0) === +0. Actual: -0'); >-} >- >-// CHECK#4 >-if ((-0 << 0) !== +0) { >- testFailed("#4.1: (-0 << 0) === 0"); >-} else if (1/(-0 << 0) !== Number.POSITIVE_INFINITY) { >- testFailed("#4.2: (-0 << 0) === +0. Actual: -0"); >-} >- >-// CHECK#5 >-if ((Number.POSITIVE_INFINITY << 0) !== +0) { >- testFailed('#5.1: (Number.POSITIVE_INFINITY << 0) === 0. Actual: ' + ((Number.POSITIVE_INFINITY << 0))); >-} else if (1/(Number.POSITIVE_INFINITY << 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#5.2: (Number.POSITIVE_INFINITY << 0) === +0. Actual: -0'); >-} >- >-// CHECK#6 >-if ((Number.NEGATIVE_INFINITY << 0) !== +0) { >- testFailed("#6.1: (Number.NEGATIVE_INFINITY << 0) === 0"); >-} else if (1/(Number.NEGATIVE_INFINITY << 0) !== Number.POSITIVE_INFINITY) { >- testFailed("#6.2: (Number.NEGATIVE_INFINITY << 0) === +0. Actual: -0"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1-expected.txt >deleted file mode 100644 >index ce4550a9771..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.html >deleted file mode 100644 >index 8ae1669a3dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A2.1_T1; >- * @section: 9.5, 11.7.1; >- * @assertion: ToInt32 returns values between -2^31 and 2^31-1; >- * @description: Converting some numbers, which are in\outside of Int32 scopes, with <<0 operator; >-*/ >- >-// CHECK#1 >-if ((-2147483647 << 0) !== -2147483647) { >- testFailed('#1: (-2147483647 << 0) === -2147483647. Actual: ' + ((-2147483647 << 0))); >-} >- >-// CHECK#2 >-if ((-2147483648 << 0) !== -2147483648) { >- testFailed('#2: (-2147483648 << 0) === -2147483648. Actual: ' + ((-2147483648 << 0))); >-} >- >-// CHECK#3 >-if ((-2147483649 << 0) !== 2147483647) { >- testFailed('#3: (-2147483649 << 0) === 2147483647. Actual: ' + ((-2147483649 << 0))); >-} >- >-// CHECK#4 >-if ((-4294967296 << 0) !== 0) { >- testFailed('#4: (-4294967296 << 0) === 0. Actual: ' + ((-4294967296 << 0))); >-} >- >-// CHECK#5 >-if ((2147483646 << 0) !== 2147483646) { >- testFailed('#5: (2147483646 << 0) === 2147483646. Actual: ' + ((2147483646 << 0))); >-} >- >-// CHECK#6 >-if ((2147483647 << 0) !== 2147483647) { >- testFailed('#6: (2147483647 << 0) === 2147483647. Actual: ' + ((2147483647 << 0))); >-} >- >-// CHECK#7 >-if ((2147483648 << 0) !== -2147483648) { >- testFailed('#7: (2147483648 << 0) === -2147483648. Actual: ' + ((2147483648 << 0))); >-} >- >-// CHECK#8 >-if ((4294967296 << 0) !== 0) { >- testFailed('#8: (4294967296 << 0) === 0. Actual: ' + ((4294967296 << 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2-expected.txt >deleted file mode 100644 >index 66f2be88fe1..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.html >deleted file mode 100644 >index a1d7e654130..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A2.1_T2; >- * @section: 9.5, 11.4.8; >- * @assertion: ToInt32 returns values between -2^31 and 2^31-1; >- * @description: Converting some numbers, which are in\outside of Int32 scopes, with ~ operator; >-*/ >- >-// CHECK#1 >-if (~-2147483649 !== ~2147483647) { >- testFailed('#1: ~-2147483649 === ~2147483647'); >-} >- >-// CHECK#2 >-if (~-4294967296 !== ~0) { >- testFailed('#2: ~-4294967296 === ~0'); >-} >- >-// CHECK#3 >-if (~2147483648 !== ~-2147483648) { >- testFailed('#3: ~2147483648 === ~-2147483648'); >-} >- >-// CHECK#4 >-if (~4294967296 !== ~0) { >- testFailed('#4: ~4294967296 === ~0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1-expected.txt >deleted file mode 100644 >index 28dede3ae29..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.html >deleted file mode 100644 >index 1995000a9da..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.html >+++ /dev/null >@@ -1,152 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A2.2_T1; >- * @section: 9.5, 11.7.1; >- * @assertion: Compute result modulo 2^32; >- * @description: Use operator <<0; >-*/ >- >-// CHECK#1 >-if ((-2147483647 << 0) !== -2147483647) { >- testFailed('#1: (-2147483647 << 0) === -2147483647. Actual: ' + ((-2147483647 << 0))); >-} >- >-// CHECK#2 >-if ((-2147483648 << 0) !== -2147483648) { >- testFailed('#2: (-2147483648 << 0) === -2147483648. Actual: ' + ((-2147483648 << 0))); >-} >- >-// CHECK#3 >-if ((-2147483649 << 0) !== 2147483647) { >- testFailed('#3: (-2147483649 << 0) === 2147483647. Actual: ' + ((-2147483649 << 0))); >-} >- >-// CHECK#4 >-if ((4294967295 << 0) !== -1) { >- testFailed('#4: (4294967295 << 0) === -1. Actual: ' + ((4294967295 << 0))); >-} >- >-// CHECK#5 >-if ((4294967296 << 0) !== 0) { >- testFailed('#5: (4294967296 << 0) === 0. Actual: ' + ((4294967296 << 0))); >-} >- >-// CHECK#6 >-if ((4294967297 << 0) !== 1) { >- testFailed('#6: (4294967297 << 0) === 1. Actual: ' + ((4294967297 << 0))); >-} >- >-// CHECK#7 >-if ((-4294967295 << 0) !== 1) { >- testFailed('#7: (-4294967295 << 0) === 1. Actual: ' + ((-4294967295 << 0))); >-} >- >-// CHECK#8 >-if ((-4294967296 << 0) !== 0) { >- testFailed('#8: (-4294967296 << 0) === 0. Actual: ' + ((-4294967296 << 0))); >-} >- >-// CHECK#9 >-if ((-4294967297 << 0) !== -1) { >- testFailed('#9: (-4294967297 << 0) === -1. Actual: ' + ((-4294967297 << 0))); >-} >- >-// CHECK#10 >-if ((8589934591 << 0) !== -1) { >- testFailed('#10: (8589934591 << 0) === -1. Actual: ' + ((8589934591 << 0))); >-} >- >-// CHECK#11 >-if ((8589934592 << 0) !== 0) { >- testFailed('#11: (8589934592 << 0) === 0. Actual: ' + ((8589934592 << 0))); >-} >- >-// CHECK#12 >-if ((8589934593 << 0) !== 1) { >- testFailed('#12: (8589934593 << 0) === 1. Actual: ' + ((8589934593 << 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2-expected.txt >deleted file mode 100644 >index ca2ce4423bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.html >deleted file mode 100644 >index 33fd411924e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.html >+++ /dev/null >@@ -1,152 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A2.2_T2; >- * @section: 9.5, 11.4.8; >- * @assertion: Compute result modulo 2^32; >- * @description: Use operator ~; >-*/ >- >-// CHECK#1 >-if (~-2147483647 !== 2147483646) { >- testFailed('#1: ~-2147483647 === 2147483646)'); >-} >- >-// CHECK#2 >-if (~-2147483648 !== ~-2147483648) { >- testFailed('#2: ~-2147483648 ==== ~-2147483648)'); >-} >- >-// CHECK#3 >-if (~-2147483649 !== ~2147483647) { >- testFailed('#3: ~-2147483649 ==== ~2147483647)'); >-} >- >-// CHECK#4 >-if ((~4294967295 << 0) !== ~-1) { >- testFailed('#4: (~4294967295 << 0) === ~-1)'); >-} >- >-// CHECK#5 >-if ((~4294967296 << 0) !== ~0) { >- testFailed('#5: (~4294967296 << 0) === ~0)'); >-} >- >-// CHECK#6 >-if ((~4294967297 << 0) !== ~1) { >- testFailed('#6: (~4294967297 << 0) === ~1)'); >-} >- >-// CHECK#7 >-if ((~-4294967295 << 0) !== ~1) { >- testFailed('#7: (~-4294967295 << 0) === ~1)'); >-} >- >-// CHECK#8 >-if ((~-4294967296 << 0) !== ~0) { >- testFailed('#8: (~-4294967296 << 0) === ~0)'); >-} >- >-// CHECK#9 >-if ((~-4294967297 << 0) !== ~-1) { >- testFailed('#9: (~-4294967297 << 0) === ~-1)'); >-} >- >-// CHECK#10 >-if ((~8589934591 << 0) !== ~-1) { >- testFailed('#10: (~8589934591 << 0) === ~-1)'); >-} >- >-// CHECK#11 >-if ((~8589934592 << 0) !== ~0) { >- testFailed('#11: (~8589934592 << 0) === ~0)'); >-} >- >-// CHECK#12 >-if ((~8589934593 << 0) !== ~1) { >- testFailed('#12: (~8589934593 << 0) === ~1)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1-expected.txt >deleted file mode 100644 >index 96d309f1996..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.html >deleted file mode 100644 >index 89de550717a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A2.3_T1; >- * @section: 9.5, 11.7.1; >- * @assertion: If result is greater than or equal to 2^31, return result -2^32; >- * @description: Use operator <<0; >-*/ >- >-// CHECK#1 >-if ((2147483647 << 0) !== 2147483647) { >- testFailed('#1: (2147483647 << 0) === 2147483647. Actual: ' + ((2147483647 << 0))); >-} >- >-// CHECK#2 >-if ((2147483648 << 0) !== -2147483648) { >- testFailed('#2: (2147483648 << 0) === -2147483648. Actual: ' + ((2147483648 << 0))); >-} >- >-// CHECK#3 >-if ((2147483649 << 0) !== -2147483647) { >- testFailed('#3: (2147483649 << 0) === -2147483647. Actual: ' + ((2147483649 << 0))); >-} >- >-// CHECK#4 >-if ((4294967295 << 0) !== -1) { >- testFailed('#4: (4294967295 << 0) === -1. Actual: ' + ((4294967295 << 0))); >-} >- >-// CHECK#5 >-if ((4294967296 << 0) !== 0) { >- testFailed('#5: (4294967296 << 0) === 0. Actual: ' + ((4294967296 << 0))); >-} >- >-// CHECK#6 >-if ((4294967297 << 0) !== 1) { >- testFailed('#6: (4294967297 << 0) === 1. Actual: ' + ((4294967297 << 0))); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2-expected.txt >deleted file mode 100644 >index 55e37699dc1..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A2.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.html >deleted file mode 100644 >index 2e0ddda20ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A2.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A2.3_T2; >- * @section: 9.5, 11.4.8; >- * @assertion: If result is greater than or equal to 2^31, return result -2^32; >- * @description: Use operator ~; >-*/ >- >-// CHECK#1 >-if (~2147483647 !== -2147483648) { >- testFailed('#1: ~2147483647 ==== -2147483648)'); >-} >- >-// CHECK#2 >-if (~2147483648 !== ~-2147483648) { >- testFailed('#2: ~2147483648 ==== ~-2147483648)'); >-} >- >-// CHECK#3 >-if (~2147483649 !== ~-2147483647) { >- testFailed('#3: ~2147483649 ==== ~-2147483647)'); >-} >- >-// CHECK#4 >-if (~4294967295 !== ~-1) { >- testFailed('#4: ~4294967295 ==== ~-1)'); >-} >- >-// CHECK#5 >-if (~4294967296 !== ~0) { >- testFailed('#5: ~4294967296 ==== ~0)'); >-} >- >-// CHECK#6 >-if (~4294967297 !== ~1) { >- testFailed('#6: ~4294967297 ==== ~1)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1-expected.txt >deleted file mode 100644 >index 08b2a8d60fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.html >deleted file mode 100644 >index a9143ba5e9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A3.1_T1; >- * @section: 9.5; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Boolean; >-*/ >- >-// CHECK#1 >-if ((new Boolean(true) << 0) !== 1) { >- testFailed('#1: (new Boolean(true) << 0) === 1. Actual: ' + ((new Boolean(true) << 0))); >-} >- >-// CHECK#2 >-if ((false << 0) !== 0) { >- testFailed('#2: (false << 0) === 0. Actual: ' + ((false << 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2-expected.txt >deleted file mode 100644 >index 149e1ad1972..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.html >deleted file mode 100644 >index 038b079f1eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A3.1_T2; >- * @section: 9.5; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Number; >-*/ >- >-// CHECK#1 >-if ((new Number(1) << 0) !== 1) { >- testFailed('#1: (new Number(1) << 0) === 1. Actual: ' + ((new Number(1) << 0))); >-} >- >-// CHECK#2 >-if ((-1.234 << 0) !== -1) { >- testFailed('#2: (-1.234 << 0) === -1. Actual: ' + ((-1.234 << 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3-expected.txt >deleted file mode 100644 >index b9689b6f11f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.html >deleted file mode 100644 >index 6442128c7ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A3.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A3.1_T3; >- * @section: 9.5; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is String; >-*/ >- >-// CHECK#1 >-if ((new String(1) << 0) !== 1) { >- testFailed('#1: (new String(1) << 0) === 1. Actual: ' + ((new String(1) << 0))); >-} >- >-// CHECK#2 >-if (("-1.234" << 0) !== -1) { >- testFailed('#2: ("-1.234" << 0) === -1. Actual: ' + (("-1.234" << 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4-expected.txt >deleted file mode 100644 >index f91ad357de6..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.html >deleted file mode 100644 >index e927626782f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.html >+++ /dev/null >@@ -1,161 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A3.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A3.1_T4; >- * @section: 9.5; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Object; >-*/ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-if (~object !== ~1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; ~object === ~1'); >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if (~object !== ~1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; ~object === ~1'); >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-if (~object !== ~1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; ~object === ~1'); >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- if (~object !== ~1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object === ~1'); >- } >-} >-catch (e) { >- if (e === ~"error") { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object not throw "error"'); >- } else { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-if (~object !== ~1) { >- testFailed('#5: var object = {toString: function() {return 1}}; ~object === ~1'); >-} >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-if (~object !== ~1) { >- testFailed('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; ~object === ~1'); >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- ~object; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ~object throw "error". Actual: ' + (~object)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ~object throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- ~object; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ~object throw TypeError. Actual: ' + (~object)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ~object throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1-expected.txt >deleted file mode 100644 >index be0b7f01cb1..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.html >deleted file mode 100644 >index 6b8bc4ce8c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A3.2_T1; >- * @section: 9.5; >- * @assertion: Operator uses floor, abs; >- * @description: Use operator <<0; >-*/ >- >-// CHECK#1 >-if ((1.2345 << 0) !== 1) { >- testFailed('#1: (1.2345 << 0) === 1. Actual: ' + ((1.2345 << 0))); >-} >- >-// CHECK#2 >-if ((-5.4321 << 0) !== -5) { >- testFailed('#2: (-5.4321 << 0) === -5. Actual: ' + ((-5.4321 << 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2-expected.txt >deleted file mode 100644 >index b001eaca2f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.5_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.html >deleted file mode 100644 >index 1599dd461dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.5_A3.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.5_A3.2_T2; >- * @section: 9.5; >- * @assertion: Operator uses floor, abs; >- * @description: Use operator ~; >-*/ >- >-// CHECK#1 >-if (~1.2345 !== ~1) { >- testFailed('#1: ~1.2345 === ~1)'); >-} >- >-// CHECK#2 >-if (~-5.4321 !== ~-5) { >- testFailed('#2: ~-5.4321 === ~-5)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1-expected.txt >deleted file mode 100644 >index e49879109d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.6_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1.html >deleted file mode 100644 >index f2234bd0e85..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.6_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.6_A1; >- * @section: 9.6, 11.7.3; >- * @assertion: If value is NaN, +0, -0, +Infinity, or -Infinity, return +0; >- * @description: For testing use operator >>>0; >-*/ >- >-// CHECK#1 >-if ((Number.NaN >>> 0) !== +0) { >- testFailed('#1.1: (Number.NaN >>> 0) === 0. Actual: ' + ((Number.NaN >>> 0))); >-} else if (1/(Number.NaN >>> 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: (Number.NaN >>> 0) === +0. Actual: -0'); >-} >- >-// CHECK#2 >-if ((Number("abc") >>> 0) !== +0) { >- testFailed('#2.1: (Number("abc") >>> 0) === 0. Actual: ' + ((Number("abc") >>> 0))); >-} else if (1/(0 >>> 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: (0 >>> 0) === +0. Actual: -0'); >-} >- >-// CHECK#3 >-if ((0 >>> 0) !== +0) { >- testFailed('#3.1: (0 >>> 0) === 0. Actual: ' + ((0 >>> 0))); >-} else if (1/(0 >>> 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#3.2: (0 >>> 0) === +0. Actual: -0'); >-} >- >-// CHECK#4 >-if ((-0 >>> 0) !== +0) { >- testFailed("#4.1: (-0 >>> 0) === 0"); >-} else if (1/(-0 >>> 0) !== Number.POSITIVE_INFINITY) { >- testFailed("#4.2: (-0 >>> 0) === +0. Actual: -0"); >-} >- >-// CHECK#5 >-if ((Number.POSITIVE_INFINITY >>> 0) !== +0) { >- testFailed('#5.1: (Number.POSITIVE_INFINITY >>> 0) === 0. Actual: ' + ((Number.POSITIVE_INFINITY >>> 0))); >-} else if (1/(Number.POSITIVE_INFINITY >>> 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#5.2: (Number.POSITIVE_INFINITY >>> 0) === +0. Actual: -0'); >-} >- >-// CHECK#6 >-if ((Number.NEGATIVE_INFINITY >>> 0) !== +0) { >- testFailed("#6.1: (Number.NEGATIVE_INFINITY >>> 0) === 0"); >-} else if (1/(Number.NEGATIVE_INFINITY >>> 0) !== Number.POSITIVE_INFINITY) { >- testFailed("#6.2: (Number.NEGATIVE_INFINITY >>> 0) === +0. Actual: -0"); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1-expected.txt >deleted file mode 100644 >index 01d434a1acd..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.6_A2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.html >deleted file mode 100644 >index 081003096e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.6_A2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.6_A2.1; >- * @section: 9.6, 11.7.3; >- * @assertion: ToUint32 returns values between 0 and 2^32-1; >- * @description: Converting numbers, which are in\outside of Uint32 scopes, with >>>0 operator; >-*/ >- >-// CHECK#1 >-if ((0 >>> 0) !== 0) { >- testFailed('#1: (0 >>> 0) === 0. Actual: ' + ((0 >>> 0))); >-} >- >-// CHECK#2 >-if ((1 >>> 0) !== 1) { >- testFailed('#2: (1 >>> 0) === 1. Actual: ' + ((1 >>> 0))); >-} >- >-// CHECK#3 >-if ((-1 >>> 0) !== 4294967295) { >- testFailed('#3: (-1 >>> 0) === 4294967295. Actual: ' + ((-1 >>> 0))); >-} >- >-// CHECK#4 >-if ((4294967295 >>> 0) !== 4294967295) { >- testFailed('#4: (4294967295 >>> 0) === 4294967295. Actual: ' + ((4294967295 >>> 0))); >-} >- >-// CHECK#5 >-if ((4294967294 >>> 0) !== 4294967294) { >- testFailed('#5: (4294967294 >>> 0) === 4294967294. Actual: ' + ((4294967294 >>> 0))); >-} >- >-// CHECK#6 >-if ((4294967296 >>> 0) !== 0) { >- testFailed('#6: (4294967296 >>> 0) === 0. Actual: ' + ((4294967296 >>> 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2-expected.txt >deleted file mode 100644 >index 069488c6706..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.6_A2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.html >deleted file mode 100644 >index 6c9c621771b..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.html >+++ /dev/null >@@ -1,152 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.6_A2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.6_A2.2; >- * @section: 9.6, 11.7.3; >- * @assertion: Compute result modulo 2^32; >- * @description: Use operator >>>0; >-*/ >- >-// CHECK#1 >-if ((-2147483647 >>> 0) !== 2147483649) { >- testFailed('#1: (-2147483647 >>> 0) === 2147483649. Actual: ' + ((-2147483647 >>> 0))); >-} >- >-// CHECK#2 >-if ((-2147483648 >>> 0) !== 2147483648) { >- testFailed('#2: (-2147483648 >>> 0) === 2147483648. Actual: ' + ((-2147483648 >>> 0))); >-} >- >-// CHECK#3 >-if ((-2147483649 >>> 0) !== 2147483647) { >- testFailed('#3: (-2147483649 >>> 0) === 2147483647. Actual: ' + ((-2147483649 >>> 0))); >-} >- >-// CHECK#4 >-if ((-4294967295 >>> 0) !== 1) { >- testFailed('#4: (-4294967295 >>> 0) === 1. Actual: ' + ((-4294967295 >>> 0))); >-} >- >-// CHECK#5 >-if ((-4294967296 >>> 0) !== 0) { >- testFailed('#5: (-4294967296 >>> 0) === 0. Actual: ' + ((-4294967296 >>> 0))); >-} >- >-// CHECK#6 >-if ((-4294967297 >>> 0) !== 4294967295) { >- testFailed('#6: (-4294967297 >>> 0) === 4294967295. Actual: ' + ((-4294967297 >>> 0))); >-} >- >-// CHECK#7 >-if ((4294967295 >>> 0) !== 4294967295) { >- testFailed('#7: (4294967295 >>> 0) === 4294967295. Actual: ' + ((4294967295 >>> 0))); >-} >- >-// CHECK#8 >-if ((4294967296 >>> 0) !== 0) { >- testFailed('#8: (4294967296 >>> 0) === 0. Actual: ' + ((4294967296 >>> 0))); >-} >- >-// CHECK#9 >-if ((4294967297 >>> 0) !== 1) { >- testFailed('#9: (4294967297 >>> 0) === 1. Actual: ' + ((4294967297 >>> 0))); >-} >- >-// CHECK#10 >-if ((8589934591 >>> 0) !== 4294967295) { >- testFailed('#10: (8589934591 >>> 0) === 4294967295. Actual: ' + ((8589934591 >>> 0))); >-} >- >-// CHECK#11 >-if ((8589934592 >>> 0) !== 0) { >- testFailed('#11: (8589934592 >>> 0) === 0. Actual: ' + ((8589934592 >>> 0))); >-} >- >-// CHECK#12 >-if ((8589934593 >>> 0) !== 1) { >- testFailed('#12: (8589934593 >>> 0) === 1. Actual: ' + ((8589934593 >>> 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1-expected.txt >deleted file mode 100644 >index b543fa5ec34..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.6_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.html >deleted file mode 100644 >index d6a54b58470..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.6_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.6_A3.1_T1; >- * @section: 9.6; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Boolean; >-*/ >- >-// CHECK#1 >-if ((new Boolean(true) >>> 0) !== 1) { >- testFailed('#1: (new Boolean(true) >>> 0) === 1. Actual: ' + ((new Boolean(true) >>> 0))); >-} >- >-// CHECK#2 >-if ((false >>> 0) !== 0) { >- testFailed('#2: (false >>> 0) === 0. Actual: ' + ((false >>> 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2-expected.txt >deleted file mode 100644 >index 8c5fa2c2c9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.6_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.html >deleted file mode 100644 >index 70c3b66a815..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.6_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.6_A3.1_T2; >- * @section: 9.6; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Number; >-*/ >- >-// CHECK#1 >-if ((new Number(1) >>> 0) !== 1) { >- testFailed('#1: (new Number(1) >>> 0) === 1. Actual: ' + ((new Number(1) >>> 0))); >-} >- >-// CHECK#2 >-if ((-1.234 >>> 0) !== 4294967295) { >- testFailed('#2: (-1.234 >>> 0) === 4294967295. Actual: ' + ((-1.234 >>> 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3-expected.txt >deleted file mode 100644 >index 6002eef96b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.6_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.html >deleted file mode 100644 >index 7337ea59adf..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.6_A3.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.6_A3.1_T3; >- * @section: 9.6; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is String; >-*/ >- >-// CHECK#1 >-if ((new String(1) >>> 0) !== 1) { >- testFailed('#1: (new String(1) >>> 0) === 1. Actual: ' + ((new String(1) >>> 0))); >-} >- >-// CHECK#2 >-if (("-1.234" >>> 0) !== 4294967295) { >- testFailed('#2: ("-1.234" >>> 0) === 4294967295. Actual: ' + (("-1.234" >>> 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4-expected.txt >deleted file mode 100644 >index ccb33454991..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.6_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.html >deleted file mode 100644 >index 56c4e40b8e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.html >+++ /dev/null >@@ -1,161 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.6_A3.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.6_A3.1_T4; >- * @section: 9.6; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Object; >-*/ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-if ((object >>> 0) !== 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if ((object >>> 0) !== 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-if ((object >>> 0) !== 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- if ((object >>> 0) !== 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object not throw "error"'); >- } else { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-if ((object >>> 0) !== 1) { >- testFailed('#5: var object = {toString: function() {return 1}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); >-} >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-if ((object >>> 0) !== 1) { >- testFailed('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; (object >>> 0) === 1. Actual: ' + ((object >>> 0))); >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- object >>> 0; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object throw "error". Actual: ' + (object >>> 0)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- object >>> 0; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object throw TypeError. Actual: ' + (object >>> 0)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1-expected.txt >deleted file mode 100644 >index 8237c192f1e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.6_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.html >deleted file mode 100644 >index 4b1c5c380e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.6_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.6_A3.2_T1; >- * @section: 9.6; >- * @assertion: Operator uses floor, abs; >- * @description: Use operator >>>0; >-*/ >- >-// CHECK#1 >-if ((1.2345 >>> 0) !== 1) { >- testFailed('#1: (1.2345 >>> 0) === 1. Actual: ' + ((1.2345 >>> 0))); >-} >- >-// CHECK#2 >-if ((-5.4321 >>> 0) !== 4294967291) { >- testFailed('#2: (-5.4321 >>> 0) === 4294967291. Actual: ' + ((-5.4321 >>> 0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1-expected.txt >deleted file mode 100644 >index f1b1b285a6c..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.7_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1.html >deleted file mode 100644 >index cbf168f493f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.7_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.7_A1; >- * @section: 9.7, 15.5.3.2, 15.5.4.5; >- * @assertion: If value is NaN, +0, -0, +Infinity, or -Infinity, return +0; >- * @description: For testing use String.fromCharCode(Number).charCodeAt(0) construction; >-*/ >- >-// CHECK#1 >-if (String.fromCharCode(Number.NaN).charCodeAt(0) !== +0) { >- testFailed('#1.1: String.fromCharCode(Number.NaN).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number.NaN).charCodeAt(0))); >-} else if (1/String.fromCharCode(Number.NaN).charCodeAt(0) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: String.fromCharCode(Number.NaN).charCodeAt(0) === +0. Actual: -0'); >-} >- >-// CHECK#2 >-if (String.fromCharCode(Number("abc")).charCodeAt(0) !== +0) { >- testFailed('#2.1: String.fromCharCode(Number("abc")).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number("abc")).charCodeAt(0))); >-} else if (1/String.fromCharCode(0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: String.fromCharCode(0).charCodeAt(0) === +0. Actual: -0'); >-} >- >-// CHECK#3 >-if (String.fromCharCode(0).charCodeAt(0) !== +0) { >- testFailed('#3.1: String.fromCharCode(0).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(0).charCodeAt(0))); >-} else if (1/String.fromCharCode(0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { >- testFailed('#3.2: String.fromCharCode(0).charCodeAt(0) === +0. Actual: -0'); >-} >- >-// CHECK#4 >-if (String.fromCharCode(-0).charCodeAt(0) !== +0) { >- testFailed("#4.1: String.fromCharCode(-0).charCodeAt(0) === +0"); >-} else if (1/String.fromCharCode(-0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { >- testFailed("#4.2: String.fromCharCode(-0).charCodeAt(0) === +0. Actual: -0"); >-} >- >-// CHECK#5 >-if (String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) !== +0) { >- testFailed('#5.1: String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0))); >-} else if (1/String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) !== Number.POSITIVE_INFINITY) { >- testFailed('#5.2: String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) === +0. Actual: -0'); >-} >- >-// CHECK#6 >-if (String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) !== +0) { >- testFailed("#6.1: String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) === +0"); >-} else if (1/String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) !== Number.POSITIVE_INFINITY) { >- testFailed("#6.2: String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) === +0. Actual: -0"); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1-expected.txt >deleted file mode 100644 >index ccead41a45f..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.7_A2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.html >deleted file mode 100644 >index 9e0a132b7b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.7_A2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.7_A2.1; >- * @section: 9.7, 11.7.3; >- * @assertion: ToUint16 returns values between 0 and 2^16-1; >- * @description: Converting numbers, which are in\outside of Uint16 scopes, with String.fromCharCode(Number).charCodeAt(0) construction; >-*/ >- >-// CHECK#1 >-if (String.fromCharCode(0).charCodeAt(0) !== 0) { >- testFailed('#1: String.fromCharCode(0).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(0).charCodeAt(0))); >-} >- >-// CHECK#2 >-if (String.fromCharCode(1).charCodeAt(0) !== 1) { >- testFailed('#2: String.fromCharCode(1).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(1).charCodeAt(0))); >-} >- >-// CHECK#3 >-if (String.fromCharCode(-1).charCodeAt(0) !== 65535) { >- testFailed('#3: String.fromCharCode(-1).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(-1).charCodeAt(0))); >-} >- >-// CHECK#4 >-if (String.fromCharCode(65535).charCodeAt(0) !== 65535) { >- testFailed('#4: String.fromCharCode(65535).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(65535).charCodeAt(0))); >-} >- >-// CHECK#5 >-if (String.fromCharCode(65534).charCodeAt(0) !== 65534) { >- testFailed('#5: String.fromCharCode(65534).charCodeAt(0) === 65534. Actual: ' + (String.fromCharCode(65534).charCodeAt(0))); >-} >- >-// CHECK#6 >-if (String.fromCharCode(65536).charCodeAt(0) !== 0) { >- testFailed('#6: String.fromCharCode(65536).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(65536).charCodeAt(0))); >-} >- >-// CHECK#7 >-if (String.fromCharCode(4294967295).charCodeAt(0) !== 65535) { >- testFailed('#7: String.fromCharCode(4294967295).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(4294967295).charCodeAt(0))); >-} >- >-// CHECK#8 >-if (String.fromCharCode(4294967294).charCodeAt(0) !== 65534) { >- testFailed('#8: String.fromCharCode(4294967294).charCodeAt(0) === 65534. Actual: ' + (String.fromCharCode(4294967294).charCodeAt(0))); >-} >- >-// CHECK#9 >-if (String.fromCharCode(4294967296).charCodeAt(0) !== 0) { >- testFailed('#9: String.fromCharCode(4294967296).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(4294967296).charCodeAt(0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2-expected.txt >deleted file mode 100644 >index addcbef5a00..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.7_A2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.html >deleted file mode 100644 >index 9dd90e46c2b..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.html >+++ /dev/null >@@ -1,152 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.7_A2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.7_A2.2; >- * @section: 9.7, 11.7.3; >- * @assertion: Compute result modulo 2^16; >- * @description: For testing use String.fromCharCode(Number).charCodeAt(0) construction; >-*/ >- >-// CHECK#1 >-if (String.fromCharCode(-32767).charCodeAt(0) !== 32769) { >- testFailed('#1: String.fromCharCode(-32767).charCodeAt(0) === 32769. Actual: ' + (String.fromCharCode(-32767).charCodeAt(0))); >-} >- >-// CHECK#2 >-if (String.fromCharCode(-32768).charCodeAt(0) !== 32768) { >- testFailed('#2: String.fromCharCode(-32768).charCodeAt(0) === 32768. Actual: ' + (String.fromCharCode(-32768).charCodeAt(0))); >-} >- >-// CHECK#3 >-if (String.fromCharCode(-32769).charCodeAt(0) !== 32767) { >- testFailed('#3: String.fromCharCode(-32769).charCodeAt(0) === 32767. Actual: ' + (String.fromCharCode(-32769).charCodeAt(0))); >-} >- >-// CHECK#4 >-if (String.fromCharCode(-65535).charCodeAt(0) !== 1) { >- testFailed('#4: String.fromCharCode(-65535).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(-65535).charCodeAt(0))); >-} >- >-// CHECK#5 >-if (String.fromCharCode(-65536).charCodeAt(0) !== 0) { >- testFailed('#5: String.fromCharCode(-65536).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(-65536).charCodeAt(0))); >-} >- >-// CHECK#6 >-if (String.fromCharCode(-65537).charCodeAt(0) !== 65535) { >- testFailed('#6: String.fromCharCode(-65537).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(-65537).charCodeAt(0))); >-} >- >-// CHECK#7 >-if (String.fromCharCode(65535).charCodeAt(0) !== 65535) { >- testFailed('#7: String.fromCharCode(65535).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(65535).charCodeAt(0))); >-} >- >-// CHECK#8 >-if (String.fromCharCode(65536).charCodeAt(0) !== 0) { >- testFailed('#8: String.fromCharCode(65536).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(65536).charCodeAt(0))); >-} >- >-// CHECK#9 >-if (String.fromCharCode(65537).charCodeAt(0) !== 1) { >- testFailed('#9: String.fromCharCode(65537).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(65537).charCodeAt(0))); >-} >- >-// CHECK#10 >-if (String.fromCharCode(131071).charCodeAt(0) !== 65535) { >- testFailed('#10: String.fromCharCode(131071).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(131071).charCodeAt(0))); >-} >- >-// CHECK#11 >-if (String.fromCharCode(131072).charCodeAt(0) !== 0) { >- testFailed('#11: String.fromCharCode(131072).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(131072).charCodeAt(0))); >-} >- >-// CHECK#12 >-if (String.fromCharCode(131073).charCodeAt(0) !== 1) { >- testFailed('#12: String.fromCharCode(131073).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(131073).charCodeAt(0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1-expected.txt >deleted file mode 100644 >index ed268859add..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.7_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.html >deleted file mode 100644 >index 198453f086e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.7_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.7_A3.1_T1; >- * @section: 9.7; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Boolean; >-*/ >- >-// CHECK#1 >-if (String.fromCharCode(new Boolean(true)).charCodeAt(0) !== 1) { >- testFailed('#1: String.fromCharCode(new Boolean(true)).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(new Boolean(true)).charCodeAt(0))); >-} >- >-// CHECK#2 >-if (String.fromCharCode(false).charCodeAt(0) !== 0) { >- testFailed('#2: String.fromCharCode(false).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(false).charCodeAt(0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2-expected.txt >deleted file mode 100644 >index 916a40ab328..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.7_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.html >deleted file mode 100644 >index 7fde335c536..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.7_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.7_A3.1_T2; >- * @section: 9.7; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Number; >-*/ >- >-// CHECK#1 >-if (String.fromCharCode(new Number(1)).charCodeAt(0) !== 1) { >- testFailed('#1: String.fromCharCode(new Number(1)).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(new Number(1)).charCodeAt(0))); >-} >- >-// CHECK#2 >-if (String.fromCharCode(-1.234).charCodeAt(0) !== 65535) { >- testFailed('#2: String.fromCharCode(-1.234).charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode(-1.234).charCodeAt(0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3-expected.txt >deleted file mode 100644 >index bd4bbd4a430..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.7_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.html >deleted file mode 100644 >index aaff403f504..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.7_A3.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.7_A3.1_T3; >- * @section: 9.7; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is String; >-*/ >- >-// CHECK#1 >-if (String.fromCharCode(new String(1)).charCodeAt(0) !== 1) { >- testFailed('#1: String.fromCharCode(new String(1)).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(new String(1)).charCodeAt(0))); >-} >- >-// CHECK#2 >-if (String.fromCharCode("-1.234").charCodeAt(0) !== 65535) { >- testFailed('#2: String.fromCharCode("-1.234").charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode("-1.234").charCodeAt(0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4-expected.txt >deleted file mode 100644 >index 24cb49ce72e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.7_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.html >deleted file mode 100644 >index 186f65f25e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.html >+++ /dev/null >@@ -1,161 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.7_A3.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.7_A3.1_T4; >- * @section: 9.7; >- * @assertion: Operator uses ToNumber; >- * @description: Type(x) is Object; >-*/ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-if (String.fromCharCode(object).charCodeAt(0) !== 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if (String.fromCharCode(object).charCodeAt(0) !== 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-if (String.fromCharCode(object).charCodeAt(0) !== 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- if (String.fromCharCode(object).charCodeAt(0) !== 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object not throw "error"'); >- } else { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-if (String.fromCharCode(object).charCodeAt(0) !== 1) { >- testFailed('#5: var object = {toString: function() {return 1}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); >-} >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-if (String.fromCharCode(object).charCodeAt(0) !== 1) { >- testFailed('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; String.fromCharCode(object).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(object).charCodeAt(0))); >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- object >>> 0; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object throw "error". Actual: ' + (object >>> 0)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- object >>> 0; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object throw TypeError. Actual: ' + (object >>> 0)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1-expected.txt >deleted file mode 100644 >index e6eeeebacdd..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.7_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.html >deleted file mode 100644 >index 90964228566..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.7_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.7_A3.2_T1; >- * @section: 9.7; >- * @assertion: Operator uses floor, abs; >- * @description: For testing use String.fromCharCode(Number).charCodeAt(0) construction; >-*/ >- >-// CHECK#1 >-if (String.fromCharCode(1.2345).charCodeAt(0) !== 1) { >- testFailed('#1: String.fromCharCode(1.2345).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(1.2345).charCodeAt(0))); >-} >- >-// CHECK#2 >-if (String.fromCharCode(-5.4321).charCodeAt(0) !== 65531) { >- testFailed('#2: String.fromCharCode(-5.4321).charCodeAt(0) === 65531. Actual: ' + (String.fromCharCode(-5.4321).charCodeAt(0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1-expected.txt >deleted file mode 100644 >index 1a5be0840ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.html >deleted file mode 100644 >index 8339f191f07..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A1; >- * @section: 9.8.1; >- * @assertion: If m is NaN, return the string "NaN"; >- * @description: NaN convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(NaN) !== "NaN") { >- testFailed('#1: String(NaN) === Not-a-Number Actual: ' + (String(NaN))); >-} >- >-// CHECK#2 >-if (String(Number.NaN) !== "NaN") { >- testFailed('#2: String(Number.NaN) === Not-a-Number Actual: ' + (String(Number.NaN))); >-} >- >-// CHECK#3 >-if (String(Number("asasa")) !== "NaN") { >- testFailed('#3: String(Number("asasa")) === Not-a-Number Actual: ' + (String(Number("asasa")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10-expected.txt >deleted file mode 100644 >index 52a91f596ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.html >deleted file mode 100644 >index 5466d13c0f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A10; >- * @section: 9.8.1; >- * @assertion: Return the string consisting of the most significant >- * digit of the decimal representation of s, followed by a decimal point '.', >- * followed by the remaining k-1 digits of the decimal representation of s, >- * followed by the lowercase character 'e', followed by a plus sign '+' or >- * minus sign '-' according to whether n-1 is positive or negative, followed >- * by the decimal representation of the integer abs(n-1) (with no leading zeros); >- * @description: Various float numbers convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(1.2345) !== "1.2345") { >- testFailed('#1: String(1.2345) === "1.2345". Actual: ' + (String(1.2345))); >-} >- >-// CHECK#2 >-if (String(1.234567890) !== "1.23456789") { >- testFailed('#2: String(1.234567890) === "1.23456789". Actual: ' + (String(1.234567890))); >-} >- >-// CHECK#3 >-if (String(0.12345) !== "0.12345") { >- testFailed('#3: String(0.12345) === "0.12345". Actual: ' + (String(0.12345))); >-} >- >-// CHECK#4 >-if (String(.012345) !== "0.012345") { >- testFailed('#4: String(.012345) === "0.012345". Actual: ' + (String(.012345))); >-} >- >-// CHECK#5 >-if (String(.0012345) !== "0.0012345") { >- testFailed('#5: String(.0012345) === "0.0012345". Actual: ' + (String(.0012345))); >-} >- >-// CHECK#6 >-if (String(.00012345) !== "0.00012345") { >- testFailed('#6: String(.00012345) === "0.00012345". Actual: ' + (String(.00012345))); >-} >- >-// CHECK#7 >-if (String(.000012345) !== "0.000012345") { >- testFailed('#7: String(.000012345) === "0.000012345". Actual: ' + (String(.000012345))); >-} >- >-// CHECK#8 >-if (String(.0000012345) !== "0.0000012345") { >- testFailed('#8: String(.0000012345) === "0.0000012345". Actual: ' + (String(.0000012345))); >-} >- >-// CHECK#9 >-if (String(.00000012345) !== "1.2345e-7") { >- testFailed('#9: String(.00000012345) === "1.2345e-7". Actual: ' + (String(.00000012345))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2-expected.txt >deleted file mode 100644 >index 61f9bcfec80..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.html >deleted file mode 100644 >index 2bfcbd8d980..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A2; >- * @section: 9.8.1; >- * @assertion: If m is +0 or -0, return the string "0"; >- * @description: +0 and -0 convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(+0) !== "0") { >- testFailed('#1: String(+0) === "0". Actual: ' + (String(+0))); >-} >- >-// CHECK#2 >-if (String(-0) !== "0") { >- testFailed('#2: String(-0) === "0". Actual: ' + (String(-0))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3-expected.txt >deleted file mode 100644 >index 3fdad4d175e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.html >deleted file mode 100644 >index 7bb2b3c98f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A3; >- * @section: 9.8.1; >- * @assertion: If m is less than zero, return the string concatenation of the >- * string "-" and ToString(-m); >- * @description: -1234567890 convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(-1234567890) !== "-1234567890") { >- testFailed('#1: String(-1234567890) === "-1234567890". Actual: ' + (String(-1234567890))); >-} >- >-// CHECK#2 >-if ("-"+String(-(-1234567890)) !== "-1234567890") { >- testFailed('#2: "-"+String(-(-1234567890)) === "-1234567890". Actual: ' + ("-"+String(-(-1234567890)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4-expected.txt >deleted file mode 100644 >index 6ed579dba85..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.html >deleted file mode 100644 >index 1c792f31585..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A4; >- * @section: 9.8.1; >- * @assertion: If m is infinity, return the string "Infinity"; >- * @description: +/-Infinity convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(Infinity) !== "Infinity") { >- testFailed('#1: String(Infinity) === "Infinity". Actual: ' + (String(Infinity))); >-} >- >-// CHECK#2 >-if (String(Number.POSITIVE_INFINITY) !== "Infinity") { >- testFailed('#2: String(Number.POSITIVE_INFINITY) === "Infinity". Actual: ' + (String(Number.POSITIVE_INFINITY))); >-} >- >-// CHECK#3 >-if (String(-Infinity) !== "-Infinity") { >- testFailed('#3: String(-Infinity) === "-Infinity". Actual: ' + (String(-Infinity))); >-} >- >-// CHECK#4 >-if (String(Number.NEGATIVE_INFINITY) !== "-Infinity") { >- testFailed('#4: String(Number.NEGATIVE_INFINITY) === "-Infinity". Actual: ' + (String(Number.NEGATIVE_INFINITY))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6-expected.txt >deleted file mode 100644 >index b3d5f935461..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.html >deleted file mode 100644 >index f14c454f4e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.html >+++ /dev/null >@@ -1,175 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A6; >- * @section: 9.8.1; >- * @assertion: If 1 <= s < 1e21 or -1e21 s < -1, return the string >- * consisting of the k digits of the decimal representation of s (in order, >- * with no leading zeroes), followed by n-k occurrences of the character '0'; >- * @description: Various integer numbers convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(1) !== "1") { >- testFailed('#1: String(1) === "1". Actual: ' + (String(1))); >-} >- >-// CHECK#2 >-if (String(10) !== "10") { >- testFailed('#2: String(10) === "10". Actual: ' + (String(10))); >-} >- >-// CHECK#3 >-if (String(100) !== "100") { >- testFailed('#3: String(100) === "100". Actual: ' + (String(100))); >-} >- >-// CHECK#4 >-if (String(100000000000000000000) !== "100000000000000000000") { >- testFailed('#4: String(100000000000000000000) === "100000000000000000000". Actual: ' + (String(100000000000000000000))); >-} >- >-// CHECK#5 >-if (String(1e20) !== "100000000000000000000") { >- testFailed('#5: String(1e20) === "100000000000000000000". Actual: ' + (String(1e20))); >-} >- >-// CHECK#6 >-if (String(12345) !== "12345") { >- testFailed('#6: String(12345) === "12345". Actual: ' + (String(12345))); >-} >- >-// CHECK#7 >-if (String(12345000) !== "12345000") { >- testFailed('#7: String(12345000) === "12345000". Actual: ' + (String(12345000))); >-} >- >-// CHECK#8 >-if (String(-1) !== "-1") { >- testFailed('#8: String(-1) === "-1". Actual: ' + (String(-1))); >-} >- >-// CHECK#9 >-if (String(-10) !== "-10") { >- testFailed('#9: String(-10) === "-10". Actual: ' + (String(-10))); >-} >- >-// CHECK#10 >-if (String(-100) !== "-100") { >- testFailed('#3: String(-100) === "-100". Actual: ' + (String(-100))); >-} >- >-// CHECK#10 >-if (String(-100000000000000000000) !== "-100000000000000000000") { >- testFailed('#10: String(-100000000000000000000) === "-100000000000000000000". Actual: ' + (String(-100000000000000000000))); >-} >- >-// CHECK#11 >-if (String(-1e20) !== "-100000000000000000000") { >- testFailed('#11: String(-1e20) === "-100000000000000000000". Actual: ' + (String(-1e20))); >-} >- >-// CHECK#12 >-if (String(-12345) !== "-12345") { >- testFailed('#12: String(-12345) === "-12345". Actual: ' + (String(-12345))); >-} >- >-// CHECK#13 >-if (String(-12345000) !== "-12345000") { >- testFailed('#13: String(-12345000) === "-12345000". Actual: ' + (String(-12345000))); >-} >- >-// CHECK#14 >-if (String(1E20) !== "100000000000000000000") { >- testFailed('#14: String(1E20) === "100000000000000000000". Actual: ' + (String(1E20))); >-} >- >-// CHECK#15 >-if (String(-1E20) !== "-100000000000000000000") { >- testFailed('#15: String(-1E20) === "-100000000000000000000". Actual: ' + (String(-1E20))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7-expected.txt >deleted file mode 100644 >index a21ad1b9356..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.html >deleted file mode 100644 >index 67e262bc87a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A7; >- * @section: 9.8.1; >- * @assertion: If 1 <= s < 1e21 or -1e21 s < -1 and s has a fractional >- * component, return the string consisting of the most significant n digits of >- * the decimal representation of s, followed by a decimal point '.', >- * followed by the remaining k-n digits of the decimal representation of s; >- * @description: 1.0000001 and -1.0000001 convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(1.0000001) !== "1.0000001") { >- testFailed('#1: String(1.0000001) === "1.0000001". Actual: ' + (String(1.0000001))); >-} >- >-// CHECK#2 >-if (String(-1.0000001) !== "-1.0000001") { >- testFailed('#2: String(-1.0000001) === "-1.0000001". Actual: ' + (String(-1.0000001))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8-expected.txt >deleted file mode 100644 >index 7dcf21634c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.html >deleted file mode 100644 >index 2c2206c513d..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A8; >- * @section: 9.8.1; >- * @assertion: If 1 > s > -1, and -6 < n <= 0, return the string consisting of the >- * character '0', followed by a decimal point '.', followed by -n occurrences >- * of the character '0', followed by the k digits of the decimal >- * representation of s; >- * @description: Various float numbers convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(0.1) !== "0.1") { >- testFailed('#1: String(0.1) === "0.1". Actual: ' + (String(0.1))); >-} >- >-// CHECK#2 >-if (String(0.000001) !== "0.000001") { >- testFailed('#2: String(0.000001) === "0.000001". Actual: ' + (String(0.000001))); >-} >- >-// CHECK#3 >-if (String(1e-6) !== "0.000001") { >- testFailed('#3: String(1e-6) === "0.000001". Actual: ' + (String(1e-6))); >-} >- >-// CHECK#4 >-if (String(1E-6) !== "0.000001") { >- testFailed('#4: String(1E-6) === "0.000001". Actual: ' + (String(1E-6))); >-} >- >-// CHECK#5 >-if (String(-0.1) !== "-0.1") { >- testFailed('#5: String(-0.1) === "-0.1". Actual: ' + (String(-0.1))); >-} >- >-// CHECK#6 >-if (String(-0.000001) !== "-0.000001") { >- testFailed('#6: String(-0.000001) === "-0.000001". Actual: ' + (String(-0.000001))); >-} >- >-// CHECK#7 >-if (String(-1e-6) !== "-0.000001") { >- testFailed('#7: String(-1e-6) === "0.000001". Actual: ' + (String(-1e-6))); >-} >- >-// CHECK#8 >-if (String(-1E-6) !== "-0.000001") { >- testFailed('#8: String(-1E-6) === "0.000001". Actual: ' + (String(-1E-6))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1-expected.txt >deleted file mode 100644 >index 852c30cfaed..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.html >deleted file mode 100644 >index 296fac6d9ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.html >+++ /dev/null >@@ -1,155 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A9_T1; >- * @section: 9.8.1; >- * @assertion: Return the string consisting of the single digit of s, >- * followed by lowercase character 'e', followed by a plus sign '+' or minus >- * sign '-' according to whether n-1 is positive or negative, followed by the >- * decimal representation of the integer abs(n-1) (with no leading zeros); >- * @description: Various big numbers convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(1000000000000000000000) !== "1e+21") { >- testFailed('#1: String(1000000000000000000000) === "1e+21". Actual: ' + (String(1000000000000000000000))); >-} >- >-// CHECK#2 >-if (String(10000000000000000000000) !== "1e+22") { >- testFailed('#2: String(10000000000000000000000) === "1e+22". Actual: ' + (String(10000000000000000000000))); >-} >- >-// CHECK#3 >-if (String(1e21) !== "1e+21") { >- testFailed('#3: String(1e21) === "1e+21". Actual: ' + (String(1e21))); >-} >- >-// CHECK#4 >-if (String(1.0e22) !== "1e+22") { >- testFailed('#4: String(1.0e22) === "1e+22". Actual: ' + (String(1.0e22))); >-} >- >-// CHECK#5 >-if (String(1E21) !== "1e+21") { >- testFailed('#5: String(1E21) === "1e+21". Actual: ' + (String(1E21))); >-} >- >-// CHECK#6 >-if (String(1.0E22) !== "1e+22") { >- testFailed('#6: String(1.0E22) === "1e+22". Actual: ' + (String(1.0E22))); >-} >- >-// CHECK#7 >-if (String(-1000000000000000000000) !== "-1e+21") { >- testFailed('#7: String(-1000000000000000000000) === "-1e+21". Actual: ' + (String(-1000000000000000000000))); >-} >- >-// CHECK#8 >-if (String(-10000000000000000000000) !== "-1e+22") { >- testFailed('#8: String(-10000000000000000000000) === "-1e+22". Actual: ' + (String(-10000000000000000000000))); >-} >- >-// CHECK#9 >-if (String(-1e21) !== "-1e+21") { >- testFailed('#9: String(-1e21) === "-1e+21". Actual: ' + (String(-1e21))); >-} >- >-// CHECK#10 >-if (String(-1.0e22) !== "-1e+22") { >- testFailed('#10: String(-1.0e22) === "-1e+22". Actual: ' + (String(-1.0e22))); >-} >- >-// CHECK#11 >-if (String(-1E21) !== "-1e+21") { >- testFailed('#11: String(-1E21) === "-1e+21". Actual: ' + (String(-1E21))); >-} >- >-// CHECK#12 >-if (String(-1.0E22) !== "-1e+22") { >- testFailed('#12: String(-1.0E22) === "-1e+22". Actual: ' + (String(-1.0E22))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2-expected.txt >deleted file mode 100644 >index e9bfde60770..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8.1_A9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.html >deleted file mode 100644 >index c615a7e2937..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.html >+++ /dev/null >@@ -1,155 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8.1_A9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8.1_A9_T2; >- * @section: 9.8.1; >- * @assertion: Return the string consisting of the single digit of s, >- * followed by lowercase character 'e', followed by a plus sign '+' or minus >- * sign '-' according to whether n-1 is positive or negative, followed by the >- * decimal representation of the integer abs(n-1) (with no leading zeros); >- * @description: Various float numbers with many zeros convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(0.0000001) !== "1e-7") { >- testFailed('#1: String(0.0000001) === "1e-7". Actual: ' + (String(0.0000001))); >-} >- >-// CHECK#2 >-if (String(0.000000000100000000000) !== "1e-10") { >- testFailed('#2: String(0.000000000100000000000) === "1e-10". Actual: ' + (String(0.000000000100000000000))); >-} >- >-// CHECK#3 >-if (String(1e-7) !== "1e-7") { >- testFailed('#3: String(1e-7) === "1e-7". Actual: ' + (String(1e-7))); >-} >- >-// CHECK#4 >-if (String(1.0e-10) !== "1e-10") { >- testFailed('#4: String(1.0e-10) === "1e-10". Actual: ' + (String(1.0e-10))); >-} >- >-// CHECK#5 >-if (String(1E-7) !== "1e-7") { >- testFailed('#5: String(1E-7) === "1e-7". Actual: ' + (String(1E-7))); >-} >- >-// CHECK#6 >-if (String(1.0E-10) !== "1e-10") { >- testFailed('#6: String(1.0E-10) === "1e-10". Actual: ' + (String(1.0E-10))); >-} >- >-// CHECK#7 >-if (String(-0.0000001) !== "-1e-7") { >- testFailed('#7: String(-0.0000001) === "1e-7". Actual: ' + (String(-0.0000001))); >-} >- >-// CHECK#8 >-if (String(-0.000000000100000000000) !== "-1e-10") { >- testFailed('#8: String(-0.000000000100000000000) === "1e-10". Actual: ' + (String(-0.000000000100000000000))); >-} >- >-// CHECK#9 >-if (String(-1e-7) !== "-1e-7") { >- testFailed('#9: String(-1e-7) === "-1e-7". Actual: ' + (String(-1e-7))); >-} >- >-// CHECK#10 >-if (String(-1.0e-10) !== "-1e-10") { >- testFailed('#10: String(-1.0e-10) === "-1e-10". Actual: ' + (String(-1.0e-10))); >-} >- >-// CHECK#11 >-if (String(-1E-7) !== "-1e-7") { >- testFailed('#11: String(-1E-7) === "-1e-7". Actual: ' + (String(-1E-7))); >-} >- >-// CHECK#12 >-if (String(-1.0E-10) !== "-1e-10") { >- testFailed('#12: String(-1.0E-10) === "-1e-10". Actual: ' + (String(-1.0E-10))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1-expected.txt >deleted file mode 100644 >index a79227a9c6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.html >deleted file mode 100644 >index c201de41b9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A1_T1; >- * @section: 9.8; >- * @assertion: Result of ToString conversion from undefined value is "undefined"; >- * @description: Undefined values is undefined, void 0 and eval("var x"). Use explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(undefined) !== "undefined") { >- testFailed('#1: String(undefined) === "undefined". Actual: ' + (String(undefined))); >-} >- >-// CHECK#2 >-if (String(void 0) !== "undefined") { >- testFailed('#2: String(void 0) === "undefined". Actual: ' + (String(void 0))); >-} >- >-// CHECK#3 >-if (String(eval("var x")) !== "undefined") { >- testFailed('#3: String(eval("var x")) === "undefined" . Actual: ' + (String(eval("var x")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2-expected.txt >deleted file mode 100644 >index 051bfb64423..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.html >deleted file mode 100644 >index d8af8490e5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A1_T2; >- * @section: 9.8; >- * @assertion: Result of ToString conversion from undefined value is "undefined"; >- * @description: Undefined values is undefined, void 0 and eval("var x"). Use implicit transformation; >-*/ >- >-// CHECK#1 >-if (undefined + "" !== "undefined") { >- testFailed('#1: undefined + "" === "undefined". Actual: ' + (undefined + "")); >-} >- >-// CHECK#2 >-if (void 0 + "" !== "undefined") { >- testFailed('#2: void 0 + "" === "undefined". Actual: ' + (void 0 + "")); >-} >- >-// CHECK#3 >-if (eval("var x") + "" !== "undefined") { >- testFailed('#3: eval("var x") + "" === "undefined". Actual: ' + (eval("var x") + "")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1-expected.txt >deleted file mode 100644 >index aee40203263..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.html >deleted file mode 100644 >index fe0eafa5047..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A2_T1; >- * @section: 9.8; >- * @assertion: Result of ToString conversion from null value is "null"; >- * @description: null convert to String by explicit transformation; >- */ >- >-// CHECK#1 >-if (String(null) !== "null") { >- testFailed('#1: String(null) === "null". Actual: ' + (String(null))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2-expected.txt >deleted file mode 100644 >index 8570251cc27..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.html >deleted file mode 100644 >index 1e097c7556e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A2_T2; >- * @section: 9.8; >- * @assertion: Result of ToString conversion from null value is "null"; >- * @description: null convert to String by implicit transformation; >- */ >- >-// CHECK#1 >-if (null + "" !== "null") { >- testFailed('#1: null + "" === "null". Actual: ' + (null + "")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1-expected.txt >deleted file mode 100644 >index c57354a3814..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.html >deleted file mode 100644 >index 97a52472116..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A3_T1; >- * @section: 9.8; >- * @assertion: Result of ToString conversion from boolean value is "true" if >- * the argument is "true", else is "false"; >- * @description: True and false convert to String by explicit transformation; >- */ >- >-// CHECK#1 >-if (String(false) !== "false") { >- testFailed('#1: String(false) === "false". Actual: ' + (String(false))); >-} >- >-// CHECK#2 >-if (String(true) !== "true") { >- testFailed('#2: String(true) === "true". Actual: ' + (String(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2-expected.txt >deleted file mode 100644 >index e7d7cf88e3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.html >deleted file mode 100644 >index 0c8e052bdf0..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A3_T2; >- * @section: 9.8; >- * @assertion: Result of ToString conversion from boolean value is "true" if >- * the argument is "true", else is "false"; >- * @description: True and false convert to String by implicit transformation; >- */ >- >-// CHECK#1 >-if (false + "" !== "false") { >- testFailed('#1: false + "" === "false". Actual: ' + (false + "")); >-} >- >-// CHECK#2 >-if (true + "" !== "true") { >- testFailed('#2: true + "" === "true". Actual: ' + (true + "")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1-expected.txt >deleted file mode 100644 >index 89237dd11dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.html >deleted file mode 100644 >index b3f5d86f8dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A4_T1; >- * @section: 9.8; >- * @assertion: Result of String conversion from string value is the input argument (no conversion); >- * @description: Some strings convert to String with explicit transformation; >-*/ >- >-// CHECK#1 >-var x1 = "abc"; >-if (String(x1) !== x1) { >- testFailed('#1: String("abc") === "abc". Actual: ' + (String("abc"))); >-} >- >-// CHECK#2 >-var x2 = "abc"; >-if (typeof String(x2) !== typeof x2) { >- testFailed('#2: typeof String("abc") === "string". Actual: ' + (typeof String("abc"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2-expected.txt >deleted file mode 100644 >index 91429954d19..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.html >deleted file mode 100644 >index 873913a955a..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A4_T2; >- * @section: 9.8; >- * @assertion: Result of String conversion from string value is the input argument (no conversion); >- * @description: Some strings convert to String by implicit transformation; >-*/ >- >-// CHECK#1 >-var x1 = "abc"; >-if (x1 + "" !== x1) { >- testFailed('#1: "abc" + "" === "abc". Actual: ' + ("abc" + "")); >-} >- >-// CHECK#2 >-var x2 = "abc"; >-if (typeof x2 + "" !== typeof x2) { >- testFailed('#2: typeof "abc" + "" === "string". Actual: ' + (typeof "abc" + "")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1-expected.txt >deleted file mode 100644 >index bbd24f969ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.html >deleted file mode 100644 >index e18cecd44a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.html >+++ /dev/null >@@ -1,175 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A5_T1; >- * @section: 9.8; >- * @assertion: Result of String conversion from Object value is conversion >- * from primitive value; >- * @description: Some objects convert to String by explicit transformation; >-*/ >- >-// CHECK#1 >-if (String(new Number()) !== "0") { >- testFailed('#1: String(new Number()) === "0". Actual: ' + (String(new Number()))); >-} >- >-// CHECK#2 >-if (String(new Number(0)) !== "0") { >- testFailed('#2: String(new Number(0)) === "0". Actual: ' + (String(new Number(0)))); >-} >- >-// CHECK#3 >-if (String(new Number(Number.NaN)) !== "NaN") { >- testFailed('#3: String(new Number(Number.NaN)) === Not-a-Number. Actual: ' + (String(new Number(Number.NaN)))); >-} >- >-// CHECK#4 >-if (String(new Number(null)) !== "0") { >- testFailed('#4: String(new Number(null)) === "0". Actual: ' + (String(new Number(null)))); >-} >- >-// CHECK#5 >-if (String(new Number(void 0)) !== "NaN") { >- testFailed('#5: String(new Number(void 0)) === Not-a-Number. Actual: ' + (String(new Number(void 0)))); >-} >- >-// CHECK#6 >-if (String(new Number(true)) !== "1") { >- testFailed('#6: String(new Number(true)) === "1". Actual: ' + (String(new Number(true)))); >-} >- >-// CHECK#7 >-if (String(new Number(false)) !== "0") { >- testFailed('#7: String(new Number(false)) === "0". Actual: ' + (String(new Number(false)))); >-} >- >-// CHECK#8 >-if (String(new Boolean(true)) !== "true") { >- testFailed('#8: String(new Boolean(true)) === "true". Actual: ' + (String(new Boolean(true)))); >-} >- >-// CHECK#9 >-if (String(new Boolean(false)) !== "false") { >- testFailed('#9: Number(new Boolean(false)) === "false". Actual: ' + (Number(new Boolean(false)))); >-} >- >-// CHECK#10 >-if (String(new Array(2,4,8,16,32)) !== "2,4,8,16,32") { >- testFailed('#10: String(new Array(2,4,8,16,32)) === "2,4,8,16,32". Actual: ' + (String(new Array(2,4,8,16,32)))); >-} >- >-// CHECK#11 >-var myobj1 = { >- toNumber : function(){return 12345;}, >- toString : function(){return 67890;}, >- valueOf : function(){return "[object MyObj]";} >- }; >- >-if (String(myobj1) !== "67890"){ >- testFailed("#11: String(myobj) calls ToPrimitive with hint String"); >-} >- >-// CHECK#12 >-var myobj2 = { >- toNumber : function(){return 12345;}, >- toString : function(){return {}}, >- valueOf : function(){return "[object MyObj]";} >- }; >- >-if (String(myobj2) !== "[object MyObj]"){ >- testFailed("#12: String(myobj) calls ToPrimitive with hint String"); >-} >- >-// CHECK#13 >-var myobj3 = { >- toNumber : function(){return 12345;}, >- valueOf : function(){return "[object MyObj]";} >- }; >- >-if (String(myobj3) !== "[object Object]"){ >- testFailed("#13: String(myobj) calls ToPrimitive with hint String"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2-expected.txt >deleted file mode 100644 >index a8e8cadb607..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.8_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.html >deleted file mode 100644 >index 55f03f69bae..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.html >+++ /dev/null >@@ -1,174 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.8_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.8_A5_T2; >- * @section: 9.8; >- * @assertion: Result of String conversion from Object value is conversion >- * from primitive value; >- * @description: Some objects convert to String by implicit transformation; >-*/ >- >-// CHECK#1 >-if (new Number() + "" !== "0") { >- testFailed('#1: new Number() + "" === "0". Actual: ' + (new Number() + "")); >-} >- >-// CHECK#2 >-if (new Number(0) + "" !== "0") { >- testFailed('#2: new Number(0) + "" === "0". Actual: ' + (new Number(0) + "")); >-} >- >-// CHECK#3 >-if (new Number(Number.NaN) + "" !== "NaN") { >- testFailed('#3: new Number(Number.NaN) + "" === "NaN". Actual: ' + (new Number(Number.NaN) + "")); >-} >- >-// CHECK#4 >-if (new Number(null) + "" !== "0") { >- testFailed('#4: new Number(null) + "" === "0". Actual: ' + (new Number(null) + "")); >-} >- >-// CHECK#5 >-if (new Number(void 0) + "" !== "NaN") { >- testFailed('#5: new Number(void 0) + "" === "NaN. Actual: ' + (new Number(void 0) + "")); >-} >- >-// CHECK#6 >-if (new Number(true) + "" !== "1") { >- testFailed('#6: new Number(true) + "" === "1". Actual: ' + (new Number(true) + "")); >-} >- >-// CHECK#7 >-if (new Number(false) + "" !== "0") { >- testFailed('#7: new Number(false) + "" === "0". Actual: ' + (new Number(false) + "")); >-} >- >-// CHECK#8 >-if (new Boolean(true) + "" !== "true") { >- testFailed('#8: new Boolean(true) + "" === "true". Actual: ' + (new Boolean(true) + "")); >-} >- >-// CHECK#9 >-if (new Boolean(false) + "" !== "false") { >- testFailed('#9: Number(new Boolean(false)) === "false". Actual: ' + (Number(new Boolean(false)))); >-} >- >-// CHECK#10 >-if (new Array(2,4,8,16,32) + "" !== "2,4,8,16,32") { >- testFailed('#10: new Array(2,4,8,16,32) + "" === "2,4,8,16,32". Actual: ' + (new Array(2,4,8,16,32) + "")); >-} >- >-// CHECK#11 >-var myobj1 = { >- toNumber : function(){return 12345;}, >- toString : function(){return 67890;}, >- valueOf : function(){return "[object MyObj]";} >- }; >- >-if (myobj1 + "" !== "[object MyObj]"){ >- testFailed('#11: myobj1 + "" calls ToPrimitive with hint Number. Exptected: "[object MyObj]". Actual: ' + (myobj1 + "")); >-} >- >-// CHECK#12 >-var myobj2 = { >- toNumber : function(){return 12345;}, >- toString : function(){return 67890}, >- valueOf : function(){return {}} >- }; >- >-if (myobj2 + "" !== "67890"){ >- testFailed('#12: myobj2 + "" calls ToPrimitive with hint Number. Exptected: "67890". Actual: ' + (myobj2 + "")); >-} >- >-// CHECK#13 >-var myobj3 = { >- toNumber : function(){return 12345;} >- }; >- >-if (myobj3 + "" !== "[object Object]"){ >- testFailed('#13: myobj3 + "" calls ToPrimitive with hint Number. Exptected: "[object Object]". Actual: ' + (myobj3 + "")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1-expected.txt >deleted file mode 100644 >index 0c08cf7ffc0..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.9_A1 >- >-FAIL SputnikError: #3.2: for(var y in undefined) y = 2 must throw TypeError. Actual: SputnikError: #3.1: for(var y in undefined) y = 2 must throw TypeError. Actual: y === undefined >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.html >deleted file mode 100644 >index 07c90bb24a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.9_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.9_A1; >- * @section: 9.9; >- * @assertion: ToObject conversion from undefined value must throw TypeError; >- * @description: Trying to convert undefined to Object; >-*/ >- >-// CHECK#1 >-try{ >- undefined['foo']; >- testFailed('#1.1: undefined[\'foo\'] must throw TypeError. Actual: ' + (undefined['foo'])); >-} >-catch(e){ >- if((e instanceof TypeError) !== true){ >- testFailed('#1.2: undefined[\'foo\'] must throw TypeError. Actual: ' + (e)); >- } >-} >- >-// CHECK#2 >-try{ >- with(undefined) x = 2; >- testFailed('#2.1: with(undefined) x = 2 must throw TypeError. Actual: x === ' + (x)); >-} >-catch(e){ >- if((e instanceof TypeError) !== true){ >- testFailed('#2.2: with(undefined) x = 2 must throw TypeError. Actual: ' + (e)); >- } >-} >- >-// CHECK#3 >-try{ >- for(var y in undefined) y = 2; >- testFailed('#3.1: for(var y in undefined) y = 2 must throw TypeError. Actual: y === ' + (y)); >-} >-catch(e){ >- if((e instanceof TypeError) !== true){ >- testFailed('#3.2: for(var y in undefined) y = 2 must throw TypeError. Actual: ' + (e)); >- } >-} >- >-// CHECK#4 >-try{ >- for(var z in this.foo) z = 2; >- testFailed('#4.1: for(var z in this.foo) z = 2 must throw TypeError. Actual: z === ' + (z)); >-} >-catch(e){ >- if((e instanceof TypeError) !== true){ >- testFailed('#4.2: for(var z in this.foo) z = 2 must throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2-expected.txt >deleted file mode 100644 >index 74f281a86b7..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.9_A2 >- >-FAIL SputnikError: #3.2: for(var y in null) y = 2 must throw TypeError. Actual: SputnikError: #3.1: for(var y in null) y = 2 must throw TypeError. Actual: y === . Actual: undefined >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.html >deleted file mode 100644 >index b5f4859d2c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.9_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.9_A2; >- * @section: 9.9; >- * @assertion: ToObject conversion from null value must throw TypeError; >- * @description: Trying to convert null to Object; >-*/ >- >-// CHECK#1 >-try{ >- null['foo']; >- testFailed('#1.1: null[\'foo\'] throw TypeError. Actual: ' + (null['foo'])); >-} >-catch(e){ >- if((e instanceof TypeError) !== true){ >- testFailed('#1.2: null[\'foo\'] must throw TypeError. Actual: ' + (e)); >- } >-} >- >-// CHECK#2 >-try{ >- with(null) x = 2; >- testFailed('#2.1: with(null) x = 2 must throw TypeError. Actual: x === . Actual: ' + (x)); >-} >-catch(e){ >- if((e instanceof TypeError) !== true){ >- testFailed('#2.2: with(null) x = 2 must throw TypeError. Actual: ' + (e)); >- } >-} >- >-// CHECK#3 >-try{ >- for(var y in null) y = 2; >- testFailed('#3.1: for(var y in null) y = 2 must throw TypeError. Actual: y === . Actual: ' + (y)); >-} >-catch(e){ >- if((e instanceof TypeError) !== true){ >- testFailed('#3.2: for(var y in null) y = 2 must throw TypeError. Actual: ' + (e)); >- } >-} >- >-// CHECK#4 >-try{ >- for(var z in 'bbb'.match(/aaa/)) z = 2; >- testFailed('#4.1: for(var z in \'bbb\'.match(/aaa/)) z = 2 must throw TypeError. Actual: z === . Actual: ' + (z)); >-} >-catch(e){ >- if((e instanceof TypeError) !== true){ >- testFailed('#4.2: for(var z in \'bbb\'.match(/aaa/)) z = 2 must throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3-expected.txt >deleted file mode 100644 >index efaa1341013..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.9_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3.html >deleted file mode 100644 >index af2675d3498..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.9_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.9_A3; >- * @section: 9.9; >- * @assertion: ToObject conversion from Boolean: create a new Boolean object >- * whose [[value]] property is set to the value of the boolean; >- * @description: Trying to convert from Boolean to Object; >-*/ >- >-// CHECK#1 >-if (Object(true).valueOf() !== true){ >- testFailed('#1: Object(true).valueOf() === true. Actual: ' + (Object(true).valueOf())); >-} >- >-// CHECK#2 >-if (typeof Object(true) !== "object"){ >- testFailed('#2: typeof Object(true) === "object". Actual: ' + (typeof Object(true))); >-} >- >-// CHECK#3 >-if (Object(true).constructor.prototype !== Boolean.prototype){ >- testFailed('#3: Object(true).constructor.prototype === Boolean.prototype. Actual: ' + (Object(true).constructor.prototype)); >-} >- >-// CHECK#4 >-if (Object(false).valueOf() !== false){ >- testFailed('#4: Object(false).valueOf() === false. Actual: ' + (Object(false).valueOf())); >-} >- >-// CHECK#5 >-if (typeof Object(false) !== "object"){ >- testFailed('#5: typeof Object(false) === "object". Actual: ' + (typeof Object(false))); >-} >- >-// CHECK#6 >-if (Object(false).constructor.prototype !== Boolean.prototype){ >- testFailed('#6: Object(false).constructor.prototype === Boolean.prototype. Actual: ' + (Object(false).constructor.prototype)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4-expected.txt >deleted file mode 100644 >index 952cae29645..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.9_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4.html >deleted file mode 100644 >index 52b2b3598fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4.html >+++ /dev/null >@@ -1,260 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.9_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.9_A4; >- * @section: 9.9; >- * @assertion: ToObject conversion from Number: create a new Number object >- * whose [[value]] property is set to the value of the number; >- * @description: Converting from various numbers to Object; >-*/ >- >-// CHECK#1 >-if (Object(0).valueOf() !== 0){ >- testFailed('#1: Object(0).valueOf() === 0. Actual: ' + (Object(0).valueOf())); >-} >- >-// CHECK#2 >-if (typeof Object(0) !== "object"){ >- testFailed('#2: typeof Object(0) === "object". Actual: ' + (typeof Object(0))); >-} >- >-// CHECK#3 >-if (Object(0).constructor.prototype !== Number.prototype){ >- testFailed('#3: Object(0).constructor.prototype === Number.prototype. Actual: ' + (Object(0).constructor.prototype)); >-} >- >-// CHECK#4 >-if (Object(-0).valueOf() !== -0){ >- testFailed('#4.1: Object(-0).valueOf() === 0. Actual: ' + (Object(-0).valueOf())); >-} else if (1/Object(-0).valueOf() !== Number.NEGATIVE_INFINITY) { >- testFailed('#4.2: Object(-0).valueOf() === -0. Actual: +0'); >-} >- >-// CHECK#5 >-if (typeof Object(-0) !== "object"){ >- testFailed('#5: typeof Object(-0) === "object". Actual: ' + (typeof Object(-0))); >-} >- >-// CHECK#6 >-if (Object(-0).constructor.prototype !== Number.prototype){ >- testFailed('#6: Object(-0).constructor.prototype === Number.prototype. Actual: ' + (Object(-0).constructor.prototype)); >-} >- >-// CHECK#7 >-if (Object(1).valueOf() !== 1){ >- testFailed('#7: Object(1).valueOf() === 1. Actual: ' + (Object(1).valueOf())); >-} >- >-// CHECK#8 >-if (typeof Object(1) !== "object"){ >- testFailed('#8: typeof Object(1) === "object". Actual: ' + (typeof Object(1))); >-} >- >-// CHECK#9 >-if (Object(1).constructor.prototype !== Number.prototype){ >- testFailed('#9: Object(1).constructor.prototype === Number.prototype. Actual: ' + (Object(1).constructor.prototype)); >-} >- >-// CHECK#10 >-if (Object(-1).valueOf() !== -1){ >- testFailed('#10: Object(-1).valueOf() === -1. Actual: ' + (Object(-1).valueOf())); >-} >- >-// CHECK#11 >-if (typeof Object(-1) !== "object"){ >- testFailed('#11: typeof Object(-1) === "object". Actual: ' + (typeof Object(-1))); >-} >- >-// CHECK#12 >-if (Object(-1).constructor.prototype !== Number.prototype){ >- testFailed('#12: Object(-1).constructor.prototype === Number.prototype. Actual: ' + (Object(-1).constructor.prototype)); >-} >- >-// CHECK#13 >-if (Object(Number.MIN_VALUE).valueOf() !== Number.MIN_VALUE){ >- testFailed('#13: Object(Number.MIN_VALUE).valueOf() === Number.MIN_VALUE. Actual: ' + (Object(Number.MIN_VALUE).valueOf())); >-} >- >-// CHECK#14 >-if (typeof Object(Number.MIN_VALUE) !== "object"){ >- testFailed('#14: typeof Object(Number.MIN_VALUE) === "object". Actual: ' + (typeof Object(Number.MIN_VALUE))); >-} >- >-// CHECK#15 >-if (Object(Number.MIN_VALUE).constructor.prototype !== Number.prototype){ >- testFailed('#15: Object(Number.MIN_VALUE).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.MIN_VALUE).constructor.prototype)); >-} >- >-// CHECK#16 >-if (Object(Number.MAX_VALUE).valueOf() !== Number.MAX_VALUE){ >- testFailed('#16: Object(Number.MAX_VALUE).valueOf() === Number.MAX_VALUE. Actual: ' + (Object(Number.MAX_VALUE).valueOf())); >-} >- >-// CHECK#17 >-if (typeof Object(Number.MAX_VALUE) !== "object"){ >- testFailed('#17: typeof Object(Number.MAX_VALUE) === "object". Actual: ' + (typeof Object(Number.MAX_VALUE))); >-} >- >-// CHECK#18 >-if (Object(Number.MAX_VALUE).constructor.prototype !== Number.prototype){ >- testFailed('#18: Object(Number.MAX_VALUE).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.MAX_VALUE).constructor.prototype)); >-} >- >-// CHECK#19 >-if (Object(Number.POSITIVE_INFINITY).valueOf() !== Number.POSITIVE_INFINITY){ >- testFailed('#19: Object(Number.POSITIVE_INFINITY).valueOf() === Number.POSITIVE_INFINITY. Actual: ' + (Object(Number.POSITIVE_INFINITY).valueOf())); >-} >- >-// CHECK#20 >-if (typeof Object(Number.POSITIVE_INFINITY) !== "object"){ >- testFailed('#20: typeof Object(Number.POSITIVE_INFINITY) === "object". Actual: ' + (typeof Object(Number.POSITIVE_INFINITY))); >-} >- >-// CHECK#21 >-if (Object(Number.POSITIVE_INFINITY).constructor.prototype !== Number.prototype){ >- testFailed('#21: Object(Number.POSITIVE_INFINITY).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.POSITIVE_INFINITY).constructor.prototype)); >-} >- >-// CHECK#22 >-if (Object(Number.NEGATIVE_INFINITY).valueOf() !== Number.NEGATIVE_INFINITY){ >- testFailed('#22: Object(Number.NEGATIVE_INFINITY).valueOf() === Number.NEGATIVE_INFINITY. Actual: ' + (Object(Number.NEGATIVE_INFINITY).valueOf())); >-} >- >-// CHECK#23 >-if (typeof Object(Number.NEGATIVE_INFINITY) !== "object"){ >- testFailed('#23: typeof Object(Number.NEGATIVE_INFINITY) === "object". Actual: ' + (typeof Object(Number.NEGATIVE_INFINITY))); >-} >- >-// CHECK#24 >-if (Object(Number.NEGATIVE_INFINITY).constructor.prototype !== Number.prototype){ >- testFailed('#24: Object(Number.NEGATIVE_INFINITY).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.NEGATIVE_INFINITY).constructor.prototype)); >-} >- >-// CHECK#25 >-if (isNaN(Object(Number.NaN).valueOf()) !== true){ >- testFailed('#25: Object(Number.NaN).valueOf() === Not-a-Number. Actual: ' + (Object(Number.NaN).valueOf())); >-} >- >-// CHECK#26 >-if (typeof Object(Number.NaN) !== "object"){ >- testFailed('#26: typeof Object(Number.NaN) === "object". Actual: ' + (typeof Object(Number.NaN))); >-} >- >-// CHECK#27 >-if (Object(Number.NaN).constructor.prototype !== Number.prototype){ >- testFailed('#27: Object(Number.NaN).constructor.prototype === Number.prototype. Actual: ' + (Object(Number.NaN).constructor.prototype)); >-} >- >-// CHECK#28 >-if (Object(1.2345).valueOf() !== 1.2345){ >- testFailed('#28: Object(1.2345).valueOf() === 1.2345. Actual: ' + (Object(1.2345).valueOf())); >-} >- >-// CHECK#29 >-if (typeof Object(1.2345) !== "object"){ >- testFailed('#29: typeof Object(1.2345) === "object". Actual: ' + (typeof Object(1.2345))); >-} >- >-// CHECK#30 >-if (Object(1.2345).constructor.prototype !== Number.prototype){ >- testFailed('#30: Object(1.2345).constructor.prototype === Number.prototype. Actual: ' + (Object(1.2345).constructor.prototype)); >-} >- >-// CHECK#31 >-if (Object(-1.2345).valueOf() !== -1.2345){ >- testFailed('#31: Object(-1.2345).valueOf() === -1.2345. Actual: ' + (Object(-1.2345).valueOf())); >-} >- >-// CHECK#32 >-if (typeof Object(-1.2345) !== "object"){ >- testFailed('#32: typeof Object(-1.2345) === "object". Actual: ' + (typeof Object(-1.2345))); >-} >- >-// CHECK#33 >-if (Object(-1.2345).constructor.prototype !== Number.prototype){ >- testFailed('#33: Object(-1.2345).constructor.prototype === Number.prototype. Actual: ' + (Object(-1.2345).constructor.prototype)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5-expected.txt >deleted file mode 100644 >index f9e6c2d6df3..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.9_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5.html >deleted file mode 100644 >index 6e0345ff276..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.9_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.9_A5; >- * @section: 9.9; >- * @assertion: ToObject conversion from String: create a new String object >- * whose [[value]] property is set to the value of the string; >- * @description: Converting from various strings to Object; >-*/ >- >-// CHECK#1 >-if (Object("some string").valueOf() !== "some string"){ >- testFailed('#1: Object("some string").valueOf() === "some string". Actual: ' + (Object("some string").valueOf())); >-} >- >-// CHECK#2 >-if (typeof Object("some string") !== "object"){ >- testFailed('#2: typeof Object("some string") === "object". Actual: ' + (typeof Object("some string"))); >-} >- >-// CHECK#3 >-if (Object("some string").constructor.prototype !== String.prototype){ >- testFailed('#3: Object("some string").constructor.prototype === String.prototype. Actual: ' + (Object("some string").constructor.prototype)); >-} >- >-// CHECK#4 >-if (Object("").valueOf() !== ""){ >- testFailed('#4: Object("").valueOf() === false. Actual: ' + (Object("").valueOf())); >-} >- >-// CHECK#5 >-if (typeof Object("") !== "object"){ >- testFailed('#5: typeof Object("") === "object". Actual: ' + (typeof Object(""))); >-} >- >-// CHECK#6 >-if (Object("").constructor.prototype !== String.prototype){ >- testFailed('#6: Object("").constructor.prototype === String.prototype. Actual: ' + (Object("").constructor.prototype)); >-} >- >-// CHECK#7 >-if (Object("\r\t\b\n\v\f").valueOf() !== "\r\t\b\n\v\f"){ >- testFailed('#7: Object("\\r\\t\\b\\n\\v\\f").valueOf() === false. Actual: ' + (Object("\r\t\b\n\v\f").valueOf())); >-} >- >-// CHECK#8 >-if (typeof Object("\r\t\b\n\v\f") !== "object"){ >- testFailed('#8: typeof Object("\\r\\t\\b\\n\\v\\f") === "object". Actual: ' + (typeof Object("\r\t\b\n\v\f"))); >-} >- >-// CHECK#9 >-if (Object("\r\t\b\n\v\f").constructor.prototype !== String.prototype){ >- testFailed('#9: Object("\\r\\t\\b\\n\\v\\f").constructor.prototype === String.prototype. Actual: ' + (Object("\r\t\b\n\v\f").constructor.prototype)); >-} >- >-// CHECK#10 >-if (Object(String(10)).valueOf() !== "10"){ >- testFailed('#10: Object(String(10)).valueOf() === false. Actual: ' + (Object(String(10)).valueOf())); >-} >- >-// CHECK#11 >-if (typeof Object(String(10)) !== "object"){ >- testFailed('#11: typeof Object(String(10)) === "object". Actual: ' + (typeof Object(String(10)))); >-} >- >-// CHECK#12 >-if (Object(String(10)).constructor.prototype !== String.prototype){ >- testFailed('#12: Object(String(10)).constructor.prototype === String.prototype. Actual: ' + (Object(String(10)).constructor.prototype)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6-expected.txt b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6-expected.txt >deleted file mode 100644 >index 5552137eb9b..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S9.9_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6.html b/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6.html >deleted file mode 100644 >index 1fc95349e2c..00000000000 >--- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S9.9_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S9.9_A6; >- * @section: 9.9; >- * @assertion: ToObject conversion from Object: The result is the input >- * argument (no conversion); >- * @description: Converting from Objects to Object; >-*/ >- >-function MyObject( val ) { >- this.value = val; >- this.valueOf = function (){ return this.value; } >-} >- >-var x = new MyObject(1); >-var y = Object(x); >- >-// CHECK#1 >-if (y.valueOf() !== x.valueOf()){ >- testFailed('#1: Object(obj).valueOf() === obj.valueOf(). Actual: ' + (Object(obj).valueOf())); >-} >- >-// CHECK#2 >-if (typeof y !== typeof x){ >- testFailed('#2: typeof Object(obj) === typeof obj. Actual: ' + (typeof Object(obj))); >-} >- >-// CHECK#3 >-if (y.constructor.prototype !== x.constructor.prototype){ >- testFailed('#3: Object(obj).constructor.prototype === obj.constructor.prototype. Actual: ' + (Object(obj).constructor.prototype)); >-} >- >- >-// CHECK#4 >-if (y !== x){ >- testFailed('#4: Object(obj) === obj'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1-expected.txt >deleted file mode 100644 >index 2cf05cd238b..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.html >deleted file mode 100644 >index adf8b66dbe7..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.3_A1; >- * @section: 10.1.3; >- * @assertion: If the caller supplies fewer parameter values than there are >- * formal parameters, the extra formal parameters have value undefined; >- * @description: Calling function excluding a few parameters; >-*/ >- >-//CHECK#1 >-function f1(a, b){ >- return (b === undefined); >-} >-if(!(f1(1, 2) === false)){ >- testFailed('#1: f1(1, 2) === false'); >-} else if(!(f1(1) === true)){ >- testFailed('#1: f1(1) === true'); >-} >- >-//CHECK#2 >-function f2(a, b, c){ >- return (b === undefined) && (c === undefined); >-} >-if(!(f2(1) === true)){ >- testFailed('#2: f2(1, 2) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2-expected.txt >deleted file mode 100644 >index 90fbd4453f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.3_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.html >deleted file mode 100644 >index dc8f21efdf8..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.3_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.3_A2; >- * @section: 10.1.3; >- * @assertion: If two or more formal parameters share the same name, hence >- * the same property, the corresponding property is given the value that was >- * supplied for the last parameter with this name; >- * @description: Creating functions initialized with two or more formal parameters, which have the same name; >-*/ >- >-//CHECK#1 >-function f1(x, x) { >- return x; >-} >-if(!(f1(1, 2) === 2)) { >- testFailed("#1: f1(1, 2) === 2"); >-} >- >-//CHECK#2 >-function f2(x, x, x){ >- return x*x*x; >-} >-if(!(f2(1, 2, 3) === 27)){ >- testFailed("f2(1, 2, 3) === 27"); >-} >- >-//CHECK#3 >-function f3(x, x) { >- return 'a' + x; >-} >-if(!(f3(1, 2) === 'a2')){ >- testFailed("#3: f3(1, 2) === 'a2'"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3-expected.txt >deleted file mode 100644 >index ede033a5bbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.3_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.html >deleted file mode 100644 >index b863bf2a6ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.3_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.3_A3; >- * @section: 10.1.3; >- * @assertion: If the value of this last parameter (which has the same >- * name as some previous parameters do) was not supplied by the >- * caller, the value of the corresponding property is undefined; >- * @description: Creating functions with two or more formal parameters, >- * that have the same name. Calling this function excluding a few last parameters; >-*/ >- >-//CHECK#1 >-function f1(x, a, b, x){ >- return x; >-} >-if(!(f1(1, 2) === undefined)){ >- testFailed('#1: f1(1, 2) === undefined'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1-expected.txt >deleted file mode 100644 >index 2090b357fb4..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.3_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.html >deleted file mode 100644 >index 4a4db519129..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.html >+++ /dev/null >@@ -1,130 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.3_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.3_A4_T1; >- * @section: 10.1.3; >- * @assertion: Function declaration in function code - If the variable object >- * already has a property with the name of Function Identifier, replace its >- * value and attributes. Semantically, this step must follow the creation of >- * FormalParameterList properties; >- * @description: Checking existence of a function with passed parameter; >-*/ >- >-//CHECK#1 >-function f1(x){ >- return x; >- >- function x(){ >- return 7; >- } >-} >-if(!(f1().constructor.prototype === Function.prototype)){ >- testFailed('#1: f1() returns function'); >-} >- >-//CHECK#2 >-function f2(x){ >- return typeof x; >- >- function x(){ >- return 7; >- } >-} >-if(!(f2() === "function")){ >- testFailed('#2: f2() === "function"'); >-} >- >-//CHECK#3 >-function f3() { >- return typeof arguments; >- function arguments() { >- return 7; >- } >-} >-if (!(f3() === "function")){ >- testFailed('#3: f3() === "function"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2-expected.txt >deleted file mode 100644 >index b6958ac9735..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.html >deleted file mode 100644 >index 58ea721b197..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.3_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.3_A4_T2; >- * @section: 10.1.3; >- * @assertion: Function declaration in function code - If the variable object >- * already has a property with the name of Function Identifier, replace its >- * value and attributes. Semantically, this step must follow the creation of >- * FormalParameterList properties; >- * @description: Checking existence of a function with declared variable; >-*/ >- >-//CHECK#1 >-function f1(){ >- var x; >- >- return x; >- >- function x(){ >- return 7; >- } >-} >-if(!(f1().constructor.prototype === Function.prototype)){ >- testPrint('#1: f1() returns function'); >-} >- >-//CHECK#2 >-function f2(){ >- var x; >- >- return typeof x; >- >- function x(){ >- return 7; >- } >-} >-if(!(f2() === "function")){ >- testPrint('#2: f2() === "function"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1-expected.txt >deleted file mode 100644 >index 55ab7494942..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.3_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.html >deleted file mode 100644 >index e00bfa3a041..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.3_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.3_A5.1_T1; >- * @section: 10.1.3; >- * @assertion: For each VariableDeclaration or VariableDeclarationNoIn in the >- * code, create a property of the variable object whose name is the Identifier >- * in the VariableDeclaration or VariableDeclarationNoIn, whose value is >- * undefined and whose attributes are determined by the type of code; >- * @description: Checking variable existence only; >-*/ >- >-//CHECK#1 >-function f1(){ >- var x; >- >- return typeof x; >-} >- >-if(!(f1() === "undefined")){ >- testPrint('#1: f1() === "undefined"'); >-} >- >-//CHECK#2 >-function f2(){ >- var x; >- >- return x; >-} >- >-if(!(f2() === undefined)){ >- testPrint('#1: f2() === undefined'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2-expected.txt >deleted file mode 100644 >index 5c2fe0cf57c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.3_A5.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.html >deleted file mode 100644 >index 7f38a6b4bcb..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.3_A5.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.3_A5.1_T2; >- * @section: 10.1.3; >- * @assertion: For each VariableDeclaration or VariableDeclarationNoIn in the >- * code, create a property of the variable object whose name is the Identifier >- * in the VariableDeclaration or VariableDeclarationNoIn, whose value is >- * undefined and whose attributes are determined by the type of code; >- * @description: Checking existence of the variable object property with formal parameter; >-*/ >- >-//CHECK#1 >-function f1(x){ >- var x; >- >- return typeof x; >-} >- >-if(!(f1() === "undefined")){ >- testPrint('#1: f1(1) === "undefined"'); >-} >- >-//CHECK#2 >-function f2(x){ >- var x; >- >- return x; >-} >- >-if(!(f2() === undefined)){ >- testPrint('#1: f2(1) === undefined'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1-expected.txt >deleted file mode 100644 >index 08ff0ae4eb1..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.3_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.html >deleted file mode 100644 >index 8f0c971c473..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.3_A5.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.3_A5.2_T1; >- * @section: 10.1.3; >- * @assertion: If there is already a property of the variable object with the >- * name of a declared variable, the value of the property and its attributes >- * are not changed; >- * @description: Checking existence of the variable object property with formal parameter; >-*/ >- >-//CHECK#1 >-function f1(x){ >- var x; >- >- return typeof x; >-} >- >-if(!(f1(1) === "number")){ >- testPrint('#1: f1(1) === "number"'); >-} >- >-//CHECK#2 >-function f2(x){ >- var x; >- >- return x; >-} >- >-if(!(f2(1) === 1)){ >- testPrint('#1: f2(1) === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1-expected.txt >deleted file mode 100644 >index 4344f485b0f..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.html >deleted file mode 100644 >index a11eeeecd80..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T1; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations; >-*/ >- >-var x = 0; >- >-function f1(){ >- var x = 1; >- function f2(){ >- return x; >- }; >- return f2(); >-} >- >-if(!(f1() === 1)){ >- testFailed("#1: Scope chain disturbed"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2-expected.txt >deleted file mode 100644 >index 9667fd39fe3..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.html >deleted file mode 100644 >index 5803058e923..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T2; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations; >-*/ >- >-var x = 0; >- >-function f1(){ >- function f2(){ >- return x; >- }; >- return f2(); >-} >- >-if(!(f1() === 0)){ >- testFailed("#1: Scope chain disturbed"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3-expected.txt >deleted file mode 100644 >index 3502454c965..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.html >deleted file mode 100644 >index a139fa90c3b..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T3; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations; >-*/ >- >-var x = 0; >- >-function f1(){ >- function f2(){ >- return x; >- }; >- return f2(); >- >- var x = 1; >-} >- >-if(!(f1() === undefined)){ >- testFailed("#1: Scope chain disturbed"); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4-expected.txt >deleted file mode 100644 >index 659138209a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.html >deleted file mode 100644 >index e0ce06089d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T4; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations; >-*/ >- >-var x = 0; >- >-function f1(){ >- function f2(){ >- return x; >- }; >- >- var x = 1; >- return f2(); >-} >- >-if(!(f1() === 1)){ >- testFailed("#1: Scope chain disturbed"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5-expected.txt >deleted file mode 100644 >index e5df5cad60a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.html >deleted file mode 100644 >index 919a6d851ab..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T5; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations and "with"; >-*/ >- >-var x = 0; >- >-var myObj = {x : "obj"}; >- >-function f1(){ >- var x = 1; >- function f2(){ >- with(myObj){ >- return x; >- } >- }; >- return f2(); >-} >- >-if(!(f1() === "obj")){ >- testFailed("#1: Scope chain disturbed"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6-expected.txt >deleted file mode 100644 >index fdef6ce3a62..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.html >deleted file mode 100644 >index fc93379120e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T6; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations and "with"; >-*/ >- >-var x = 0; >- >-var myObj = {x : "obj"}; >- >-function f1(){ >- function f2(){ >- with(myObj){ >- return x; >- } >- }; >- return f2(); >-} >- >-if(!(f1() === "obj")){ >- testFailed("#1: Scope chain disturbed"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7-expected.txt >deleted file mode 100644 >index 42b07daa64c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.html >deleted file mode 100644 >index 7db29733753..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T7; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations and "with"; >-*/ >- >-var x = 0; >- >-var myObj = {x : "obj"}; >- >-function f1(){ >- function f2(){ >- with(myObj){ >- return x; >- } >- }; >- return f2(); >- >- var x = 1; >-} >- >-if(!(f1() === "obj")){ >- testFailed("#1: Scope chain disturbed"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8-expected.txt >deleted file mode 100644 >index 5295d14d1ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.html >deleted file mode 100644 >index 8d0fa5438b7..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T8; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations and "with"; >-*/ >- >-var x = 0; >- >-var myObj = {x : "obj"}; >- >-function f1(){ >- function f2(){ >- with(myObj){ >- return x; >- } >- }; >- >- var x = 1; >- return f2(); >-} >- >-if(!(f1() === "obj")){ >- testFailed("#1: Scope chain disturbed"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9-expected.txt >deleted file mode 100644 >index 86b189e0c5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.html >deleted file mode 100644 >index 3c55df70d64..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.4_A1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.4_A1_T9; >- * @section: 10.1.4; >- * @assertion: Every execution context has associated with it a scope chain. >- * A scope chain is a list of objects that are searched when evaluating an >- * Identifier; >- * @description: Checking scope chain containing function declarations and "with"; >-*/ >- >-var x = 0; >- >-var myObj = {x : "obj"}; >- >-function f1(){ >- with(myObj){ >- return x; >- } >-} >- >-if(!(f1() === "obj")){ >- testFailed("#1: Scope chain disturbed"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1-expected.txt >deleted file mode 100644 >index e1898bd0016..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.html >deleted file mode 100644 >index 555ac93c79e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.1_T1; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Global execution context - Value Properties; >-*/ >- >-//CHECK#1 >-if ( NaN === null ) { >- testFailed("#1: NaN === null"); >-} >- >-//CHECK#2 >-if ( Infinity === null ) { >- testFailed("#2: Infinity === null"); >-} >- >-//CHECK#3 >-if ( undefined === null ) { >- testFailed("#3: undefined === null"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2-expected.txt >deleted file mode 100644 >index 557f980a321..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.html >deleted file mode 100644 >index c4d67c31165..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.1_T2; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Global execution context - Function Properties; >-*/ >- >-//CHECK#4 >-if ( eval === null ) { >- testFailed("#4: eval === null"); >-} >- >-//CHECK#5 >-if ( parseInt === null ) { >- testFailed("#5: parseInt === null"); >-} >- >-//CHECK#6 >-if ( parseFloat === null ) { >- testFailed("#6: parseFloat === null"); >-} >- >-//CHECK#7 >-if ( isNaN === null ) { >- testFailed("#7: isNaN === null"); >-} >- >-//CHECK#8 >-if ( isFinite === null ) { >- testFailed("#8: isFinite === null"); >-} >- >-//CHECK#9 >-if ( decodeURI === null ) { >- testFailed("#9: decodeURI === null"); >-} >- >-//CHECK#10 >-if ( decodeURIComponent === null ) { >- testFailed("#10: decodeURIComponent === null"); >-} >- >-//CHECK#11 >-if ( encodeURI === null ) { >- testFailed("#11: encodeURI === null"); >-} >- >-//CHECK#12 >-if ( encodeURIComponent === null ) { >- testFailed("#12: encodeURIComponent === null"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3-expected.txt >deleted file mode 100644 >index fd790cd3736..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.html >deleted file mode 100644 >index b10c86a07ab..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.html >+++ /dev/null >@@ -1,169 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.1_T3; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Global execution context - Constructor Properties; >-*/ >- >-//CHECK#13 >-if ( Object === null ) { >- testFailed("#13: Object === null"); >-} >- >-//CHECK#14 >-if ( Function === null ) { >- testFailed("#14: Function === null"); >-} >- >-//CHECK#15 >-if ( String === null ) { >- testFailed("#15: String === null"); >-} >- >-//CHECK#16 >-if ( Number === null ) { >- testFailed("#16: Number === null"); >-} >- >-//CHECK#17 >-if ( Array === null ) { >- testFailed("#17: Array === null"); >-} >- >-//CHECK#18 >-if ( Boolean === null ) { >- testFailed("#20: Boolean === null"); >-} >- >-//CHECK#18 >-if ( Date === null ) { >- testFailed("#18: Date === null"); >-} >- >-//CHECK#19 >-if ( RegExp === null ) { >- testFailed("#19: RegExp === null"); >-} >- >-//CHECK#20 >-if ( Error === null ) { >- testFailed("#20: Error === null"); >-} >- >-//CHECK#21 >-if ( EvalError === null ) { >- testFailed("#21: EvalError === null"); >-} >- >-//CHECK#22 >-if ( RangeError === null ) { >- testFailed("#22: RangeError === null"); >-} >- >-//CHECK#23 >-if ( ReferenceError === null ) { >- testFailed("#23: ReferenceError === null"); >-} >- >-//CHECK#24 >-if ( SyntaxError === null ) { >- testFailed("#24: SyntaxError === null"); >-} >- >-//CHECK#25 >-if ( TypeError === null ) { >- testFailed("#25: TypeError === null"); >-} >- >-//CHECK#26 >-if ( URIError === null ) { >- testFailed("#26: URIError === null"); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4-expected.txt >deleted file mode 100644 >index a29f6099b30..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.html >deleted file mode 100644 >index 74ec893ef04..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.1_T4; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Global execution context - Other Properties; >-*/ >- >-//CHECK#27 >-if ( Math === null ) { >- testFailed("#27: Math === null"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1-expected.txt >deleted file mode 100644 >index 68ba1992537..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.html >deleted file mode 100644 >index 317613ee69a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.2_T1; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Function execution context - Value Properties; >-*/ >- >-function test() { >- //CHECK#1 >- if ( NaN === null ) { >- testFailed("#1: NaN === null"); >- } >- >- //CHECK#2 >- if ( Infinity === null ) { >- testFailed("#2: Infinity === null"); >- } >- >- //CHECK#3 >- if ( undefined === null ) { >- testFailed("#3: undefined === null"); >- } >-} >- >-test(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2-expected.txt >deleted file mode 100644 >index b8e8fe97296..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.html >deleted file mode 100644 >index 9d1713b5b72..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.2_T2; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Function execution context - Function Properties; >-*/ >- >-function test() { >- //CHECK#4 >- if ( eval === null ) { >- testFailed("#4: eval === null"); >- } >- >- //CHECK#5 >- if ( parseInt === null ) { >- testFailed("#5: parseInt === null"); >- } >- >- //CHECK#6 >- if ( parseFloat === null ) { >- testFailed("#6: parseFloat === null"); >- } >- >- //CHECK#7 >- if ( isNaN === null ) { >- testFailed("#7: isNaN === null"); >- } >- >- //CHECK#8 >- if ( isFinite === null ) { >- testFailed("#8: isFinite === null"); >- } >- >- //CHECK#9 >- if ( decodeURI === null ) { >- testFailed("#9: decodeURI === null"); >- } >- >- //CHECK#10 >- if ( decodeURIComponent === null ) { >- testFailed("#10: decodeURIComponent === null"); >- } >- >- //CHECK#11 >- if ( encodeURI === null ) { >- testFailed("#11: encodeURI === null"); >- } >- >- //CHECK#12 >- if ( encodeURIComponent === null ) { >- testFailed("#12: encodeURIComponent === null"); >- } >-} >- >-test(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3-expected.txt >deleted file mode 100644 >index adf544e42ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.html >deleted file mode 100644 >index fcf70f6b235..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.html >+++ /dev/null >@@ -1,172 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.2_T3; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Function execution context - Constructor Properties; >-*/ >- >-function test() { >- //CHECK#13 >- if ( Object === null ) { >- testFailed("#13: Object === null"); >- } >- >- //CHECK#14 >- if ( Function === null ) { >- testFailed("#14: Function === null"); >- } >- >- //CHECK#15 >- if ( String === null ) { >- testFailed("#15: String === null"); >- } >- >- //CHECK#16 >- if ( Number === null ) { >- testFailed("#16: Function === null"); >- } >- >- //CHECK#17 >- if ( Array === null ) { >- testFailed("#17: Array === null"); >- } >- >- //CHECK#18 >- if ( Boolean === null ) { >- testFailed("#20: Boolean === null"); >- } >- >- //CHECK#18 >- if ( Date === null ) { >- testFailed("#18: Date === null"); >- } >- >- //CHECK#19 >- if ( RegExp === null ) { >- testFailed("#19: RegExp === null"); >- } >- >- //CHECK#20 >- if ( Error === null ) { >- testFailed("#20: Error === null"); >- } >- >- //CHECK#21 >- if ( EvalError === null ) { >- testFailed("#21: EvalError === null"); >- } >- >- //CHECK#22 >- if ( RangeError === null ) { >- testFailed("#22: RangeError === null"); >- } >- >- //CHECK#23 >- if ( ReferenceError === null ) { >- testFailed("#23: ReferenceError === null"); >- } >- >- //CHECK#24 >- if ( SyntaxError === null ) { >- testFailed("#24: SyntaxError === null"); >- } >- >- //CHECK#25 >- if ( TypeError === null ) { >- testFailed("#25: TypeError === null"); >- } >- >- //CHECK#26 >- if ( URIError === null ) { >- testFailed("#26: URIError === null"); >- } >-} >- >-test(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4-expected.txt >deleted file mode 100644 >index 597f984cbfd..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.html >deleted file mode 100644 >index f828522b80b..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.2_T4; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Function execution context - Other Properties; >-*/ >- >-function test() { >- //CHECK#27 >- if ( Math === null ) { >- testFailed("#27: Math === null"); >- } >-} >- >-test(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1-expected.txt >deleted file mode 100644 >index d35228206bd..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.html >deleted file mode 100644 >index 05662e7b18e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.3_T1; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Eval execution context - Value Properties; >-*/ >- >-var evalStr = >-'//CHECK#1\n'+ >-'if ( NaN === null ) {\n'+ >-' testFailed("#1: NaN === null");\n'+ >-'}\n'+ >- >-'//CHECK#2\n'+ >-'if ( Infinity === null ) {\n'+ >-' testFailed("#2: Infinity === null");\n'+ >-'}\n'+ >- >-'//CHECK#3\n'+ >-'if ( undefined === null ) {\n'+ >-' testFailed("#3: undefined === null");\n'+ >-'}\n'+ >-';\n'; >- >-eval(evalStr); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2-expected.txt >deleted file mode 100644 >index d8777bb2df7..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.html >deleted file mode 100644 >index 7355d5ec1a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.3_T2; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Eval execution context - Function Properties; >-*/ >- >-var evalStr = >-'//CHECK#4\n'+ >-'if ( eval === null ) {\n'+ >-' testFailed("#4: eval === null");\n'+ >-'}\n'+ >- >-'//CHECK#5\n'+ >-'if ( parseInt === null ) {\n'+ >-' testFailed("#5: parseInt === null");\n'+ >-'}\n'+ >- >-'//CHECK#6\n'+ >-'if ( parseFloat === null ) {\n'+ >-' testFailed("#6: parseFloat === null");\n'+ >-'}\n'+ >- >-'//CHECK#7\n'+ >-'if ( isNaN === null ) {\n'+ >-' testFailed("#7: isNaN === null");\n'+ >-'}\n'+ >- >-'//CHECK#8\n'+ >-'if ( isFinite === null ) {\n'+ >-' testFailed("#8: isFinite === null");\n'+ >-'}\n'+ >- >-'//CHECK#9\n'+ >-'if ( decodeURI === null ) {\n'+ >-' testFailed("#9: decodeURI === null");\n'+ >-'}\n'+ >- >-'//CHECK#10\n'+ >-'if ( decodeURIComponent === null ) {\n'+ >-' testFailed("#10: decodeURIComponent === null");\n'+ >-'}\n'+ >- >-'//CHECK#11\n'+ >-'if ( encodeURI === null ) {\n'+ >-' testFailed("#11: encodeURI === null");\n'+ >-'}\n'+ >- >-'//CHECK#12\n'+ >-'if ( encodeURIComponent === null ) {\n'+ >-' testFailed("#12: encodeURIComponent === null");\n'+ >-'}\n'+ >-';\n'; >- >-eval(evalStr); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3-expected.txt >deleted file mode 100644 >index 13c097a75a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.html >deleted file mode 100644 >index eb645473e6f..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.html >+++ /dev/null >@@ -1,172 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.3_T3; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Eval execution context - Constructor Properties; >-*/ >- >-var evalStr = >-'//CHECK#13\n'+ >-'if ( Object === null ) {\n'+ >-' testFailed("#13: Object === null");\n'+ >-'}\n'+ >- >-'//CHECK#14\n'+ >-'if ( Function === null ) {\n'+ >-' testFailed("#14: Function === null");\n'+ >-'}\n'+ >- >-'//CHECK#15\n'+ >-'if ( String === null ) {\n'+ >-' testFailed("#15: String === null");\n'+ >-'}\n'+ >- >-'//CHECK#16\n'+ >-'if ( Number === null ) {\n'+ >-' testFailed("#16: Function === null");\n'+ >-'}\n'+ >- >-'//CHECK#17\n'+ >-'if ( Array === null ) {\n'+ >-' testFailed("#17: Array === null");\n'+ >-'}\n'+ >- >-'//CHECK#18\n'+ >-'if ( Boolean === null ) {\n'+ >-' testFailed("#20: Boolean === null");\n'+ >-'}\n'+ >- >-'//CHECK#18\n'+ >-'if ( Date === null ) {\n'+ >-' testFailed("#18: Date === null");\n'+ >-'}\n'+ >- >-'//CHECK#19\n'+ >-'if ( RegExp === null ) {\n'+ >-' testFailed("#19: RegExp === null");\n'+ >-'}\n'+ >- >-'//CHECK#20\n'+ >-'if ( Error === null ) {\n'+ >-' testFailed("#20: Error === null");\n'+ >-'}\n'+ >- >-'//CHECK#21\n'+ >-'if ( EvalError === null ) {\n'+ >-' testFailed("#21: EvalError === null");\n'+ >-'}\n'+ >- >-'//CHECK#22\n'+ >-'if ( RangeError === null ) {\n'+ >-' testFailed("#22: RangeError === null");\n'+ >-'}\n'+ >- >-'//CHECK#23\n'+ >-'if ( ReferenceError === null ) {\n'+ >-' testFailed("#23: ReferenceError === null");\n'+ >-'}\n'+ >- >-'//CHECK#24\n'+ >-'if ( SyntaxError === null ) {\n'+ >-' testFailed("#24: SyntaxError === null");\n'+ >-'}\n'+ >- >-'//CHECK#25\n'+ >-'if ( TypeError === null ) {\n'+ >-' testFailed("#25: TypeError === null");\n'+ >-'}\n'+ >- >-'//CHECK#26\n'+ >-'if ( URIError === null ) {\n'+ >-' testFailed("#26: URIError === null");\n'+ >-'}\n'+ >-';\n'; >- >-eval(evalStr); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4-expected.txt >deleted file mode 100644 >index 40a5dcac71e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A1.3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.html >deleted file mode 100644 >index cb7f2f68e8c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A1.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A1.3_T4; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object has properties such as built-in objects such as >- * Math, String, Date, parseInt, etc; >- * @description: Eval execution context - Other Properties; >-*/ >- >-var evalStr = >-'//CHECK#27\n'+ >-'if ( Math === null ) {\n'+ >-' testFailed("#27: Math === null");\n'+ >-'}\n'+ >-';\n'; >- >-eval(evalStr); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1-expected.txt >deleted file mode 100644 >index caf6be3da64..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.html >deleted file mode 100644 >index e7b0406d25a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.1_T1; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Global execution context - Value Properties; >-*/ >- >-//CHECK#1 >-for (var x in this) { >- if ( x === 'NaN' ) { >- testFailed("#1: 'NaN' have attribute DontEnum"); >- } else if ( x === 'Infinity' ) { >- testFailed("#1: 'Infinity' have attribute DontEnum"); >- } else if ( x === 'undefined' ) { >- testFailed("#1: 'undefined' have attribute DontEnum"); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2-expected.txt >deleted file mode 100644 >index e66a525a60a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.html >deleted file mode 100644 >index 5f1037a3030..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.1_T2; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Global execution context - Function Properties; >-*/ >- >-//CHECK#1 >-for (var x in this) { >- if ( x === 'eval' ) { >- testFailed("#1: 'eval' have attribute DontEnum"); >- } else if ( x === 'parseInt' ) { >- testFailed("#1: 'parseInt' have attribute DontEnum"); >- } else if ( x === 'parseFloat' ) { >- testFailed("#1: 'parseFloat' have attribute DontEnum"); >- } else if ( x === 'isNaN' ) { >- testFailed("#1: 'isNaN' have attribute DontEnum"); >- } else if ( x === 'isFinite' ) { >- testFailed("#1: 'isFinite' have attribute DontEnum"); >- } else if ( x === 'decodeURI' ) { >- testFailed("#1: 'decodeURI' have attribute DontEnum"); >- } else if ( x === 'decodeURIComponent' ) { >- testFailed("#1: 'decodeURIComponent' have attribute DontEnum"); >- } else if ( x === 'encodeURI' ) { >- testFailed("#1: 'encodeURI' have attribute DontEnum"); >- } else if ( x === 'encodeURIComponent' ) { >- testFailed("#1: 'encodeURIComponent' have attribute DontEnum"); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3-expected.txt >deleted file mode 100644 >index 39ddcdab417..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.html >deleted file mode 100644 >index ad22d26a856..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.1_T3; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Global execution context - Constructor Properties; >-*/ >- >-//CHECK#1 >-for (var x in this) { >- if ( x === 'Object' ) { >- testFailed("#1: 'property 'Object' have attribute DontEnum"); >- } else if ( x === 'Function') { >- testFailed("#1: 'Function' have attribute DontEnum"); >- } else if ( x === 'String' ) { >- testFailed("#1: 'String' have attribute DontEnum"); >- } else if ( x === 'Number' ) { >- testFailed("#1: 'Number' have attribute DontEnum"); >- } else if ( x === 'Array' ) { >- testFailed("#1: 'Array' have attribute DontEnum"); >- } else if ( x === 'Boolean' ) { >- testFailed("#1: 'Boolean' have attribute DontEnum"); >- } else if ( x === 'Date' ) { >- testFailed("#1: 'Date' have attribute DontEnum"); >- } else if ( x === 'RegExp' ) { >- testFailed("#1: 'RegExp' have attribute DontEnum"); >- } else if ( x === 'Error' ) { >- testFailed("#1: 'Error' have attribute DontEnum"); >- } else if ( x === 'EvalError' ) { >- testFailed("#1: 'EvalError' have attribute DontEnum"); >- } else if ( x === 'RangeError' ) { >- testFailed("#1: 'RangeError' have attribute DontEnum"); >- } else if ( x === 'ReferenceError' ) { >- testFailed("#1: 'ReferenceError' have attribute DontEnum"); >- } else if ( x === 'SyntaxError' ) { >- testFailed("#1: 'SyntaxError' have attribute DontEnum"); >- } else if ( x === 'TypeError' ) { >- testFailed("#1: 'TypeError' have attribute DontEnum"); >- } else if ( x === 'URIError' ) { >- testFailed("#1: 'URIError' have attribute DontEnum"); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4-expected.txt >deleted file mode 100644 >index c2d271c7002..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.html >deleted file mode 100644 >index 44156c6bf9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.1_T4; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Global execution context - Other Properties; >-*/ >- >-//CHECK#1 >-for (var x in this) { >- if ( x === 'Math' ) { >- testFailed("#1: 'Math' have attribute DontEnum"); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1-expected.txt >deleted file mode 100644 >index 19f295986df..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.html >deleted file mode 100644 >index 984c112fd34..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.2_T1; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Function execution context - Value Properties; >-*/ >- >-function test() { >- //CHECK#1 >- for (var x in this) { >- if ( x === 'NaN' ) { >- testFailed("#1: 'NaN' have attribute DontEnum"); >- } else if ( x === 'Infinity' ) { >- testFailed("#1: 'Infinity' have attribute DontEnum"); >- } else if ( x === 'undefined' ) { >- testFailed("#1: 'undefined' have attribute DontEnum"); >- } >- } >-} >- >-test(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2-expected.txt >deleted file mode 100644 >index 415e781f8fd..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.html >deleted file mode 100644 >index 4602dd5018b..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.2_T2; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Function execution context - Function Properties; >-*/ >- >-function test() { >- //CHECK#1 >- for (var x in this) { >- if ( x === 'eval' ) { >- testFailed("#1: 'eval' have attribute DontEnum"); >- } else if ( x === 'parseInt' ) { >- testFailed("#1: 'parseInt' have attribute DontEnum"); >- } else if ( x === 'parseFloat' ) { >- testFailed("#1: 'parseFloat' have attribute DontEnum"); >- } else if ( x === 'isNaN' ) { >- testFailed("#1: 'isNaN' have attribute DontEnum"); >- } else if ( x === 'isFinite' ) { >- testFailed("#1: 'isFinite' have attribute DontEnum"); >- } else if ( x === 'decodeURI' ) { >- testFailed("#1: 'decodeURI' have attribute DontEnum"); >- } else if ( x === 'decodeURIComponent' ) { >- testFailed("#1: 'decodeURIComponent' have attribute DontEnum"); >- } else if ( x === 'encodeURI' ) { >- testFailed("#1: 'encodeURI' have attribute DontEnum"); >- } else if ( x === 'encodeURIComponent' ) { >- testFailed("#1: 'encodeURIComponent' have attribute DontEnum"); >- } >- } >-} >- >-test(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3-expected.txt >deleted file mode 100644 >index 94670263701..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.html >deleted file mode 100644 >index b30b75577e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.2_T3; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Function execution context - Constructor Properties; >-*/ >- >-function test() { >- //CHECK#1 >- for (var x in this) { >- if ( x === 'Object' ) { >- testFailed("#1: 'property 'Object' have attribute DontEnum"); >- } else if ( x === 'Function') { >- testFailed("#1: 'Function' have attribute DontEnum"); >- } else if ( x === 'String' ) { >- testFailed("#1: 'String' have attribute DontEnum"); >- } else if ( x === 'Number' ) { >- testFailed("#1: 'Number' have attribute DontEnum"); >- } else if ( x === 'Array' ) { >- testFailed("#1: 'Array' have attribute DontEnum"); >- } else if ( x === 'Boolean' ) { >- testFailed("#1: 'Boolean' have attribute DontEnum"); >- } else if ( x === 'Date' ) { >- testFailed("#1: 'Date' have attribute DontEnum"); >- } else if ( x === 'RegExp' ) { >- testFailed("#1: 'RegExp' have attribute DontEnum"); >- } else if ( x === 'Error' ) { >- testFailed("#1: 'Error' have attribute DontEnum"); >- } else if ( x === 'EvalError' ) { >- testFailed("#1: 'EvalError' have attribute DontEnum"); >- } else if ( x === 'RangeError' ) { >- testFailed("#1: 'RangeError' have attribute DontEnum"); >- } else if ( x === 'ReferenceError' ) { >- testFailed("#1: 'ReferenceError' have attribute DontEnum"); >- } else if ( x === 'SyntaxError' ) { >- testFailed("#1: 'SyntaxError' have attribute DontEnum"); >- } else if ( x === 'TypeError' ) { >- testFailed("#1: 'TypeError' have attribute DontEnum"); >- } else if ( x === 'URIError' ) { >- testFailed("#1: 'URIError' have attribute DontEnum"); >- } >- } >-} >- >-test(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4-expected.txt >deleted file mode 100644 >index 10b963b5cf2..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.html >deleted file mode 100644 >index dcd266b156c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.2_T4; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Function execution context - Other Properties; >-*/ >- >-function test() { >- //CHECK#1 >- for (var x in this) { >- if ( x === 'Math' ) { >- testFailed("#1: 'Math' have attribute DontEnum"); >- } >- } >-} >- >-test(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1-expected.txt >deleted file mode 100644 >index 58ee96451ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.html >deleted file mode 100644 >index 494f0319e41..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.3_T1; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Global execution context - Value Properties; >-*/ >- >-var evalStr = >-'//CHECK#1\n'+ >-'for (var x in this) {\n'+ >-' if ( x === \'NaN\' ) {\n'+ >-' testFailed("#1: \'NaN\' have attribute DontEnum");\n'+ >-' } else if ( x === \'Infinity\' ) {\n'+ >-' testFailed("#1: \'Infinity\' have attribute DontEnum");\n'+ >-' } else if ( x === \'undefined\' ) {\n'+ >-' testFailed("#1: \'undefined\' have attribute DontEnum");\n'+ >-' }\n'+ >-'}\n'; >- >-eval(evalStr); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2-expected.txt >deleted file mode 100644 >index 6ea487068e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.html >deleted file mode 100644 >index 7eb2191f714..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.3_T2; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Global execution context - Function Properties; >-*/ >- >-var evalStr = >-'//CHECK#1\n'+ >-'for (var x in this) {\n'+ >-' if ( x === \'eval\' ) {\n'+ >-' testFailed("#1: \'eval\' have attribute DontEnum");\n'+ >-' } else if ( x === \'parseInt\' ) {\n'+ >-' testFailed("#1: \'parseInt\' have attribute DontEnum");\n'+ >-' } else if ( x === \'parseFloat\' ) {\n'+ >-' testFailed("#1: \'parseFloat\' have attribute DontEnum");\n'+ >-' } else if ( x === \'isNaN\' ) {\n'+ >-' testFailed("#1: \'isNaN\' have attribute DontEnum");\n'+ >-' } else if ( x === \'isFinite\' ) {\n'+ >-' testFailed("#1: \'isFinite\' have attribute DontEnum");\n'+ >-' } else if ( x === \'decodeURI\' ) {\n'+ >-' testFailed("#1: \'decodeURI\' have attribute DontEnum");\n'+ >-' } else if ( x === \'decodeURIComponent\' ) {\n'+ >-' testFailed("#1: \'decodeURIComponent\' have attribute DontEnum");\n'+ >-' } else if ( x === \'encodeURI\' ) {\n'+ >-' testFailed("#1: \'encodeURI\' have attribute DontEnum");\n'+ >-' } else if ( x === \'encodeURIComponent\' ) {\n'+ >-' testFailed("#1: \'encodeURIComponent\' have attribute DontEnum");\n'+ >-' }\n'+ >-'}\n'; >- >-eval(evalStr); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3-expected.txt >deleted file mode 100644 >index f146349a3c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.html >deleted file mode 100644 >index ffda95b56ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.html >+++ /dev/null >@@ -1,130 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.3_T3; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Global execution context - Constructor Properties; >-*/ >- >-var evalStr = >-'//CHECK#1\n'+ >-'for (var x in this) {\n'+ >-' if ( x === \'Object\' ) {\n'+ >-' testFailed("#1: \'Object\' have attribute DontEnum");\n'+ >-' } else if ( x === \'Function\') {\n'+ >-' testFailed("#1: \'Function\' have attribute DontEnum");\n'+ >-' } else if ( x === \'String\' ) {\n'+ >-' testFailed("#1: \'String\' have attribute DontEnum");\n'+ >-' } else if ( x === \'Number\' ) {\n'+ >-' testFailed("#1: \'Number\' have attribute DontEnum");\n'+ >-' } else if ( x === \'Array\' ) {\n'+ >-' testFailed("#1: \'Array\' have attribute DontEnum");\n'+ >-' } else if ( x === \'Boolean\' ) {\n'+ >-' testFailed("#1: \'Boolean\' have attribute DontEnum");\n'+ >-' } else if ( x === \'Date\' ) {\n'+ >-' testFailed("#1: \'Date\' have attribute DontEnum");\n'+ >-' } else if ( x === \'RegExp\' ) {\n'+ >-' testFailed("#1: \'RegExp\' have attribute DontEnum");\n'+ >-' } else if ( x === \'Error\' ) {\n'+ >-' testFailed("#1: \'Error\' have attribute DontEnum");\n'+ >-' } else if ( x === \'EvalError\' ) {\n'+ >-' testFailed("#1: \'EvalError\' have attribute DontEnum");\n'+ >-' } else if ( x === \'RangeError\' ) {\n'+ >-' testFailed("#1: \'RangeError\' have attribute DontEnum");\n'+ >-' } else if ( x === \'ReferenceError\' ) {\n'+ >-' testFailed("#1: \'ReferenceError\' have attribute DontEnum");\n'+ >-' } else if ( x === \'SyntaxError\' ) {\n'+ >-' testFailed("#1: \'SyntaxError\' have attribute DontEnum");\n'+ >-' } else if ( x === \'TypeError\' ) {\n'+ >-' testFailed("#1: \'TypeError\' have attribute DontEnum");\n'+ >-' } else if ( x === \'URIError\' ) {\n'+ >-' testFailed("#1: \'URIError\' have attribute DontEnum");\n'+ >-' }\n'+ >-'}\n'; >- >-eval(evalStr); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4-expected.txt >deleted file mode 100644 >index f82bc6ee17d..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.5_A2.3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.html >deleted file mode 100644 >index 896b51b0881..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.5_A2.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.5_A2.3_T4; >- * @section: 10.1.5, 15.1; >- * @assertion: Global object properties have attributes { DontEnum }; >- * @description: Global execution context - Other Properties; >-*/ >- >-var evalStr = >-'//CHECK#1\n'+ >-'for (var x in this) {\n'+ >-' if ( x === \'Math\' ) {\n'+ >-' testFailed("#1: \'Math\' have attribute DontEnum");\n'+ >-' }\n'+ >-'}\n'; >- >-eval(evalStr); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1-expected.txt >deleted file mode 100644 >index de16ddb3172..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.html >deleted file mode 100644 >index 8c50f8945c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A1; >- * @section: 10.1.8; >- * @assertion: When control enters an execution context for function code, >- * an arguments object is created and initialised; >- * @description: Executing function which uses arguments object; >-*/ >- >-//CHECK#1 >-function f1(){ >- return arguments; >-} >- >-try{ >- var x = f1(); >-} >-catch(e){ >- testFailed("#1: arguments doesn't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){ >- return arguments; >-} >- >-try{ >- var x = f2(); >-} >-catch(e){ >- testFailed("#2: arguments doesn't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2-expected.txt >deleted file mode 100644 >index 38b758cd4aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.html >deleted file mode 100644 >index ffa662b1e22..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A2; >- * @section: 10.1.8; >- * @assertion: The value of the internal [[Prototype]] property of the >- * created arguments object is the original Object prototype object, the one >- * that is the initial value of Object.prototype; >- * @description: Checking arguments.constructor.prototype===Object.prototype; >-*/ >- >-//CHECK#1 >-function f1(){ >- return arguments.constructor.prototype; >-} >-try{ >- if(f1() !== Object.prototype){ >- testFailed('#1: arguments.constructor.prototype === Object.prototype'); >- } >-} >-catch(e){ >- testFailed("#1: arguments doesn't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){return arguments.constructor.prototype;}; >-try{ >- if(f2() !== Object.prototype){ >- testFailed('#2: arguments.constructor.prototype === Object.prototype'); >- } >-} >-catch(e){ >- testFailed("#2: arguments doesn't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1-expected.txt >deleted file mode 100644 >index edd0b49b477..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.html >deleted file mode 100644 >index 37625fd26e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A3_T1; >- * @section: 10.1.8; >- * @assertion: A property is created with name callee with property >- * attributes { DontEnum } and no others; >- * @description: Checking existence of arguments.callee property; >-*/ >- >-//CHECK#1 >-function f1(){ >- return arguments.hasOwnProperty("callee"); >-} >-try{ >- if(f1() !== true){ >- testFailed("#1: arguments object doesn't contains property 'callee'"); >- } >-} >-catch(e){ >- testFailed("#1: arguments object doesn't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){return arguments.hasOwnProperty("callee");}; >-try{ >- if(f2() !== true){ >- testFailed("#2: arguments object doesn't contains property 'callee'"); >- } >-} >-catch(e){ >- testFailed("#2: arguments object doesn't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2-expected.txt >deleted file mode 100644 >index f0e45d66e97..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html >deleted file mode 100644 >index cf3df7cba33..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A3_T2; >- * @section: 10.1.8; >- * @assertion: A property is created with name callee with property >- * attributes { DontEnum } and no others; >- * @description: Checking if enumerating the arguments.callee property fails; >-*/ >- >-//CHECK#1 >-function f1(){ >- for(var x in arguments){ >- if (x === "callee"){ >- return false; >- } >- } >- return true; >-} >- >-try{ >- if(!f1()){ >- testFailed("#1: A property callee don't have attribute { DontEnum }"); >- } >-} >-catch(e){ >- testFailed("#1: arguments object don't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){ >- for(var x in arguments){ >- if (x === "callee"){ >- return false; >- } >- } >- return true; >-} >- >-try{ >- if(!f2()){ >- testFailed("#2: A property callee don't have attribute { DontEnum }"); >- } >-} >-catch(e){ >- testFailed("#2: arguments object don't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3-expected.txt >deleted file mode 100644 >index b6bb00cfc38..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.html >deleted file mode 100644 >index a27e33bf8d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A3_T3; >- * @section: 10.1.8; >- * @assertion: A property is created with name callee with property >- * attributes { DontEnum } and no others; >- * @description: Checking if deleting arguments.callee property fails; >-*/ >- >-//CHECK#1 >-function f1(){ >- return (delete arguments.callee); >-} >- >-try{ >- if(!f1()){ >- testFailed("#1: A property callee have attribute { DontDelete }"); >- } >-} >-catch(e){ >- testFailed("#1: arguments object don't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){ >- return (delete arguments.callee); >-} >- >-try{ >- if(!f2()){ >- testFailed("#2: A property callee have attribute { DontDelete }"); >- } >-} >-catch(e){ >- testFailed("#2: arguments object don't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4-expected.txt >deleted file mode 100644 >index 93b3d3f4919..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.html >deleted file mode 100644 >index 8eb15c650f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A3_T4; >- * @section: 10.1.8; >- * @assertion: A property is created with name callee with property >- * attributes { DontEnum } and no others; >- * @description: Overriding arguments.callee property; >-*/ >- >-var str = "something different"; >-//CHECK#1 >-function f1(){ >- arguments.callee = str; >- return arguments; >-} >- >-try{ >- if(f1().callee !== str){ >- testFailed("#1: A property callee have attribute { ReadOnly }"); >- } >-} >-catch(e){ >- testFailed("#1: arguments object don't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){ >- arguments.callee = str; >- return arguments; >- } >-try{ >- if(f2().callee !== str){ >- testFailed("#2: A property callee have attribute { ReadOnly }"); >- } >-} >-catch(e){ >- testFailed("#2: arguments object don't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4-expected.txt >deleted file mode 100644 >index 715bc575cf6..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.html >deleted file mode 100644 >index 75f640ba298..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A4; >- * @section: 10.1.8; >- * @assertion: The initial value of the created property callee is the >- * Function object being executed; >- * @description: Checking that arguments.callee === function object; >-*/ >- >-//CHECK#1 >-function f1(){ >- return arguments.callee; >-} >- >-try{ >- if(f1 !== f1()){ >- testFailed('#1: arguments.callee === f1'); >- } >-} >-catch(e){ >- testFailed("#1: arguments object doesn't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){return arguments.callee;}; >- >-try{ >- if(f2 !== f2()){ >- testFailed('#2: arguments.callee === f2'); >- } >-} >-catch(e){ >- testFailed("#1: arguments object doesn't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1-expected.txt >deleted file mode 100644 >index f52ce271144..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.html >deleted file mode 100644 >index 2d8f9c85ab2..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A5_T1; >- * @section: 10.1.8; >- * @assertion: A property is created with name length with property >- * attributes { DontEnum } and no others; >- * @description: Checking existence of arguments.length property; >-*/ >- >-//CHECK#1 >-function f1(){ >- return arguments.hasOwnProperty("length"); >-} >-try{ >- if(f1() !== true){ >- testFailed("#1: arguments object doesn't contains property 'length'"); >- } >-} >-catch(e){ >- testFailed("#1: arguments object doesn't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){return arguments.hasOwnProperty("length");}; >-try{ >- if(f2() !== true){ >- testFailed("#2: arguments object doesn't contains property 'length'"); >- } >-} >-catch(e){ >- testFailed("#2: arguments object doesn't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2-expected.txt >deleted file mode 100644 >index ef280432e72..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.html >deleted file mode 100644 >index fc47e46783b..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A5_T2; >- * @section: 10.1.8; >- * @assertion: A property is created with name length with property >- * attributes { DontEnum } and no others; >- * @description: Checking if enumerating the arguments.length property fails; >-*/ >- >- >-//CHECK#1 >-function f1(){ >- for(var x in arguments){ >- if (x === "length"){ >- return false; >- } >- } >- return true; >-} >- >-try{ >- if(!f1()){ >- testFailed("#1: A property length don't have attribute { DontEnum }"); >- } >-} >-catch(e){ >- testFailed("#1: arguments object don't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){ >- for(var x in arguments){ >- if (x === "length"){ >- return false; >- } >- } >- return true; >-} >- >-try{ >- if(!f2()){ >- testFailed("#2: A property length don't have attribute { DontEnum }"); >- } >-} >-catch(e){ >- testFailed("#2: arguments object don't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3-expected.txt >deleted file mode 100644 >index 3e59f9dc219..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.html >deleted file mode 100644 >index 7492eea158f..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A5_T3; >- * @section: 10.1.8; >- * @assertion: A property is created with name length with property >- * attributes { DontEnum } and no others; >- * @description: Checking if deleting arguments.length property fails; >-*/ >- >-//CHECK#1 >-function f1(){ >- return (delete arguments.length); >-} >- >-try{ >- if(!f1()){ >- testFailed("#1: A property length have attribute { DontDelete }"); >- } >-} >-catch(e){ >- testFailed("#1: arguments object don't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){ >- return (delete arguments.length); >-} >- >-try{ >- if(!f2()){ >- testFailed("#2: A property length have attribute { DontDelete }"); >- } >-} >-catch(e){ >- testFailed("#2: arguments object don't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4-expected.txt >deleted file mode 100644 >index 34a865a041c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.html >deleted file mode 100644 >index 095aa90bf05..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A5_T4; >- * @section: 10.1.8; >- * @assertion: A property is created with name length with property >- * attributes { DontEnum } and no others; >- * @description: Overriding arguments.length property; >-*/ >- >-var str = "something different"; >-//CHECK#1 >-function f1(){ >- arguments.length = str; >- return arguments; >-} >- >-try{ >- if(f1().length !== str){ >- testFailed("#1: A property length have attribute { ReadOnly }"); >- } >-} >-catch(e){ >- testFailed("#1: arguments object don't exists"); >-} >- >-//CHECK#2 >-var f2 = function(){ >- arguments.length = str; >- return arguments; >- } >-try{ >- if(f2().length !== str){ >- testFailed("#2: A property length have attribute { ReadOnly }"); >- } >-} >-catch(e){ >- testFailed("#2: arguments object don't exists"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6-expected.txt >deleted file mode 100644 >index 03e7df61f75..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.html >deleted file mode 100644 >index cb3f2dc61fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.html >+++ /dev/null >@@ -1,149 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A6; >- * @section: 10.1.8; >- * @assertion: The initial value of the created property length is the number >- * of actual parameter values supplied by the caller; >- * @description: Create function, that returned arguments.length; >-*/ >- >-function f1(){ >- return arguments.length; >-} >- >-//CHECK#1 >-if(!(f1() === 0)){ >- testFailed('#1: argument.length === 0'); >-} >- >-//CHECK#2 >-if(!(f1(0) === 1)){ >- testFailed('#2: argument.length === 1'); >-} >- >-//CHECK#3 >-if(!(f1(0, 1) === 2)){ >- testFailed('#3: argument.length === 2'); >-} >- >-//CHECK#4 >-if(!(f1(0, 1, 2) === 3)){ >- testFailed('#4: argument.length === 3'); >-} >- >-//CHECK#5 >-if(!(f1(0, 1, 2, 3) === 4)){ >- testFailed('#5: argument.length === 4'); >-} >- >-var f2 = function(){return arguments.length;}; >- >-//CHECK#6 >-if(!(f2() === 0)){ >- testFailed('#6: argument.length === 0'); >-} >- >-//CHECK#7 >-if(!(f2(0) === 1)){ >- testFailed('#7: argument.length === 1'); >-} >- >-//CHECK#8 >-if(!(f2(0, 1) === 2)){ >- testFailed('#8: argument.length === 2'); >-} >- >-//CHECK#9 >-if(!(f2(0, 1, 2) === 3)){ >- testFailed('#9: argument.length === 3'); >-} >- >-//CHECK#10 >-if(!(f2(0, 1, 2, 3) === 4)){ >- testFailed('#10: argument.length === 4'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7-expected.txt >deleted file mode 100644 >index 56c44cd83d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.8_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.html >deleted file mode 100644 >index bcd1bdd2beb..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.8_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.8_A7; >- * @section: 10.1.8; >- * @assertion: Get arguments of function; >- * @description: Use property arguments; >-*/ >- >-function f1() { >- return arguments; >-} >- >-//CHECK#1-5 >-for(var i = 1; i < 5; i++){ >-if (f1(1,2,3,4,5)[i] !== (i+1)) >- testFailed("#"+i+": Returning function's arguments work wrong, f1(1,2,3,4,5)["+i+"] !== "+(i+1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1-expected.txt >deleted file mode 100644 >index 702c0046a7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.html >deleted file mode 100644 >index 028102fc03a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.1_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.1_A1_T1; >- * @section: 10.1.1; >- * @assertion: Program functions are defined in source text by a FunctionDeclaration or created dynamically either >- * by using a FunctionExpression or by using the built-in Function object as a constructor; >- * @description: Defining function by a FunctionDeclaration; >-*/ >- >-//CHECK#1 >-function f1(){ >- return 1; >-} >-if(typeof(f1)!=="function") >- testFailed('#1: typeof(f1)!=="function"'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2-expected.txt >deleted file mode 100644 >index fe28a48fcb9..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.html >deleted file mode 100644 >index 9a9eed5b1f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.1_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.1_A1_T2; >- * @section: 10.1.1; >- * @assertion: Program functions are defined in source text by a FunctionDeclaration or created dynamically either >- * by using a FunctionExpression or by using the built-in Function object as a constructor; >- * @description: Creating function dynamically by using a FunctionExpression; >-*/ >- >-//CHECK#1 >-var x=function f1(){return 1;}(); >-if(x!==1) >- testFailed('#1: Create function dynamically either by using a FunctionExpression'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3-expected.txt >deleted file mode 100644 >index c7170d0728f..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.1_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.html >deleted file mode 100644 >index 5445138e98d..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.1_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.1_A1_T3; >- * @section: 10.1.1; >- * @assertion: Program functions are defined in source text by a FunctionDeclaration or created dynamically either >- * by using a FunctionExpression or by using the built-in Function object as a constructor; >- * @description: Creating function dynamically by using the built-in Function object as a constructor; >-*/ >- >-//CHECK#1 >-var x=new function f1(){return 1;}; >-if(typeof(x.constructor)!=="function") >- testFailed('#1: typeof(x.constructor)!=="function"'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1-expected.txt >deleted file mode 100644 >index 3bfaeaf379c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.1_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.html >deleted file mode 100644 >index 8b679f79954..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.1_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.1_A2_T1; >- * @section: 10.1.1; >- * @assertion: There are two types of Function objects. Internal functions >- * are built-in objects of the language, such as parseInt and Math.exp; >- * @description: Checking types of parseInt and Math.exp; >-*/ >- >-//CHECK#1 >-if(typeof(Math.exp)!=="function") >- testFailed('#1: typeof(Math.exp(10))!=="function" '+typeof(Math.exp())); >- >-//CHECK#2 >-if(typeof(parseInt)!=="function") >- testFailed('#2: typeof(parseInt())!=="function" '+typeof(parseInt())); >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1-expected.txt >deleted file mode 100644 >index eb4e29585ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.6_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.html >deleted file mode 100644 >index 2ce3a8473c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.6_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.6_A1_T1; >- * @section: 10.1.6; >- * @assertion: The activation object is initialised with a property with name arguments and attributes {DontDelete}; >- * @description: Checking ifdeleting function parameter is possible; >-*/ >- >-//CHECK#1 >-function f1(a){ >- delete a; >- return a; >-} >-if (f1(1) !== 1) >- testFailed('#1: Function parameter was deleted'); >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2-expected.txt >deleted file mode 100644 >index b5103a14369..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.6_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.html >deleted file mode 100644 >index 1aebad67bb6..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.6_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.6_A1_T2; >- * @section: 10.1.6; >- * @assertion: The activation object is initialised with a property with name arguments and attributes {DontDelete}; >- * @description: Checking funtion which returns property "arguments"; >-*/ >- >-var ARG_STRING = "value of the argument property"; >- >-function f1() { >- this.constructor.prototype.arguments = ARG_STRING; >- return arguments; >-} >- >-//CHECK#1 >-if ((new f1(1,2,3,4,5)).length !== 5) >- testFailed('#1: (new f1(1,2,3,4,5)).length===5, where f1 returns "arguments" that is set to "'+ ARG_STRING + '"'); >- >-//CHECK#2 >-if ((new f1(1,2,3,4,5))[3] !== 4) >- testFailed('#2: (new f1(1,2,3,4,5))[3]===4, where f1 returns "arguments" that is set to "'+ ARG_STRING + '"'); >- >-//CHECK#3 >-var x = new f1(1,2,3,4,5); >-if (delete x[3] !== true) >- testFailed('#3.1: Function parameters have attribute {DontDelete}'); >- >-if (x[3] === 4) >- testFailed('#3.2: Function parameters have attribute {DontDelete}'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3-expected.txt >deleted file mode 100644 >index ee8d084a65e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.6_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.html >deleted file mode 100644 >index 1191365ff3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.6_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.6_A1_T3; >- * @section: 10.1.6; >- * @assertion: The activation object is initialised with a property with name arguments and attributes {DontDelete}; >- * @description: Checking function which returns "this"; >-*/ >- >-function f1() { >- if (delete arguments) { >- testFailed("#1: Function parameters have attribute {DontDelete}" + arguments); >- } >- return arguments; >-} >- >-f1(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1-expected.txt >deleted file mode 100644 >index 83c4a3fd1c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.1.7_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.html >deleted file mode 100644 >index 94956f5a6ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.1.7_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.1.7_A1_T1; >- * @section: 10.1.7; >- * @assertion: The this value associated with an executioncontext is immutable; >- * @description: Checking if deleting "this" fails; >-*/ >- >-//CHECK#1 >-if (delete this !== true) >- testFailed('#1: The this value associated with an executioncontext is immutable. Actual: this was deleted'); >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1-expected.txt >deleted file mode 100644 >index 8aabc8f70ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.html >deleted file mode 100644 >index b3432472a76..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.1_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.1_A1_T1; >- * @section: 10.2.1; >- * @assertion: Variable instantiation is performed using the global object as >- * the variable object and using property attributes { DontDelete }; >- * @description: Checking if deleting variable x, that is defined as var x = 1, fails; >-*/ >- >-var x = 1; >- >-if (this.x !== 1) { >- testFailed("#1: variable x is a property of global object"); >-} >- >-if(delete this.x !== false){ >- testFailed("#2: variable x has property attribute DontDelete"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2-expected.txt >deleted file mode 100644 >index cc678862935..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.html >deleted file mode 100644 >index 0032968f0c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.1_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.1_A1_T2; >- * @section: 10.2.1; >- * @assertion: Variable instantiation is performed using the global object as >- * the variable object and using property attributes { DontDelete }; >- * @description: Checking if deleting variable x, that is defined as x = 1, fails; >-*/ >- >-x = 1; >- >-if (this.x !== 1) { >- testFailed("#1: variable x is a property of global object"); >-} >- >-if(delete this.x !== true){ >- testFailed("#2: variable x has property attribute DontDelete"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1-expected.txt >deleted file mode 100644 >index 62cbb70a1b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html >deleted file mode 100644 >index 2dade565486..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T1; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >-x = 1; >-y = 2; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10-expected.txt >deleted file mode 100644 >index a034272b5fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html >deleted file mode 100644 >index ab876dad78a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T10; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >-var x = 1; >-var y = 2; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11-expected.txt >deleted file mode 100644 >index 8762e8c68d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html >deleted file mode 100644 >index 9d673d6a510..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T11; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-this.x = 1; >-this.y = 2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2-expected.txt >deleted file mode 100644 >index 6a2e91447df..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html >deleted file mode 100644 >index 57513800d0e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T2; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-var x = 1; >-var y = 2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3-expected.txt >deleted file mode 100644 >index 6f7e0cda317..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html >deleted file mode 100644 >index 3a4fe428aa8..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T3; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >-this.x = 1; >-this.y = 2; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4-expected.txt >deleted file mode 100644 >index 102df8f0245..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html >deleted file mode 100644 >index 774f51ddba2..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T4; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >-x = 1; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-y = 2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5-expected.txt >deleted file mode 100644 >index aac0d28ed50..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html >deleted file mode 100644 >index fb8b0d09b06..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T5; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >-var x = 1; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-var y = 2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6-expected.txt >deleted file mode 100644 >index f93b0bde950..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html >deleted file mode 100644 >index 2ffef1f8c1a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T6; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >-this.x = 1; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-this.y = 2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7-expected.txt >deleted file mode 100644 >index a0c373576b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html >deleted file mode 100644 >index 1907b86e832..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T7; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >-x = 1; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-var y = 2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8-expected.txt >deleted file mode 100644 >index 9b9deaadcb4..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html >deleted file mode 100644 >index edde0c99cf8..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T8; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >-this.x = 1; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-var y = 2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9-expected.txt >deleted file mode 100644 >index 27991816a31..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html >deleted file mode 100644 >index 13cc1e4c840..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.1_T9; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-var i; >-var j; >-str1 = ''; >-str2 = ''; >- >-for(i in this){ >- str1+=i; >-} >- >-eval('for(j in this){\nstr2+=j;\n}'); >- >-if(!(str1 === str2)){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-x = 1; >-y = 2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1-expected.txt >deleted file mode 100644 >index 00c010de016..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html >deleted file mode 100644 >index 1f2311a9a7a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T1; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- x = 1; >- y = 2; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- return (str1 === str2); >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10-expected.txt >deleted file mode 100644 >index efd082f1e4b..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html >deleted file mode 100644 >index 61993e0a38a..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T10; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- var x = 1; >- var y = 2; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11-expected.txt >deleted file mode 100644 >index f5ffc9099b7..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html >deleted file mode 100644 >index 2ea226ccc89..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T11; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >- >- this.x = 1; >- this.y = 2; >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2-expected.txt >deleted file mode 100644 >index c325ab96532..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html >deleted file mode 100644 >index 18280c82477..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T2; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >- var x = 1; >- var y = 2; >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3-expected.txt >deleted file mode 100644 >index a1ce86057c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html >deleted file mode 100644 >index ec4595512ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T3; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- this.x = 1; >- this.y = 2; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4-expected.txt >deleted file mode 100644 >index 78c77a380e8..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html >deleted file mode 100644 >index d1dca4ddee7..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T4; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- x = 1; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >- >- y = 2; >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5-expected.txt >deleted file mode 100644 >index 1ba64f892ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html >deleted file mode 100644 >index 27546dbb00e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T5; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- var x = 1; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >- >- var y = 2; >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6-expected.txt >deleted file mode 100644 >index b144172a8b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html >deleted file mode 100644 >index 96aee01a6d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T6; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- this.x = 1; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >- >- this.y = 2; >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7-expected.txt >deleted file mode 100644 >index 05c1811cd59..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html >deleted file mode 100644 >index 1111c328f53..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T7; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- x = 1; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >- >- var y = 2; >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8-expected.txt >deleted file mode 100644 >index a341d88a85e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html >deleted file mode 100644 >index d0ef90ed9ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T8; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- this.x = 1; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >- >- var y = 2; >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9-expected.txt >deleted file mode 100644 >index 7017f418ea2..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html >deleted file mode 100644 >index 9c72a25b253..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2.2_A1.2_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2.2_A1.2_T9; >- * @section: 10.2.2; >- * @assertion: The scope chain is initialised to contain the same objects, >- * in the same order, as the calling context's scope chain; >- * @description: eval within global execution context; >-*/ >- >-function f(){ >- var i; >- var j; >- str1 = ''; >- str2 = ''; >- >- for(i in this){ >- str1+=i; >- } >- >- eval('for(j in this){\nstr2+=j;\n}'); >- >- return (str1 === str2); >- >- x = 1; >- y = 2; >-} >- >-if(!f()){ >- testFailed("#1: scope chain must contain same objects in the same order as the calling context"); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1-expected.txt >deleted file mode 100644 >index 035c61d3b7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.html >deleted file mode 100644 >index 166221c0165..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2_A1.1_T1; >- * @section: 10.2; >- * @assertion: Every function call enters a new execution context; >- * @description: Sequence of function calls; >-*/ >- >-var y; >- >-function f(){ >- var x; >- >- if(x === undefined) { >- x = 0; >- } else { >- x = 1; >- } >- >- return x; >-} >- >-y = f(); >-y = f(); >- >-if(!(y === 0)){ >- testFailed("#1: Sequenced function calls shares execution context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2-expected.txt >deleted file mode 100644 >index 299159688dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S10.2_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.html b/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.html >deleted file mode 100644 >index 04e48b02d5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S10.2_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S10.2_A1.1_T2; >- * @section: 10.2; >- * @assertion: Every function call enters a new execution context; >- * @description: Recursive function call; >-*/ >- >-var y; >- >-function f(a){ >- var x; >- >- if (a === 1) >- return x; >- else { >- if(x === undefined) { >- x = 0; >- } else { >- x = 1; >- } >- return f(1); >- } >-} >- >-y = f(0); >- >-if(!(y === undefined)){ >- testFailed("#1: Recursive function calls shares execution context"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1-expected.txt >deleted file mode 100644 >index 8a23af99229..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.html >deleted file mode 100644 >index e982e00e710..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.10.1_A1; >-* @section: 11.10.1; >-* @assertion: White Space and Line Terminator between BitwiseANDExpression and "&" or between "&" and EqualityExpression are allowed; >-* @description: Checking uses eval; >-*/ >- >-//CHECK#1 >-if ((eval("1\u0009&\u00091")) !== 1) { >- testFailed('#1: (1\\u0009&\\u00091) === 1'); >-} >- >-//CHECK#2 >-if ((eval("1\u000B&\u000B1")) !== 1) { >- testFailed('#2: (1\\u000B&\\u000B1) === 1'); >-} >- >-//CHECK#3 >-if ((eval("1\u000C&\u000C1")) !== 1) { >- testFailed('#3: (1\\u000C&\\u000C1) === 1'); >-} >- >-//CHECK#4 >-if ((eval("1\u0020&\u00201")) !== 1) { >- testFailed('#4: (1\\u0020&\\u00201) === 1'); >-} >- >-//CHECK#5 >-if ((eval("1\u00A0&\u00A01")) !== 1) { >- testFailed('#5: (1\\u00A0&\\u00A01) === 1'); >-} >- >-//CHECK#6 >-if ((eval("1\u000A&\u000A1")) !== 1) { >- testFailed('#6: (1\\u000A&\\u000A1) === 1'); >-} >- >-//CHECK#7 >-if ((eval("1\u000D&\u000D1")) !== 1) { >- testFailed('#7: (1\\u000D&\\u000D1) === 1'); >-} >- >-//CHECK#8 >-if ((eval("1\u2028&\u20281")) !== 1) { >- testFailed('#8: (1\\u2028&\\u20281) === 1'); >-} >- >-//CHECK#9 >-if ((eval("1\u2029&\u20291")) !== 1) { >- testFailed('#9: (1\\u2029&\\u20291) === 1'); >-} >- >- >-//CHECK#10 >-if ((eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029&\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 1) { >- testFailed('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029&\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1-expected.txt >deleted file mode 100644 >index a8d619fd43f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.html >deleted file mode 100644 >index 3edbbab98be..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A2.1_T1; >- * @section: 11.10.1; >- * @assertion: Operator x & y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((1 & 1) !== 1) { >- testFailed('#1: (1 & 1) === 1. Actual: ' + ((1 & 1))); >-} >- >-//CHECK#2 >-var x = 1; >-if ((x & 1) !== 1) { >- testFailed('#2: var x = 1; (x & 1) === 1. Actual: ' + ((x & 1))); >-} >- >-//CHECK#3 >-var y = 1; >-if ((1 & y) !== 1) { >- testFailed('#3: var y = 1; (1 & y) === 1. Actual: ' + ((1 & y))); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if ((x & y) !== 1) { >- testFailed('#4: var x = 1; var y = 1; (x & y) === 1. Actual: ' + ((x & y))); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if ((objectx.prop & objecty.prop) !== 1) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop & objecty.prop) === 1. Actual: ' + ((objectx.prop & objecty.prop))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2-expected.txt >deleted file mode 100644 >index 625c35a007b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.html >deleted file mode 100644 >index 8a5ecaed1cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A2.1_T2; >- * @section: 11.10.1; >- * @assertion: Operator x & y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x & 1; >- testFailed('#1.1: x & 1 throw ReferenceError. Actual: ' + (x & 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x & 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3-expected.txt >deleted file mode 100644 >index f75a61b318d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.html >deleted file mode 100644 >index c50b4e00a97..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A2.1_T3; >- * @section: 11.10.1; >- * @assertion: Operator x & y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 & y; >- testFailed('#1.1: 1 & y throw ReferenceError. Actual: ' + (1 & y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 & y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1-expected.txt >deleted file mode 100644 >index b47de352ab8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.html >deleted file mode 100644 >index e82d34dd443..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A2.2_T1; >- * @section: 11.10.1, 8.6.2.6; >- * @assertion: Operator x & y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if (({valueOf: function() {return 1}} & 1) !== 1) { >- testFailed('#1: ({valueOf: function() {return 1}} & 1) === 1. Actual: ' + (({valueOf: function() {return 1}} & 1))); >-} >- >-//CHECK#2 >-if (({valueOf: function() {return 1}, toString: function() {return 0}} & 1) !== 1) { >- testFailed('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} & 1) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return 0}} & 1))); >-} >- >-//CHECK#3 >-if (({valueOf: function() {return 1}, toString: function() {return {}}} & 1) !== 1) { >- testFailed('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} & 1) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return {}}} & 1))); >-} >- >-//CHECK#4 >-try { >- if (({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1) !== 1) { >- testFailed('#4.1: ({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1))); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: ({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1) not throw "error"'); >- } else { >- testFailed('#4.3: ({valueOf: function() {return 1}, toString: function() {throw "error"}} & 1) not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if ((1 & {toString: function() {return 1}}) !== 1) { >- testFailed('#5.1: (1 & {toString: function() {return 1}}) === 1. Actual: ' + ((1 & {toString: function() {return 1}}))); >-} >- >-//CHECK#6 >-if ((1 & {valueOf: function() {return {}}, toString: function() {return 1}}) !== 1) { >- testFailed('#6: (1 & {valueOf: function() {return {}}, toString: function() {return 1}}) === 1. Actual: ' + ((1 & {valueOf: function() {return {}}, toString: function() {return 1}}))); >-} >- >-//CHECK#7 >-try { >- 1 & {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: 1 & {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 & {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 & {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 & {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 & {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 & {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 & {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1-expected.txt >deleted file mode 100644 >index 27b21aa4d72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.html >deleted file mode 100644 >index a6da89f4eb3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A2.3_T1; >- * @section: 11.10.1; >- * @assertion: ToInt32(first expression) is called first, and then ToInt32(second expression); >- * @description: Checking by using "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x & y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x & y throw "x". Actual: ' + (x & y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToInt32(first expression) is called first, and then ToInt32(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x & y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1-expected.txt >deleted file mode 100644 >index 87352339638..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.html >deleted file mode 100644 >index 5caf8b78dc2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A2.4_T1; >- * @section: 11.10.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if (((x = 1) & x) !== 1) { >- testFailed('#1: var x = 0; ((x = 1) & x) === 1. Actual: ' + (((x = 1) & x))); >-} >- >-//CHECK#2 >-var x = 0; >-if ((x & (x = 1)) !== 0) { >- testFailed('#2: var x = 0; (x & (x = 1)) === 0. Actual: ' + ((x & (x = 1)))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2-expected.txt >deleted file mode 100644 >index c99ad7b15ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.html >deleted file mode 100644 >index ef2b7a41f41..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A2.4_T2; >- * @section: 11.10.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() & y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() & y() throw "x". Actual: ' + (x() & y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() & y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3-expected.txt >deleted file mode 100644 >index 094d6bc0fa9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.html >deleted file mode 100644 >index b9fc999bae0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A2.4_T3; >- * @section: 11.10.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x & (x = 1); >- testFailed('#1.1: x & (x = 1) throw ReferenceError. Actual: ' + (x & (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x & (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if (((y = 1) & y) !== 1) { >- testFailed('#2: ((y = 1) & y) === 1. Actual: ' + (((y = 1) & y))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1-expected.txt >deleted file mode 100644 >index 3c0b803b93c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.html >deleted file mode 100644 >index 0b801f7f6ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T1.1; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) and Type(y) are primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if ((true & true) !== 1) { >- testFailed('#1: (true & true) === 1. Actual: ' + ((true & true))); >-} >- >-//CHECK#2 >-if ((new Boolean(true) & true) !== 1) { >- testFailed('#2: (new Boolean(true) & true) === 1. Actual: ' + ((new Boolean(true) & true))); >-} >- >-//CHECK#3 >-if ((true & new Boolean(true)) !== 1) { >- testFailed('#3: (true & new Boolean(true)) === 1. Actual: ' + ((true & new Boolean(true)))); >-} >- >-//CHECK#4 >-if ((new Boolean(true) & new Boolean(true)) !== 1) { >- testFailed('#4: (new Boolean(true) & new Boolean(true)) === 1. Actual: ' + ((new Boolean(true) & new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2-expected.txt >deleted file mode 100644 >index a9f8aae235e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.html >deleted file mode 100644 >index d3cb0445ea6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T1.2; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) and Type(y) are primitive number and Number object; >-*/ >- >-//CHECK#1 >-if ((1 & 1) !== 1) { >- testFailed('#1: (1 & 1) === 1. Actual: ' + ((1 & 1))); >-} >- >-//CHECK#2 >-if ((new Number(1) & 1) !== 1) { >- testFailed('#2: (new Number(1) & 1) === 1. Actual: ' + ((new Number(1) & 1))); >-} >- >-//CHECK#3 >-if ((1 & new Number(1)) !== 1) { >- testFailed('#3: (1 & new Number(1)) === 1. Actual: ' + ((1 & new Number(1)))); >-} >- >-//CHECK#4 >-if ((new Number(1) & new Number(1)) !== 1) { >- testFailed('#4: (new Number(1) & new Number(1)) === 1. Actual: ' + ((new Number(1) & new Number(1)))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3-expected.txt >deleted file mode 100644 >index d89c82d4757..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.html >deleted file mode 100644 >index 9f8c9d7c8d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T1.3; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) and Type(y) are primitive string and String object; >-*/ >- >-//CHECK#1 >-if (("1" & "1") !== 1) { >- testFailed('#1: ("1" & "1") === 1. Actual: ' + (("1" & "1"))); >-} >- >-//CHECK#2 >-if ((new String("1") & "1") !== 1) { >- testFailed('#2: (new String("1") & "1") === 1. Actual: ' + ((new String("1") & "1"))); >-} >- >-//CHECK#3 >-if (("1" & new String("1")) !== 1) { >- testFailed('#3: ("1" & new String("1")) === 1. Actual: ' + (("1" & new String("1")))); >-} >- >-//CHECK#4 >-if ((new String("1") & new String("1")) !== 1) { >- testFailed('#4: (new String("1") & new String("1")) === 1. Actual: ' + ((new String("1") & new String("1")))); >-} >- >-//CHECK#5 >-if (("x" & "1") !== 0) { >- testFailed('#5: ("x" & "1") === 0. Actual: ' + (("x" & "1"))); >-} >- >-//CHECK#6 >-if (("1" & "x") !== 0) { >- testFailed('#6: ("1" & "x") === 0. Actual: ' + (("1" & "x"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4-expected.txt >deleted file mode 100644 >index c72ac21608a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.html >deleted file mode 100644 >index 1861b3aa9ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T1.4; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) and Type(y) are null and undefined; >-*/ >- >-//CHECK#1 >-if ((null & undefined) !== 0) { >- testFailed('#1: (null & undefined) === 0. Actual: ' + ((null & undefined))); >-} >- >-//CHECK#2 >-if ((undefined & null) !== 0) { >- testFailed('#2: (undefined & null) === 0. Actual: ' + ((undefined & null))); >-} >- >-//CHECK#3 >-if ((undefined & undefined) !== 0) { >- testFailed('#3: (undefined & undefined) === 0. Actual: ' + ((undefined & undefined))); >-} >- >-//CHECK#4 >-if ((null & null) !== 0) { >- testFailed('#4: (null & null) === 0. Actual: ' + ((null & null))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5-expected.txt >deleted file mode 100644 >index 4855b1d7925..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.html >deleted file mode 100644 >index f0c1cda8d92..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T1.5; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) and Type(y) are Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} & function(){return 1}) !== 0) { >- testFailed('#1: ({} & function(){return 1}) === 0. Actual: ' + (({} & function(){return 1}))); >-} >- >-//CHECK#2 >-if ((function(){return 1} & {}) !== 0) { >- testFailed('#2: (function(){return 1} & {}) === 0. Actual: ' + ((function(){return 1} & {}))); >-} >- >-//CHECK#3 >-if ((function(){return 1} & function(){return 1}) !== 0) { >- testFailed('#3: (function(){return 1} & function(){return 1}) === 0. Actual: ' + ((function(){return 1} & function(){return 1}))); >-} >- >-//CHECK#4 >-if (({} & {}) !== 0) { >- testFailed('#4: ({} & {}) === 0. Actual: ' + (({} & {}))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1-expected.txt >deleted file mode 100644 >index 8ec4ded59ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.html >deleted file mode 100644 >index 3def407f0cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.1; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if ((true & 1) !== 1) { >- testFailed('#1: (true & 1) === 1. Actual: ' + ((true & 1))); >-} >- >-//CHECK#2 >-if ((1 & true) !== 1) { >- testFailed('#2: (1 & true) === 1. Actual: ' + ((1 & true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) & 1) !== 1) { >- testFailed('#3: (new Boolean(true) & 1) === 1. Actual: ' + ((new Boolean(true) & 1))); >-} >- >-//CHECK#4 >-if ((1 & new Boolean(true)) !== 1) { >- testFailed('#4: (1 & new Boolean(true)) === 1. Actual: ' + ((1 & new Boolean(true)))); >-} >- >-//CHECK#5 >-if ((true & new Number(1)) !== 1) { >- testFailed('#5: (true & new Number(1)) === 1. Actual: ' + ((true & new Number(1)))); >-} >- >-//CHECK#6 >-if ((new Number(1) & true) !== 1) { >- testFailed('#6: (new Number(1) & true) === 1. Actual: ' + ((new Number(1) & true))); >-} >- >-//CHECK#7 >-if ((new Boolean(true) & new Number(1)) !== 1) { >- testFailed('#7: (new Boolean(true) & new Number(1)) === 1. Actual: ' + ((new Boolean(true) & new Number(1)))); >-} >- >-//CHECK#8 >-if ((new Number(1) & new Boolean(true)) !== 1) { >- testFailed('#8: (new Number(1) & new Boolean(true)) === 1. Actual: ' + ((new Number(1) & new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2-expected.txt >deleted file mode 100644 >index 494f76f5247..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.html >deleted file mode 100644 >index 79aebf01983..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.2; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if (("1" & 1) !== 1) { >- testFailed('#1: ("1" & 1) === 1. Actual: ' + (("1" & 1))); >-} >- >-//CHECK#2 >-if ((1 & "1") !== 1) { >- testFailed('#2: (1 & "1") === 1. Actual: ' + ((1 & "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") & 1) !== 1) { >- testFailed('#3: (new String("1") & 1) === 1. Actual: ' + ((new String("1") & 1))); >-} >- >-//CHECK#4 >-if ((1 & new String("1")) !== 1) { >- testFailed('#4: (1 & new String("1")) === 1. Actual: ' + ((1 & new String("1")))); >-} >- >-//CHECK#5 >-if (("1" & new Number(1)) !== 1) { >- testFailed('#5: ("1" & new Number(1)) === 1. Actual: ' + (("1" & new Number(1)))); >-} >- >-//CHECK#6 >-if ((new Number(1) & "1") !== 1) { >- testFailed('#6: (new Number(1) & "1") === 1. Actual: ' + ((new Number(1) & "1"))); >-} >- >-//CHECK#7 >-if ((new String("1") & new Number(1)) !== 1) { >- testFailed('#7: (new String("1") & new Number(1)) === 1. Actual: ' + ((new String("1") & new Number(1)))); >-} >- >-//CHECK#8 >-if ((new Number(1) & new String("1")) !== 1) { >- testFailed('#8: (new Number(1) & new String("1")) === 1. Actual: ' + ((new Number(1) & new String("1")))); >-} >- >-//CHECK#9 >-if (("x" & 1) !== 0) { >- testFailed('#9: ("x" & 1) === 0. Actual: ' + (("x" & 1))); >-} >- >-//CHECK#10 >-if ((1 & "x") !== 0) { >- testFailed('#10: (1 & "x") === 0. Actual: ' + ((1 & "x"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3-expected.txt >deleted file mode 100644 >index 8463eca6938..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.html >deleted file mode 100644 >index f7b83d21d29..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.3; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ((1 & null) !== 0) { >- testFailed('#1: (1 & null) === 0. Actual: ' + ((1 & null))); >-} >- >-//CHECK#2 >-if ((null & 1) !== 0) { >- testFailed('#2: (null & 1) === 0. Actual: ' + ((null & 1))); >-} >- >-//CHECK#3 >-if ((new Number(1) & null) !== 0) { >- testFailed('#3: (new Number(1) & null) === 0. Actual: ' + ((new Number(1) & null))); >-} >- >-//CHECK#4 >-if ((null & new Number(1)) !== 0) { >- testFailed('#4: (null & new Number(1)) === 0. Actual: ' + ((null & new Number(1)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4-expected.txt >deleted file mode 100644 >index 783211c1ad1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.html >deleted file mode 100644 >index ddefb0da1ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.4; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ((1 & undefined) !== 0) { >- testFailed('#1: (1 & undefined) === 0. Actual: ' + ((1 & undefined))); >-} >- >-//CHECK#2 >-if ((undefined & 1) !== 0) { >- testFailed('#2: (undefined & 1) === 0. Actual: ' + ((undefined & 1))); >-} >- >-//CHECK#3 >-if ((new Number(1) & undefined) !== 0) { >- testFailed('#3: (new Number(1) & undefined) === 0. Actual: ' + ((new Number(1) & undefined))); >-} >- >-//CHECK#4 >-if ((undefined & new Number(1)) !== 0) { >- testFailed('#4: (undefined & new Number(1)) === 0. Actual: ' + ((undefined & new Number(1)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5-expected.txt >deleted file mode 100644 >index b10026e8dae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.html >deleted file mode 100644 >index 5331305e9bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.5; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) us different from Type(y) and both types are String (primitive or object) or Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if ((true & "1") !== 1) { >- testFailed('#1: (true & "1") === 1. Actual: ' + ((true & "1"))); >-} >- >-//CHECK#2 >-if (("1" & true) !== 1) { >- testFailed('#2: ("1" & true) === 1. Actual: ' + (("1" & true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) & "1") !== 1) { >- testFailed('#3: (new Boolean(true) & "1") === 1. Actual: ' + ((new Boolean(true) & "1"))); >-} >- >-//CHECK#4 >-if (("1" & new Boolean(true)) !== 1) { >- testFailed('#4: ("1" & new Boolean(true)) === 1. Actual: ' + (("1" & new Boolean(true)))); >-} >- >-//CHECK#5 >-if ((true & new String("1")) !== 1) { >- testFailed('#5: (true & new String("1")) === 1. Actual: ' + ((true & new String("1")))); >-} >- >-//CHECK#6 >-if ((new String("1") & true) !== 1) { >- testFailed('#6: (new String("1") & true) === 1. Actual: ' + ((new String("1") & true))); >-} >- >-//CHECK#7 >-if ((new Boolean(true) & new String("1")) !== 1) { >- testFailed('#7: (new Boolean(true) & new String("1")) === 1. Actual: ' + ((new Boolean(true) & new String("1")))); >-} >- >-//CHECK#8 >-if ((new String("1") & new Boolean(true)) !== 1) { >- testFailed('#8: (new String("1") & new Boolean(true)) === 1. Actual: ' + ((new String("1") & new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6-expected.txt >deleted file mode 100644 >index db88d347f95..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.html >deleted file mode 100644 >index a0e25829cd2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.6; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (("1" & undefined) !== 0) { >- testFailed('#1: ("1" & undefined) === 0. Actual: ' + (("1" & undefined))); >-} >- >-//CHECK#2 >-if ((undefined & "1") !== 0) { >- testFailed('#2: (undefined & "1") === 0. Actual: ' + ((undefined & "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") & undefined) !== 0) { >- testFailed('#3: (new String("1") & undefined) === 0. Actual: ' + ((new String("1") & undefined))); >-} >- >-//CHECK#4 >-if ((undefined & new String("1")) !== 0) { >- testFailed('#4: (undefined & new String("1")) === 0. Actual: ' + ((undefined & new String("1")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7-expected.txt >deleted file mode 100644 >index 17b26fc50d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.html >deleted file mode 100644 >index 02efe64ba10..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.7; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (("1" & null) !== 0) { >- testFailed('#1: ("1" & null) === 0. Actual: ' + (("1" & null))); >-} >- >-//CHECK#2 >-if ((null & "1") !== 0) { >- testFailed('#2: (null & "1") === 0. Actual: ' + ((null & "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") & null) !== 0) { >- testFailed('#3: (new String("1") & null) === 0. Actual: ' + ((new String("1") & null))); >-} >- >-//CHECK#4 >-if ((null & new String("1")) !== 0) { >- testFailed('#4: (null & new String("1")) === 0. Actual: ' + ((null & new String("1")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8-expected.txt >deleted file mode 100644 >index c42bd259b85..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.html >deleted file mode 100644 >index 9293f2b940a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.8; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ((true & undefined) !== 0) { >- testFailed('#1: (true & undefined) === 0. Actual: ' + ((true & undefined))); >-} >- >-//CHECK#2 >-if ((undefined & true) !== 0) { >- testFailed('#2: (undefined & true) === 0. Actual: ' + ((undefined & true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) & undefined) !== 0) { >- testFailed('#3: (new Boolean(true) & undefined) === 0. Actual: ' + ((new Boolean(true) & undefined))); >-} >- >-//CHECK#4 >-if ((undefined & new Boolean(true)) !== 0) { >- testFailed('#4: (undefined & new Boolean(true)) === 0. Actual: ' + ((undefined & new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9-expected.txt >deleted file mode 100644 >index 3aab3a00b1d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.html >deleted file mode 100644 >index 5e496487d48..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.1_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.1_A3_T2.9; >- * @section: 11.10.1; >- * @assertion: Operator x & y returns ToNumber(x) & ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ((true & null) !== 0) { >- testFailed('#1: (true & null) === 0. Actual: ' + ((true & null))); >-} >- >-//CHECK#2 >-if ((null & true) !== 0) { >- testFailed('#2: (null & true) === 0. Actual: ' + ((null & true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) & null) !== 0) { >- testFailed('#3: (new Boolean(true) & null) === 0. Actual: ' + ((new Boolean(true) & null))); >-} >- >-//CHECK#4 >-if ((null & new Boolean(true)) !== 0) { >- testFailed('#4: (null & new Boolean(true)) === 0. Actual: ' + ((null & new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1-expected.txt >deleted file mode 100644 >index e401ea7e215..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.html >deleted file mode 100644 >index 41b7e30aac4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.10.2_A1; >-* @section: 11.10.2; >-* @assertion: White Space and Line Terminator between BitwiseXORExpression and "^" or between "^" and BitwiseANDExpression are allowed; >-* @description: The check uses eval; >-*/ >- >-//CHECK#1 >-if ((eval("1\u0009^\u00091")) !== 0) { >- testFailed('#1: (1\\u0009^\\u00091) === 0'); >-} >- >-//CHECK#2 >-if ((eval("1\u000B^\u000B1")) !== 0) { >- testFailed('#2: (1\\u000B^\\u000B1) === 0'); >-} >- >-//CHECK#3 >-if ((eval("1\u000C^\u000C1")) !== 0) { >- testFailed('#3: (1\\u000C^\\u000C1) === 0'); >-} >- >-//CHECK#4 >-if ((eval("1\u0020^\u00201")) !== 0) { >- testFailed('#4: (1\\u0020^\\u00201) === 0'); >-} >- >-//CHECK#5 >-if ((eval("1\u00A0^\u00A01")) !== 0) { >- testFailed('#5: (1\\u00A0^\\u00A01) === 0'); >-} >- >-//CHECK#6 >-if ((eval("1\u000A^\u000A1")) !== 0) { >- testFailed('#6: (1\\u000A^\\u000A1) === 0'); >-} >- >-//CHECK#7 >-if ((eval("1\u000D^\u000D1")) !== 0) { >- testFailed('#7: (1\\u000D^\\u000D1) === 0'); >-} >- >-//CHECK#8 >-if ((eval("1\u2028^\u20281")) !== 0) { >- testFailed('#8: (1\\u2028^\\u20281) === 0'); >-} >- >-//CHECK#9 >-if ((eval("1\u2029^\u20291")) !== 0) { >- testFailed('#9: (1\\u2029^\\u20291) === 0'); >-} >- >- >-//CHECK#10 >-if ((eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029^\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) { >- testFailed('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029^\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1-expected.txt >deleted file mode 100644 >index 205744aaba5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.html >deleted file mode 100644 >index 661475bc2f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A2.1_T1; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((1 ^ 1) !== 0) { >- testFailed('#1: (1 ^ 1) === 0. Actual: ' + ((1 ^ 1))); >-} >- >-//CHECK#2 >-var x = 1; >-if ((x ^ 1) !== 0) { >- testFailed('#2: var x = 1; (x ^ 1) === 0. Actual: ' + ((x ^ 1))); >-} >- >-//CHECK#3 >-var y = 1; >-if ((1 ^ y) !== 0) { >- testFailed('#3: var y = 1; (1 ^ y) === 0. Actual: ' + ((1 ^ y))); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if ((x ^ y) !== 0) { >- testFailed('#4: var x = 1; var y = 1; (x ^ y) === 0. Actual: ' + ((x ^ y))); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if ((objectx.prop ^ objecty.prop) !== 0) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop ^ objecty.prop) === 0. Actual: ' + ((objectx.prop ^ objecty.prop))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2-expected.txt >deleted file mode 100644 >index 5645160f680..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.html >deleted file mode 100644 >index ab74c405499..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A2.1_T2; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >- >-//CHECK#1 >-try { >- x ^ 1; >- testFailed('#1.1: x ^ 1 throw ReferenceError. Actual: ' + (x ^ 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x ^ 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3-expected.txt >deleted file mode 100644 >index 40d4563a784..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.html >deleted file mode 100644 >index c89d2827554..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A2.1_T3; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 ^ y; >- testFailed('#1.1: 1 ^ y throw ReferenceError. Actual: ' + (1 ^ y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 ^ y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1-expected.txt >deleted file mode 100644 >index 0d4192e5e11..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.html >deleted file mode 100644 >index 4edcd4709ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.html >+++ /dev/null >@@ -1,154 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A2.2_T1; >- * @section: 11.10.2, 8.6.2.6; >- * @assertion: Operator x ^ y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >- >-//CHECK#1 >-if (({valueOf: function() {return 1}} ^ 1) !== 0) { >- testFailed('#1: ({valueOf: function() {return 1}} ^ 1) === 0. Actual: ' + (({valueOf: function() {return 1}} ^ 1))); >-} >- >-//CHECK#2 >-if (({valueOf: function() {return 1}, toString: function() {return 0}} ^ 1) !== 0) { >- testFailed('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} ^ 1) === 0. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return 0}} ^ 1))); >-} >- >-//CHECK#3 >-if (({valueOf: function() {return 1}, toString: function() {return {}}} ^ 1) !== 0) { >- testFailed('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} ^ 1) === 0. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return {}}} ^ 1))); >-} >- >-//CHECK#4 >-try { >- if (({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1) !== 0) { >- testFailed('#4.1: ({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1) === 0. Actual: ' + (({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1))); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: ({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1) not throw "error"'); >- } else { >- testFailed('#4.3: ({valueOf: function() {return 1}, toString: function() {throw "error"}} ^ 1) not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if ((1 ^ {toString: function() {return 1}}) !== 0) { >- testFailed('#5: (1 ^ {toString: function() {return 1}}) === 0. Actual: ' + ((1 ^ {toString: function() {return 1}}))); >-} >- >-//CHECK#6 >-if ((1 ^ {valueOf: function() {return {}}, toString: function() {return 1}}) !== 0) { >- testFailed('#6: (1 ^ {valueOf: function() {return {}}, toString: function() {return 1}}) === 0. Actual: ' + ((1 ^ {valueOf: function() {return {}}, toString: function() {return 1}}))); >-} >- >-//CHECK#7 >-try { >- 1 ^ {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: 1 ^ {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 ^ {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 ^ {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 ^ {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 ^ {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 ^ {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 ^ {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1-expected.txt >deleted file mode 100644 >index 1ffe4e7eabc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.html >deleted file mode 100644 >index 6b7a1f96f88..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A2.3_T1; >- * @section: 11.10.2; >- * @assertion: ToInt32(first expression) is called first, and then ToInt32(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x ^ y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x ^ y throw "x". Actual: ' + (x ^ y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToInt32(first expression) is called first, and then ToInt32(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x ^ y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1-expected.txt >deleted file mode 100644 >index c6630f7fb78..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.html >deleted file mode 100644 >index 7facfad126d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A2.4_T1; >- * @section: 11.10.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 1; >-if (((x = 0) ^ x) !== 0) { >- testFailed('#1: var x = 0; ((x = 1) ^ x) === 0. Actual: ' + (((x = 1) ^ x))); >-} >- >-//CHECK#2 >-var x = 0; >-if ((x ^ (x = 1)) !== 1) { >- testFailed('#2: var x = 0; (x ^ (x = 1)) === 1. Actual: ' + ((x ^ (x = 1)))); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2-expected.txt >deleted file mode 100644 >index 79e47863f73..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.html >deleted file mode 100644 >index 859e54936ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A2.4_T2; >- * @section: 11.10.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() ^ y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() ^ y() throw "x". Actual: ' + (x() ^ y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() ^ y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3-expected.txt >deleted file mode 100644 >index 747535121ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.html >deleted file mode 100644 >index 8e2c0a857c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A2.4_T3; >- * @section: 11.10.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x ^ (x = 1); >- testFailed('#1.1: x ^ (x = 1) throw ReferenceError. Actual: ' + (x ^ (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x ^ (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if (((y = 1) ^ y) !== 0) { >- testFailed('#2: ((y = 1) ^ y) === 0. Actual: ' + (((y = 1) ^ y))); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1-expected.txt >deleted file mode 100644 >index 3b45eb19de7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.html >deleted file mode 100644 >index 104e6f4e1ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T1.1; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) and Type(y) are primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if ((true ^ true) !== 0) { >- testFailed('#1: (true ^ true) === 0. Actual: ' + ((true ^ true))); >-} >- >-//CHECK#2 >-if ((new Boolean(true) ^ true) !== 0) { >- testFailed('#2: (new Boolean(true) ^ true) === 0. Actual: ' + ((new Boolean(true) ^ true))); >-} >- >-//CHECK#3 >-if ((true ^ new Boolean(true)) !== 0) { >- testFailed('#3: (true ^ new Boolean(true)) === 0. Actual: ' + ((true ^ new Boolean(true)))); >-} >- >-//CHECK#4 >-if ((new Boolean(true) ^ new Boolean(true)) !== 0) { >- testFailed('#4: (new Boolean(true) ^ new Boolean(true)) === 0. Actual: ' + ((new Boolean(true) ^ new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2-expected.txt >deleted file mode 100644 >index 83e1b0a67f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.html >deleted file mode 100644 >index bf36f2b6e66..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T1.2; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) and Type(y) are primitive number and Number object; >-*/ >- >-//CHECK#1 >-if ((1 ^ 1) !== 0) { >- testFailed('#1: (1 ^ 1) === 0. Actual: ' + ((1 ^ 1))); >-} >- >-//CHECK#2 >-if ((new Number(1) ^ 1) !== 0) { >- testFailed('#2: (new Number(1) ^ 1) === 0. Actual: ' + ((new Number(1) ^ 1))); >-} >- >-//CHECK#3 >-if ((1 ^ new Number(1)) !== 0) { >- testFailed('#3: (1 ^ new Number(1)) === 0. Actual: ' + ((1 ^ new Number(1)))); >-} >- >-//CHECK#4 >-if ((new Number(1) ^ new Number(1)) !== 0) { >- testFailed('#4: (new Number(1) ^ new Number(1)) === 0. Actual: ' + ((new Number(1) ^ new Number(1)))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3-expected.txt >deleted file mode 100644 >index 619a2df54a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.html >deleted file mode 100644 >index 70ae34c5606..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T1.3; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) and Type(y) are primitive string and String object; >-*/ >- >-//CHECK#1 >-if (("1" ^ "1") !== 0) { >- testFailed('#1: ("1" ^ "1") === 0. Actual: ' + (("1" ^ "1"))); >-} >- >-//CHECK#2 >-if ((new String("1") ^ "1") !== 0) { >- testFailed('#2: (new String("1") ^ "1") === 0. Actual: ' + ((new String("1") ^ "1"))); >-} >- >-//CHECK#3 >-if (("1" ^ new String("1")) !== 0) { >- testFailed('#3: ("1" ^ new String("1")) === 0. Actual: ' + (("1" ^ new String("1")))); >-} >- >-//CHECK#4 >-if ((new String("1") ^ new String("1")) !== 0) { >- testFailed('#4: (new String("1") ^ new String("1")) === 0. Actual: ' + ((new String("1") ^ new String("1")))); >-} >- >-//CHECK#5 >-if (("x" ^ "1") !== 1) { >- testFailed('#5: ("x" ^ "1") === 1. Actual: ' + (("x" ^ "1"))); >-} >- >-//CHECK#6 >-if (("1" ^ "x") !== 1) { >- testFailed('#6: ("1" ^ "x") === 1. Actual: ' + (("1" ^ "x"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4-expected.txt >deleted file mode 100644 >index 88bf2331df9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.html >deleted file mode 100644 >index 01e216c09ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T1.4; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) and Type(y) are null and undefined; >- */ >- >-//CHECK#1 >-if ((null ^ undefined) !== 0) { >- testFailed('#1: (null ^ undefined) === 0. Actual: ' + ((null ^ undefined))); >-} >- >-//CHECK#2 >-if ((undefined ^ null) !== 0) { >- testFailed('#2: (undefined ^ null) === 0. Actual: ' + ((undefined ^ null))); >-} >- >-//CHECK#3 >-if ((undefined ^ undefined) !== 0) { >- testFailed('#3: (undefined ^ undefined) === 0. Actual: ' + ((undefined ^ undefined))); >-} >- >-//CHECK#4 >-if ((null ^ null) !== 0) { >- testFailed('#4: (null ^ null) === 0. Actual: ' + ((null ^ null))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5-expected.txt >deleted file mode 100644 >index 04421eaaa3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.html >deleted file mode 100644 >index bb46ec577d6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T1.5; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) and Type(y) are Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} ^ function(){return 1}) !== 0) { >- testFailed('#1: ({} ^ function(){return 1}) === 0. Actual: ' + (({} ^ function(){return 1}))); >-} >- >-//CHECK#2 >-if ((function(){return 1} ^ {}) !== 0) { >- testFailed('#2: (function(){return 1} ^ {}) === 0. Actual: ' + ((function(){return 1} ^ {}))); >-} >- >-//CHECK#3 >-if ((function(){return 1} ^ function(){return 1}) !== 0) { >- testFailed('#3: (function(){return 1} ^ function(){return 1}) === 0. Actual: ' + ((function(){return 1} ^ function(){return 1}))); >-} >- >-//CHECK#4 >-if (({} ^ {}) !== 0) { >- testFailed('#4: ({} ^ {}) === 0. Actual: ' + (({} ^ {}))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1-expected.txt >deleted file mode 100644 >index 8afe746457a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.html >deleted file mode 100644 >index 9c828d5215b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.1; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if ((true ^ 1) !== 0) { >- testFailed('#1: (true ^ 1) === 0. Actual: ' + ((true ^ 1))); >-} >- >-//CHECK#2 >-if ((1 ^ true) !== 0) { >- testFailed('#2: (1 ^ true) === 0. Actual: ' + ((1 ^ true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) ^ 1) !== 0) { >- testFailed('#3: (new Boolean(true) ^ 1) === 0. Actual: ' + ((new Boolean(true) ^ 1))); >-} >- >-//CHECK#4 >-if ((1 ^ new Boolean(true)) !== 0) { >- testFailed('#4: (1 ^ new Boolean(true)) === 0. Actual: ' + ((1 ^ new Boolean(true)))); >-} >- >-//CHECK#5 >-if ((true ^ new Number(1)) !== 0) { >- testFailed('#5: (true ^ new Number(1)) === 0. Actual: ' + ((true ^ new Number(1)))); >-} >- >-//CHECK#6 >-if ((new Number(1) ^ true) !== 0) { >- testFailed('#6: (new Number(1) ^ true) === 0. Actual: ' + ((new Number(1) ^ true))); >-} >- >-//CHECK#7 >-if ((new Boolean(true) ^ new Number(1)) !== 0) { >- testFailed('#7: (new Boolean(true) ^ new Number(1)) === 0. Actual: ' + ((new Boolean(true) ^ new Number(1)))); >-} >- >-//CHECK#8 >-if ((new Number(1) ^ new Boolean(true)) !== 0) { >- testFailed('#8: (new Number(1) ^ new Boolean(true)) === 0. Actual: ' + ((new Number(1) ^ new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2-expected.txt >deleted file mode 100644 >index 2ae65e47a2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.html >deleted file mode 100644 >index 51b7be33563..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.2; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if (("1" ^ 1) !== 0) { >- testFailed('#1: ("1" ^ 1) === 0. Actual: ' + (("1" ^ 1))); >-} >- >-//CHECK#2 >-if ((1 ^ "1") !== 0) { >- testFailed('#2: (1 ^ "1") === 0. Actual: ' + ((1 ^ "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") ^ 1) !== 0) { >- testFailed('#3: (new String("1") ^ 1) === 0. Actual: ' + ((new String("1") ^ 1))); >-} >- >-//CHECK#4 >-if ((1 ^ new String("1")) !== 0) { >- testFailed('#4: (1 ^ new String("1")) === 0. Actual: ' + ((1 ^ new String("1")))); >-} >- >-//CHECK#5 >-if (("1" ^ new Number(1)) !== 0) { >- testFailed('#5: ("1" ^ new Number(1)) === 0. Actual: ' + (("1" ^ new Number(1)))); >-} >- >-//CHECK#6 >-if ((new Number(1) ^ "1") !== 0) { >- testFailed('#6: (new Number(1) ^ "1") === 0. Actual: ' + ((new Number(1) ^ "1"))); >-} >- >-//CHECK#7 >-if ((new String("1") ^ new Number(1)) !== 0) { >- testFailed('#7: (new String("1") ^ new Number(1)) === 0. Actual: ' + ((new String("1") ^ new Number(1)))); >-} >- >-//CHECK#8 >-if ((new Number(1) ^ new String("1")) !== 0) { >- testFailed('#8: (new Number(1) ^ new String("1")) === 0. Actual: ' + ((new Number(1) ^ new String("1")))); >-} >- >-//CHECK#9 >-if (("x" ^ 1) !== 1) { >- testFailed('#9: ("x" ^ 1) === 1. Actual: ' + (("x" ^ 1))); >-} >- >-//CHECK#10 >-if ((1 ^ "x") !== 1) { >- testFailed('#10: (1 ^ "x") === 1. Actual: ' + ((1 ^ "x"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3-expected.txt >deleted file mode 100644 >index 019584b5fbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.html >deleted file mode 100644 >index 630d30c61e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.3; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ((1 ^ null) !== 1) { >- testFailed('#1: (1 ^ null) === 1. Actual: ' + ((1 ^ null))); >-} >- >-//CHECK#2 >-if ((null ^ 1) !== 1) { >- testFailed('#2: (null ^ 1) === 1. Actual: ' + ((null ^ 1))); >-} >- >-//CHECK#3 >-if ((new Number(1) ^ null) !== 1) { >- testFailed('#3: (new Number(1) ^ null) === 1. Actual: ' + ((new Number(1) ^ null))); >-} >- >-//CHECK#4 >-if ((null ^ new Number(1)) !== 1) { >- testFailed('#4: (null ^ new Number(1)) === 1. Actual: ' + ((null ^ new Number(1)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4-expected.txt >deleted file mode 100644 >index 6cdeb2f8b89..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.html >deleted file mode 100644 >index 4e3729cbdfc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.4; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ((1 ^ undefined) !== 1) { >- testFailed('#1: (1 ^ undefined) === 1. Actual: ' + ((1 ^ undefined))); >-} >- >-//CHECK#2 >-if ((undefined ^ 1) !== 1) { >- testFailed('#2: (undefined ^ 1) === 1. Actual: ' + ((undefined ^ 1))); >-} >- >-//CHECK#3 >-if ((new Number(1) ^ undefined) !== 1) { >- testFailed('#3: (new Number(1) ^ undefined) === 1. Actual: ' + ((new Number(1) ^ undefined))); >-} >- >-//CHECK#4 >-if ((undefined ^ new Number(1)) !== 1) { >- testFailed('#4: (undefined ^ new Number(1)) === 1. Actual: ' + ((undefined ^ new Number(1)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5-expected.txt >deleted file mode 100644 >index 74dcb70f41b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.html >deleted file mode 100644 >index a60b81cc899..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.5; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if ((true ^ "1") !== 0) { >- testFailed('#1: (true ^ "1") === 0. Actual: ' + ((true ^ "1"))); >-} >- >-//CHECK#2 >-if (("1" ^ true) !== 0) { >- testFailed('#2: ("1" ^ true) === 0. Actual: ' + (("1" ^ true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) ^ "1") !== 0) { >- testFailed('#3: (new Boolean(true) ^ "1") === 0. Actual: ' + ((new Boolean(true) ^ "1"))); >-} >- >-//CHECK#4 >-if (("1" ^ new Boolean(true)) !== 0) { >- testFailed('#4: ("1" ^ new Boolean(true)) === 0. Actual: ' + (("1" ^ new Boolean(true)))); >-} >- >-//CHECK#5 >-if ((true ^ new String("1")) !== 0) { >- testFailed('#5: (true ^ new String("1")) === 0. Actual: ' + ((true ^ new String("1")))); >-} >- >-//CHECK#6 >-if ((new String("1") ^ true) !== 0) { >- testFailed('#6: (new String("1") ^ true) === 0. Actual: ' + ((new String("1") ^ true))); >-} >- >-//CHECK#7 >-if ((new Boolean(true) ^ new String("1")) !== 0) { >- testFailed('#7: (new Boolean(true) ^ new String("1")) === 0. Actual: ' + ((new Boolean(true) ^ new String("1")))); >-} >- >-//CHECK#8 >-if ((new String("1") ^ new Boolean(true)) !== 0) { >- testFailed('#8: (new String("1") ^ new Boolean(true)) === 0. Actual: ' + ((new String("1") ^ new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6-expected.txt >deleted file mode 100644 >index 07b5cf3a842..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.html >deleted file mode 100644 >index d1c857e1959..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.6; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (("1" ^ undefined) !== 1) { >- testFailed('#1: ("1" ^ undefined) === 1. Actual: ' + (("1" ^ undefined))); >-} >- >-//CHECK#2 >-if ((undefined ^ "1") !== 1) { >- testFailed('#2: (undefined ^ "1") === 1. Actual: ' + ((undefined ^ "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") ^ undefined) !== 1) { >- testFailed('#3: (new String("1") ^ undefined) === 1. Actual: ' + ((new String("1") ^ undefined))); >-} >- >-//CHECK#4 >-if ((undefined ^ new String("1")) !== 1) { >- testFailed('#4: (undefined ^ new String("1")) === 1. Actual: ' + ((undefined ^ new String("1")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7-expected.txt >deleted file mode 100644 >index d80a7fff2ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.html >deleted file mode 100644 >index bdbbbcdb2b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.7; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (("1" ^ null) !== 1) { >- testFailed('#1: ("1" ^ null) === 1. Actual: ' + (("1" ^ null))); >-} >- >-//CHECK#2 >-if ((null ^ "1") !== 1) { >- testFailed('#2: (null ^ "1") === 1. Actual: ' + ((null ^ "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") ^ null) !== 1) { >- testFailed('#3: (new String("1") ^ null) === 1. Actual: ' + ((new String("1") ^ null))); >-} >- >-//CHECK#4 >-if ((null ^ new String("1")) !== 1) { >- testFailed('#4: (null ^ new String("1")) === 1. Actual: ' + ((null ^ new String("1")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8-expected.txt >deleted file mode 100644 >index fccb8db65cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.html >deleted file mode 100644 >index e1e40537c96..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.8; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ((true ^ undefined) !== 1) { >- testFailed('#1: (true ^ undefined) === 1. Actual: ' + ((true ^ undefined))); >-} >- >-//CHECK#2 >-if ((undefined ^ true) !== 1) { >- testFailed('#2: (undefined ^ true) === 1. Actual: ' + ((undefined ^ true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) ^ undefined) !== 1) { >- testFailed('#3: (new Boolean(true) ^ undefined) === 1. Actual: ' + ((new Boolean(true) ^ undefined))); >-} >- >-//CHECK#4 >-if ((undefined ^ new Boolean(true)) !== 1) { >- testFailed('#4: (undefined ^ new Boolean(true)) === 1. Actual: ' + ((undefined ^ new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9-expected.txt >deleted file mode 100644 >index 1ce475d21b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.html >deleted file mode 100644 >index 205988de6cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.2_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.2_A3_T2.9; >- * @section: 11.10.2; >- * @assertion: Operator x ^ y returns ToNumber(x) ^ ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ((true ^ null) !== 1) { >- testFailed('#1: (true ^ null) === 1. Actual: ' + ((true ^ null))); >-} >- >-//CHECK#2 >-if ((null ^ true) !== 1) { >- testFailed('#2: (null ^ true) === 1. Actual: ' + ((null ^ true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) ^ null) !== 1) { >- testFailed('#3: (new Boolean(true) ^ null) === 1. Actual: ' + ((new Boolean(true) ^ null))); >-} >- >-//CHECK#4 >-if ((null ^ new Boolean(true)) !== 1) { >- testFailed('#4: (null ^ new Boolean(true)) === 1. Actual: ' + ((null ^ new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1-expected.txt >deleted file mode 100644 >index a3d01b01b1e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.html >deleted file mode 100644 >index 22d1b4d673c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.10.3_A1; >-* @section: 11.10.3; >-* @assertion: White Space and Line Terminator between BitwiseORExpression and "|" or between "|" and BitwiseXORExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if ((eval("0\u0009|\u00091")) !== 1) { >- testFailed('#1: (0\\u0009|\\u00091) === 1'); >-} >- >-//CHECK#2 >-if ((eval("0\u000B|\u000B1")) !== 1) { >- testFailed('#2: (0\\u000B|\\u000B1) === 1'); >-} >- >-//CHECK#3 >-if ((eval("0\u000C|\u000C1")) !== 1) { >- testFailed('#3: (0\\u000C|\\u000C1) === 1'); >-} >- >-//CHECK#4 >-if ((eval("0\u0020|\u00201")) !== 1) { >- testFailed('#4: (0\\u0020|\\u00201) === 1'); >-} >- >-//CHECK#5 >-if ((eval("0\u00A0|\u00A01")) !== 1) { >- testFailed('#5: (0\\u00A0|\\u00A01) === 1'); >-} >- >-//CHECK#6 >-if ((eval("0\u000A|\u000A1")) !== 1) { >- testFailed('#6: (0\\u000A|\\u000A1) === 1'); >-} >- >-//CHECK#7 >-if ((eval("0\u000D|\u000D1")) !== 1) { >- testFailed('#7: (0\\u000D|\\u000D1) === 1'); >-} >- >-//CHECK#8 >-if ((eval("0\u2028|\u20281")) !== 1) { >- testFailed('#8: (0\\u2028|\\u20281) === 1'); >-} >- >-//CHECK#9 >-if ((eval("0\u2029|\u20291")) !== 1) { >- testFailed('#9: (0\\u2029|\\u20291) === 1'); >-} >- >- >-//CHECK#10 >-if ((eval("0\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029|\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 1) { >- testFailed('#10: (0\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029|\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1-expected.txt >deleted file mode 100644 >index c7b27278e3f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.html >deleted file mode 100644 >index 4c6bcedcc50..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A2.1_T1; >- * @section: 11.10.3; >- * @assertion: Operator x | y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((1 | 0) !== 1) { >- testFailed('#1: (1 | 0) === 1. Actual: ' + ((1 | 0))); >-} >- >-//CHECK#2 >-var x = 1; >-if ((x | 0) !== 1) { >- testFailed('#2: var x = 1; (x | 0) === 1. Actual: ' + ((x | 0))); >-} >- >-//CHECK#3 >-var y = 0; >-if ((1 | y) !== 1) { >- testFailed('#3: var y = 0; (1 | y) === 1. Actual: ' + ((1 | y))); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 0; >-if ((x | y) !== 1) { >- testFailed('#4: var x = 1; var y = 0; (x | y) === 1. Actual: ' + ((x | y))); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 0; >-if ((objectx.prop | objecty.prop) !== 1) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 0; (objectx.prop | objecty.prop) === 1. Actual: ' + ((objectx.prop | objecty.prop))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2-expected.txt >deleted file mode 100644 >index 0dc98ccd87c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.html >deleted file mode 100644 >index d37e1fd52b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A2.1_T2; >- * @section: 11.10.3; >- * @assertion: Operator x | y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x | 1; >- testFailed('#1.1: x | 1 throw ReferenceError. Actual: ' + (x | 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x | 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3-expected.txt >deleted file mode 100644 >index 55b419c76a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.html >deleted file mode 100644 >index 60b9aea97e8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A2.1_T3; >- * @section: 11.10.3; >- * @assertion: Operator x | y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 | y; >- testFailed('#1.1: 1 | y throw ReferenceError. Actual: ' + (1 | y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 | y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1-expected.txt >deleted file mode 100644 >index a0dcc8cbb97..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.html >deleted file mode 100644 >index 302a6e1c9ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A2.2_T1; >- * @section: 11.10.3, 8.6.2.6; >- * @assertion: Operator x | y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if (({valueOf: function() {return 1}} | 0) !== 1) { >- testFailed('#1: ({valueOf: function() {return 1}} | 0) === 1. Actual: ' + (({valueOf: function() {return 1}} | 0))); >-} >- >-//CHECK#2 >-if (({valueOf: function() {return 1}, toString: function() {return 0}} | 0) !== 1) { >- testFailed('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} | 0) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return 0}} | 0))); >-} >- >-//CHECK#3 >-if (({valueOf: function() {return 1}, toString: function() {return {}}} | 0) !== 1) { >- testFailed('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} | 0) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {return {}}} | 0))); >-} >- >-//CHECK#4 >-try { >- if (({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0) !== 1) { >- testFailed('#4.1: ({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0) === 1. Actual: ' + (({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0))); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: ({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0) not throw "error"'); >- } else { >- testFailed('#4.3: ({valueOf: function() {return 1}, toString: function() {throw "error"}} | 0) not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if ((0 | {toString: function() {return 1}}) !== 1) { >- testFailed('#5: (0 | {toString: function() {return 1}}) === 1. Actual: ' + ((0 | {toString: function() {return 1}}))); >-} >- >-//CHECK#6 >-if ((0 | {valueOf: function() {return {}}, toString: function() {return 1}}) !== 1) { >- testFailed('#6: (0 | {valueOf: function() {return {}}, toString: function() {return 1}}) === 1. Actual: ' + ((0 | {valueOf: function() {return {}}, toString: function() {return 1}}))); >-} >- >-//CHECK#7 >-try { >- 0 | {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: 0 | {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (0 | {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 0 | {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 0 | {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 0 | {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (0 | {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 0 | {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1-expected.txt >deleted file mode 100644 >index 29499c3a302..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.html >deleted file mode 100644 >index cc7d9ff5ff3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A2.3_T1; >- * @section: 11.10.3; >- * @assertion: ToInt32(first expression) is called first, and then ToInt32(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x | y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x | y throw "x". Actual: ' + (x | y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToInt32(first expression) is called first, and then ToInt32(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x | y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1-expected.txt >deleted file mode 100644 >index 7356e7159fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.html >deleted file mode 100644 >index 2d7dbcb5859..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A2.4_T1; >- * @section: 11.10.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 1; >-if (((x = 0) | x) !== 0) { >- testFailed('#1: var x = 1; ((x = 0) | x) === 0. Actual: ' + (((x = 0) | x))); >-} >- >-//CHECK#2 >-var x = 1; >-if ((x | (x = 0)) !== 1) { >- testFailed('#2: var x = 1; (x | (x = 0)) === 1. Actual: ' + ((x | (x = 0)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2-expected.txt >deleted file mode 100644 >index 69c997918a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.html >deleted file mode 100644 >index d6228b21e74..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A2.4_T2; >- * @section: 11.10.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() | y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() | y() throw "x". Actual: ' + (x() | y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() | y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3-expected.txt >deleted file mode 100644 >index 550ac14215a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.html >deleted file mode 100644 >index ed553d6bcbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A2.4_T3; >- * @section: 11.10.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x | (x = 1); >- testFailed('#1.1: x | (x = 1) throw ReferenceError. Actual: ' + (x | (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x | (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if (((y = 1) | y) !== 1) { >- testFailed('#2: ((y = 1) | y) === 1. Actual: ' + (((y = 1) | y))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1-expected.txt >deleted file mode 100644 >index 34af942f2a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.html >deleted file mode 100644 >index 6756352b88c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T1.1; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if ((true | true) !== 1) { >- testFailed('#1: (true | true) === 1. Actual: ' + ((true | true))); >-} >- >-//CHECK#2 >-if ((new Boolean(true) | true) !== 1) { >- testFailed('#2: (new Boolean(true) | true) === 1. Actual: ' + ((new Boolean(true) | true))); >-} >- >-//CHECK#3 >-if ((true | new Boolean(true)) !== 1) { >- testFailed('#3: (true | new Boolean(true)) === 1. Actual: ' + ((true | new Boolean(true)))); >-} >- >-//CHECK#4 >-if ((new Boolean(true) | new Boolean(true)) !== 1) { >- testFailed('#4: (new Boolean(true) | new Boolean(true)) === 1. Actual: ' + ((new Boolean(true) | new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2-expected.txt >deleted file mode 100644 >index 7abd74c6544..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.html >deleted file mode 100644 >index 3372d6f2b46..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T1.2; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if ((1 | 1) !== 1) { >- testFailed('#1: (1 | 1) === 1. Actual: ' + ((1 | 1))); >-} >- >-//CHECK#2 >-if ((new Number(1) | 1) !== 1) { >- testFailed('#2: (new Number(1) | 1) === 1. Actual: ' + ((new Number(1) | 1))); >-} >- >-//CHECK#3 >-if ((1 | new Number(1)) !== 1) { >- testFailed('#3: (1 | new Number(1)) === 1. Actual: ' + ((1 | new Number(1)))); >-} >- >-//CHECK#4 >-if ((new Number(1) | new Number(1)) !== 1) { >- testFailed('#4: (new Number(1) | new Number(1)) === 1. Actual: ' + ((new Number(1) | new Number(1)))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3-expected.txt >deleted file mode 100644 >index 85fcc910d22..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.html >deleted file mode 100644 >index dc3140a9e3f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T1.3; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if (("1" | "1") !== 1) { >- testFailed('#1: ("1" | "1") === 1. Actual: ' + (("1" | "1"))); >-} >- >-//CHECK#2 >-if ((new String("1") | "1") !== 1) { >- testFailed('#2: (new String("1") | "1") === 1. Actual: ' + ((new String("1") | "1"))); >-} >- >-//CHECK#3 >-if (("1" | new String("1")) !== 1) { >- testFailed('#3: ("1" | new String("1")) === 1. Actual: ' + (("1" | new String("1")))); >-} >- >-//CHECK#4 >-if ((new String("1") | new String("1")) !== 1) { >- testFailed('#4: (new String("1") | new String("1")) === 1. Actual: ' + ((new String("1") | new String("1")))); >-} >- >-//CHECK#5 >-if (("x" | "1") !== 1) { >- testFailed('#5: ("x" | "1") === 1. Actual: ' + (("x" | "1"))); >-} >- >-//CHECK#6 >-if (("1" | "x") !== 1) { >- testFailed('#6: ("1" | "x") === 1. Actual: ' + (("1" | "x"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4-expected.txt >deleted file mode 100644 >index a8e72e642ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.html >deleted file mode 100644 >index 1a9e1aa85a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T1.4; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if ((null | undefined) !== 0) { >- testFailed('#1: (null | undefined) === 0. Actual: ' + ((null | undefined))); >-} >- >-//CHECK#2 >-if ((undefined | null) !== 0) { >- testFailed('#2: (undefined | null) === 0. Actual: ' + ((undefined | null))); >-} >- >-//CHECK#3 >-if ((undefined | undefined) !== 0) { >- testFailed('#3: (undefined | undefined) === 0. Actual: ' + ((undefined | undefined))); >-} >- >-//CHECK#4 >-if ((null | null) !== 0) { >- testFailed('#4: (null | null) === 0. Actual: ' + ((null | null))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5-expected.txt >deleted file mode 100644 >index b5571ffecfb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.html >deleted file mode 100644 >index be50683d8ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T1.5; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) and Type(y) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} | function(){return 1}) !== 0) { >- testFailed('#1: ({} | function(){return 1}) === 0. Actual: ' + (({} | function(){return 1}))); >-} >- >-//CHECK#2 >-if ((function(){return 1} | {}) !== 0) { >- testFailed('#2: (function(){return 1} | {}) === 0. Actual: ' + ((function(){return 1} | {}))); >-} >- >-//CHECK#3 >-if ((function(){return 1} | function(){return 1}) !== 0) { >- testFailed('#3: (function(){return 1} | function(){return 1}) === 0. Actual: ' + ((function(){return 1} | function(){return 1}))); >-} >- >-//CHECK#4 >-if (({} | {}) !== 0) { >- testFailed('#4: ({} | {}) === 0. Actual: ' + (({} | {}))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1-expected.txt >deleted file mode 100644 >index 16e4a9c0dd7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.html >deleted file mode 100644 >index 568335188b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.1; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if ((true | 1) !== 1) { >- testFailed('#1: (true | 1) === 1. Actual: ' + ((true | 1))); >-} >- >-//CHECK#2 >-if ((1 | true) !== 1) { >- testFailed('#2: (1 | true) === 1. Actual: ' + ((1 | true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) | 1) !== 1) { >- testFailed('#3: (new Boolean(true) | 1) === 1. Actual: ' + ((new Boolean(true) | 1))); >-} >- >-//CHECK#4 >-if ((1 | new Boolean(true)) !== 1) { >- testFailed('#4: (1 | new Boolean(true)) === 1. Actual: ' + ((1 | new Boolean(true)))); >-} >- >-//CHECK#5 >-if ((true | new Number(1)) !== 1) { >- testFailed('#5: (true | new Number(1)) === 1. Actual: ' + ((true | new Number(1)))); >-} >- >-//CHECK#6 >-if ((new Number(1) | true) !== 1) { >- testFailed('#6: (new Number(1) | true) === 1. Actual: ' + ((new Number(1) | true))); >-} >- >-//CHECK#7 >-if ((new Boolean(true) | new Number(1)) !== 1) { >- testFailed('#7: (new Boolean(true) | new Number(1)) === 1. Actual: ' + ((new Boolean(true) | new Number(1)))); >-} >- >-//CHECK#8 >-if ((new Number(1) | new Boolean(true)) !== 1) { >- testFailed('#8: (new Number(1) | new Boolean(true)) === 1. Actual: ' + ((new Number(1) | new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2-expected.txt >deleted file mode 100644 >index 16ca880a4cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.html >deleted file mode 100644 >index e9986c6a283..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.2; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if (("1" | 1) !== 1) { >- testFailed('#1: ("1" | 1) === 1. Actual: ' + (("1" | 1))); >-} >- >-//CHECK#2 >-if ((1 | "1") !== 1) { >- testFailed('#2: (1 | "1") === 1. Actual: ' + ((1 | "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") | 1) !== 1) { >- testFailed('#3: (new String("1") | 1) === 1. Actual: ' + ((new String("1") | 1))); >-} >- >-//CHECK#4 >-if ((1 | new String("1")) !== 1) { >- testFailed('#4: (1 | new String("1")) === 1. Actual: ' + ((1 | new String("1")))); >-} >- >-//CHECK#5 >-if (("1" | new Number(1)) !== 1) { >- testFailed('#5: ("1" | new Number(1)) === 1. Actual: ' + (("1" | new Number(1)))); >-} >- >-//CHECK#6 >-if ((new Number(1) | "1") !== 1) { >- testFailed('#6: (new Number(1) | "1") === 1. Actual: ' + ((new Number(1) | "1"))); >-} >- >-//CHECK#7 >-if ((new String("1") | new Number(1)) !== 1) { >- testFailed('#7: (new String("1") | new Number(1)) === 1. Actual: ' + ((new String("1") | new Number(1)))); >-} >- >-//CHECK#8 >-if ((new Number(1) | new String("1")) !== 1) { >- testFailed('#8: (new Number(1) | new String("1")) === 1. Actual: ' + ((new Number(1) | new String("1")))); >-} >- >-//CHECK#9 >-if (("x" | 1) !== 1) { >- testFailed('#9: ("x" | 1) === 1. Actual: ' + (("x" | 1))); >-} >- >-//CHECK#10 >-if ((1 | "x") !== 1) { >- testFailed('#10: (1 | "x") === 1. Actual: ' + ((1 | "x"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3-expected.txt >deleted file mode 100644 >index dc08d1f6428..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.html >deleted file mode 100644 >index 68ae910d2b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.3; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ((1 | null) !== 1) { >- testFailed('#1: (1 | null) === 1. Actual: ' + ((1 | null))); >-} >- >-//CHECK#2 >-if ((null | 1) !== 1) { >- testFailed('#2: (null | 1) === 1. Actual: ' + ((null | 1))); >-} >- >-//CHECK#3 >-if ((new Number(1) | null) !== 1) { >- testFailed('#3: (new Number(1) | null) === 1. Actual: ' + ((new Number(1) | null))); >-} >- >-//CHECK#4 >-if ((null | new Number(1)) !== 1) { >- testFailed('#4: (null | new Number(1)) === 1. Actual: ' + ((null | new Number(1)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4-expected.txt >deleted file mode 100644 >index 095f2422e50..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.html >deleted file mode 100644 >index 2b2d2ff80c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.4; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ((1 | undefined) !== 1) { >- testFailed('#1: (1 | undefined) === 1. Actual: ' + ((1 | undefined))); >-} >- >-//CHECK#2 >-if ((undefined | 1) !== 1) { >- testFailed('#2: (undefined | 1) === 1. Actual: ' + ((undefined | 1))); >-} >- >-//CHECK#3 >-if ((new Number(1) | undefined) !== 1) { >- testFailed('#3: (new Number(1) | undefined) === 1. Actual: ' + ((new Number(1) | undefined))); >-} >- >-//CHECK#4 >-if ((undefined | new Number(1)) !== 1) { >- testFailed('#4: (undefined | new Number(1)) === 1. Actual: ' + ((undefined | new Number(1)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5-expected.txt >deleted file mode 100644 >index 5fa8b9a01b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.html >deleted file mode 100644 >index 3a7a793829f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.5; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if ((true | "1") !== 1) { >- testFailed('#1: (true | "1") === 1. Actual: ' + ((true | "1"))); >-} >- >-//CHECK#2 >-if (("1" | true) !== 1) { >- testFailed('#2: ("1" | true) === 1. Actual: ' + (("1" | true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) | "1") !== 1) { >- testFailed('#3: (new Boolean(true) | "1") === 1. Actual: ' + ((new Boolean(true) | "1"))); >-} >- >-//CHECK#4 >-if (("1" | new Boolean(true)) !== 1) { >- testFailed('#4: ("1" | new Boolean(true)) === 1. Actual: ' + (("1" | new Boolean(true)))); >-} >- >-//CHECK#5 >-if ((true | new String("1")) !== 1) { >- testFailed('#5: (true | new String("1")) === 1. Actual: ' + ((true | new String("1")))); >-} >- >-//CHECK#6 >-if ((new String("1") | true) !== 1) { >- testFailed('#6: (new String("1") | true) === 1. Actual: ' + ((new String("1") | true))); >-} >- >-//CHECK#7 >-if ((new Boolean(true) | new String("1")) !== 1) { >- testFailed('#7: (new Boolean(true) | new String("1")) === 1. Actual: ' + ((new Boolean(true) | new String("1")))); >-} >- >-//CHECK#8 >-if ((new String("1") | new Boolean(true)) !== 1) { >- testFailed('#8: (new String("1") | new Boolean(true)) === 1. Actual: ' + ((new String("1") | new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6-expected.txt >deleted file mode 100644 >index 62f564ba8ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.html >deleted file mode 100644 >index 77f3bedee72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.6; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (("1" | undefined) !== 1) { >- testFailed('#1: ("1" | undefined) === 1. Actual: ' + (("1" | undefined))); >-} >- >-//CHECK#2 >-if ((undefined | "1") !== 1) { >- testFailed('#2: (undefined | "1") === 1. Actual: ' + ((undefined | "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") | undefined) !== 1) { >- testFailed('#3: (new String("1") | undefined) === 1. Actual: ' + ((new String("1") | undefined))); >-} >- >-//CHECK#4 >-if ((undefined | new String("1")) !== 1) { >- testFailed('#4: (undefined | new String("1")) === 1. Actual: ' + ((undefined | new String("1")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7-expected.txt >deleted file mode 100644 >index 31e5100a438..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.html >deleted file mode 100644 >index a60a363017c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.7; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (("1" | null) !== 1) { >- testFailed('#1: ("1" | null) === 1. Actual: ' + (("1" | null))); >-} >- >-//CHECK#2 >-if ((null | "1") !== 1) { >- testFailed('#2: (null | "1") === 1. Actual: ' + ((null | "1"))); >-} >- >-//CHECK#3 >-if ((new String("1") | null) !== 1) { >- testFailed('#3: (new String("1") | null) === 1. Actual: ' + ((new String("1") | null))); >-} >- >-//CHECK#4 >-if ((null | new String("1")) !== 1) { >- testFailed('#4: (null | new String("1")) === 1. Actual: ' + ((null | new String("1")))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8-expected.txt >deleted file mode 100644 >index 7c85ae33ab9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.html >deleted file mode 100644 >index 08249e2073b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.8; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ((true | undefined) !== 1) { >- testFailed('#1: (true | undefined) === 1. Actual: ' + ((true | undefined))); >-} >- >-//CHECK#2 >-if ((undefined | true) !== 1) { >- testFailed('#2: (undefined | true) === 1. Actual: ' + ((undefined | true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) | undefined) !== 1) { >- testFailed('#3: (new Boolean(true) | undefined) === 1. Actual: ' + ((new Boolean(true) | undefined))); >-} >- >-//CHECK#4 >-if ((undefined | new Boolean(true)) !== 1) { >- testFailed('#4: (undefined | new Boolean(true)) === 1. Actual: ' + ((undefined | new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9-expected.txt >deleted file mode 100644 >index 317db11f578..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.html >deleted file mode 100644 >index 27f33a43d6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.10.3_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.10.3_A3_T2.9; >- * @section: 11.10.3; >- * @assertion: Operator x | y returns ToNumber(x) | ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ((true | null) !== 1) { >- testFailed('#1: (true | null) === 1. Actual: ' + ((true | null))); >-} >- >-//CHECK#2 >-if ((null | true) !== 1) { >- testFailed('#2: (null | true) === 1. Actual: ' + ((null | true))); >-} >- >-//CHECK#3 >-if ((new Boolean(true) | null) !== 1) { >- testFailed('#3: (new Boolean(true) | null) === 1. Actual: ' + ((new Boolean(true) | null))); >-} >- >-//CHECK#4 >-if ((null | new Boolean(true)) !== 1) { >- testFailed('#4: (null | new Boolean(true)) === 1. Actual: ' + ((null | new Boolean(true)))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1-expected.txt >deleted file mode 100644 >index 86ed05f66bb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.html >deleted file mode 100644 >index 1c18b04175b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A1; >-* @section: 11.11.1; >-* @assertion: White Space and Line Terminator between LogicalANDExpression and "&&" or between "&&" and BitwiseORExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if ((eval("true\u0009&&\u0009true")) !== true) { >- testFailed('#1: (true\\u0009&&\\u0009true) === true'); >-} >- >-//CHECK#2 >-if ((eval("true\u000B&&\u000Btrue")) !== true) { >- testFailed('#2: (true\\u000B&&\\u000Btrue) === true'); >-} >- >-//CHECK#3 >-if ((eval("true\u000C&&\u000Ctrue")) !== true) { >- testFailed('#3: (true\\u000C&&\\u000Ctrue) === true'); >-} >- >-//CHECK#4 >-if ((eval("true\u0020&&\u0020true")) !== true) { >- testFailed('#4: (true\\u0020&&\\u0020true) === true'); >-} >- >-//CHECK#5 >-if ((eval("true\u00A0&&\u00A0true")) !== true) { >- testFailed('#5: (true\\u00A0&&\\u00A0true) === true'); >-} >- >-//CHECK#6 >-if ((eval("true\u000A&&\u000Atrue")) !== true) { >- testFailed('#6: (true\\u000A&&\\u000Atrue) === true'); >-} >- >-//CHECK#7 >-if ((eval("true\u000D&&\u000Dtrue")) !== true) { >- testFailed('#7: (true\\u000D&&\\u000Dtrue) === true'); >-} >- >-//CHECK#8 >-if ((eval("true\u2028&&\u2028true")) !== true) { >- testFailed('#8: (true\\u2028&&\\u2028true) === true'); >-} >- >-//CHECK#9 >-if ((eval("true\u2029&&\u2029true")) !== true) { >- testFailed('#9: (true\\u2029&&\\u2029true) === true'); >-} >- >- >-//CHECK#10 >-if ((eval("true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029&&\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { >- testFailed('#10: (true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029&&\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1-expected.txt >deleted file mode 100644 >index 935dc20acf5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.html >deleted file mode 100644 >index d1e8e34ea5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.html >+++ /dev/null >@@ -1,146 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A2.1_T1; >-* @section: 11.11.1, 8.7.1; >-* @assertion: Operator x && y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((false && true) !== false) { >- testFailed('#1: (false && true) === false'); >-} >- >-//CHECK#2 >-if ((true && false) !== false) { >- testFailed('#2: (true && false) === false'); >-} >- >-//CHECK#3 >-var x = false; >-if ((x && true) !== false) { >- testFailed('#3: var x = false; (x && true) === false'); >-} >- >-//CHECK#4 >-var y = new Boolean(false); >-if ((true && y) !== y) { >- testFailed('#4: var y = new Boolean(false); (true && y) === y'); >-} >- >-//CHECK#5 >-var x = false; >-var y = true; >-if ((x && y) !== false) { >- testFailed('#5: var x = false; var y = true; (x && y) === false'); >-} >- >-//CHECK#6 >-var x = true; >-var y = new Boolean(false); >-if ((x && y) !== y) { >- testFailed('#6: var x = true; var y = new Boolean(false); (x && y) === y'); >-} >- >-//CHECK#7 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = true; >-objecty.prop = 1.1; >-if ((objectx.prop && objecty.prop) !== objecty.prop) { >- testFailed('#7: var objectx = new Object(); var objecty = new Object(); objectx.prop = true; objecty.prop = 1; (objectx.prop && objecty.prop) === objecty.prop'); >-} >- >-//CHECK#8 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 0; >-objecty.prop = true; >-if ((objectx.prop && objecty.prop) !== objectx.prop) { >- testFailed('#8: var objectx = new Object(); var objecty = new Object(); objectx.prop = 0; objecty.prop = true; (objectx.prop && objecty.prop) === objectx.prop'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2-expected.txt >deleted file mode 100644 >index 283bbf1e500..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.html >deleted file mode 100644 >index fd5c35a99a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A2.1_T2; >-* @section: 11.11.1, 8.7.1; >-* @assertion: Operator x && y uses GetValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x && true; >- testFailed('#1.1: x && true throw ReferenceError. Actual: ' + (x && true)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x && true throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3-expected.txt >deleted file mode 100644 >index c81ecc6ab5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.html >deleted file mode 100644 >index 2637a4c27c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A2.1_T3; >-* @section: 11.11.1, 8.7.1; >-* @assertion: Operator x && y uses GetValue; >-* @description: If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- true && y; >- testFailed('#1.1: true && y throw ReferenceError. Actual: ' + (true && y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: true && y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4-expected.txt >deleted file mode 100644 >index 2404ad932fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.html >deleted file mode 100644 >index ab3bf7798bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A2.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A2.1_T4; >-* @section: 11.11.1, 8.7.1, 16; >-* @assertion: Operator x && y uses GetValue; >-* @description: If ToBoolean(x) is false and GetBase(y) is null, return false; >-*/ >- >-//CHECK#1 >-if ((false && x) !== false) { >- testFailed('#1: (false && x) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1-expected.txt >deleted file mode 100644 >index 99d84a5f952..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.html >deleted file mode 100644 >index 112feb02abe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.11.1_A2.4_T1; >- * @section: 11.11.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = false; >-if (((x = true) && x) !== true) { >- testFailed('#1: var x = false; ((x = true) && x) === true'); >-} >- >-//CHECK#2 >-var x = false; >-if ((x && (x = true)) !== false) { >- testFailed('#2: var x = false; (x && (x = true)) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2-expected.txt >deleted file mode 100644 >index 19a1e5ff77b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.html >deleted file mode 100644 >index 614e46916e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.11.1_A2.4_T2; >- * @section: 11.11.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() && y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() && y() throw "x". Actual: ' + (x() && y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() && y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3-expected.txt >deleted file mode 100644 >index c3d05ad59dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.html >deleted file mode 100644 >index c5fbff6c9f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.11.1_A2.4_T3; >- * @section: 11.11.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x && (x = true); >- testFailed('#1.1: x && (x = true) throw ReferenceError. Actual: ' + (x && (x = true))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x && (x = true) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if (((y = true) && y) !== true) { >- testFailed('#2: ((y = true) && y) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1-expected.txt >deleted file mode 100644 >index 2e0e18dcda3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.html >deleted file mode 100644 >index 861c1a60b33..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A3_T1; >-* @section: 11.11.1; >-* @assertion: If ToBoolean(x) is false, return x; >-* @description: Type(x) is primitive boolean and Type(y) is changed between primitive boolean and Boolean object; >-*/ >- >-//CHECK#1 >-if ((false && true) !== false) { >- testFailed('#1: (false && true) === false'); >-} >- >-//CHECK#2 >-if ((false && false) !== false) { >- testFailed('#2: (false && false) === false'); >-} >- >-//CHECK#3 >-if ((false && new Boolean(true)) !== false) { >- testFailed('#3: (false && new Boolean(true)) === false'); >-} >- >-//CHECK#4 >-if ((false && new Boolean(false)) !== false) { >- testFailed('#4: (false && new Boolean(false)) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2-expected.txt >deleted file mode 100644 >index 064fa508a8c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.html >deleted file mode 100644 >index 4bcfb99a72b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.11.1_A3_T2; >- * @section: 11.11.1; >- * @assertion: If ToBoolean(x) is false, return x; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >- */ >- >-//CHECK#1 >-if ((-0 && -1) !== 0) { >- testFailed('#1.1: (-0 && -1) === 0'); >-} else { >- if ((1 / (-0 && -1)) !== Number.NEGATIVE_INFINITY) { >- testFailed('#1.2: (-0 && -1) === -0'); >- } >-} >- >-//CHECK#2 >-if ((0 && new Number(-1)) !== 0) { >- testFailed('#2.1: (0 && new Number(-1)) === 0'); >-} else { >- if ((1 / (0 && new Number(-1))) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: (0 && new Number(-1)) === +0'); >- } >-} >- >-//CHECK#3 >-if ((isNaN(NaN && 1)) !== true) { >- testFailed('#3: (NaN && 1) === Not-a-Number'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3-expected.txt >deleted file mode 100644 >index ada05985c88..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.html >deleted file mode 100644 >index 3573aa05633..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A3_T3; >-* @section: 11.11.1; >-* @assertion: If ToBoolean(x) is false, return x; >-* @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if (("" && "1") !== "") { >- testFailed('#1: ("" && "1") === ""'); >-} >- >-//CHECK#2 >-if (("" && new String("1")) !== "") { >- testFailed('#2: ("" && new String("1")) === ""'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4-expected.txt >deleted file mode 100644 >index e2dea06cd17..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.html >deleted file mode 100644 >index e33dfe6dcef..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A3_T4; >-* @section: 11.11.1; >-* @assertion: If ToBoolean(x) is false, return x; >-* @description: Type(x) or Type(y) is changed between null and undefined; >-*/ >- >-//CHECK#1 >-if ((undefined && true) !== undefined) { >- testFailed('#1: (undefined && true) === undefined'); >-} >- >-//CHECK#2 >-if ((null && false) !== null) { >- testFailed('#2: (null && false) === null'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1-expected.txt >deleted file mode 100644 >index cc6ca35b5a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.html >deleted file mode 100644 >index eb6064b7ae1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A4_T1; >-* @section: 11.11.1; >-* @assertion: If ToBoolean(x) is true, return y; >-* @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >-*/ >- >-//CHECK#1 >-if ((true && true) !== true) { >- testFailed('#1: (true && true) === true'); >-} >- >-//CHECK#2 >-if ((true && false) !== false) { >- testFailed('#2: (true && false) === false'); >-} >- >-//CHECK#3 >-var y = new Boolean(true); >-if ((new Boolean(true) && y) !== y) { >- testFailed('#3: (var y = new Boolean(true); (new Boolean(true) && y) === y'); >-} >- >-//CHECK#4 >-var y = new Boolean(false); >-if ((new Boolean(true) && y) !== y) { >- testFailed('#4: (var y = new Boolean(false); (new Boolean(true) && y) === y'); >-} >- >-//CHECK#5 >-var y = new Boolean(true); >-if ((new Boolean(false) && y) !== y) { >- testFailed('#5: (var y = new Boolean(true); (new Boolean(false) && y) === y'); >-} >- >-//CHECK#6 >-var y = new Boolean(false); >-if ((new Boolean(false) && y) !== y) { >- testFailed('#6: (var y = new Boolean(false); (new Boolean(false) && y) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2-expected.txt >deleted file mode 100644 >index 4d15f69ef96..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.html >deleted file mode 100644 >index ff2c0a743c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A4_T2; >-* @section: 11.11.1; >-* @assertion: If ToBoolean(x) is true, return y; >-* @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if ((-1 && -0) !== 0) { >- testFailed('#1.1: (-1 && -0) === 0'); >-} else { >- if ((1 / (-1 && -0)) !== Number.NEGATIVE_INFINITY) { >- testFailed('#1.2: (-1 && -0) === -0'); >- } >-} >- >-//CHECK#2 >-if ((-1 && 0) !== 0) { >- testFailed('#2.1: (-1 && 0) === 0'); >-} else { >- if ((1 / (-1 && 0)) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: (-1 && 0) === +0'); >- } >-} >- >-//CHECK#3 >-if ((isNaN(0.1 && NaN)) !== true) { >- testFailed('#3: (0.1 && NaN) === Not-a-Number'); >-} >- >-//CHECK#4 >-var y = new Number(0); >-if ((new Number(-1) && y) !== y) { >- testFailed('#4: (var y = new Number(0); (new Number(-1) && y) === y'); >-} >- >-//CHECK#5 >-var y = new Number(NaN); >-if ((new Number(0) && y) !== y) { >- testFailed('#5: (var y = new Number(NaN); (new Number(0) && y) === y'); >-} >- >-//CHECK#6 >-var y = new Number(-1); >-if ((new Number(NaN) && y) !== y) { >- testFailed('#6: (var y = new Number(-1); (new Number(NaN) && y) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3-expected.txt >deleted file mode 100644 >index 0b49d543284..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.html >deleted file mode 100644 >index 57a8c4fbb15..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A4_T3; >-* @section: 11.11.1; >-* @assertion: If ToBoolean(x) is true, return y; >-* @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if (("0" && "-1") !== "-1") { >- testFailed('#-1: ("0" && "-1") === "-1"'); >-} >- >-//CHECK#2 >-if (("-1" && "x") !== "x") { >- testFailed('#2: ("-1" && "x") === "x"'); >-} >- >-//CHECK#3 >-var y = new String(-1); >-if ((new String("-1") && y) !== y) { >- testFailed('#3: (var y = new String(-1); (new String("-1") && y) === y'); >-} >- >-//CHECK#4 >-var y = new String(NaN); >-if ((new String("0") && y) !== y) { >- testFailed('#4: (var y = new String(NaN); (new String("0") && y) === y'); >-} >- >-//CHECK#5 >-var y = new String("-x"); >-if ((new String("x") && y) !== y) { >- testFailed('#5: (var y = new String("-x"); (new String("x") && y) === y'); >-} >- >-//CHECK#6 >-var y = new String(-1); >-if ((new String(NaN) && y) !== y) { >- testFailed('#6: (var y = new String(-1); (new String(NaN) && y) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4-expected.txt >deleted file mode 100644 >index 90e8fe7effb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.html >deleted file mode 100644 >index 99aa9466663..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.1_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.1_A4_T4; >-* @section: 11.11.1; >-* @assertion: If ToBoolean(x) is true, return y; >-* @description: Type(x) or Type(y) is changed between null and undefined; >-*/ >- >-//CHECK#1 >-if ((true && undefined) !== undefined) { >- testFailed('#1: (true && undefined) === undefined'); >-} >- >-//CHECK#2 >-if ((true && null) !== null) { >- testFailed('#2: (true && null) === null'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1-expected.txt >deleted file mode 100644 >index a10fdef8789..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.html >deleted file mode 100644 >index a28ad933f2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A1; >-* @section: 11.11.2; >-* @assertion: White Space and Line Terminator between LogicalORExpression and "||" or between "||" and LogicalANDExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if ((eval("false\u0009||\u0009true")) !== true) { >- testFailed('#1: (false\\u0009||\\u0009true) === true'); >-} >- >-//CHECK#2 >-if ((eval("false\u000B||\u000Btrue")) !== true) { >- testFailed('#2: (false\\u000B||\\u000Btrue) === true'); >-} >- >-//CHECK#3 >-if ((eval("false\u000C||\u000Ctrue")) !== true) { >- testFailed('#3: (false\\u000C||\\u000Ctrue) === true'); >-} >- >-//CHECK#4 >-if ((eval("false\u0020||\u0020true")) !== true) { >- testFailed('#4: (false\\u0020||\\u0020true) === true'); >-} >- >-//CHECK#5 >-if ((eval("false\u00A0||\u00A0true")) !== true) { >- testFailed('#5: (false\\u00A0||\\u00A0true) === true'); >-} >- >-//CHECK#6 >-if ((eval("false\u000A||\u000Atrue")) !== true) { >- testFailed('#6: (false\\u000A||\\u000Atrue) === true'); >-} >- >-//CHECK#7 >-if ((eval("false\u000D||\u000Dtrue")) !== true) { >- testFailed('#7: (false\\u000D||\\u000Dtrue) === true'); >-} >- >-//CHECK#8 >-if ((eval("false\u2028||\u2028true")) !== true) { >- testFailed('#8: (false\\u2028||\\u2028true) === true'); >-} >- >-//CHECK#9 >-if ((eval("false\u2029||\u2029true")) !== true) { >- testFailed('#9: (false\\u2029||\\u2029true) === true'); >-} >- >- >-//CHECK#10 >-if ((eval("false\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029||\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { >- testFailed('#10: (false\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029||\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1-expected.txt >deleted file mode 100644 >index e800eac6afb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.html >deleted file mode 100644 >index 3c101cdc37c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.html >+++ /dev/null >@@ -1,146 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A2.1_T1; >-* @section: 11.11.2, 8.7.1; >-* @assertion: Operator x || y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((true || false) !== true) { >- testFailed('#1: (true || false) === true'); >-} >- >-//CHECK#2 >-if ((false || true) !== true) { >- testFailed('#2: (false || true) === true'); >-} >- >-//CHECK#3 >-var x = new Boolean(false); >-if ((x || true) !== x) { >- testFailed('#3: var x = Boolean(false); (x || true) === x'); >-} >- >-//CHECK#4 >-var y = new Boolean(true); >-if ((false || y) !== y) { >- testFailed('#4: var y = Boolean(true); (false || y) === y'); >-} >- >-//CHECK#5 >-var x = new Boolean(false); >-var y = new Boolean(true); >-if ((x || y) !== x) { >- testFailed('#5: var x = new Boolean(false); var y = new Boolean(true); (x || y) === x'); >-} >- >-//CHECK#6 >-var x = false; >-var y = new Boolean(true); >-if ((x || y) !== y) { >- testFailed('#6: var x = false; var y = new Boolean(true); (x || y) === y'); >-} >- >-//CHECK#7 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = false; >-objecty.prop = 1.1; >-if ((objectx.prop || objecty.prop) !== objecty.prop) { >- testFailed('#7: var objectx = new Object(); var objecty = new Object(); objectx.prop = false; objecty.prop = 1; (objectx.prop || objecty.prop) === objecty.prop'); >-} >- >-//CHECK#8 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1.1; >-objecty.prop = false; >-if ((objectx.prop || objecty.prop) !== objectx.prop) { >- testFailed('#8: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1.1; objecty.prop = false; (objectx.prop || objecty.prop) === objectx.prop'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2-expected.txt >deleted file mode 100644 >index 4d160d3e37a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.html >deleted file mode 100644 >index ea4e6473dae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A2.1_T2; >-* @section: 11.11.2, 8.7.1; >-* @assertion: Operator x || y uses GetValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x || true; >- testFailed('#1.1: x || true throw ReferenceError. Actual: ' + (x || true)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x || true throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3-expected.txt >deleted file mode 100644 >index 4779e8315a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.html >deleted file mode 100644 >index d33bdfff88e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A2.1_T3; >-* @section: 11.11.2, 8.7.1; >-* @assertion: Operator x || y uses GetValue; >-* @description: If ToBoolean(x) is false and GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- false || y; >- testFailed('#1.1: false || y throw ReferenceError. Actual: ' + (false || y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: false || y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4-expected.txt >deleted file mode 100644 >index 814c86c0200..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.html >deleted file mode 100644 >index d2cc0460106..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A2.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A2.1_T4; >-* @section: 11.11.2, 8.7.1, 16; >-* @assertion: Operator x || y uses GetValue; >-* @description: If ToBoolean(x) is true and GetBase(y) is null, return true; >-*/ >- >-//CHECK#1 >-if ((true || x) !== true) { >- testFailed('#1: (true || x) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1-expected.txt >deleted file mode 100644 >index 6324ec077a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.html >deleted file mode 100644 >index fd405b5d90e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.11.2_A2.4_T1; >- * @section: 11.11.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = true; >-if (((x = false) || x) !== false) { >- testFailed('#1: var x = true; ((x = false) || x) === false'); >-} >- >-//CHECK#2 >-var x = true; >-if ((x || (x = false)) !== true) { >- testFailed('#2: var x = true; (x || (x = false)) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2-expected.txt >deleted file mode 100644 >index 84e1bf010c4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.html >deleted file mode 100644 >index 0187a1e5895..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.11.2_A2.4_T2; >- * @section: 11.11.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() || y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() || y() throw "x". Actual: ' + (x() || y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() || y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3-expected.txt >deleted file mode 100644 >index b69553d2c4f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.html >deleted file mode 100644 >index b55132cde5d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.11.2_A2.4_T3; >- * @section: 11.11.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x || (x = true); >- testFailed('#1.1: x || (x = true) throw ReferenceError. Actual: ' + (x || (x = true))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x || (x = true) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if (((y = true) || y) !== true) { >- testFailed('#2: ((y = true) || y) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1-expected.txt >deleted file mode 100644 >index 43f54b9798c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.html >deleted file mode 100644 >index 7b55bb4a693..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A3_T1; >-* @section: 11.11.2; >-* @assertion: If ToBoolean(x) is false, return y; >-* @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >-*/ >- >-//CHECK#1 >-if ((false || true) !== true) { >- testFailed('#1: (false || true) === true'); >-} >- >-//CHECK#2 >-if ((false || false) !== false) { >- testFailed('#2: (false || false) === false'); >-} >- >-//CHECK#3 >-var y = new Boolean(true); >-if ((false || y) !== y) { >- testFailed('#3: (var y = new Boolean(true); false || y) === y'); >-} >- >-//CHECK#4 >-var y = new Boolean(false); >-if ((false || y) !== y) { >- testFailed('#4: (var y = new Boolean(false); false || y) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2-expected.txt >deleted file mode 100644 >index fdcfbec9582..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.html >deleted file mode 100644 >index fc2ea0f9242..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.11.2_A3_T2; >- * @section: 11.11.2; >- * @assertion: If ToBoolean(x) is false, return y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >- */ >- >-//CHECK#1 >-if ((0 || -0) !== 0) { >- testFailed('#1.1: (0 || -0) === 0'); >-} else { >- if ((1 / (0 || -0)) !== Number.NEGATIVE_INFINITY) { >- testFailed('#1.2: (0 || -0) === -0'); >- } >-} >- >-//CHECK#2 >-if ((-0 || 0) !== 0) { >- testFailed('#2.1: (-0 || 0) === 0'); >-} else { >- if ((1 / (-0 || 0)) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: (-0 || 0) === +0'); >- } >-} >- >-//CHECK#3 >-var y = new Number(-1); >-if ((0 || y) !== y) { >- testFailed('#3: (var y = new Number(-1); 0 || y) === y'); >-} >- >-//CHECK#4 >-var y = new Number(0); >-if ((NaN || y) !== y) { >- testFailed('#4: (var y = new Number(0); NaN || y) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3-expected.txt >deleted file mode 100644 >index b5310163406..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.html >deleted file mode 100644 >index a6d79e80a83..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A3_T3; >-* @section: 11.11.2; >-* @assertion: If ToBoolean(x) is false, return y; >-* @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if (("" || "1") !== "1") { >- testFailed('#1: ("" || "1") === "1"'); >-} >- >-//CHECK#2 >-var y = new String("1"); >-if (("" || y) !== y) { >- testFailed('#2: (var y = new String("1"); "" || y) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4-expected.txt >deleted file mode 100644 >index 031a958eef2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.html >deleted file mode 100644 >index f50990070f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A3_T4; >-* @section: 11.11.2; >-* @assertion: If ToBoolean(x) is false, return y; >-* @description: Type(x) or Type(y) is changed between null and undefined; >-*/ >- >-//CHECK#1 >-if ((false || undefined) !== undefined) { >- testFailed('#1: (false || undefined) === undefined'); >-} >- >-//CHECK#2 >-if ((false || null) !== null) { >- testFailed('#2: (false || null) === null'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1-expected.txt >deleted file mode 100644 >index 5bab2c40471..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.html >deleted file mode 100644 >index 90c05a0f1db..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A4_T1; >-* @section: 11.11.2; >-* @assertion: If ToBoolean(x) is true, return x; >-* @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >-*/ >- >-//CHECK#1 >-if (((true || true)) !== true) { >- testFailed('#1: (true || true) === true'); >-} >- >-//CHECK#2 >-if ((true || false) !== true) { >- testFailed('#2: (true || false) === true'); >-} >- >-//CHECK#3 >-var x = new Boolean(true); >-if ((x || new Boolean(true)) !== x) { >- testFailed('#3: (var x = new Boolean(true); (x || new Boolean(true)) === x'); >-} >- >-//CHECK#4 >-var x = new Boolean(true); >-if ((x || new Boolean(false)) !== x) { >- testFailed('#4: (var x = new Boolean(true); (x || new Boolean(false)) === x'); >-} >- >-//CHECK#5 >-var x = new Boolean(false); >-if ((x || new Boolean(true)) !== x) { >- testFailed('#5: (var x = new Boolean(false); (x || new Boolean(true)) === x'); >-} >- >-//CHECK#6 >-var x = new Boolean(false); >-if ((x || new Boolean(false)) !== x) { >- testFailed('#6: (var x = new Boolean(false); (x || new Boolean(false)) === x'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2-expected.txt >deleted file mode 100644 >index 400056b9d45..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.html >deleted file mode 100644 >index c5e30cde8c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A4_T2; >-* @section: 11.11.2; >-* @assertion: If ToBoolean(x) is true, return x; >-* @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if ((-1 || 1) !== -1) { >- testFailed('#1: (-1 || 1) === -1'); >-} >- >-//CHECK#2 >-if ((1 || new Number(0)) !== 1) { >- testFailed('#2: (1 || new Number(0)) === 1'); >-} >- >-//CHECK#3 >-if ((-1 || NaN) !== -1) { >- testFailed('#3: (-1 || NaN) === -1'); >-} >- >-//CHECK#4 >-var x = new Number(-1); >-if ((x || new Number(0)) !== x) { >- testFailed('#4: (var x = new Number(-1); (x || new Number(-1)) === x'); >-} >- >-//CHECK#5 >-var x = new Number(NaN); >-if ((x || new Number(1)) !== x) { >- testFailed('#5: (var x = new Number(NaN); (x || new Number(1)) === x'); >-} >- >-//CHECK#6 >-var x = new Number(0); >-if ((x || new Number(NaN)) !== x) { >- testFailed('#6: (var x = new Number(0); (x || new Number(NaN)) === x'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3-expected.txt >deleted file mode 100644 >index 55d66e71f98..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.html >deleted file mode 100644 >index 13dff1baf55..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A4_T3; >-* @section: 11.11.2; >-* @assertion: If ToBoolean(x) is true, return x; >-* @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if (("-1" || "1") !== "-1") { >- testFailed('#-1: ("-1" || "1") === "-1"'); >-} >- >-//CHECK#2 >-if (("-1" || "x") !== "-1") { >- testFailed('#2: ("-1" || "x") === "-1"'); >-} >- >-//CHECK#3 >-var x = new String("-1"); >-if ((x || new String(-1)) !== x) { >- testFailed('#3: (var x = new String("-1"); (x || new String(-1)) === x'); >-} >- >-//CHECK#4 >-var x = new String(NaN); >-if ((x || new String("1")) !== x) { >- testFailed('#4: (var x = new String(NaN); (x || new String("1")) === x'); >-} >- >-//CHECK#5 >-var x = new String("-x"); >-if ((x || new String("x")) !== x) { >- testFailed('#5: (var x = new String("-x"); (x || new String("x")) === x'); >-} >- >-//CHECK#6 >-var x = new String(0); >-if ((x || new String(NaN)) !== x) { >- testFailed('#6: (var x = new String(0); (x || new String(NaN)) === x'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4-expected.txt >deleted file mode 100644 >index 116ab6d57ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.11.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.html >deleted file mode 100644 >index a6e9fb1e4ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.11.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.11.2_A4_T4; >-* @section: 11.11.2; >-* @assertion: If ToBoolean(x) is true, return x; >-* @description: Type(x) or Type(y) vary between Null and Undefined; >-*/ >- >-//CHECK#1 >-if ((true || undefined) !== true) { >- testFailed('#1: (true || undefined) === true'); >-} >- >-//CHECK#2 >-if ((true || null) !== true) { >- testFailed('#2: (true || null) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1-expected.txt >deleted file mode 100644 >index ace920c6cb4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1.html >deleted file mode 100644 >index 7c958c8c8e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A1; >-* @section: 11.12; >-* @assertion: White Space and Line Terminator between LogicalORExpression and "?" or between "?" and AssignmentExpression or between AssignmentExpression and ":" or between ":" and AssignmentExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if ((eval("false\u0009?\u0009true\u0009:\u0009true")) !== true) { >- testFailed('#1: (false\\u0009?\\u0009true\\u0009:\\u0009true) === true'); >-} >- >-//CHECK#2 >-if ((eval("false\u000B?\u000Btrue\u000B:\u000Btrue")) !== true) { >- testFailed('#2: (false\\u000B?\\u000Btrue\\u000B:\\u000Btrue) === true'); >-} >- >-//CHECK#3 >-if ((eval("false\u000C?\u000Ctrue\u000C:\u000Ctrue")) !== true) { >- testFailed('#3: (false\\u000C?\\u000Ctrue\\u000C:\\u000Ctrue) === true'); >-} >- >-//CHECK#4 >-if ((eval("false\u0020?\u0020true\u0020:\u0020true")) !== true) { >- testFailed('#4: (false\\u0020?\\u0020true\\u0020:\\u0020true) === true'); >-} >- >-//CHECK#5 >-if ((eval("false\u00A0?\u00A0true\u00A0:\u00A0true")) !== true) { >- testFailed('#5: (false\\u00A0?\\u00A0true\\u00A0:\\u00A0true) === true'); >-} >- >-//CHECK#6 >-if ((eval("false\u000A?\u000Atrue\u000A:\u000Atrue")) !== true) { >- testFailed('#6: (false\\u000A?\\u000Atrue\\u000A:\\u000Atrue) === true'); >-} >- >-//CHECK#7 >-if ((eval("false\u000D?\u000Dtrue\u000D:\u000Dtrue")) !== true) { >- testFailed('#7: (false\\u000D?\\u000Dtrue\\u000D:\\u000Dtrue) === true'); >-} >- >-//CHECK#8 >-if ((eval("false\u2028?\u2028true\u2028:\u2028true")) !== true) { >- testFailed('#8: (false\\u2028?\\u2028true\\u2028:\\u2028true) === true'); >-} >- >-//CHECK#9 >-if ((eval("false\u2029?\u2029true\u2029:\u2029true")) !== true) { >- testFailed('#9: (false\\u2029?\\u2029true\\u2029:\\u2029true) === true'); >-} >- >-//CHECK#10 >-if ((eval("false\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029?\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029:\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { >- testFailed('#10: (false\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029?\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029:\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1-expected.txt >deleted file mode 100644 >index 2081361e11b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.html >deleted file mode 100644 >index ac7de5d504c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A2.1_T1; >-* @section: 11.12, 8.7.1; >-* @assertion: Operator x ? y : z uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((true ? false : true) !== false) { >- testFailed('#1: (true ? false : true) === false'); >-} >- >-//CHECK#2 >-if ((false ? false : true) !== true) { >- testFailed('#2: (false ? false : true) === true'); >-} >- >-//CHECK#3 >-var x = new Boolean(true); >-var y = new Boolean(false); >-if ((x ? y : true) !== y) { >- testFailed('#3: var x = new Boolean(true); var y = new Boolean(false); (x ? y : true) === y'); >-} >- >-//CHECK#4 >-var z = new Boolean(true); >-if ((false ? false : z) !== z) { >- testFailed('#4: var z = new Boolean(true); (false ? false : z) === z'); >-} >- >-//CHECK#5 >-var x = new Boolean(true); >-var y = new Boolean(false); >-var z = new Boolean(true); >-if ((x ? y : z) !== y) { >- testFailed('#5: var x = new Boolean(true); var y = new Boolean(false); var z = new Boolean(true); (x ? y : z) === y'); >-} >- >-//CHECK#6 >-var x = false; >-var y = new Boolean(false); >-var z = new Boolean(true); >-if ((x ? y : z) !== z) { >- testFailed('#6: var x = false; var y = new Boolean(false); var z = new Boolean(true); (x ? y : z) === z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2-expected.txt >deleted file mode 100644 >index 0d90e88367f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.html >deleted file mode 100644 >index f6c4e930fcf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A2.1_T2; >-* @section: 11.12, 8.7.1; >-* @assertion: Operator x ? y : z uses GetValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x ? true : false; >- testFailed('#1.1: x ? true : false throw ReferenceError. Actual: ' + (x ? true : false)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x ? true : false throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3-expected.txt >deleted file mode 100644 >index f7f211febca..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.html >deleted file mode 100644 >index 260abfbdbce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A2.1_T3; >-* @section: 11.12, 8.7.1; >-* @assertion: Operator x ? y : z uses GetValue; >-* @description: If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- true ? y : false; >- testFailed('#1.1: true ? y : false throw ReferenceError. Actual: ' + (true ? y : false)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: true ? y : false throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4-expected.txt >deleted file mode 100644 >index dc4470d5475..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.html >deleted file mode 100644 >index 7d77ed84dc3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A2.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A2.1_T4; >-* @section: 11.12, 8.7.1; >-* @assertion: Operator x ? y : z uses GetValue; >-* @description: If ToBoolean(x) is false and GetBase(z) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- false ? true : z; >- testFailed('#1.1: false ? true : z throw ReferenceError. Actual: ' + (false ? true : z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: false ? true : z throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5-expected.txt >deleted file mode 100644 >index ee19605a096..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.html >deleted file mode 100644 >index 453dd5f57ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A2.1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A2.1_T5; >-* @section: 11.12, 8.7.1, 16; >-* @assertion: Operator x ? y : z uses GetValue; >-* @description: If ToBoolean(x) is true and GetBase(z) is null, return y; >-*/ >- >-//CHECK#1 >-var y = new Object(); >-if ((true ? y : z) !== y) { >- testFailed('#1: var y = new Object(); (true ? y : z) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6-expected.txt >deleted file mode 100644 >index 2ab318e9f11..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.html >deleted file mode 100644 >index cb5ccc2daa4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A2.1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A2.1_T6; >-* @section: 11.12, 8.7.1, 16; >-* @assertion: Operator x ? y : z uses GetValue; >-* @description: If ToBoolean(x) is false and GetBase(y) is null, return z; >-*/ >- >-//CHECK#1 >-var z = new Object(); >-if ((false ? y : z) !== z) { >- testFailed('#1: var z = new Object(); (false ? y : z) === z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1-expected.txt >deleted file mode 100644 >index e0d34f6c5f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.html >deleted file mode 100644 >index ec13b2b94c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A3_T1; >-* @section: 11.12; >-* @assertion: If ToBoolean(x) is false, return z; >-* @description: Type(y) and Type(z) are boolean primitives; >-*/ >- >-//CHECK#1 >-if ((false ? false : true) !== true) { >- testFailed('#1: (false ? false : true) === true'); >-} >- >-//CHECK#2 >-var z = new Boolean(true); >-if ((false ? true : z) !== z) { >- testFailed('#2: (var y = new Boolean(true); (false ? true : z) === z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2-expected.txt >deleted file mode 100644 >index 23016c5963c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.html >deleted file mode 100644 >index f8a4965b64c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.12_A3_T2; >- * @section: 11.12; >- * @assertion: If ToBoolean(x) is false, return z; >- * @description: Type(y) and Type(z) are number primitives; >- */ >- >-//CHECK#1 >-if ((0 ? 0 : 1) !== 1) { >- testFailed('#1: (0 ? 0 : 1) === 1'); >-} >- >-//CHECK#2 >-var z = new Number(1); >-if ((0 ? 1 : z) !== z) { >- testFailed('#2: (var y = new Number(1); (0 ? 1 : z) === z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3-expected.txt >deleted file mode 100644 >index eeeeb637fc0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.html >deleted file mode 100644 >index b1112d8abd4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A3_T3; >-* @section: 11.12; >-* @assertion: If ToBoolean(x) is false, return z; >-* @description: Type(y) and Type(z) are string primitives; >-*/ >- >-//CHECK#1 >-if (("" ? "" : "1") !== "1") { >- testFailed('#1: ("" ? "" : "1") === "1"'); >-} >- >-//CHECK#2 >-var z = new String("1"); >-if (("" ? "1" : z) !== z) { >- testFailed('#2: (var y = new String("1"); ("" ? "1" : z) === z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4-expected.txt >deleted file mode 100644 >index ff3a8e65c49..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.html >deleted file mode 100644 >index ffb1ba3777f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A3_T4; >-* @section: 11.12; >-* @assertion: If ToBoolean(x) is false, return z; >-* @description: Type(x) or Type(y) is changed between null and undefined; >-*/ >- >-//CHECK#1 >-if ((false ? true : undefined) !== undefined) { >- testFailed('#1: (false ? true : undefined) === undefined'); >-} >- >-//CHECK#2 >-if ((false ? true : null) !== null) { >- testFailed('#2: (false ? true : null) === null'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1-expected.txt >deleted file mode 100644 >index 931074b339d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.html >deleted file mode 100644 >index 83d9a4c63a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A4_T1; >-* @section: 11.12; >-* @assertion: If ToBoolean(x) is true, return y; >-* @description: Type(y) and Type(z) are boolean primitives; >-*/ >- >-//CHECK#1 >-if ((true ? false : true) !== false) { >- testFailed('#1: (true ? false : true) === false'); >-} >- >-//CHECK#2 >-var y = new Boolean(true); >-if ((true ? y : false) !== y) { >- testFailed('#2: (var y = new Boolean(true); (true ? y : false) === y'); >-} >- >-//CHECK#3 >-var y = new Boolean(false); >-if ((y ? y : true) !== y) { >- testFailed('#3: (var y = new Boolean(false); (y ? y : true) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2-expected.txt >deleted file mode 100644 >index ad7804155fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.html >deleted file mode 100644 >index fb913dde543..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A4_T2; >-* @section: 11.12; >-* @assertion: If ToBoolean(x) is true, return y; >-* @description: Type(y) and Type(z) are number primitives; >-*/ >- >-//CHECK#1 >-if ((1 ? 0 : 1) !== 0) { >- testFailed('#1: (1 ? 0 : 1) === 0'); >-} >- >-//CHECK#2 >-var y = new Number(1); >-if ((1 ? y : 0) !== y) { >- testFailed('#2: (var y = new Number(1); (1 ? y : 0) === y'); >-} >- >-//CHECK#3 >-var y = new Number(NaN); >-if ((y ? y : 1) !== y) { >- testFailed('#3: (var y = new Number(NaN); (y ? y : 1) === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3-expected.txt >deleted file mode 100644 >index deb2f084d6f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.html >deleted file mode 100644 >index bb7c6094747..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A4_T3; >-* @section: 11.12; >-* @assertion: If ToBoolean(x) is true, return y; >-* @description: Type(y) and Type(z) are string primitives; >-*/ >- >-//CHECK#1 >-if (("1" ? "" : "1") !== "") { >- testFailed('#1: ("1" ? "" : "1") === ""'); >-} >- >-//CHECK#2 >-var y = new String("1"); >-if (("1" ? y : "") !== y) { >- testFailed('#2: (var y = new String("1"); ("1" ? y : "") === y'); >-} >- >-//CHECK#3 >-var y = new String("y"); >-if ((y ? y : "1") !== y) { >- testFailed('#3: (var y = new String("y"); (y ? y : "1") === y'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4-expected.txt >deleted file mode 100644 >index 365ea95116f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.12_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.html >deleted file mode 100644 >index 587ccc941e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.12_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.12_A4_T4; >-* @section: 11.12; >-* @assertion: If ToBoolean(x) is true, return y; >-* @description: Type(x) or Type(y) is changed between null and undefined; >-*/ >- >-//CHECK#1 >-if ((true ? undefined : true) !== undefined) { >- testFailed('#1: (true ? undefined : true) === undefined'); >-} >- >-//CHECK#2 >-if ((true ? null : true) !== null) { >- testFailed('#2: (true ? null : true) === null'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1-expected.txt >deleted file mode 100644 >index 36a0d07813d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.html >deleted file mode 100644 >index 5d90fe97a8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.1_A1; >-* @section: 11.13.1; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "=" or between "=" and AssignmentExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if ((eval("x\u0009=\u0009true")) !== true) { >- testFailed('#1: (x\\u0009=\\u0009true) === true'); >-} >- >-//CHECK#2 >-if ((eval("x\u000B=\u000Btrue")) !== true) { >- testFailed('#2: (x\\u000B=\\u000Btrue) === true'); >-} >- >-//CHECK#3 >-if ((eval("x\u000C=\u000Ctrue")) !== true) { >- testFailed('#3: (x\\u000C=\\u000Ctrue) === true'); >-} >- >-//CHECK#4 >-if ((eval("x\u0020=\u0020true")) !== true) { >- testFailed('#4: (x\\u0020=\\u0020true) === true'); >-} >- >-//CHECK#5 >-if ((eval("x\u00A0=\u00A0true")) !== true) { >- testFailed('#5: (x\\u00A0=\\u00A0true) === true'); >-} >- >-//CHECK#6 >-if ((eval("x\u000A=\u000Atrue")) !== true) { >- testFailed('#6: (x\\u000A=\\u000Atrue) === true'); >-} >- >-//CHECK#7 >-if ((eval("x\u000D=\u000Dtrue")) !== true) { >- testFailed('#7: (x\\u000D=\\u000Dtrue) === true'); >-} >- >-//CHECK#8 >-if ((eval("x\u2028=\u2028true")) !== true) { >- testFailed('#8: (x\\u2028=\\u2028true) === true'); >-} >- >-//CHECK#9 >-if ((eval("x\u2029=\u2029true")) !== true) { >- testFailed('#9: (x\\u2029=\\u2029true) === true'); >-} >- >- >-//CHECK#10 >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { >- testFailed('#10: (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1-expected.txt >deleted file mode 100644 >index f2bee5a735c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.html >deleted file mode 100644 >index 91eb3dd6cf8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.1_A2.1_T1; >- * @section: 11.13.1; >- * @assertion: Operator x = y uses GetValue and PutValue; >- * @description: Either AssigmentExpression is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-x = 1; >-if (x !== 1) { >- testFailed('#1: x = 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = 1; >-if (x !== 1) { >- testFailed('#2: var x = 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-y = 1; >-x = y; >-if (x !== 1) { >- testFailed('#3: y = 1; x = y; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-var y = 1; >-var x = y; >-if (x !== 1) { >- testFailed('#4: var y = 1; var x = y; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objecty.prop = 1.1; >-objectx.prop = objecty.prop; >-if (objectx.prop !== objecty.prop) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objecty.prop = 1; objectx.prop = objecty.prop; objectx.prop === objecty.prop. Actual: ' + (objectx.prop)); >-} else { >- if (objectx === objecty) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objecty.prop = 1; objectx.prop = objecty.prop; objectx !== objecty'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2-expected.txt >deleted file mode 100644 >index 71952a0a836..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.html >deleted file mode 100644 >index cd2993a1904..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.1_A2.1_T2; >- * @section: 11.13.1; >- * @assertion: Operator x = y uses GetValue and PutValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x = y; >- testFailed('#1.1: x = y throw ReferenceError. Actual: ' + (x = y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x = y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3-expected.txt >deleted file mode 100644 >index 1d4758eb261..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.1_A2.1_T3 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.html >deleted file mode 100644 >index bd63c2a3bc1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.1_A2.1_T3; >- * @section: 11.13.1, 16; >- * @assertion: Operator x = y uses GetValue and PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError); >-* @negative >-*/ >- >-//CHECK#1 >-try { >- 1 = 1; >- testFailed('#1.1: 1 = 1 throw ReferenceError (or SyntaxError). Actual: ' + (1 = 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 = 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- 1 = 1; >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1-expected.txt >deleted file mode 100644 >index 944d7653a3a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.1_A3.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.html >deleted file mode 100644 >index 12b89548f22..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.1_A3.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.1_A3.1; >- * @section: 11.13.1; >- * @assertion: Operator x = y PutValue(x, y); >- * @description: Checking Expression and Variable statements; >-*/ >- >-//CHECK#1 >-var x = 1; >-if (x !== 1) { >- testFailed('#1: var x = 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 1; >-if (y !== 1) { >- testFailed('#2: y = 1; y === 1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2-expected.txt >deleted file mode 100644 >index a7074ed1d0f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.1_A3.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.html >deleted file mode 100644 >index 32ce90bf206..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.1_A3.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.1_A3.2; >- * @section: 11.13.1; >- * @assertion: Operator x = y returns GetValue(y); >- * @description: Checking Expression and Variable statements; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) !== 1) { >- testFailed('#1: var x = 0; (x = 1) === 1. Actual: ' + ((x = 1))); >-} >- >-//CHECK#2 >-x = 0; >-if ((x = 1) !== 1) { >- testFailed('#2: x = 0; (x = 1) === 1. Actual: ' + ((x = 1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1-expected.txt >deleted file mode 100644 >index f23ba3a964d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.html >deleted file mode 100644 >index 2dd29f43b8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.1_A4_T1; >- * @section: 11.13.1; >- * @assertion: AssignmentExpression : LeftHandSideExpression = AssignmentExpression; >- * @description: Syntax check; >-*/ >- >-//CHECK#1 >-x = x = 1; >-if (x !== 1) { >- testFailed('#1: The expression x = x = 1 is the same x = (x = 1), not (x = x) = 1. Actual: ' + (x)); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2-expected.txt >deleted file mode 100644 >index 5ea41bbf7dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.html >deleted file mode 100644 >index 175f2683c09..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.1_A4_T2; >- * @section: 11.13.1; >- * @assertion: AssignmentExpression : LeftHandSideExpression = AssignmentExpression; >- * @description: Syntax check if "x = x" throws ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x = x; >- testFailed('#1.1: x = x throw ReferenceError. Actual: ' + (x = x)); >-} catch(e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x = x throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1-expected.txt >deleted file mode 100644 >index e86e09b86a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.html >deleted file mode 100644 >index 7faec9f769b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T1; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x *= y; >-*/ >- >-//CHECK#1 >-x = -1; >-if ((eval("x\u0009*=\u0009-1")) !== 1) { >- testFailed('#1: x = -1; (x\\u0009*=\\u0009-1) === 1'); >-} >- >-//CHECK#2 >-x = -1; >-if ((eval("x\u000B*=\u000B-1")) !== 1) { >- testFailed('#2: x = -1; (x\\u000B*=\\u000B-1) === 1'); >-} >- >-//CHECK#3 >-x = -1; >-if ((eval("x\u000C*=\u000C-1")) !== 1) { >- testFailed('#3: x = -1; (x\\u000C*=\\u000C-1) === 1'); >-} >- >-//CHECK#4 >-x = -1; >-if ((eval("x\u0020*=\u0020-1")) !== 1) { >- testFailed('#4: x = -1; (x\\u0020*=\\u0020-1) === 1'); >-} >- >-//CHECK#5 >-x = -1; >-if ((eval("x\u00A0*=\u00A0-1")) !== 1) { >- testFailed('#5: x = -1; (x\\u00A0*=\\u00A0-1) === 1'); >-} >- >-//CHECK#6 >-x = -1; >-if ((eval("x\u000A*=\u000A-1")) !== 1) { >- testFailed('#6: x = -1; (x\\u000A*=\\u000A-1) === 1'); >-} >- >-//CHECK#7 >-x = -1; >-if ((eval("x\u000D*=\u000D-1")) !== 1) { >- testFailed('#7: x = -1; (x\\u000D*=\\u000D-1) === 1'); >-} >- >-//CHECK#8 >-x = -1; >-if ((eval("x\u2028*=\u2028-1")) !== 1) { >- testFailed('#8: x = -1; (x\\u2028*=\\u2028-1) === 1'); >-} >- >-//CHECK#9 >-x = -1; >-if ((eval("x\u2029*=\u2029-1")) !== 1) { >- testFailed('#9: x = -1; (x\\u2029*=\\u2029-1) === 1'); >-} >- >- >-//CHECK#10 >-x = -1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029*=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-1")) !== 1) { >- testFailed('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029*=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-1) === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10-expected.txt >deleted file mode 100644 >index f8a1200815f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.html >deleted file mode 100644 >index 83f7952bf39..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T10; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x ^= y; >-*/ >- >-//CHECK#1 >-x = 1; >-if ((eval("x\u0009^=\u00091")) !== 0) { >- testFailed('#1: x = 1; (x\\u0009^=\\u00091) === 0'); >-} >- >-//CHECK#2 >-x = 1; >-if ((eval("x\u000B^=\u000B1")) !== 0) { >- testFailed('#2: x = 1; (x\\u000B^=\\u000B1) === 0'); >-} >- >-//CHECK#3 >-x = 1; >-if ((eval("x\u000C^=\u000C1")) !== 0) { >- testFailed('#3: x = 1; (x\\u000C^=\\u000C1) === 0'); >-} >- >-//CHECK#4 >-x = 1; >-if ((eval("x\u0020^=\u00201")) !== 0) { >- testFailed('#4: x = 1; (x\\u0020^=\\u00201) === 0'); >-} >- >-//CHECK#5 >-x = 1; >-if ((eval("x\u00A0^=\u00A01")) !== 0) { >- testFailed('#5: x = 1; (x\\u00A0^=\\u00A01) === 0'); >-} >- >-//CHECK#6 >-x = 1; >-if ((eval("x\u000A^=\u000A1")) !== 0) { >- testFailed('#6: x = 1; (x\\u000A^=\\u000A1) === 0'); >-} >- >-//CHECK#7 >-x = 1; >-if ((eval("x\u000D^=\u000D1")) !== 0) { >- testFailed('#7: x = 1; (x\\u000D^=\\u000D1) === 0'); >-} >- >-//CHECK#8 >-x = 1; >-if ((eval("x\u2028^=\u20281")) !== 0) { >- testFailed('#8: x = 1; (x\\u2028^=\\u20281) === 0'); >-} >- >-//CHECK#9 >-x = 1; >-if ((eval("x\u2029^=\u20291")) !== 0) { >- testFailed('#9: x = 1; (x\\u2029^=\\u20291) === 0'); >-} >- >- >-//CHECK#10 >-x = 1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029^=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) { >- testFailed('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029^=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11-expected.txt >deleted file mode 100644 >index 18058af2a7e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.html >deleted file mode 100644 >index 47dde45d052..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T11; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x |= y; >-*/ >- >-//CHECK#1 >-x = 0; >-if ((eval("x\u0009|=\u00091")) !== 1) { >- testFailed('#1: x = 0; (x\\u0009|=\\u00091) === 1'); >-} >- >-//CHECK#2 >-x = 0; >-if ((eval("x\u000B|=\u000B1")) !== 1) { >- testFailed('#2: x = 0; (x\\u000B|=\\u000B1) === 1'); >-} >- >-//CHECK#3 >-x = 0; >-if ((eval("x\u000C|=\u000C1")) !== 1) { >- testFailed('#3: x = 0; (x\\u000C|=\\u000C1) === 1'); >-} >- >-//CHECK#4 >-x = 0; >-if ((eval("x\u0020|=\u00201")) !== 1) { >- testFailed('#4: x = 0; (x\\u0020|=\\u00201) === 1'); >-} >- >-//CHECK#5 >-x = 0; >-if ((eval("x\u00A0|=\u00A01")) !== 1) { >- testFailed('#5: x = 0; (x\\u00A0|=\\u00A01) === 1'); >-} >- >-//CHECK#6 >-x = 0; >-if ((eval("x\u000A|=\u000A1")) !== 1) { >- testFailed('#6: x = 0; (x\\u000A|=\\u000A1) === 1'); >-} >- >-//CHECK#7 >-x = 0; >-if ((eval("x\u000D|=\u000D1")) !== 1) { >- testFailed('#7: x = 0; (x\\u000D|=\\u000D1) === 1'); >-} >- >-//CHECK#8 >-x = 0; >-if ((eval("x\u2028|=\u20281")) !== 1) { >- testFailed('#8: x = 0; (x\\u2028|=\\u20281) === 1'); >-} >- >-//CHECK#9 >-x = 0; >-if ((eval("x\u2029|=\u20291")) !== 1) { >- testFailed('#9: x = 0; (x\\u2029|=\\u20291) === 1'); >-} >- >- >-//CHECK#10 >-x = 0; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029|=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 1) { >- testFailed('#10: x = 0; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029|=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2-expected.txt >deleted file mode 100644 >index ee31bc705c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.html >deleted file mode 100644 >index 267baf356d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T2; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x /= y; >-*/ >- >-//CHECK#1 >-x = -1; >-if ((eval("x\u0009/=\u0009-1")) !== 1) { >- testFailed('#1: x = -1; (x\\u0009/=\\u0009-1) === 1'); >-} >- >-//CHECK#2 >-x = -1; >-if ((eval("x\u000B/=\u000B-1")) !== 1) { >- testFailed('#2: x = -1; (x\\u000B/=\\u000B-1) === 1'); >-} >- >-//CHECK#3 >-x = -1; >-if ((eval("x\u000C/=\u000C-1")) !== 1) { >- testFailed('#3: x = -1; (x\\u000C/=\\u000C-1) === 1'); >-} >- >-//CHECK#4 >-x = -1; >-if ((eval("x\u0020/=\u0020-1")) !== 1) { >- testFailed('#4: x = -1; (x\\u0020/=\\u0020-1) === 1'); >-} >- >-//CHECK#5 >-x = -1; >-if ((eval("x\u00A0/=\u00A0-1")) !== 1) { >- testFailed('#5: x = -1; (x\\u00A0/=\\u00A0-1) === 1'); >-} >- >-//CHECK#6 >-x = -1; >-if ((eval("x\u000A/=\u000A-1")) !== 1) { >- testFailed('#6: x = -1; (x\\u000A/=\\u000A-1) === 1'); >-} >- >-//CHECK#7 >-x = -1; >-if ((eval("x\u000D/=\u000D-1")) !== 1) { >- testFailed('#7: x = -1; (x\\u000D/=\\u000D-1) === 1'); >-} >- >-//CHECK#8 >-x = -1; >-if ((eval("x\u2028/=\u2028-1")) !== 1) { >- testFailed('#8: x = -1; (x\\u2028/=\\u2028-1) === 1'); >-} >- >-//CHECK#9 >-x = -1; >-if ((eval("x\u2029/=\u2029-1")) !== 1) { >- testFailed('#9: x = -1; (x\\u2029/=\\u2029-1) === 1'); >-} >- >- >-//CHECK#10 >-x = -1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029/=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-1")) !== 1) { >- testFailed('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029/=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-1) === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3-expected.txt >deleted file mode 100644 >index 65d4df97e8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.html >deleted file mode 100644 >index efe4fa1044a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T3; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x %= y; >-*/ >- >-//CHECK#1 >-x = -1; >-if ((eval("x\u0009%=\u0009-1")) !== 0) { >- testFailed('#1: x = -1; (x\\u0009%=\\u0009-1) === 0'); >-} >- >-//CHECK#2 >-x = -1; >-if ((eval("x\u000B%=\u000B-1")) !== 0) { >- testFailed('#2: x = -1; (x\\u000B%=\\u000B-1) === 0'); >-} >- >-//CHECK#3 >-x = -1; >-if ((eval("x\u000C%=\u000C-1")) !== 0) { >- testFailed('#3: x = -1; (x\\u000C%=\\u000C-1) === 0'); >-} >- >-//CHECK#4 >-x = -1; >-if ((eval("x\u0020%=\u0020-1")) !== 0) { >- testFailed('#4: x = -1; (x\\u0020%=\\u0020-1) === 0'); >-} >- >-//CHECK#5 >-x = -1; >-if ((eval("x\u00A0%=\u00A0-1")) !== 0) { >- testFailed('#5: x = -1; (x\\u00A0%=\\u00A0-1) === 0'); >-} >- >-//CHECK#6 >-x = -1; >-if ((eval("x\u000A%=\u000A-1")) !== 0) { >- testFailed('#6: x = -1; (x\\u000A%=\\u000A-1) === 0'); >-} >- >-//CHECK#7 >-x = -1; >-if ((eval("x\u000D%=\u000D-1")) !== 0) { >- testFailed('#7: x = -1; (x\\u000D%=\\u000D-1) === 0'); >-} >- >-//CHECK#8 >-x = -1; >-if ((eval("x\u2028%=\u2028-1")) !== 0) { >- testFailed('#8: x = -1; (x\\u2028%=\\u2028-1) === 0'); >-} >- >-//CHECK#9 >-x = -1; >-if ((eval("x\u2029%=\u2029-1")) !== 0) { >- testFailed('#9: x = -1; (x\\u2029%=\\u2029-1) === 0'); >-} >- >- >-//CHECK#10 >-x = -1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029%=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-1")) !== 0) { >- testFailed('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029%=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-1) === 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4-expected.txt >deleted file mode 100644 >index 4c2f50c2be2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.html >deleted file mode 100644 >index 3c6f5248f48..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T4; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x += y; >-*/ >- >-//CHECK#1 >-x = -1; >-if ((eval("x\u0009+=\u0009-1")) !== -2) { >- testFailed('#1: x = -1; (x\\u0009+=\\u0009-1) === -2'); >-} >- >-//CHECK#2 >-x = -1; >-if ((eval("x\u000B+=\u000B-1")) !== -2) { >- testFailed('#2: x = -1; (x\\u000B+=\\u000B-1) === -2'); >-} >- >-//CHECK#3 >-x = -1; >-if ((eval("x\u000C+=\u000C-1")) !== -2) { >- testFailed('#3: x = -1; (x\\u000C+=\\u000C-1) === -2'); >-} >- >-//CHECK#4 >-x = -1; >-if ((eval("x\u0020+=\u0020-1")) !== -2) { >- testFailed('#4: x = -1; (x\\u0020+=\\u0020-1) === -2'); >-} >- >-//CHECK#5 >-x = -1; >-if ((eval("x\u00A0+=\u00A0-1")) !== -2) { >- testFailed('#5: x = -1; (x\\u00A0+=\\u00A0-1) === -2'); >-} >- >-//CHECK#6 >-x = -1; >-if ((eval("x\u000A+=\u000A-1")) !== -2) { >- testFailed('#6: x = -1; (x\\u000A+=\\u000A-1) === -2'); >-} >- >-//CHECK#7 >-x = -1; >-if ((eval("x\u000D+=\u000D-1")) !== -2) { >- testFailed('#7: x = -1; (x\\u000D+=\\u000D-1) === -2'); >-} >- >-//CHECK#8 >-x = -1; >-if ((eval("x\u2028+=\u2028-1")) !== -2) { >- testFailed('#8: x = -1; (x\\u2028+=\\u2028-1) === -2'); >-} >- >-//CHECK#9 >-x = -1; >-if ((eval("x\u2029+=\u2029-1")) !== -2) { >- testFailed('#9: x = -1; (x\\u2029+=\\u2029-1) === -2'); >-} >- >- >-//CHECK#10 >-x = -1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029+=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-1")) !== -2) { >- testFailed('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029+=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-1) === -2'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5-expected.txt >deleted file mode 100644 >index 48caa647c0f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.html >deleted file mode 100644 >index 12f47679745..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T5; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x -= y; >-*/ >- >-//CHECK#1 >-x = -1; >-if ((eval("x\u0009-=\u00091")) !== -2) { >- testFailed('#1: x = -1; (x\\u0009-=\\u00091) === -2'); >-} >- >-//CHECK#2 >-x = -1; >-if ((eval("x\u000B-=\u000B1")) !== -2) { >- testFailed('#2: x = -1; (x\\u000B-=\\u000B1) === -2'); >-} >- >-//CHECK#3 >-x = -1; >-if ((eval("x\u000C-=\u000C1")) !== -2) { >- testFailed('#3: x = -1; (x\\u000C-=\\u000C1) === -2'); >-} >- >-//CHECK#4 >-x = -1; >-if ((eval("x\u0020-=\u00201")) !== -2) { >- testFailed('#4: x = -1; (x\\u0020-=\\u00201) === -2'); >-} >- >-//CHECK#5 >-x = -1; >-if ((eval("x\u00A0-=\u00A01")) !== -2) { >- testFailed('#5: x = -1; (x\\u00A0-=\\u00A01) === -2'); >-} >- >-//CHECK#6 >-x = -1; >-if ((eval("x\u000A-=\u000A1")) !== -2) { >- testFailed('#6: x = -1; (x\\u000A-=\\u000A1) === -2'); >-} >- >-//CHECK#7 >-x = -1; >-if ((eval("x\u000D-=\u000D1")) !== -2) { >- testFailed('#7: x = -1; (x\\u000D-=\\u000D1) === -2'); >-} >- >-//CHECK#8 >-x = -1; >-if ((eval("x\u2028-=\u20281")) !== -2) { >- testFailed('#8: x = -1; (x\\u2028-=\\u20281) === -2'); >-} >- >-//CHECK#9 >-x = -1; >-if ((eval("x\u2029-=\u20291")) !== -2) { >- testFailed('#9: x = -1; (x\\u2029-=\\u20291) === -2'); >-} >- >- >-//CHECK#10 >-x = -1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== -2) { >- testFailed('#10: x = -1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === -2'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6-expected.txt >deleted file mode 100644 >index c6d925df884..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.html >deleted file mode 100644 >index 07c7dc63724..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T6; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x <<= y; >-*/ >- >-//CHECK#1 >-x = 1; >-if ((eval("x\u0009<<=\u00091")) !== 2) { >- testFailed('#1: x = 1; (x\\u0009<<=\\u00091) === 2'); >-} >- >-//CHECK#2 >-x = 1; >-if ((eval("x\u000B<<=\u000B1")) !== 2) { >- testFailed('#2: x = 1; (x\\u000B<<=\\u000B1) === 2'); >-} >- >-//CHECK#3 >-x = 1; >-if ((eval("x\u000C<<=\u000C1")) !== 2) { >- testFailed('#3: x = 1; (x\\u000C<<=\\u000C1) === 2'); >-} >- >-//CHECK#4 >-x = 1; >-if ((eval("x\u0020<<=\u00201")) !== 2) { >- testFailed('#4: x = 1; (x\\u0020<<=\\u00201) === 2'); >-} >- >-//CHECK#5 >-x = 1; >-if ((eval("x\u00A0<<=\u00A01")) !== 2) { >- testFailed('#5: x = 1; (x\\u00A0<<=\\u00A01) === 2'); >-} >- >-//CHECK#6 >-x = 1; >-if ((eval("x\u000A<<=\u000A1")) !== 2) { >- testFailed('#6: x = 1; (x\\u000A<<=\\u000A1) === 2'); >-} >- >-//CHECK#7 >-x = 1; >-if ((eval("x\u000D<<=\u000D1")) !== 2) { >- testFailed('#7: x = 1; (x\\u000D<<=\\u000D1) === 2'); >-} >- >-//CHECK#8 >-x = 1; >-if ((eval("x\u2028<<=\u20281")) !== 2) { >- testFailed('#8: x = 1; (x\\u2028<<=\\u20281) === 2'); >-} >- >-//CHECK#9 >-x = 1; >-if ((eval("x\u2029<<=\u20291")) !== 2) { >- testFailed('#9: x = 1; (x\\u2029<<=\\u20291) === 2'); >-} >- >- >-//CHECK#10 >-x = 1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029<<=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 2) { >- testFailed('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029<<=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 2'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7-expected.txt >deleted file mode 100644 >index 4d8acb327bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.html >deleted file mode 100644 >index b0cb690bc5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T7; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x >>= y; >-*/ >- >-//CHECK#1 >-x = 1; >-if ((eval("x\u0009>>=\u00091")) !== 0) { >- testFailed('#1: x = 1; (x\\u0009>>=\\u00091) === 0'); >-} >- >-//CHECK#2 >-x = 1; >-if ((eval("x\u000B>>=\u000B1")) !== 0) { >- testFailed('#2: x = 1; (x\\u000B>>=\\u000B1) === 0'); >-} >- >-//CHECK#3 >-x = 1; >-if ((eval("x\u000C>>=\u000C1")) !== 0) { >- testFailed('#3: x = 1; (x\\u000C>>=\\u000C1) === 0'); >-} >- >-//CHECK#4 >-x = 1; >-if ((eval("x\u0020>>=\u00201")) !== 0) { >- testFailed('#4: x = 1; (x\\u0020>>=\\u00201) === 0'); >-} >- >-//CHECK#5 >-x = 1; >-if ((eval("x\u00A0>>=\u00A01")) !== 0) { >- testFailed('#5: x = 1; (x\\u00A0>>=\\u00A01) === 0'); >-} >- >-//CHECK#6 >-x = 1; >-if ((eval("x\u000A>>=\u000A1")) !== 0) { >- testFailed('#6: x = 1; (x\\u000A>>=\\u000A1) === 0'); >-} >- >-//CHECK#7 >-x = 1; >-if ((eval("x\u000D>>=\u000D1")) !== 0) { >- testFailed('#7: x = 1; (x\\u000D>>=\\u000D1) === 0'); >-} >- >-//CHECK#8 >-x = 1; >-if ((eval("x\u2028>>=\u20281")) !== 0) { >- testFailed('#8: x = 1; (x\\u2028>>=\\u20281) === 0'); >-} >- >-//CHECK#9 >-x = 1; >-if ((eval("x\u2029>>=\u20291")) !== 0) { >- testFailed('#9: x = 1; (x\\u2029>>=\\u20291) === 0'); >-} >- >- >-//CHECK#10 >-x = 1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) { >- testFailed('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8-expected.txt >deleted file mode 100644 >index 4381bc2333f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.html >deleted file mode 100644 >index a6d07f75716..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T8; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x >>>= y; >-*/ >- >-//CHECK#1 >-x = 1; >-if ((eval("x\u0009>>>=\u00091")) !== 0) { >- testFailed('#1: x = 1; (x\\u0009>>>=\\u00091) === 0'); >-} >- >-//CHECK#2 >-x = 1; >-if ((eval("x\u000B>>>=\u000B1")) !== 0) { >- testFailed('#2: x = 1; (x\\u000B>>>=\\u000B1) === 0'); >-} >- >-//CHECK#3 >-x = 1; >-if ((eval("x\u000C>>>=\u000C1")) !== 0) { >- testFailed('#3: x = 1; (x\\u000C>>>=\\u000C1) === 0'); >-} >- >-//CHECK#4 >-x = 1; >-if ((eval("x\u0020>>>=\u00201")) !== 0) { >- testFailed('#4: x = 1; (x\\u0020>>>=\\u00201) === 0'); >-} >- >-//CHECK#5 >-x = 1; >-if ((eval("x\u00A0>>>=\u00A01")) !== 0) { >- testFailed('#5: x = 1; (x\\u00A0>>>=\\u00A01) === 0'); >-} >- >-//CHECK#6 >-x = 1; >-if ((eval("x\u000A>>>=\u000A1")) !== 0) { >- testFailed('#6: x = 1; (x\\u000A>>>=\\u000A1) === 0'); >-} >- >-//CHECK#7 >-x = 1; >-if ((eval("x\u000D>>>=\u000D1")) !== 0) { >- testFailed('#7: x = 1; (x\\u000D>>>=\\u000D1) === 0'); >-} >- >-//CHECK#8 >-x = 1; >-if ((eval("x\u2028>>>=\u20281")) !== 0) { >- testFailed('#8: x = 1; (x\\u2028>>>=\\u20281) === 0'); >-} >- >-//CHECK#9 >-x = 1; >-if ((eval("x\u2029>>>=\u20291")) !== 0) { >- testFailed('#9: x = 1; (x\\u2029>>>=\\u20291) === 0'); >-} >- >- >-//CHECK#10 >-x = 1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) { >- testFailed('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9-expected.txt >deleted file mode 100644 >index bec5063dcf9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.html >deleted file mode 100644 >index 09206f6e01a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.13.2_A1_T9; >-* @section: 11.13.2; >-* @assertion: White Space and Line Terminator between LeftHandSideExpression and "@=" or between "@=" and AssignmentExpression are allowed; >-* @description: Checking by using eval, check operator is x &= y; >-*/ >- >-//CHECK#1 >-x = 1; >-if ((eval("x\u0009&=\u00091")) !== 1) { >- testFailed('#1: x = 1; (x\\u0009&=\\u00091) === 1'); >-} >- >-//CHECK#2 >-x = 1; >-if ((eval("x\u000B&=\u000B1")) !== 1) { >- testFailed('#2: x = 1; (x\\u000B&=\\u000B1) === 1'); >-} >- >-//CHECK#3 >-x = 1; >-if ((eval("x\u000C&=\u000C1")) !== 1) { >- testFailed('#3: x = 1; (x\\u000C&=\\u000C1) === 1'); >-} >- >-//CHECK#4 >-x = 1; >-if ((eval("x\u0020&=\u00201")) !== 1) { >- testFailed('#4: x = 1; (x\\u0020&=\\u00201) === 1'); >-} >- >-//CHECK#5 >-x = 1; >-if ((eval("x\u00A0&=\u00A01")) !== 1) { >- testFailed('#5: x = 1; (x\\u00A0&=\\u00A01) === 1'); >-} >- >-//CHECK#6 >-x = 1; >-if ((eval("x\u000A&=\u000A1")) !== 1) { >- testFailed('#6: x = 1; (x\\u000A&=\\u000A1) === 1'); >-} >- >-//CHECK#7 >-x = 1; >-if ((eval("x\u000D&=\u000D1")) !== 1) { >- testFailed('#7: x = 1; (x\\u000D&=\\u000D1) === 1'); >-} >- >-//CHECK#8 >-x = 1; >-if ((eval("x\u2028&=\u20281")) !== 1) { >- testFailed('#8: x = 1; (x\\u2028&=\\u20281) === 1'); >-} >- >-//CHECK#9 >-x = 1; >-if ((eval("x\u2029&=\u20291")) !== 1) { >- testFailed('#9: x = 1; (x\\u2029&=\\u20291) === 1'); >-} >- >- >-//CHECK#10 >-x = 1; >-if ((eval("x\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029&=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 1) { >- testFailed('#10: x = 1; (x\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029&=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1-expected.txt >deleted file mode 100644 >index 91150045024..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.html >deleted file mode 100644 >index ceca1c4100e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.1; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x *= y"; >-*/ >- >-//CHECK#1 >-var x = 1; >-var z = (x *= -1); >-if (z !== -1) { >- testFailed('#1: var x = 1; var z = (x *= -1); z === -1. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 1; >-var y = -1; >-var z = (x *= y); >-if (z !== -1) { >- testFailed('#2: var x = 1; var y = -1; var z = (x *= y); z === -1. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10-expected.txt >deleted file mode 100644 >index 3b26588b4f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.html >deleted file mode 100644 >index b1336f77c2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.10; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x ^= y"; >-*/ >- >-//CHECK#1 >-var x = 1; >-var z = (x ^= 1); >-if (z !== 0) { >- testFailed('#1: var x = 1; var z = (x ^= 1); z === 0. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 1; >-var y = 1; >-var z = (x ^= y); >-if (z !== 0) { >- testFailed('#2: var x = 1; var y = 1; var z = (x ^= y); z === 0. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11-expected.txt >deleted file mode 100644 >index 1f95a0515fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.html >deleted file mode 100644 >index b1c09dec971..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.11; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x |= y"; >-*/ >- >-//CHECK#1 >-var x = 0; >-var z = (x |= 1); >-if (z !== 1) { >- testFailed('#1: var x = 0; var z = (x |= 1); z === 1. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 0; >-var y = 1; >-var z = (x |= y); >-if (z !== 1) { >- testFailed('#2: var x = 0; var y = 1; var z = (x |= y); z === 1. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2-expected.txt >deleted file mode 100644 >index 58505f939b9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.html >deleted file mode 100644 >index 3b88b39fe66..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.2; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x /= y"; >-*/ >- >-//CHECK#1 >-var x = 1; >-var z = (x /= -1); >-if (z !== -1) { >- testFailed('#1: var x = 1; var z = (x /= -1); z === -1. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 1; >-var y = -1; >-var z = (x /= y); >-if (z !== -1) { >- testFailed('#2: var x = 1; var y = -1; var z = (x /= y); z === -1. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3-expected.txt >deleted file mode 100644 >index 5f9aab4dd8d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.html >deleted file mode 100644 >index 501086888e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.3; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x %= y"; >-*/ >- >-//CHECK#1 >-var x = -1; >-var z = (x %= 2); >-if (z !== -1) { >- testFailed('#1: var x = -1; var z = (x %= 2); z === -1. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = -1; >-var y = 2; >-var z = (x %= y); >-if (z !== -1) { >- testFailed('#2: var x = -1; var y = 2; var z = (x %= y); z === -1. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4-expected.txt >deleted file mode 100644 >index a72f7bd9540..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.html >deleted file mode 100644 >index 75de40f12bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.4; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x += y"; >-*/ >- >-//CHECK#1 >-var x = 1; >-var z = (x += 1); >-if (z !== 2) { >- testFailed('#1: var x = 1; var z = (x += 1); z === 2. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 1; >-var y = 1; >-var z = (x += y); >-if (z !== 2) { >- testFailed('#2: var x = 1; var y = 1; var z = (x += y); z === 2. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5-expected.txt >deleted file mode 100644 >index fb61eab6035..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.html >deleted file mode 100644 >index de14dfe8b14..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.5; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x -= y"; >-*/ >- >-//CHECK#1 >-var x = 1; >-var z = (x -= 1); >-if (z !== 0) { >- testFailed('#1: var x = 1; var z = (x -= 1); z === 0. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 1; >-var y = 1; >-var z = (x -= y); >-if (z !== 0) { >- testFailed('#2: var x = 1; var y = 1; var z = (x -= y); z === 0. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6-expected.txt >deleted file mode 100644 >index e2ad8e31b93..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.html >deleted file mode 100644 >index 0345439b592..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.6; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x <<= y"; >-*/ >- >-//CHECK#1 >-var x = 1; >-var z = (x <<= 1); >-if (z !== 2) { >- testFailed('#1: var x = 1; var z = (x <<= 1); z === 2. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 1; >-var y = 1; >-var z = (x <<= y); >-if (z !== 2) { >- testFailed('#2: var x = 1; var y = 1; var z = (x <<= y); z === 2. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7-expected.txt >deleted file mode 100644 >index d494ddafcaa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.html >deleted file mode 100644 >index 9a54475ba7f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.7; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x >>= y"; >-*/ >- >-//CHECK#1 >-var x = 4; >-var z = (x >>= 1); >-if (z !== 2) { >- testFailed('#1: var x = 4; var z = (x >>= 1); z === 2. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 4; >-var y = 1; >-var z = (x >>= y); >-if (z !== 2) { >- testFailed('#2: var x = 4; var y = 1; var z = (x >>= y); z === 2. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8-expected.txt >deleted file mode 100644 >index f9c6c97036d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.html >deleted file mode 100644 >index 2329466a28f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.8; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x >>>= y"; >-*/ >- >-//CHECK#1 >-var x = 4; >-var z = (x >>>= 1); >-if (z !== 2) { >- testFailed('#1: var x = 4; var z = (x >>>= 1); z === 2. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 4; >-var y = 1; >-var z = (x >>>= y); >-if (z !== 2) { >- testFailed('#2: var x = 4; var y = 1; var z = (x >>>= y); z === 2. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9-expected.txt >deleted file mode 100644 >index a4265b7dd51..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.html >deleted file mode 100644 >index 9516c55c75e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T1.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T1.9; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null, check opeartor is "x &= y"; >-*/ >- >-//CHECK#1 >-var x = 1; >-var z = (x &= 1); >-if (z !== 1) { >- testFailed('#1: var x = 1; var z = (x &= 1); z === 1. Actual: ' + (z)); >-} >- >-//CHECK#2 >-var x = 1; >-var y = 1; >-var z = (x &= y); >-if (z !== 1) { >- testFailed('#2: var x = 1; var y = 1; var z = (x &= y); z === 1. Actual: ' + (z)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1-expected.txt >deleted file mode 100644 >index 94d0c44cbf6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.html >deleted file mode 100644 >index a00ba2db2ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.1; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x *= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x *= y); >- testFailed('#1.1: var x = 1; x *= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x *= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10-expected.txt >deleted file mode 100644 >index bc2ec85b91d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.html >deleted file mode 100644 >index b64fc135eb1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.10; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x ^= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x ^= y); >- testFailed('#1.1: var x = 1; x ^= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x ^= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11-expected.txt >deleted file mode 100644 >index aede078ab32..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.html >deleted file mode 100644 >index aafbf043333..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.11; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x |= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x |= y); >- testFailed('#1.1: var x = 1; x |= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x |= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2-expected.txt >deleted file mode 100644 >index 8dfa577c07b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.html >deleted file mode 100644 >index 6376292f68c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.2; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x /= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x /= y); >- testFailed('#1.1: var x = 1; x /= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x /= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3-expected.txt >deleted file mode 100644 >index f9fa34616ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.html >deleted file mode 100644 >index 9355f6f90bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.3; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x %= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x %= y); >- testFailed('#1.1: var x = 1; x %= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x %= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4-expected.txt >deleted file mode 100644 >index 071f2dd4f41..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.html >deleted file mode 100644 >index 8ea83754fda..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.4; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x += y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x += y); >- testFailed('#1.1: var x = 1; x += y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x += y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5-expected.txt >deleted file mode 100644 >index 2c5fe33eaf5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.html >deleted file mode 100644 >index 81ee4cc3dba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.5; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x -= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x -= y); >- testFailed('#1.1: var x = 1; x -= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x -= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6-expected.txt >deleted file mode 100644 >index b8106529b5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.html >deleted file mode 100644 >index 0648511bc14..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.6; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x <<= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x <<= y); >- testFailed('#1.1: var x = 1; x <<= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x <<= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7-expected.txt >deleted file mode 100644 >index f0d586036ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.html >deleted file mode 100644 >index c4420763eb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.7; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x >>= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x >>= y); >- testFailed('#1.1: var x = 1; x >>= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x >>= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8-expected.txt >deleted file mode 100644 >index fe5f5257b46..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.html >deleted file mode 100644 >index 214cb3ae214..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.8; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x >>>= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x >>>= y); >- testFailed('#1.1: var x = 1; x >>>= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x >>>= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9-expected.txt >deleted file mode 100644 >index 508af13bffa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.html >deleted file mode 100644 >index ac1f10b1a3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T2.9; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(AssigmentExpression) is null, throw ReferenceError. Check operator is "x &= y"; >-*/ >- >-//CHECK#1 >-try { >- var x = 1; >- var z = (x &= y); >- testFailed('#1.1: var x = 1; x &= y throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: var x = 1; x &= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1-expected.txt >deleted file mode 100644 >index efc8b00289f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.html >deleted file mode 100644 >index e28fe382154..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.1; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x *= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x *= 1); >- testFailed('#1.1: x *= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x *= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10-expected.txt >deleted file mode 100644 >index 2bd6e8d8fa9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.html >deleted file mode 100644 >index cf599084586..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.10; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x ^= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x ^= 1); >- testFailed('#1.1: x ^= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x ^= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11-expected.txt >deleted file mode 100644 >index d94b45adf62..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.html >deleted file mode 100644 >index 60c1b9a8e9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.11; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x |= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x |= 1); >- testFailed('#1.1: x |= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x |= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2-expected.txt >deleted file mode 100644 >index 87b781c5223..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.html >deleted file mode 100644 >index f9b2d5caf77..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.2; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x /= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x /= 1); >- testFailed('#1.1: x /= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x /= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3-expected.txt >deleted file mode 100644 >index ff0a3b7e6b2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.html >deleted file mode 100644 >index 1fe39fe2583..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.3; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x %= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x %= 1); >- testFailed('#1.1: x %= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x %= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4-expected.txt >deleted file mode 100644 >index d78422665ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.html >deleted file mode 100644 >index 0bc38ad19e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.4; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x += y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x += 1); >- testFailed('#1.1: x += 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x += 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5-expected.txt >deleted file mode 100644 >index fa4385990e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.html >deleted file mode 100644 >index d0e1f21a3a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.5; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x -= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x -= 1); >- testFailed('#1.1: x -= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x -= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6-expected.txt >deleted file mode 100644 >index 7792fba2577..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.html >deleted file mode 100644 >index 4101d46a66b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.6; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x <<= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x <<= 1); >- testFailed('#1.1: x <<= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x <<= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7-expected.txt >deleted file mode 100644 >index be8eac72bcb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.html >deleted file mode 100644 >index 02fe1abe477..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.7; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x >>= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x >>= 1); >- testFailed('#1.1: x >>= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x >>= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8-expected.txt >deleted file mode 100644 >index 499d574662a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.html >deleted file mode 100644 >index 6c70fbb4adf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.8; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x >>>= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x >>>= 1); >- testFailed('#1.1: x >>>= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x >>>= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9-expected.txt >deleted file mode 100644 >index 51ef649d775..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.html >deleted file mode 100644 >index 510e6181525..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.1_T3.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.1_T3.9; >- * @section: 11.13.2; >- * @assertion: Operator uses GetValue; >- * @description: If GetBase(LeftHandSideExpression) is null, throw ReferenceError. Check operator is "x &= y"; >-*/ >- >-//CHECK#1 >-try { >- var z = (x &= 1); >- testFailed('#1.1: x &= 1 throw ReferenceError. Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x &= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1-expected.txt >deleted file mode 100644 >index c8bc01e388e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.html >deleted file mode 100644 >index 86694aa8194..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T1; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x *= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 *= 1); >- testFailed('#1.1: 1 *= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 *= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 *= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10-expected.txt >deleted file mode 100644 >index d8b3a006f4c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T10 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.html >deleted file mode 100644 >index f58d964bbad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T10; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x ^= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 ^= 1); >- testFailed('#1.1: 1 ^= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 ^= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 ^= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11-expected.txt >deleted file mode 100644 >index 4205c6b6364..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T11 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.html >deleted file mode 100644 >index dc9ac535227..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T11; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x |= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 |= 1); >- testFailed('#1.1: 1 |= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 |= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 |= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2-expected.txt >deleted file mode 100644 >index cc9a7457eb5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T2 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.html >deleted file mode 100644 >index 3f910fc1fe6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T2; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x /= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 /= 1); >- testFailed('#1.1: 1 /= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 /= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 /= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3-expected.txt >deleted file mode 100644 >index e8b90204a2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T3 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.html >deleted file mode 100644 >index 80325082d9d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T3; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x %= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 %= 1); >- testFailed('#1.1: 1 %= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 %= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 %= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4-expected.txt >deleted file mode 100644 >index f5dc1cb83c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T4 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.html >deleted file mode 100644 >index 5f287d29166..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T4; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x += y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 += 1); >- testFailed('#1.1: 1 += 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 += 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 += 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5-expected.txt >deleted file mode 100644 >index d46efe604a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T5 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.html >deleted file mode 100644 >index 58a1a3a5884..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T5; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x -= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 -= 1); >- testFailed('#1.1: 1 -= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 -= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 -= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6-expected.txt >deleted file mode 100644 >index 7fb72dc35ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T6 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.html >deleted file mode 100644 >index f4cdf5fb494..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T6; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x <<= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 <<= 1); >- testFailed('#1.1: 1 <<= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 <<= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 <<= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7-expected.txt >deleted file mode 100644 >index 826dc2555ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T7 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.html >deleted file mode 100644 >index 747f168dd0b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T7; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x >>= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 >>= 1); >- testFailed('#1.1: 1 >>= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 >>= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 >>= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8-expected.txt >deleted file mode 100644 >index 9f684565490..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T8 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.html >deleted file mode 100644 >index 85b42c0d503..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T8; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x >>>= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 >>>= 1); >- testFailed('#1.1: 1 >>>= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 >>>= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 >>>= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9-expected.txt >deleted file mode 100644 >index 07adb024d8d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T9 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.html >deleted file mode 100644 >index 33ccf05184f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A2.2_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A2.2_T9; >- * @section: 11.13.2, 16; >- * @assertion: Operator uses PutValue; >- * @description: If Type(LeftHandSideExpression) is not Reference, throw ReferenceError (or SyntaxError). Check operator is "x &= y"; >-* @negative >-*/ >- >-//CHECK#1 >-try { >- var z = (1 &= 1); >- testFailed('#1.1: 1 &= 1 throw ReferenceError (or SyntaxError). Actual: ' + (z)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 &= 1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- var z = (1 &= 1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1-expected.txt >deleted file mode 100644 >index ace7808ff65..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.html >deleted file mode 100644 >index 761b1d62359..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T1; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x *= y; >-*/ >- >-//CHECK#1 >-var x = 1; >-x *= -1; >-if (x !== -1) { >- testFailed('#1: var x = 1; x *= -1; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 1; >-y *= -1; >-if (y !== -1) { >- testFailed('#2: y = 1; y *= -1; y === -1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10-expected.txt >deleted file mode 100644 >index 73eeee201a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.html >deleted file mode 100644 >index a20dc263854..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T10; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x ^= y; >-*/ >- >-//CHECK#1 >-var x = 0; >-x ^= 1; >-if (x !== 1) { >- testFailed('#1: var x = 0; x ^= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 1; >-y ^= 0; >-if (y !== 1) { >- testFailed('#2: y = 1; y ^= 0; y === 1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11-expected.txt >deleted file mode 100644 >index 78ca8667a3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.html >deleted file mode 100644 >index 946e63f6439..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T11; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x |= y; >-*/ >- >-//CHECK#1 >-var x = 0; >-x |= 1; >-if (x !== 1) { >- testFailed('#1: var x = 0; x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 1; >-y |= 0; >-if (y !== 1) { >- testFailed('#2: y = 1; y |= 0; y === 1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2-expected.txt >deleted file mode 100644 >index 32abe665e23..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.html >deleted file mode 100644 >index b54abe84a86..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T2; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x /= y; >-*/ >- >-//CHECK#1 >-var x = 1; >-x /= -1; >-if (x !== -1) { >- testFailed('#1: var x = 1; x /= -1; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 1; >-y /= -1; >-if (y !== -1) { >- testFailed('#2: y = 1; y /= -1; y === -1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3-expected.txt >deleted file mode 100644 >index 5a4568b172a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.html >deleted file mode 100644 >index 5cedf6e70ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T3; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x %= y; >-*/ >- >-//CHECK#1 >-var x = -1; >-x %= 2; >-if (x !== -1) { >- testFailed('#1: var x = -1; x %= 2; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = -1; >-y %= 2; >-if (y !== -1) { >- testFailed('#2: y = -1; y %= 2; y === -1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4-expected.txt >deleted file mode 100644 >index 256479738d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.html >deleted file mode 100644 >index 3b99357b301..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T4; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x += y; >-*/ >- >-//CHECK#1 >-var x = 1; >-x += 1; >-if (x !== 2) { >- testFailed('#1: var x = 1; x += 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 1; >-y += 1; >-if (y !== 2) { >- testFailed('#2: y = 1; y += 1; y === 2. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5-expected.txt >deleted file mode 100644 >index 13bed201f33..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.html >deleted file mode 100644 >index 994eea9a4de..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T5; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x -= y; >-*/ >- >-//CHECK#1 >-var x = -1; >-x -= 1; >-if (x !== -2) { >- testFailed('#1: var x = -1; x -= 1; x === -2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = -1; >-y -= 1; >-if (y !== -2) { >- testFailed('#2: y = -1; y -= 1; y === -2. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6-expected.txt >deleted file mode 100644 >index 736a1d4151a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.html >deleted file mode 100644 >index b16d551e864..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T6; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x <<= y; >-*/ >- >-//CHECK#1 >-var x = 1; >-x <<= 1; >-if (x !== 2) { >- testFailed('#1: var x = 1; x <<= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 1; >-y <<= 1; >-if (y !== 2) { >- testFailed('#2: y = 1; y <<= 1; y === 2. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7-expected.txt >deleted file mode 100644 >index 0d05dca64d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.html >deleted file mode 100644 >index 5c8d956b2d6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T7; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x >>= y; >-*/ >- >-//CHECK#1 >-var x = 4; >-x >>= 1; >-if (x !== 2) { >- testFailed('#1: var x = 4; x >>= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 4; >-y >>= 1; >-if (y !== 2) { >- testFailed('#2: y = 4; y >>= 1; y === 2. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8-expected.txt >deleted file mode 100644 >index 2072ed4485a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.html >deleted file mode 100644 >index af939ad60dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T8; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x >>>= y; >-*/ >- >-//CHECK#1 >-var x = 4; >-x >>>= 1; >-if (x !== 2) { >- testFailed('#1: var x = 4; x >>>= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 4; >-y >>>= 1; >-if (y !== 2) { >- testFailed('#2: y = 4; y >>>= 1; y === 2. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9-expected.txt >deleted file mode 100644 >index 5ec324e970f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.html >deleted file mode 100644 >index 6670c2ae3fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.1_T9; >- * @section: 11.13.2; >- * @assertion: Operator x @= y uses PutValue(x, x @ y); >- * @description: Checking Expression and Variable statements for x &= y; >-*/ >- >-//CHECK#1 >-var x = 1; >-x &= 1; >-if (x !== 1) { >- testFailed('#1: var x = 1; x &= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-y = 1; >-y &= 1; >-if (y !== 1) { >- testFailed('#2: y = 1; y &= 1; y === 1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1-expected.txt >deleted file mode 100644 >index 0621dda14f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.html >deleted file mode 100644 >index 64b819dba74..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T1; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x *= y; >-*/ >- >-//CHECK#1 >-var x = 1; >-var x1 = (x *= -1); >-if (x1 !== -1) { >- testFailed('#1: var x = 1; var x1 = (x *= -1); x1 === -1. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 1; >-y1 = (y *= -1); >-if (y1 !== -1) { >- testFailed('#2: y = 1; y1 = (y *= -1); y1 === -1. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10-expected.txt >deleted file mode 100644 >index c5c96522b64..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.html >deleted file mode 100644 >index 8dda3fb87f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T10; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x ^= y; >-*/ >- >-//CHECK#1 >-var x = 0; >-var x1 = (x ^= 1); >-if (x1 !== 1) { >- testFailed('#1: var x = 0; var x1 = (x ^= 1); x1 === 1. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 1; >-y1 = (y ^= 0); >-if (y1 !== 1) { >- testFailed('#2: y = 1; y1 = (y ^= 0); y1 === 1. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11-expected.txt >deleted file mode 100644 >index e5592e00bac..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.html >deleted file mode 100644 >index e8de3d0fba2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T11; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x |= y; >-*/ >- >-//CHECK#1 >-var x = 0; >-var x1 = (x |= 1); >-if (x1 !== 1) { >- testFailed('#1: var x = 0; var x1 = (x |= 1); x1 === 1. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 1; >-y1 = (y |= 0); >-if (y1 !== 1) { >- testFailed('#2: y = 1; y1 = (y |= 0); y1 === 1. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2-expected.txt >deleted file mode 100644 >index 90c892df377..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.html >deleted file mode 100644 >index 303d5523787..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T2; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x /= y; >-*/ >- >-//CHECK#1 >-var x = 1; >-var x1 = (x /= -1); >-if (x1 !== -1) { >- testFailed('#1: var x = 1; var x1 = (x /= -1); x1 === -1. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 1; >-y1 = (y /= -1); >-if (y1 !== -1) { >- testFailed('#2: y = 1; y1 = (y /= -1); y1 === -1. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3-expected.txt >deleted file mode 100644 >index efb7ea18a5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.html >deleted file mode 100644 >index a61690464c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T3; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x %= y; >-*/ >- >-//CHECK#1 >-var x = -1; >-var x1 = (x %= 2); >-if (x1 !== -1) { >- testFailed('#1: var x = -1; var x1 = (x %= 2); x1 === -1. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = -1; >-y1 = (y %= 2); >-if (y1 !== -1) { >- testFailed('#2: y = -1; y1 = (y %= 2); y1 === -1. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4-expected.txt >deleted file mode 100644 >index 207a6644bbf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.html >deleted file mode 100644 >index 4680d950404..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T4; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x += y; >-*/ >- >-//CHECK#1 >-var x = 1; >-var x1 = (x += 1); >-if (x1 !== 2) { >- testFailed('#1: var x = 1; var x1 = (x += 1); x1 === 2. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 1; >-y1 = (y += 1); >-if (y1 !== 2) { >- testFailed('#2: y = 1; y1 = (y += 1); y1 === 2. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5-expected.txt >deleted file mode 100644 >index 8832a206c5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.html >deleted file mode 100644 >index 3bb9b43955f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T5; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x -= y; >-*/ >- >-//CHECK#1 >-var x = -1; >-var x1 = (x -= 1); >-if (x1 !== -2) { >- testFailed('#1: var x = -1; var x1 = (x -= 1); x1 === -2. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = -1; >-y1 = (y -= 1); >-if (y1 !== -2) { >- testFailed('#2: y = -1; y1 = (y -= 1); y1 === -2. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6-expected.txt >deleted file mode 100644 >index 64e7a03e4c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.html >deleted file mode 100644 >index 838f627e1e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T6; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x <<= y; >-*/ >- >-//CHECK#1 >-var x = 1; >-var x1 = (x <<= 1); >-if (x1 !== 2) { >- testFailed('#1: var x = 1; var x1 = (x <<= 1); x1 === 2. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 1; >-y1 = (y <<= 1); >-if (y1 !== 2) { >- testFailed('#2: y = 1; y1 = (y <<= 1); y1 === 2. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7-expected.txt >deleted file mode 100644 >index 19c6cfab00a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.html >deleted file mode 100644 >index 5693b8c2422..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T7; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x >>= y; >-*/ >- >-//CHECK#1 >-var x = 4; >-var x1 = (x >>= 1); >-if (x1 !== 2) { >- testFailed('#1: var x = 4; var x1 = (x >>= 1); x1 === 2. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 4; >-y1 = (y >>= 1); >-if (y1 !== 2) { >- testFailed('#2: y = 4; y1 = (y >>= 1); y1 === 2. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8-expected.txt >deleted file mode 100644 >index c5847a3cfbc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.html >deleted file mode 100644 >index 197d8b1a670..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T8; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x >>>= y; >-*/ >- >-//CHECK#1 >-var x = 4; >-var x1 = (x >>>= 1); >-if (x1 !== 2) { >- testFailed('#1: var x = 4; var x1 = (x >>>= 1); x1 === 2. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 4; >-y1 = (y >>>= 1); >-if (y1 !== 2) { >- testFailed('#2: y = 4; y1 = (y >>>= 1); y1 === 2. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9-expected.txt >deleted file mode 100644 >index 13150ef0718..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.html >deleted file mode 100644 >index 3bc21e77487..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A3.2_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A3.2_T9; >- * @section: 11.13.2; >- * @assertion: Operator x @= y returns x @ y; >- * @description: Checking Expression and Variable statements for x &= y; >-*/ >- >-//CHECK#1 >-var x = 1; >-var x1 = (x &= 1); >-if (x1 !== 1) { >- testFailed('#1: var x = 1; var x1 = (x &= 1); x1 === 1. Actual: ' + (x1)); >-} >- >-//CHECK#2 >-y = 1; >-y1 = (y &= 1); >-if (y1 !== 1) { >- testFailed('#2: y = 1; y1 = (y &= 1); y1 === 1. Actual: ' + (y1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1-expected.txt >deleted file mode 100644 >index bcb79d10242..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.html >deleted file mode 100644 >index a4c8e3c7f62..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T1.1; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x ^= true; >-if (x !== 0) { >- testFailed('#1: x = true; x ^= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x ^= true; >-if (x !== 0) { >- testFailed('#2: x = new Boolean(true); x ^= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x ^= new Boolean(true); >-if (x !== 0) { >- testFailed('#3: x = true; x ^= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x ^= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = new Boolean(true); x ^= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2-expected.txt >deleted file mode 100644 >index 3293817bd65..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.html >deleted file mode 100644 >index c8d543d0ce1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T1.2; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x ^= 1; >-if (x !== 0) { >- testFailed('#1: x = 1; x ^= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x ^= 1; >-if (x !== 0) { >- testFailed('#2: x = new Number(1); x ^= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x ^= new Number(1); >-if (x !== 0) { >- testFailed('#3: x = 1; x ^= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x ^= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = new Number(1); x ^= new Number(1); x === 0. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3-expected.txt >deleted file mode 100644 >index 5b95d647d64..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.html >deleted file mode 100644 >index 9d9d6bc24ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T1.3; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x ^= "1"; >-if (x !== 0) { >- testFailed('#1: x = "1"; x ^= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x ^= "1"; >-if (x !== 0) { >- testFailed('#2: x = new String("1"); x ^= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x ^= new String("1"); >-if (x !== 0) { >- testFailed('#3: x = "1"; x ^= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x ^= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = new String("1"); x ^= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x ^= "1"; >-if (x !== 1) { >- testFailed('#5: x = "x"; x ^= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x ^= "x"; >-if (x !== 1) { >- testFailed('#6: x = "1"; x ^= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4-expected.txt >deleted file mode 100644 >index df62a1d2840..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.html >deleted file mode 100644 >index 0687ea9c55c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T1.4; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x ^= undefined; >-if (x !== 0) { >- testFailed('#1: x = null; x ^= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x ^= null; >-if (x !== 0) { >- testFailed('#2: x = undefined; x ^= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x ^= undefined; >-if (x !== 0) { >- testFailed('#3: x = undefined; x ^= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x ^= null; >-if (x !== 0) { >- testFailed('#4: x = null; x ^= null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1-expected.txt >deleted file mode 100644 >index 8a43005013b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.html >deleted file mode 100644 >index 6e815d9fa01..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.1; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x ^= 1; >-if (x !== 0) { >- testFailed('#1: x = true; x ^= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x ^= true; >-if (x !== 0) { >- testFailed('#2: x = 1; x ^= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x ^= 1; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x ^= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x ^= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = 1; x ^= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x ^= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = true; x ^= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x ^= true; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x ^= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x ^= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x ^= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x ^= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x ^= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2-expected.txt >deleted file mode 100644 >index b066711bd0e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.html >deleted file mode 100644 >index 38cb5b75c40..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.2; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x ^= 1; >-if (x !== 0) { >- testFailed('#1: x = "1"; x ^= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x ^= "1"; >-if (x !== 0) { >- testFailed('#2: x = 1; x ^= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x ^= 1; >-if (x !== 0) { >- testFailed('#3: x = new String("1"); x ^= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x ^= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = 1; x ^= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x ^= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = "1"; x ^= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x ^= "1"; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x ^= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x ^= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new String("1"); x ^= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x ^= new String("1"); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x ^= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x ^= 1; >-if (x !== 1) { >- testFailed('#9: x = "x"; x ^= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x ^= "x"; >-if (x !== 1) { >- testFailed('#10: x = 1; x ^= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3-expected.txt >deleted file mode 100644 >index 9f6e305bd07..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.html >deleted file mode 100644 >index c96721b5d6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.3; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x ^= null; >-if (x !== 1) { >- testFailed('#1: x = 1; x ^= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x ^= 1; >-if (x !== 1) { >- testFailed('#2: x = null; x ^= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x ^= null; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x ^= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x ^= new Number(1); >-if (x !== 1) { >- testFailed('#4: x = null; x ^= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4-expected.txt >deleted file mode 100644 >index 6594016f517..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.html >deleted file mode 100644 >index 8e2c08dac5a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.4; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x ^= undefined; >-if (x !== 1) { >- testFailed('#1: x = 1; x ^= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x ^= 1; >-if (x !== 1) { >- testFailed('#2: x = undefined; x ^= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x ^= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x ^= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x ^= new Number(1); >-if (x !== 1) { >- testFailed('#4: x = undefined; x ^= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5-expected.txt >deleted file mode 100644 >index 4d9628dde88..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.html >deleted file mode 100644 >index 278e816d553..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.5; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x ^= "1"; >-if (x !== 0) { >- testFailed('#1: x = true; x ^= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x ^= true; >-if (x !== 0) { >- testFailed('#2: x = "1"; x ^= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x ^= "1"; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x ^= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x ^= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = "1"; x ^= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x ^= new String("1"); >-if (x !== 0) { >- testFailed('#5: x = true; x ^= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x ^= true; >-if (x !== 0) { >- testFailed('#6: x = new String("1"); x ^= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x ^= new String("1"); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x ^= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x ^= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new String("1"); x ^= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6-expected.txt >deleted file mode 100644 >index bebee6fb330..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.html >deleted file mode 100644 >index be92237e699..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.6; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x ^= undefined; >-if (x !== 1) { >- testFailed('#1: x = "1"; x ^= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x ^= "1"; >-if (x !== 1) { >- testFailed('#2: x = undefined; x ^= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x ^= undefined; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x ^= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x ^= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = undefined; x ^= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7-expected.txt >deleted file mode 100644 >index b8429a4d2cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.html >deleted file mode 100644 >index d35657acb28..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.7; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x ^= null; >-if (x !== 1) { >- testFailed('#1: x = "1"; x ^= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x ^= "1"; >-if (x !== 1) { >- testFailed('#2: x = null; x ^= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x ^= null; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x ^= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x ^= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = null; x ^= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8-expected.txt >deleted file mode 100644 >index 8eb40753a87..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.html >deleted file mode 100644 >index 9ac74a2c327..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.8; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x ^= undefined; >-if (x !== 1) { >- testFailed('#1: x = true; x ^= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x ^= true; >-if (x !== 1) { >- testFailed('#2: x = undefined; x ^= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x ^= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x ^= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x ^= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = undefined; x ^= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9-expected.txt >deleted file mode 100644 >index bd628568274..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.html >deleted file mode 100644 >index e9db5ce1dde..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.10_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.10_T2.9; >- * @section: 11.13.2, 11.10.2; >- * @assertion: The production x ^= y is the same as x = x ^ y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x ^= null; >-if (x !== 1) { >- testFailed('#1: x = true; x ^= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x ^= true; >-if (x !== 1) { >- testFailed('#2: x = null; x ^= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x ^= null; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x ^= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x ^= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = null; x ^= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1-expected.txt >deleted file mode 100644 >index ccf75d21b83..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.html >deleted file mode 100644 >index 9444afe6d01..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T1.1; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x |= true; >-if (x !== 1) { >- testFailed('#1: x = true; x |= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x |= true; >-if (x !== 1) { >- testFailed('#2: x = new Boolean(true); x |= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x |= new Boolean(true); >-if (x !== 1) { >- testFailed('#3: x = true; x |= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x |= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = new Boolean(true); x |= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2-expected.txt >deleted file mode 100644 >index 9286736abf9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.html >deleted file mode 100644 >index d4cedf77b66..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T1.2; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x |= 1; >-if (x !== 1) { >- testFailed('#1: x = 1; x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x |= 1; >-if (x !== 1) { >- testFailed('#2: x = new Number(1); x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x |= new Number(1); >-if (x !== 1) { >- testFailed('#3: x = 1; x |= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x |= new Number(1); >-if (x !== 1) { >- testFailed('#4: x = new Number(1); x |= new Number(1); x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3-expected.txt >deleted file mode 100644 >index 821f2a4204d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.html >deleted file mode 100644 >index 0d833cbaac7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T1.3; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x |= "1"; >-if (x !== 1) { >- testFailed('#1: x = "1"; x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x |= "1"; >-if (x !== 1) { >- testFailed('#2: x = new String("1"); x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x |= new String("1"); >-if (x !== 1) { >- testFailed('#3: x = "1"; x |= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x |= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = new String("1"); x |= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x |= "1"; >-if (x !== 1) { >- testFailed('#5: x = "x"; x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x |= "x"; >-if (x !== 1) { >- testFailed('#6: x = "1"; x |= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4-expected.txt >deleted file mode 100644 >index 9344fc44579..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.html >deleted file mode 100644 >index 39264470333..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T1.4; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x |= undefined; >-if (x !== 0) { >- testFailed('#1: x = null; x |= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x |= null; >-if (x !== 0) { >- testFailed('#2: x = undefined; x |= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x |= undefined; >-if (x !== 0) { >- testFailed('#3: x = undefined; x |= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x |= null; >-if (x !== 0) { >- testFailed('#4: x = null; x |= null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1-expected.txt >deleted file mode 100644 >index 17ca346f63a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.html >deleted file mode 100644 >index 7d773ecb89b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.1; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x |= 1; >-if (x !== 1) { >- testFailed('#1: x = true; x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x |= true; >-if (x !== 1) { >- testFailed('#2: x = 1; x |= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x |= 1; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x |= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = 1; x |= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x |= new Number(1); >-if (x !== 1) { >- testFailed('#5: x = true; x |= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x |= true; >-if (x !== 1) { >- testFailed('#6: x = new Number(1); x |= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x |= new Number(1); >-if (x !== 1) { >- testFailed('#7: x = new Boolean(true); x |= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x |= new Boolean(true); >-if (x !== 1) { >- testFailed('#8: x = new Number(1); x |= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2-expected.txt >deleted file mode 100644 >index 9cb2c299640..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.html >deleted file mode 100644 >index c124b1eeb14..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.2; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x |= 1; >-if (x !== 1) { >- testFailed('#1: x = "1"; x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x |= "1"; >-if (x !== 1) { >- testFailed('#2: x = 1; x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x |= 1; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x |= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = 1; x |= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x |= new Number(1); >-if (x !== 1) { >- testFailed('#5: x = "1"; x |= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x |= "1"; >-if (x !== 1) { >- testFailed('#6: x = new Number(1); x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x |= new Number(1); >-if (x !== 1) { >- testFailed('#7: x = new String("1"); x |= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x |= new String("1"); >-if (x !== 1) { >- testFailed('#8: x = new Number(1); x |= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x |= 1; >-if (x !== 1) { >- testFailed('#9: x = "x"; x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x |= "x"; >-if (x !== 1) { >- testFailed('#10: x = 1; x |= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3-expected.txt >deleted file mode 100644 >index fe7ecf22ac5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.html >deleted file mode 100644 >index 2726e162554..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.3; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x |= null; >-if (x !== 1) { >- testFailed('#1: x = 1; x |= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x |= 1; >-if (x !== 1) { >- testFailed('#2: x = null; x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x |= null; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x |= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x |= new Number(1); >-if (x !== 1) { >- testFailed('#4: x = null; x |= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4-expected.txt >deleted file mode 100644 >index 88be09ee50f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.html >deleted file mode 100644 >index 37c3803a17f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.4; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x |= undefined; >-if (x !== 1) { >- testFailed('#1: x = 1; x |= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x |= 1; >-if (x !== 1) { >- testFailed('#2: x = undefined; x |= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x |= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x |= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x |= new Number(1); >-if (x !== 1) { >- testFailed('#4: x = undefined; x |= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5-expected.txt >deleted file mode 100644 >index f53ff523842..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.html >deleted file mode 100644 >index a4cf57ea7e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.5; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x |= "1"; >-if (x !== 1) { >- testFailed('#1: x = true; x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x |= true; >-if (x !== 1) { >- testFailed('#2: x = "1"; x |= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x |= "1"; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x |= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = "1"; x |= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x |= new String("1"); >-if (x !== 1) { >- testFailed('#5: x = true; x |= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x |= true; >-if (x !== 1) { >- testFailed('#6: x = new String("1"); x |= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x |= new String("1"); >-if (x !== 1) { >- testFailed('#7: x = new Boolean(true); x |= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x |= new Boolean(true); >-if (x !== 1) { >- testFailed('#8: x = new String("1"); x |= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6-expected.txt >deleted file mode 100644 >index e277d4a3eeb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.html >deleted file mode 100644 >index a2a0944e6f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.6; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x |= undefined; >-if (x !== 1) { >- testFailed('#1: x = "1"; x |= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x |= "1"; >-if (x !== 1) { >- testFailed('#2: x = undefined; x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x |= undefined; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x |= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x |= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = undefined; x |= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7-expected.txt >deleted file mode 100644 >index 85d374a5c55..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.html >deleted file mode 100644 >index b04f3d146ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.7; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x |= null; >-if (x !== 1) { >- testFailed('#1: x = "1"; x |= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x |= "1"; >-if (x !== 1) { >- testFailed('#2: x = null; x |= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x |= null; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x |= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x |= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = null; x |= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8-expected.txt >deleted file mode 100644 >index ba69329e6d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.html >deleted file mode 100644 >index 4a423292442..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.8; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x |= undefined; >-if (x !== 1) { >- testFailed('#1: x = true; x |= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x |= true; >-if (x !== 1) { >- testFailed('#2: x = undefined; x |= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x |= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x |= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x |= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = undefined; x |= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9-expected.txt >deleted file mode 100644 >index 24d5aa4875b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.html >deleted file mode 100644 >index d2a78bc1000..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.11_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.11_T2.9; >- * @section: 11.13.2, 11.10.3; >- * @assertion: The production x |= y is the same as x = x | y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x |= null; >-if (x !== 1) { >- testFailed('#1: x = true; x |= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x |= true; >-if (x !== 1) { >- testFailed('#2: x = null; x |= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x |= null; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x |= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x |= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = null; x |= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1-expected.txt >deleted file mode 100644 >index 613fbd29229..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.html >deleted file mode 100644 >index 7a454c9b749..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T1.1; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x *= true; >-if (x !== 1) { >- testFailed('#1: x = true; x *= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x *= true; >-if (x !== 1) { >- testFailed('#2: x = new Boolean(true); x *= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x *= new Boolean(true); >-if (x !== 1) { >- testFailed('#3: x = true; x *= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x *= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = new Boolean(true); x *= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2-expected.txt >deleted file mode 100644 >index 2667e572a6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.html >deleted file mode 100644 >index dd652af08d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T1.2; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x *= 1; >-if (x !== 1) { >- testFailed('#1: x = 1; x *= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x *= 1; >-if (x !== 1) { >- testFailed('#2: x = new Number(1); x *= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x *= new Number(1); >-if (x !== 1) { >- testFailed('#3: x = 1; x *= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x *= new Number(1); >-if (x !== 1) { >- testFailed('#4: x = new Number(1); x *= new Number(1); x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3-expected.txt >deleted file mode 100644 >index 5eba3be1e97..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.html >deleted file mode 100644 >index ae3a397457a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T1.3; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x *= "1"; >-if (x !== 1) { >- testFailed('#1: x = "1"; x *= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x *= "1"; >-if (x !== 1) { >- testFailed('#2: x = new String("1"); x *= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x *= new String("1"); >-if (x !== 1) { >- testFailed('#3: x = "1"; x *= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x *= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = new String("1"); x *= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x *= "1"; >-if (isNaN(x) !== true) { >- testFailed('#5: x = "x"; x *= "1"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x *= "x"; >-if (isNaN(x) !== true) { >- testFailed('#6: x = "1"; x *= "x"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4-expected.txt >deleted file mode 100644 >index 86d330d406b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.html >deleted file mode 100644 >index 2e123f6856b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T1.4; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x *= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = null; x *= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x *= null; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x *= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x *= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = undefined; x *= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x *= null; >-if (x !== 0) { >- testFailed('#4: x = null; x *= null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1-expected.txt >deleted file mode 100644 >index f20ab451b91..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.html >deleted file mode 100644 >index ef6f90e1906..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.1; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Number (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x *= 1; >-if (x !== 1) { >- testFailed('#1: x = true; x *= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x *= true; >-if (x !== 1) { >- testFailed('#2: x = 1; x *= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x *= 1; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x *= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x *= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = 1; x *= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x *= new Number(1); >-if (x !== 1) { >- testFailed('#5: x = true; x *= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x *= true; >-if (x !== 1) { >- testFailed('#6: x = new Number(1); x *= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x *= new Number(1); >-if (x !== 1) { >- testFailed('#7: x = new Boolean(true); x *= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x *= new Boolean(true); >-if (x !== 1) { >- testFailed('#8: x = new Number(1); x *= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2-expected.txt >deleted file mode 100644 >index c5e3269d619..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.html >deleted file mode 100644 >index a6765b5d56b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.2; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x *= 1; >-if (x !== 1) { >- testFailed('#1: x = "1"; x *= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x *= "1"; >-if (x !== 1) { >- testFailed('#2: x = 1; x *= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x *= 1; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x *= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x *= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = 1; x *= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x *= new Number(1); >-if (x !== 1) { >- testFailed('#5: x = "1"; x *= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x *= "1"; >-if (x !== 1) { >- testFailed('#6: x = new Number(1); x *= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x *= new Number(1); >-if (x !== 1) { >- testFailed('#7: x = new String("1"); x *= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x *= new String("1"); >-if (x !== 1) { >- testFailed('#8: x = new Number(1); x *= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x *= 1; >-if (isNaN(x) !== true) { >- testFailed('#9: x = "x"; x *= 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x *= "x"; >-if (isNaN(x) !== true) { >- testFailed('#10: x = 1; x *= "x"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3-expected.txt >deleted file mode 100644 >index 1482be39656..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.html >deleted file mode 100644 >index c3e6fdfdcce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.3; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x *= null; >-if (x !== 0) { >- testFailed('#1: x = 1; x *= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x *= 1; >-if (x !== 0) { >- testFailed('#2: x = null; x *= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x *= null; >-if (x !== 0) { >- testFailed('#3: x = new Number(1); x *= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x *= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = null; x *= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4-expected.txt >deleted file mode 100644 >index 004a24edb3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.html >deleted file mode 100644 >index b589a86f9ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.4; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x *= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = 1; x *= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x *= 1; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x *= 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x *= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Number(1); x *= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x *= new Number(1); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x *= new Number(1); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5-expected.txt >deleted file mode 100644 >index 3c17972faf8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.html >deleted file mode 100644 >index 30cff7504cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.5; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) amd Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x *= "1"; >-if (x !== 1) { >- testFailed('#1: x = true; x *= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x *= true; >-if (x !== 1) { >- testFailed('#2: x = "1"; x *= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x *= "1"; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x *= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x *= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = "1"; x *= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x *= new String("1"); >-if (x !== 1) { >- testFailed('#5: x = true; x *= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x *= true; >-if (x !== 1) { >- testFailed('#6: x = new String("1"); x *= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x *= new String("1"); >-if (x !== 1) { >- testFailed('#7: x = new Boolean(true); x *= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x *= new Boolean(true); >-if (x !== 1) { >- testFailed('#8: x = new String("1"); x *= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6-expected.txt >deleted file mode 100644 >index c304d1916e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.html >deleted file mode 100644 >index 59c5c03e4e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.6; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between primitive String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x *= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = "1"; x *= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x *= "1"; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x *= "1"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x *= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new String("1"); x *= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x *= new String("1"); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x *= new String("1"); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7-expected.txt >deleted file mode 100644 >index 7b5ba015592..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.html >deleted file mode 100644 >index 16202aebede..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.7; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x *= null; >-if (x !== 0) { >- testFailed('#1: x = "1"; x *= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x *= "1"; >-if (x !== 0) { >- testFailed('#2: x = null; x *= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x *= null; >-if (x !== 0) { >- testFailed('#3: x = new String("1"); x *= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x *= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = null; x *= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8-expected.txt >deleted file mode 100644 >index d5646346d94..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.html >deleted file mode 100644 >index 42116759d9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.8; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x *= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = true; x *= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x *= true; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x *= true; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x *= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Boolean(true); x *= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x *= new Boolean(true); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x *= new Boolean(true); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9-expected.txt >deleted file mode 100644 >index 3733bd50ad4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.html >deleted file mode 100644 >index 0a23e2cb58f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.1_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.1_T2.9; >- * @section: 11.13.2, 11.5.1; >- * @assertion: The production x *= y is the same as the production x = x * y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x *= null; >-if (x !== 0) { >- testFailed('#1: x = true; x *= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x *= true; >-if (x !== 0) { >- testFailed('#2: x = null; x *= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x *= null; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x *= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x *= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = null; x *= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1-expected.txt >deleted file mode 100644 >index 8e43985e33a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.html >deleted file mode 100644 >index 88a86166115..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T1.1; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x /= true; >-if (x !== 1) { >- testFailed('#1: x = true; x /= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x /= true; >-if (x !== 1) { >- testFailed('#2: x = new Boolean(true); x /= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x /= new Boolean(true); >-if (x !== 1) { >- testFailed('#3: x = true; x /= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x /= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = new Boolean(true); x /= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2-expected.txt >deleted file mode 100644 >index 9dec2f55c7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.html >deleted file mode 100644 >index 89db0d9554f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T1.2; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x /= 1; >-if (x !== 1) { >- testFailed('#1: x = 1; x /= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x /= 1; >-if (x !== 1) { >- testFailed('#2: x = new Number(1); x /= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x /= new Number(1); >-if (x !== 1) { >- testFailed('#3: x = 1; x /= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x /= new Number(1); >-if (x !== 1) { >- testFailed('#4: x = new Number(1); x /= new Number(1); x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3-expected.txt >deleted file mode 100644 >index e89a835bced..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.html >deleted file mode 100644 >index 8b2999bfa75..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T1.3; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x /= "1"; >-if (x !== 1) { >- testFailed('#1: x = "1"; x /= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x /= "1"; >-if (x !== 1) { >- testFailed('#2: x = new String("1"); x /= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x /= new String("1"); >-if (x !== 1) { >- testFailed('#3: x = "1"; x /= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x /= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = new String("1"); x /= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x /= "1"; >-if (isNaN(x) !== true) { >- testFailed('#5: x = "x"; x /= "1"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x /= "x"; >-if (isNaN(x) !== true) { >- testFailed('#6: x = "1"; x /= "x"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4-expected.txt >deleted file mode 100644 >index f38b7d54388..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.html >deleted file mode 100644 >index 7359e804318..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T1.4; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x /= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = null; x /= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x /= null; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x /= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x /= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = undefined; x /= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x /= null; >-if (isNaN(x) !== true) { >- testFailed('#4: x = null; x /= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1-expected.txt >deleted file mode 100644 >index 05bde73efe1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.html >deleted file mode 100644 >index 71a481de6dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.1; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x /= 1; >-if (x !== 1) { >- testFailed('#1: x = true; x /= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x /= true; >-if (x !== 1) { >- testFailed('#2: x = 1; x /= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x /= 1; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x /= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x /= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = 1; x /= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x /= new Number(1); >-if (x !== 1) { >- testFailed('#5: x = true; x /= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x /= true; >-if (x !== 1) { >- testFailed('#6: x = new Number(1); x /= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x /= new Number(1); >-if (x !== 1) { >- testFailed('#7: x = new Boolean(true); x /= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x /= new Boolean(true); >-if (x !== 1) { >- testFailed('#8: x = new Number(1); x /= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2-expected.txt >deleted file mode 100644 >index 8484f8d4ab8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.html >deleted file mode 100644 >index 6a0b7e3eb07..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.2; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x /= 1; >-if (x !== 1) { >- testFailed('#1: x = "1"; x /= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x /= "1"; >-if (x !== 1) { >- testFailed('#2: x = 1; x /= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x /= 1; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x /= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x /= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = 1; x /= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x /= new Number(1); >-if (x !== 1) { >- testFailed('#5: x = "1"; x /= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x /= "1"; >-if (x !== 1) { >- testFailed('#6: x = new Number(1); x /= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x /= new Number(1); >-if (x !== 1) { >- testFailed('#7: x = new String("1"); x /= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x /= new String("1"); >-if (x !== 1) { >- testFailed('#8: x = new Number(1); x /= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x /= 1; >-if (isNaN(x) !== true) { >- testFailed('#9: x = "x"; x /= 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x /= "x"; >-if (isNaN(x) !== true) { >- testFailed('#10: x = 1; x /= "x"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3-expected.txt >deleted file mode 100644 >index 2cd109ec621..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.html >deleted file mode 100644 >index deba03aa408..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.3; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x /= null; >-if (x !== Number.POSITIVE_INFINITY) { >- testFailed('#1: x = 1; x /= null; x === +Infinity. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x /= 1; >-if (x !== 0) { >- testFailed('#2: x = null; x /= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x /= null; >-if (x !== Number.POSITIVE_INFINITY) { >- testFailed('#3: x = new Number(1); x /= null; x === +Infinity. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x /= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = null; x /= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4-expected.txt >deleted file mode 100644 >index e9affd10705..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.html >deleted file mode 100644 >index a38b311f393..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.4; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x /= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = 1; x /= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x /= 1; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x /= 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x /= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Number(1); x /= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x /= new Number(1); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x /= new Number(1); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5-expected.txt >deleted file mode 100644 >index 58f28c2f53e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.html >deleted file mode 100644 >index 6c84a15e226..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.5; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x /= "1"; >-if (x !== 1) { >- testFailed('#1: x = true; x /= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x /= true; >-if (x !== 1) { >- testFailed('#2: x = "1"; x /= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x /= "1"; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x /= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x /= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = "1"; x /= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x /= new String("1"); >-if (x !== 1) { >- testFailed('#5: x = true; x /= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x /= true; >-if (x !== 1) { >- testFailed('#6: x = new String("1"); x /= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x /= new String("1"); >-if (x !== 1) { >- testFailed('#7: x = new Boolean(true); x /= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x /= new Boolean(true); >-if (x !== 1) { >- testFailed('#8: x = new String("1"); x /= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6-expected.txt >deleted file mode 100644 >index 326f6f4f5f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.html >deleted file mode 100644 >index 5804d1d03fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.6; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x /= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = "1"; x /= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x /= "1"; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x /= "1"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x /= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new String("1"); x /= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x /= new String("1"); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x /= new String("1"); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7-expected.txt >deleted file mode 100644 >index e568c6dfdb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.html >deleted file mode 100644 >index 35e20a1006d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.7; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x /= null; >-if (x !== Number.POSITIVE_INFINITY) { >- testFailed('#1: x = "1"; x /= null; x === +Infinity. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x /= "1"; >-if (x !== 0) { >- testFailed('#2: x = null; x /= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x /= null; >-if (x !== Number.POSITIVE_INFINITY) { >- testFailed('#3: x = new String("1"); x /= null; x === +Infinity. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x /= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = null; x /= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8-expected.txt >deleted file mode 100644 >index adc3723473f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.html >deleted file mode 100644 >index f87a178d57f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.8; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x /= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = true; x /= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x /= true; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x /= true; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x /= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Boolean(true); x /= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x /= new Boolean(true); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x /= new Boolean(true); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9-expected.txt >deleted file mode 100644 >index e942b967dfa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.html >deleted file mode 100644 >index b268f7b9971..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.2_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.2_T2.9; >- * @section: 11.13.2, 11.5.2; >- * @assertion: The production x /= y is the same as x = x / y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x /= null; >-if (x !== Number.POSITIVE_INFINITY) { >- testFailed('#1: x = true; x /= null; x === +Infinity. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x /= true; >-if (x !== 0) { >- testFailed('#2: x = null; x /= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x /= null; >-if (x !== Number.POSITIVE_INFINITY) { >- testFailed('#3: x = new Boolean(true); x /= null; x === +Infinity. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x /= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = null; x /= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1-expected.txt >deleted file mode 100644 >index 1efebd79dc4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.html >deleted file mode 100644 >index 8a22e3981c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T1.1; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x %= true; >-if (x !== 0) { >- testFailed('#1: x = true; x %= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x %= true; >-if (x !== 0) { >- testFailed('#2: x = new Boolean(true); x %= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x %= new Boolean(true); >-if (x !== 0) { >- testFailed('#3: x = true; x %= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x %= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = new Boolean(true); x %= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2-expected.txt >deleted file mode 100644 >index 3b5bb41b508..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.html >deleted file mode 100644 >index 7c182bf63a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T1.2; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x %= 1; >-if (x !== 0) { >- testFailed('#1: x = 1; x %= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x %= 1; >-if (x !== 0) { >- testFailed('#2: x = new Number(1); x %= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x %= new Number(1); >-if (x !== 0) { >- testFailed('#3: x = 1; x %= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x %= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = new Number(1); x %= new Number(1); x === 0. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3-expected.txt >deleted file mode 100644 >index fd2dae84220..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.html >deleted file mode 100644 >index 66236c62848..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T1.3; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x %= "1"; >-if (x !== 0) { >- testFailed('#1: x = "1"; x %= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x %= "1"; >-if (x !== 0) { >- testFailed('#2: x = new String("1"); x %= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x %= new String("1"); >-if (x !== 0) { >- testFailed('#3: x = "1"; x %= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x %= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = new String("1"); x %= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x %= "1"; >-if (isNaN(x) !== true) { >- testFailed('#5: x = "x"; x %= "1"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x %= "x"; >-if (isNaN(x) !== true) { >- testFailed('#6: x = "1"; x %= "x"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4-expected.txt >deleted file mode 100644 >index 79c3d9cd95b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.html >deleted file mode 100644 >index 36c0367230c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T1.4; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x %= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = null; x %= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x %= null; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x %= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x %= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = undefined; x %= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x %= null; >-if (isNaN(x) !== true) { >- testFailed('#4: x = null; x %= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1-expected.txt >deleted file mode 100644 >index 5bb4cc7917a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.html >deleted file mode 100644 >index 3b6d9bba14e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.1; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x %= 1; >-if (x !== 0) { >- testFailed('#1: x = true; x %= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x %= true; >-if (x !== 0) { >- testFailed('#2: x = 1; x %= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x %= 1; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x %= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x %= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = 1; x %= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x %= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = true; x %= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x %= true; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x %= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x %= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x %= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x %= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x %= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2-expected.txt >deleted file mode 100644 >index 8020fde1298..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.html >deleted file mode 100644 >index 3887f11a06c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.2; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x %= 1; >-if (x !== 0) { >- testFailed('#1: x = "1"; x %= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x %= "1"; >-if (x !== 0) { >- testFailed('#2: x = 1; x %= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x %= 1; >-if (x !== 0) { >- testFailed('#3: x = new String("1"); x %= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x %= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = 1; x %= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x %= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = "1"; x %= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x %= "1"; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x %= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x %= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new String("1"); x %= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x %= new String("1"); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x %= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x %= 1; >-if (isNaN(x) !== true) { >- testFailed('#9: x = "x"; x %= 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x %= "x"; >-if (isNaN(x) !== true) { >- testFailed('#10: x = 1; x %= "x"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3-expected.txt >deleted file mode 100644 >index 8dc71f14d44..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.html >deleted file mode 100644 >index 7a4bdef5733..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.3; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x %= null; >-if (isNaN(x) !== true) { >- testFailed('#1: x = 1; x %= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x %= 1; >-if (x !== 0) { >- testFailed('#2: x = null; x %= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x %= null; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Number(1); x %= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x %= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = null; x %= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4-expected.txt >deleted file mode 100644 >index d854ae87d50..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.html >deleted file mode 100644 >index 4927949e26b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.4; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x %= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = 1; x %= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x %= 1; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x %= 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x %= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Number(1); x %= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x %= new Number(1); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x %= new Number(1); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5-expected.txt >deleted file mode 100644 >index 8b2c2f97eae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.html >deleted file mode 100644 >index c361e666dce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.5; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x %= "1"; >-if (x !== 0) { >- testFailed('#1: x = true; x %= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x %= true; >-if (x !== 0) { >- testFailed('#2: x = "1"; x %= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x %= "1"; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x %= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x %= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = "1"; x %= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x %= new String("1"); >-if (x !== 0) { >- testFailed('#5: x = true; x %= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x %= true; >-if (x !== 0) { >- testFailed('#6: x = new String("1"); x %= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x %= new String("1"); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x %= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x %= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new String("1"); x %= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6-expected.txt >deleted file mode 100644 >index 4f533c2364e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.html >deleted file mode 100644 >index 72fb973cabe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.6; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x %= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = "1"; x %= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x %= "1"; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x %= "1"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x %= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new String("1"); x %= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x %= new String("1"); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x %= new String("1"); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7-expected.txt >deleted file mode 100644 >index 0dbefd03668..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.html >deleted file mode 100644 >index a7ecefaef11..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.7; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x %= null; >-if (isNaN(x) !== true) { >- testFailed('#1: x = "1"; x %= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x %= "1"; >-if (x !== 0) { >- testFailed('#2: x = null; x %= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x %= null; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new String("1"); x %= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x %= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = null; x %= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8-expected.txt >deleted file mode 100644 >index 4c5c8479769..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.html >deleted file mode 100644 >index df28d06263a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.8; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x %= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = true; x %= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x %= true; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x %= true; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x %= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Boolean(true); x %= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x %= new Boolean(true); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x %= new Boolean(true); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9-expected.txt >deleted file mode 100644 >index e7ad63b7c05..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.html >deleted file mode 100644 >index e20f8a38a78..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.3_T2.9; >- * @section: 11.13.2, 11.5.3; >- * @assertion: The production x %= y is the same as x = x % y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x %= null; >-if (isNaN(x) !== true) { >- testFailed('#1: x = true; x %= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x %= true; >-if (x !== 0) { >- testFailed('#2: x = null; x %= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x %= null; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Boolean(true); x %= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x %= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = null; x %= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1-expected.txt >deleted file mode 100644 >index c3367a383a6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.html >deleted file mode 100644 >index 13d6325fc3d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T1.1; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x += true; >-if (x !== 2) { >- testFailed('#1: x = true; x += true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x += true; >-if (x !== 2) { >- testFailed('#2: x = new Boolean(true); x += true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x += new Boolean(true); >-if (x !== 2) { >- testFailed('#3: x = true; x += new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x += new Boolean(true); >-if (x !== 2) { >- testFailed('#4: x = new Boolean(true); x += new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2-expected.txt >deleted file mode 100644 >index b3bc843f38d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.html >deleted file mode 100644 >index c93d5573fcd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T1.2; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x += 1; >-if (x !== 2) { >- testFailed('#1: x = 1; x += 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x += 1; >-if (x !== 2) { >- testFailed('#2: x = new Number(1); x += 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x += new Number(1); >-if (x !== 2) { >- testFailed('#3: x = 1; x += new Number(1); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x += new Number(1); >-if (x !== 2) { >- testFailed('#4: x = new Number(1); x += new Number(1); x === 2. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3-expected.txt >deleted file mode 100644 >index 167410f628f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.html >deleted file mode 100644 >index 3bebade7b52..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T1.3; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x += undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = null; x += undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x += null; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x += null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x += undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = undefined; x += undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x += null; >-if (x !== 0) { >- testFailed('#4: x = null; x += null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4-expected.txt >deleted file mode 100644 >index 90d93773817..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.html >deleted file mode 100644 >index e38e26b9238..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T1.4; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x += "1"; >-if (x !== "11") { >- testFailed('#1: x = "1"; x += "1"; x === "11". Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x += "1"; >-if (x !== "11") { >- testFailed('#2: x = new String("1"); x += "1"; x === "11". Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x += new String("1"); >-if (x !== "11") { >- testFailed('#3: x = "1"; x += new String("1"); x === "11". Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x += new String("1"); >-if (x !== "11") { >- testFailed('#4: x = new String("1"); x += new String("1"); x === "11". Actual: ' + (x)); >-} >- >-//CHECK#5 >-if ("x" + "1" !=="x1") { >- testFailed('#5: x = "x"; x += "1"; x === "x1". Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x += "x"; >-if (x !== "1x") { >- testFailed('#6: x = "1"; x += "x"; x === "1x". Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1-expected.txt >deleted file mode 100644 >index fde190e9ba3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.html >deleted file mode 100644 >index d0e1796e0eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.1; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x += 1; >-if (x !== 2) { >- testFailed('#1: x = true; x += 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x += true; >-if (x !== 2) { >- testFailed('#2: x = 1; x += true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x += 1; >-if (x !== 2) { >- testFailed('#3: x = new Boolean(true); x += 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x += new Boolean(true); >-if (x !== 2) { >- testFailed('#4: x = 1; x += new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x += new Number(1); >-if (x !== 2) { >- testFailed('#5: x = true; x += new Number(1); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x += true; >-if (x !== 2) { >- testFailed('#6: x = new Number(1); x += true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x += new Number(1); >-if (x !== 2) { >- testFailed('#7: x = new Boolean(true); x += new Number(1); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x += new Boolean(true); >-if (x !== 2) { >- testFailed('#8: x = new Number(1); x += new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2-expected.txt >deleted file mode 100644 >index b8b84052ad8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.html >deleted file mode 100644 >index 500761acca7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.2; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x += null; >-if (x !== 1) { >- testFailed('#1: x = 1; x += null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x += 1; >-if (x !== 1) { >- testFailed('#2: x = null; x += 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x += null; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x += null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x += new Number(1); >-if (x !== 1) { >- testFailed('#4: x = null; x += new Number(1); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3-expected.txt >deleted file mode 100644 >index a93b6a1a12b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.html >deleted file mode 100644 >index 40a5e574034..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.3; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x += undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = 1; x += undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x += 1; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x += 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x += undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Number(1); x += undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x += new Number(1); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x += new Number(1); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4-expected.txt >deleted file mode 100644 >index 9a92f138f27..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.html >deleted file mode 100644 >index c6081033fb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.4; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x += undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = true; x += undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x += true; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x += true; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x += undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Boolean(true); x += undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x += new Boolean(true); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x += new Boolean(true); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5-expected.txt >deleted file mode 100644 >index d38a6286f78..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.html >deleted file mode 100644 >index 97575f0da40..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.5; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x += null; >-if (x !== 1) { >- testFailed('#1: x = true; x += null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x += true; >-if (x !== 1) { >- testFailed('#2: x = null; x += true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x += null; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x += null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x += new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = null; x += new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6-expected.txt >deleted file mode 100644 >index 62779dcb052..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.html >deleted file mode 100644 >index f2f3238e668..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.html >+++ /dev/null >@@ -1,160 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.6; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x += 1; >-if (x !== "11") { >- testFailed('#1: x = "1"; x += 1; x === "11". Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x += "1"; >-if (x !== "11") { >- testFailed('#2: x = 1; x += "1"; x === "11". Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x += 1; >-if (x !== "11") { >- testFailed('#3: x = new String("1"); x += 1; x === "11". Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x += new String("1"); >-if (x !== "11") { >- testFailed('#4: x = 1; x += new String("1"); x === "11". Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x += new Number(1); >-if (x !== "11") { >- testFailed('#5: x = "1"; x += new Number(1); x === "11". Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x += "1"; >-if (x !== "11") { >- testFailed('#6: x = new Number(1); x += "1"; x === "11". Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x += new Number(1); >-if (x !== "11") { >- testFailed('#7: x = new String("1"); x += new Number(1); x === "11". Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x += new String("1"); >-if (x !== "11") { >- testFailed('#8: x = new Number(1); x += new String("1"); x === "11". Actual: ' + (x)); >-} >- >-//CHECK#9 >-if ("x" + 1 !=="x1") { >- testFailed('#9: x = "x"; x += 1; x === "x1". Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x += "x"; >-if (x !== "1x") { >- testFailed('#10: x = 1; x += "x"; x === "1x". Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7-expected.txt >deleted file mode 100644 >index f1491f19ace..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.html >deleted file mode 100644 >index 29254582a6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.7; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x += "1"; >-if (x !== "true1") { >- testFailed('#1: x = true; x += "1"; x === "true1". Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x += true; >-if (x !== "1true") { >- testFailed('#2: x = "1"; x += true; x === "1true". Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x += "1"; >-if (x !== "true1") { >- testFailed('#3: x = new Boolean(true); x += "1"; x === "true1". Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x += new Boolean(true); >-if (x !== "1true") { >- testFailed('#4: x = "1"; x += new Boolean(true); x === "1true". Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x += new String("1"); >-if (x !== "true1") { >- testFailed('#5: x = true; x += new String("1"); x === "true1". Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x += true; >-if (x !== "1true") { >- testFailed('#6: x = new String("1"); x += true; x === "1true". Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x += new String("1"); >-if (x !== "true1") { >- testFailed('#7: x = new Boolean(true); x += new String("1"); x === "true1". Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x += new Boolean(true); >-if (x !== "1true") { >- testFailed('#8: x = new String("1"); x += new Boolean(true); x === "1true". Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8-expected.txt >deleted file mode 100644 >index ca2b994d6ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.html >deleted file mode 100644 >index c6418889a28..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.8; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x += undefined; >-if (x !== "1undefined") { >- testFailed('#1: x = "1"; x += undefined; x === "1undefined". Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x += "1"; >-if (x !== "undefined1") { >- testFailed('#2: x = undefined; x += "1"; x === "undefined1". Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x += undefined; >-if (x !== "1undefined") { >- testFailed('#3: x = new String("1"); x += undefined; x === "1undefined". Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x += new String("1"); >-if (x !== "undefined1") { >- testFailed('#4: x = undefined; x += new String("1"); x === "undefined1". Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9-expected.txt >deleted file mode 100644 >index 71537e3d212..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.html >deleted file mode 100644 >index 9b732928652..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.4_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.4_T2.9; >- * @section: 11.13.2, 11.6.1; >- * @assertion: The production x += y is the same as x = x + y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x += null; >-if (x !== "1null") { >- testFailed('#1: x = "1"; x += null; x === "1null". Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x += "1"; >-if (x !== "null1") { >- testFailed('#2: x = null; x += "1"; x === "null1". Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x += null; >-if (x !== "1null") { >- testFailed('#3: x = new String("1"); x += null; x === "1null". Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x += new String("1"); >-if (x !== "null1") { >- testFailed('#4: x = null; x += new String("1"); x === "null1". Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1-expected.txt >deleted file mode 100644 >index 1777a5c6505..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.html >deleted file mode 100644 >index e49bb1f0a8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T1.1; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x -= true; >-if (x !== 0) { >- testFailed('#1: x = true; x -= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x -= true; >-if (x !== 0) { >- testFailed('#2: x = new Boolean(true); x -= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x -= new Boolean(true); >-if (x !== 0) { >- testFailed('#3: x = true; x -= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x -= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = new Boolean(true); x -= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2-expected.txt >deleted file mode 100644 >index 2bf9cff28ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.html >deleted file mode 100644 >index a4dfab359bb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T1.2; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x -= 1; >-if (x !== 0) { >- testFailed('#1: x = 1; x -= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x -= 1; >-if (x !== 0) { >- testFailed('#2: x = new Number(1); x -= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x -= new Number(1); >-if (x !== 0) { >- testFailed('#3: x = 1; x -= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x -= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = new Number(1); x -= new Number(1); x === 0. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3-expected.txt >deleted file mode 100644 >index cc78c62d2a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.html >deleted file mode 100644 >index 1eeb4067d88..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T1.3; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x -= "1"; >-if (x !== 0) { >- testFailed('#1: x = "1"; x -= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x -= "1"; >-if (x !== 0) { >- testFailed('#2: x = new String("1"); x -= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x -= new String("1"); >-if (x !== 0) { >- testFailed('#3: x = "1"; x -= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x -= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = new String("1"); x -= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x -= "1"; >-if (isNaN(x) !== true) { >- testFailed('#5: x = "x"; x -= "1"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x -= "x"; >-if (isNaN(x) !== true) { >- testFailed('#6: x = "1"; x -= "x"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4-expected.txt >deleted file mode 100644 >index 6fb4106bc8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.html >deleted file mode 100644 >index ba547e39b95..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T1.4; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x -= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = null; x -= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x -= null; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x -= null; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x -= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = undefined; x -= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x -= null; >-if (x !== 0) { >- testFailed('#4: x = null; x -= null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1-expected.txt >deleted file mode 100644 >index afb714146a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.html >deleted file mode 100644 >index 8b3aa1022f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.1; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x -= 1; >-if (x !== 0) { >- testFailed('#1: x = true; x -= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x -= true; >-if (x !== 0) { >- testFailed('#2: x = 1; x -= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x -= 1; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x -= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x -= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = 1; x -= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x -= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = true; x -= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x -= true; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x -= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x -= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x -= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x -= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x -= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2-expected.txt >deleted file mode 100644 >index 195c6f81c0c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.html >deleted file mode 100644 >index 79a8bb2e46f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.2; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x -= 1; >-if (x !== 0) { >- testFailed('#1: x = "1"; x -= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x -= "1"; >-if (x !== 0) { >- testFailed('#2: x = 1; x -= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x -= 1; >-if (x !== 0) { >- testFailed('#3: x = new String("1"); x -= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x -= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = 1; x -= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x -= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = "1"; x -= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x -= "1"; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x -= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x -= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new String("1"); x -= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x -= new String("1"); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x -= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x -= 1; >-if (isNaN(x) !== true) { >- testFailed('#9: x = "x"; x -= 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x -= "x"; >-if (isNaN(x) !== true) { >- testFailed('#10: x = 1; x -= "x"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3-expected.txt >deleted file mode 100644 >index af0aa15ce3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.html >deleted file mode 100644 >index f2fca0a9b40..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.3; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x -= null; >-if (x !== 1) { >- testFailed('#1: x = 1; x -= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x -= 1; >-if (x !== -1) { >- testFailed('#2: x = null; x -= 1; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x -= null; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x -= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x -= new Number(1); >-if (x !== -1) { >- testFailed('#4: x = null; x -= new Number(1); x === -1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4-expected.txt >deleted file mode 100644 >index 39a59784413..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.html >deleted file mode 100644 >index 40e3cb84895..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.4; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x -= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = 1; x -= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x -= 1; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x -= 1; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x -= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Number(1); x -= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x -= new Number(1); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x -= new Number(1); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5-expected.txt >deleted file mode 100644 >index 6a14bc6d7bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.html >deleted file mode 100644 >index b9597e9bba1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.5; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x -= "1"; >-if (x !== 0) { >- testFailed('#1: x = true; x -= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x -= true; >-if (x !== 0) { >- testFailed('#2: x = "1"; x -= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x -= "1"; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x -= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x -= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = "1"; x -= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x -= new String("1"); >-if (x !== 0) { >- testFailed('#5: x = true; x -= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x -= true; >-if (x !== 0) { >- testFailed('#6: x = new String("1"); x -= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x -= new String("1"); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x -= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x -= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new String("1"); x -= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6-expected.txt >deleted file mode 100644 >index 166709a19b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.html >deleted file mode 100644 >index a9dbab639bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.6; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x -= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = "1"; x -= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x -= "1"; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x -= "1"; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x -= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new String("1"); x -= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x -= new String("1"); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x -= new String("1"); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7-expected.txt >deleted file mode 100644 >index 7637c51a831..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.html >deleted file mode 100644 >index 2aa862b0f8c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.7; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x -= null; >-if (x !== 1) { >- testFailed('#1: x = "1"; x -= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x -= "1"; >-if (x !== -1) { >- testFailed('#2: x = null; x -= "1"; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x -= null; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x -= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x -= new String("1"); >-if (x !== -1) { >- testFailed('#4: x = null; x -= new String("1"); x === -1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8-expected.txt >deleted file mode 100644 >index ad0103528e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.html >deleted file mode 100644 >index 1d733ee8fcb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.8; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x -= undefined; >-if (isNaN(x) !== true) { >- testFailed('#1: x = true; x -= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x -= true; >-if (isNaN(x) !== true) { >- testFailed('#2: x = undefined; x -= true; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x -= undefined; >-if (isNaN(x) !== true) { >- testFailed('#3: x = new Boolean(true); x -= undefined; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x -= new Boolean(true); >-if (isNaN(x) !== true) { >- testFailed('#4: x = undefined; x -= new Boolean(true); x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9-expected.txt >deleted file mode 100644 >index c1c40e055ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.html >deleted file mode 100644 >index 4169981c015..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.5_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.5_T2.9; >- * @section: 11.13.2, 11.6.2; >- * @assertion: The production x -= y is the same as x = x - y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x -= null; >-if (x !== 1) { >- testFailed('#1: x = true; x -= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x -= true; >-if (x !== -1) { >- testFailed('#2: x = null; x -= true; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x -= null; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x -= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x -= new Boolean(true); >-if (x !== -1) { >- testFailed('#4: x = null; x -= new Boolean(true); x === -1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1-expected.txt >deleted file mode 100644 >index ecc5f3fb317..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.html >deleted file mode 100644 >index 10a97beef71..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T1.1; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >-*/ >- >-//CHECK#1 >-x = true; >-x <<= true; >-if (x !== 2) { >- testFailed('#1: x = true; x <<= true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x <<= true; >-if (x !== 2) { >- testFailed('#2: x = new Boolean(true); x <<= true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x <<= new Boolean(true); >-if (x !== 2) { >- testFailed('#3: x = true; x <<= new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x <<= new Boolean(true); >-if (x !== 2) { >- testFailed('#4: x = new Boolean(true); x <<= new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2-expected.txt >deleted file mode 100644 >index 0d6556c01c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.html >deleted file mode 100644 >index 29e968e5910..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T1.2; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x <<= 1; >-if (x !== 2) { >- testFailed('#1: x = 1; x <<= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x <<= 1; >-if (x !== 2) { >- testFailed('#2: x = new Number(1); x <<= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x <<= new Number(1); >-if (x !== 2) { >- testFailed('#3: x = 1; x <<= new Number(1); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x <<= new Number(1); >-if (x !== 2) { >- testFailed('#4: x = new Number(1); x <<= new Number(1); x === 2. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3-expected.txt >deleted file mode 100644 >index ca9f33591b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.html >deleted file mode 100644 >index 9739a79fc60..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T1.3; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x <<= "1"; >-if (x !== 2) { >- testFailed('#1: x = "1"; x <<= "1"; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x <<= "1"; >-if (x !== 2) { >- testFailed('#2: x = new String("1"); x <<= "1"; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x <<= new String("1"); >-if (x !== 2) { >- testFailed('#3: x = "1"; x <<= new String("1"); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x <<= new String("1"); >-if (x !== 2) { >- testFailed('#4: x = new String("1"); x <<= new String("1"); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x <<= "1"; >-if (x !== 0) { >- testFailed('#5: x = "x"; x <<= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x <<= "x"; >-if (x !== 1) { >- testFailed('#6: x = "1"; x <<= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4-expected.txt >deleted file mode 100644 >index 43d782efef1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.html >deleted file mode 100644 >index b65cc70f178..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T1.4; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x <<= undefined; >-if (x !== 0) { >- testFailed('#1: x = null; x <<= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x <<= null; >-if (x !== 0) { >- testFailed('#2: x = undefined; x <<= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x <<= undefined; >-if (x !== 0) { >- testFailed('#3: x = undefined; x <<= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x <<= null; >-if (x !== 0) { >- testFailed('#4: x = null; x <<= null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1-expected.txt >deleted file mode 100644 >index b6cbbb60807..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.html >deleted file mode 100644 >index 4d7ff886005..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.1; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x <<= 1; >-if (x !== 2) { >- testFailed('#1: x = true; x <<= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x <<= true; >-if (x !== 2) { >- testFailed('#2: x = 1; x <<= true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x <<= 1; >-if (x !== 2) { >- testFailed('#3: x = new Boolean(true); x <<= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x <<= new Boolean(true); >-if (x !== 2) { >- testFailed('#4: x = 1; x <<= new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x <<= new Number(1); >-if (x !== 2) { >- testFailed('#5: x = true; x <<= new Number(1); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x <<= true; >-if (x !== 2) { >- testFailed('#6: x = new Number(1); x <<= true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x <<= new Number(1); >-if (x !== 2) { >- testFailed('#7: x = new Boolean(true); x <<= new Number(1); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x <<= new Boolean(true); >-if (x !== 2) { >- testFailed('#8: x = new Number(1); x <<= new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2-expected.txt >deleted file mode 100644 >index b35108de98b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.html >deleted file mode 100644 >index 0ea517daf97..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.2; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x <<= 1; >-if (x !== 2) { >- testFailed('#1: x = "1"; x <<= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x <<= "1"; >-if (x !== 2) { >- testFailed('#2: x = 1; x <<= "1"; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x <<= 1; >-if (x !== 2) { >- testFailed('#3: x = new String("1"); x <<= 1; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x <<= new String("1"); >-if (x !== 2) { >- testFailed('#4: x = 1; x <<= new String("1"); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x <<= new Number(1); >-if (x !== 2) { >- testFailed('#5: x = "1"; x <<= new Number(1); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x <<= "1"; >-if (x !== 2) { >- testFailed('#6: x = new Number(1); x <<= "1"; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x <<= new Number(1); >-if (x !== 2) { >- testFailed('#7: x = new String("1"); x <<= new Number(1); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x <<= new String("1"); >-if (x !== 2) { >- testFailed('#8: x = new Number(1); x <<= new String("1"); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x <<= 1; >-if (x !== 0) { >- testFailed('#9: x = "x"; x <<= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x <<= "x"; >-if (x !== 1) { >- testFailed('#10: x = 1; x <<= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3-expected.txt >deleted file mode 100644 >index 2e59f0539f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.html >deleted file mode 100644 >index 3e299e7dff2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.3; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x <<= null; >-if (x !== 1) { >- testFailed('#1: x = 1; x <<= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x <<= 1; >-if (x !== 0) { >- testFailed('#2: x = null; x <<= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x <<= null; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x <<= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x <<= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = null; x <<= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4-expected.txt >deleted file mode 100644 >index 96d2b12f55a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.html >deleted file mode 100644 >index 1bbcebc4617..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.4; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x <<= undefined; >-if (x !== 1) { >- testFailed('#1: x = 1; x <<= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x <<= 1; >-if (x !== 0) { >- testFailed('#2: x = undefined; x <<= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x <<= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x <<= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x <<= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = undefined; x <<= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5-expected.txt >deleted file mode 100644 >index 39a4dd664e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.html >deleted file mode 100644 >index 81a307e2395..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.5; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x <<= "1"; >-if (x !== 2) { >- testFailed('#1: x = true; x <<= "1"; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x <<= true; >-if (x !== 2) { >- testFailed('#2: x = "1"; x <<= true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x <<= "1"; >-if (x !== 2) { >- testFailed('#3: x = new Boolean(true); x <<= "1"; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x <<= new Boolean(true); >-if (x !== 2) { >- testFailed('#4: x = "1"; x <<= new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x <<= new String("1"); >-if (x !== 2) { >- testFailed('#5: x = true; x <<= new String("1"); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x <<= true; >-if (x !== 2) { >- testFailed('#6: x = new String("1"); x <<= true; x === 2. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x <<= new String("1"); >-if (x !== 2) { >- testFailed('#7: x = new Boolean(true); x <<= new String("1"); x === 2. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x <<= new Boolean(true); >-if (x !== 2) { >- testFailed('#8: x = new String("1"); x <<= new Boolean(true); x === 2. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6-expected.txt >deleted file mode 100644 >index 96a19b952a6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.html >deleted file mode 100644 >index df39f539cef..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.6; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x <<= undefined; >-if (x !== 1) { >- testFailed('#1: x = "1"; x <<= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x <<= "1"; >-if (x !== 0) { >- testFailed('#2: x = undefined; x <<= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x <<= undefined; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x <<= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x <<= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = undefined; x <<= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7-expected.txt >deleted file mode 100644 >index a8b5614a9f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.html >deleted file mode 100644 >index 49c2cbe1381..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.7; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x <<= null; >-if (x !== 1) { >- testFailed('#1: x = "1"; x <<= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x <<= "1"; >-if (x !== 0) { >- testFailed('#2: x = null; x <<= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x <<= null; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x <<= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x <<= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = null; x <<= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8-expected.txt >deleted file mode 100644 >index 9b05bbb472a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.html >deleted file mode 100644 >index 31300f9bc99..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.8; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x <<= undefined; >-if (x !== 1) { >- testFailed('#1: x = true; x <<= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x <<= true; >-if (x !== 0) { >- testFailed('#2: x = undefined; x <<= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x <<= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x <<= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x <<= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = undefined; x <<= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9-expected.txt >deleted file mode 100644 >index e757422a5c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.html >deleted file mode 100644 >index 5a96c0dbbf3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.6_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.6_T2.9; >- * @section: 11.13.2, 11.7.1; >- * @assertion: The production x <<= y is the same as x = x << y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x <<= null; >-if (x !== 1) { >- testFailed('#1: x = true; x <<= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x <<= true; >-if (x !== 0) { >- testFailed('#2: x = null; x <<= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x <<= null; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x <<= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x <<= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = null; x <<= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1-expected.txt >deleted file mode 100644 >index 74e2cb2fc18..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.html >deleted file mode 100644 >index 233743237d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T1.1; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x >>= true; >-if (x !== 0) { >- testFailed('#1: x = true; x >>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x >>= true; >-if (x !== 0) { >- testFailed('#2: x = new Boolean(true); x >>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x >>= new Boolean(true); >-if (x !== 0) { >- testFailed('#3: x = true; x >>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x >>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = new Boolean(true); x >>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2-expected.txt >deleted file mode 100644 >index 11be91154a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.html >deleted file mode 100644 >index a0886e7be76..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T1.2; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x >>= 1; >-if (x !== 0) { >- testFailed('#1: x = 1; x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x >>= 1; >-if (x !== 0) { >- testFailed('#2: x = new Number(1); x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x >>= new Number(1); >-if (x !== 0) { >- testFailed('#3: x = 1; x >>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x >>= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = new Number(1); x >>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3-expected.txt >deleted file mode 100644 >index 55024169e5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.html >deleted file mode 100644 >index f426dc581be..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T1.3; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x >>= "1"; >-if (x !== 0) { >- testFailed('#1: x = "1"; x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x >>= "1"; >-if (x !== 0) { >- testFailed('#2: x = new String("1"); x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x >>= new String("1"); >-if (x !== 0) { >- testFailed('#3: x = "1"; x >>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x >>= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = new String("1"); x >>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x >>= "1"; >-if (x !== 0) { >- testFailed('#5: x = "x"; x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x >>= "x"; >-if (x !== 1) { >- testFailed('#6: x = "1"; x >>= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4-expected.txt >deleted file mode 100644 >index 7d5de661993..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.html >deleted file mode 100644 >index e41d78ed7ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T1.4; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x >>= undefined; >-if (x !== 0) { >- testFailed('#1: x = null; x >>= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x >>= null; >-if (x !== 0) { >- testFailed('#2: x = undefined; x >>= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x >>= undefined; >-if (x !== 0) { >- testFailed('#3: x = undefined; x >>= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x >>= null; >-if (x !== 0) { >- testFailed('#4: x = null; x >>= null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1-expected.txt >deleted file mode 100644 >index 5a73702035a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.html >deleted file mode 100644 >index de228e9f037..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.1; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x >>= 1; >-if (x !== 0) { >- testFailed('#1: x = true; x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x >>= true; >-if (x !== 0) { >- testFailed('#2: x = 1; x >>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x >>= 1; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x >>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = 1; x >>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x >>= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = true; x >>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x >>= true; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x >>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x >>= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x >>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x >>= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x >>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2-expected.txt >deleted file mode 100644 >index 96dc6f01f8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.html >deleted file mode 100644 >index 9d9fc53f291..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.2; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x >>= 1; >-if (x !== 0) { >- testFailed('#1: x = "1"; x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x >>= "1"; >-if (x !== 0) { >- testFailed('#2: x = 1; x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x >>= 1; >-if (x !== 0) { >- testFailed('#3: x = new String("1"); x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x >>= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = 1; x >>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x >>= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = "1"; x >>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x >>= "1"; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x >>= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new String("1"); x >>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x >>= new String("1"); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x >>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x >>= 1; >-if (x !== 0) { >- testFailed('#9: x = "x"; x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x >>= "x"; >-if (x !== 1) { >- testFailed('#10: x = 1; x >>= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3-expected.txt >deleted file mode 100644 >index 0f3bc4b57c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.html >deleted file mode 100644 >index f8445dfaa97..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.3; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x >>= null; >-if (x !== 1) { >- testFailed('#1: x = 1; x >>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x >>= 1; >-if (x !== 0) { >- testFailed('#2: x = null; x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x >>= null; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x >>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x >>= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = null; x >>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4-expected.txt >deleted file mode 100644 >index a45b82cc41e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.html >deleted file mode 100644 >index 0ee5d2e0cfe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.4; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x >>= undefined; >-if (x !== 1) { >- testFailed('#1: x = 1; x >>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x >>= 1; >-if (x !== 0) { >- testFailed('#2: x = undefined; x >>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x >>= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x >>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x >>= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = undefined; x >>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5-expected.txt >deleted file mode 100644 >index 0d297be0e31..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.html >deleted file mode 100644 >index 731f05e46f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.5; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x >>= "1"; >-if (x !== 0) { >- testFailed('#1: x = true; x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x >>= true; >-if (x !== 0) { >- testFailed('#2: x = "1"; x >>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x >>= "1"; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x >>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = "1"; x >>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x >>= new String("1"); >-if (x !== 0) { >- testFailed('#5: x = true; x >>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x >>= true; >-if (x !== 0) { >- testFailed('#6: x = new String("1"); x >>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x >>= new String("1"); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x >>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x >>= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new String("1"); x >>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6-expected.txt >deleted file mode 100644 >index c8b51b973d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.html >deleted file mode 100644 >index a9ab897901a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.6; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x >>= undefined; >-if (x !== 1) { >- testFailed('#1: x = "1"; x >>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x >>= "1"; >-if (x !== 0) { >- testFailed('#2: x = undefined; x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x >>= undefined; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x >>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x >>= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = undefined; x >>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7-expected.txt >deleted file mode 100644 >index f0566fba4e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.html >deleted file mode 100644 >index 9d6d01f93f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.7; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x >>= null; >-if (x !== 1) { >- testFailed('#1: x = "1"; x >>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x >>= "1"; >-if (x !== 0) { >- testFailed('#2: x = null; x >>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x >>= null; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x >>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x >>= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = null; x >>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8-expected.txt >deleted file mode 100644 >index 77492eff845..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.html >deleted file mode 100644 >index a604b85219a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.8; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x >>= undefined; >-if (x !== 1) { >- testFailed('#1: x = true; x >>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x >>= true; >-if (x !== 0) { >- testFailed('#2: x = undefined; x >>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x >>= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x >>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x >>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = undefined; x >>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9-expected.txt >deleted file mode 100644 >index ae1d50cd7f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.html >deleted file mode 100644 >index 01c870dea52..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.7_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.7_T2.9; >- * @section: 11.13.2, 11.7.2; >- * @assertion: The production x >>= y is the same as x = x >> y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x >>= null; >-if (x !== 1) { >- testFailed('#1: x = true; x >>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x >>= true; >-if (x !== 0) { >- testFailed('#2: x = null; x >>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x >>= null; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x >>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x >>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = null; x >>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1-expected.txt >deleted file mode 100644 >index 872ea45cb16..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.html >deleted file mode 100644 >index e66e640c155..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T1.1; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x >>>= true; >-if (x !== 0) { >- testFailed('#1: x = true; x >>>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x >>>= true; >-if (x !== 0) { >- testFailed('#2: x = new Boolean(true); x >>>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x >>>= new Boolean(true); >-if (x !== 0) { >- testFailed('#3: x = true; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x >>>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = new Boolean(true); x >>>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2-expected.txt >deleted file mode 100644 >index 7d43b095a81..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.html >deleted file mode 100644 >index 14ca46e3b9d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T1.2; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x >>>= 1; >-if (x !== 0) { >- testFailed('#1: x = 1; x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x >>>= 1; >-if (x !== 0) { >- testFailed('#2: x = new Number(1); x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x >>>= new Number(1); >-if (x !== 0) { >- testFailed('#3: x = 1; x >>>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x >>>= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = new Number(1); x >>>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3-expected.txt >deleted file mode 100644 >index 471d6430525..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.html >deleted file mode 100644 >index 1bafcaf4970..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T1.3; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#1: x = "1"; x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#2: x = new String("1"); x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x >>>= new String("1"); >-if (x !== 0) { >- testFailed('#3: x = "1"; x >>>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x >>>= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = new String("1"); x >>>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#5: x = "x"; x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x >>>= "x"; >-if (x !== 1) { >- testFailed('#6: x = "1"; x >>>= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4-expected.txt >deleted file mode 100644 >index 2742db6926e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.html >deleted file mode 100644 >index 76fadb51979..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T1.4; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-x = null; >-x >>>= undefined; >-if (x !== 0) { >- testFailed('#1: x = null; x >>>= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x >>>= null; >-if (x !== 0) { >- testFailed('#2: x = undefined; x >>>= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x >>>= undefined; >-if (x !== 0) { >- testFailed('#3: x = undefined; x >>>= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x >>>= null; >-if (x !== 0) { >- testFailed('#4: x = null; x >>>= null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1-expected.txt >deleted file mode 100644 >index c3d52f2e3dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.html >deleted file mode 100644 >index 6dd5cce24d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.1; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x >>>= 1; >-if (x !== 0) { >- testFailed('#1: x = true; x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x >>>= true; >-if (x !== 0) { >- testFailed('#2: x = 1; x >>>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x >>>= 1; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x >>>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = 1; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x >>>= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = true; x >>>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x >>>= true; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x >>>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x >>>= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x >>>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x >>>= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x >>>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2-expected.txt >deleted file mode 100644 >index f53e51c282e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.html >deleted file mode 100644 >index cf8b1882bb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.2; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x >>>= 1; >-if (x !== 0) { >- testFailed('#1: x = "1"; x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#2: x = 1; x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x >>>= 1; >-if (x !== 0) { >- testFailed('#3: x = new String("1"); x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x >>>= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = 1; x >>>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x >>>= new Number(1); >-if (x !== 0) { >- testFailed('#5: x = "1"; x >>>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#6: x = new Number(1); x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x >>>= new Number(1); >-if (x !== 0) { >- testFailed('#7: x = new String("1"); x >>>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x >>>= new String("1"); >-if (x !== 0) { >- testFailed('#8: x = new Number(1); x >>>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x >>>= 1; >-if (x !== 0) { >- testFailed('#9: x = "x"; x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x >>>= "x"; >-if (x !== 1) { >- testFailed('#10: x = 1; x >>>= "x"; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3-expected.txt >deleted file mode 100644 >index b347e254458..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.html >deleted file mode 100644 >index 93aae4edfa6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.3; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x >>>= null; >-if (x !== 1) { >- testFailed('#1: x = 1; x >>>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x >>>= 1; >-if (x !== 0) { >- testFailed('#2: x = null; x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x >>>= null; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x >>>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x >>>= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = null; x >>>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4-expected.txt >deleted file mode 100644 >index 939230892f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.html >deleted file mode 100644 >index 925fe09d1df..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.4; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x >>>= undefined; >-if (x !== 1) { >- testFailed('#1: x = 1; x >>>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x >>>= 1; >-if (x !== 0) { >- testFailed('#2: x = undefined; x >>>= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x >>>= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Number(1); x >>>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x >>>= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = undefined; x >>>= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5-expected.txt >deleted file mode 100644 >index 0c86a54bef4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.html >deleted file mode 100644 >index 8b7e728f51a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.5; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#1: x = true; x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x >>>= true; >-if (x !== 0) { >- testFailed('#2: x = "1"; x >>>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x >>>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = "1"; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x >>>= new String("1"); >-if (x !== 0) { >- testFailed('#5: x = true; x >>>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x >>>= true; >-if (x !== 0) { >- testFailed('#6: x = new String("1"); x >>>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x >>>= new String("1"); >-if (x !== 0) { >- testFailed('#7: x = new Boolean(true); x >>>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x >>>= new Boolean(true); >-if (x !== 0) { >- testFailed('#8: x = new String("1"); x >>>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6-expected.txt >deleted file mode 100644 >index b1a77253d96..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.html >deleted file mode 100644 >index 608547062ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.6; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x >>>= undefined; >-if (x !== 1) { >- testFailed('#1: x = "1"; x >>>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#2: x = undefined; x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x >>>= undefined; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x >>>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x >>>= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = undefined; x >>>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7-expected.txt >deleted file mode 100644 >index 0ce17cc147b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.html >deleted file mode 100644 >index c093b61b2ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.7; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x >>>= null; >-if (x !== 1) { >- testFailed('#1: x = "1"; x >>>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x >>>= "1"; >-if (x !== 0) { >- testFailed('#2: x = null; x >>>= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x >>>= null; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x >>>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x >>>= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = null; x >>>= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8-expected.txt >deleted file mode 100644 >index 35ee73b3583..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.html >deleted file mode 100644 >index 0a094ed5569..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.8; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x >>>= undefined; >-if (x !== 1) { >- testFailed('#1: x = true; x >>>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x >>>= true; >-if (x !== 0) { >- testFailed('#2: x = undefined; x >>>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x >>>= undefined; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x >>>= undefined; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x >>>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = undefined; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9-expected.txt >deleted file mode 100644 >index 0219625da3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.html >deleted file mode 100644 >index 104e945bfa2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.8_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.8_T2.9; >- * @section: 11.13.2, 11.7.3; >- * @assertion: The production x >>>= y is the same as x = x >>> y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x >>>= null; >-if (x !== 1) { >- testFailed('#1: x = true; x >>>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x >>>= true; >-if (x !== 0) { >- testFailed('#2: x = null; x >>>= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x >>>= null; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x >>>= null; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x >>>= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = null; x >>>= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1-expected.txt >deleted file mode 100644 >index 6812a4a7fe0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.html >deleted file mode 100644 >index 23b43faf2a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T1.1; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-x = true; >-x &= true; >-if (x !== 1) { >- testFailed('#1: x = true; x &= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Boolean(true); >-x &= true; >-if (x !== 1) { >- testFailed('#2: x = new Boolean(true); x &= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = true; >-x &= new Boolean(true); >-if (x !== 1) { >- testFailed('#3: x = true; x &= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Boolean(true); >-x &= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = new Boolean(true); x &= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2-expected.txt >deleted file mode 100644 >index da696c22263..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.html >deleted file mode 100644 >index 12f5ffb84a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T1.2; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-x = 1; >-x &= 1; >-if (x !== 1) { >- testFailed('#1: x = 1; x &= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new Number(1); >-x &= 1; >-if (x !== 1) { >- testFailed('#2: x = new Number(1); x &= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = 1; >-x &= new Number(1); >-if (x !== 1) { >- testFailed('#3: x = 1; x &= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new Number(1); >-x &= new Number(1); >-if (x !== 1) { >- testFailed('#4: x = new Number(1); x &= new Number(1); x === 1. Actual: ' + (x)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3-expected.txt >deleted file mode 100644 >index 87a4dae6a59..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.html >deleted file mode 100644 >index 817c4701d1b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T1.3; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-x = "1"; >-x &= "1"; >-if (x !== 1) { >- testFailed('#1: x = "1"; x &= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = new String("1"); >-x &= "1"; >-if (x !== 1) { >- testFailed('#2: x = new String("1"); x &= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = "1"; >-x &= new String("1"); >-if (x !== 1) { >- testFailed('#3: x = "1"; x &= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = new String("1"); >-x &= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = new String("1"); x &= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "x"; >-x &= "1"; >-if (x !== 0) { >- testFailed('#5: x = "x"; x &= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = "1"; >-x &= "x"; >-if (x !== 0) { >- testFailed('#6: x = "1"; x &= "x"; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4-expected.txt >deleted file mode 100644 >index 0f4de07aa26..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.html >deleted file mode 100644 >index 0098a0b53db..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T1.4; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) and Type(y) vary between Null and Undefined; >-*/ >- >-//CHECK#1 >-x = null; >-x &= undefined; >-if (x !== 0) { >- testFailed('#1: x = null; x &= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x &= null; >-if (x !== 0) { >- testFailed('#2: x = undefined; x &= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = undefined; >-x &= undefined; >-if (x !== 0) { >- testFailed('#3: x = undefined; x &= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x &= null; >-if (x !== 0) { >- testFailed('#4: x = null; x &= null; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1-expected.txt >deleted file mode 100644 >index b04ac9401b9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.html >deleted file mode 100644 >index ecdeef736d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.1; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-x = true; >-x &= 1; >-if (x !== 1) { >- testFailed('#1: x = true; x &= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x &= true; >-if (x !== 1) { >- testFailed('#2: x = 1; x &= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x &= 1; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x &= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x &= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = 1; x &= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x &= new Number(1); >-if (x !== 1) { >- testFailed('#5: x = true; x &= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x &= true; >-if (x !== 1) { >- testFailed('#6: x = new Number(1); x &= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x &= new Number(1); >-if (x !== 1) { >- testFailed('#7: x = new Boolean(true); x &= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x &= new Boolean(true); >-if (x !== 1) { >- testFailed('#8: x = new Number(1); x &= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2-expected.txt >deleted file mode 100644 >index 8ad583e2350..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.html >deleted file mode 100644 >index c12e7f0a839..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.2; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-x = "1"; >-x &= 1; >-if (x !== 1) { >- testFailed('#1: x = "1"; x &= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = 1; >-x &= "1"; >-if (x !== 1) { >- testFailed('#2: x = 1; x &= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x &= 1; >-if (x !== 1) { >- testFailed('#3: x = new String("1"); x &= 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = 1; >-x &= new String("1"); >-if (x !== 1) { >- testFailed('#4: x = 1; x &= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = "1"; >-x &= new Number(1); >-if (x !== 1) { >- testFailed('#5: x = "1"; x &= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new Number(1); >-x &= "1"; >-if (x !== 1) { >- testFailed('#6: x = new Number(1); x &= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new String("1"); >-x &= new Number(1); >-if (x !== 1) { >- testFailed('#7: x = new String("1"); x &= new Number(1); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new Number(1); >-x &= new String("1"); >-if (x !== 1) { >- testFailed('#8: x = new Number(1); x &= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#9 >-x = "x"; >-x &= 1; >-if (x !== 0) { >- testFailed('#9: x = "x"; x &= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#10 >-x = 1; >-x &= "x"; >-if (x !== 0) { >- testFailed('#10: x = 1; x &= "x"; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3-expected.txt >deleted file mode 100644 >index dea3e8942c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.html >deleted file mode 100644 >index ba0bae848dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.3; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = 1; >-x &= null; >-if (x !== 0) { >- testFailed('#1: x = 1; x &= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x &= 1; >-if (x !== 0) { >- testFailed('#2: x = null; x &= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x &= null; >-if (x !== 0) { >- testFailed('#3: x = new Number(1); x &= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x &= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = null; x &= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4-expected.txt >deleted file mode 100644 >index efdc7272dd0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.html >deleted file mode 100644 >index 9622398d1a6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.4; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = 1; >-x &= undefined; >-if (x !== 0) { >- testFailed('#1: x = 1; x &= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x &= 1; >-if (x !== 0) { >- testFailed('#2: x = undefined; x &= 1; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Number(1); >-x &= undefined; >-if (x !== 0) { >- testFailed('#3: x = new Number(1); x &= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x &= new Number(1); >-if (x !== 0) { >- testFailed('#4: x = undefined; x &= new Number(1); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5-expected.txt >deleted file mode 100644 >index 6d1d75d4b17..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.html >deleted file mode 100644 >index 8d44ae04c8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.5; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-x = true; >-x &= "1"; >-if (x !== 1) { >- testFailed('#1: x = true; x &= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = "1"; >-x &= true; >-if (x !== 1) { >- testFailed('#2: x = "1"; x &= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x &= "1"; >-if (x !== 1) { >- testFailed('#3: x = new Boolean(true); x &= "1"; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = "1"; >-x &= new Boolean(true); >-if (x !== 1) { >- testFailed('#4: x = "1"; x &= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-x = true; >-x &= new String("1"); >-if (x !== 1) { >- testFailed('#5: x = true; x &= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-x = new String("1"); >-x &= true; >-if (x !== 1) { >- testFailed('#6: x = new String("1"); x &= true; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-x = new Boolean(true); >-x &= new String("1"); >-if (x !== 1) { >- testFailed('#7: x = new Boolean(true); x &= new String("1"); x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-x = new String("1"); >-x &= new Boolean(true); >-if (x !== 1) { >- testFailed('#8: x = new String("1"); x &= new Boolean(true); x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6-expected.txt >deleted file mode 100644 >index a0a28b0e95a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.html >deleted file mode 100644 >index 6f29774adfe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.6; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = "1"; >-x &= undefined; >-if (x !== 0) { >- testFailed('#1: x = "1"; x &= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x &= "1"; >-if (x !== 0) { >- testFailed('#2: x = undefined; x &= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x &= undefined; >-if (x !== 0) { >- testFailed('#3: x = new String("1"); x &= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x &= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = undefined; x &= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7-expected.txt >deleted file mode 100644 >index 8e42ee8e1fd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.html >deleted file mode 100644 >index f2c5dbdcc87..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.7; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = "1"; >-x &= null; >-if (x !== 0) { >- testFailed('#1: x = "1"; x &= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x &= "1"; >-if (x !== 0) { >- testFailed('#2: x = null; x &= "1"; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new String("1"); >-x &= null; >-if (x !== 0) { >- testFailed('#3: x = new String("1"); x &= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x &= new String("1"); >-if (x !== 0) { >- testFailed('#4: x = null; x &= new String("1"); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8-expected.txt >deleted file mode 100644 >index 6279907e96f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.html >deleted file mode 100644 >index 426250c193a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.8; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-x = true; >-x &= undefined; >-if (x !== 0) { >- testFailed('#1: x = true; x &= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = undefined; >-x &= true; >-if (x !== 0) { >- testFailed('#2: x = undefined; x &= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x &= undefined; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x &= undefined; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = undefined; >-x &= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = undefined; x &= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9-expected.txt >deleted file mode 100644 >index db32a2e9751..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.html >deleted file mode 100644 >index aaec84cec88..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.13.2_A4.9_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.13.2_A4.9_T2.9; >- * @section: 11.13.2, 11.10.1; >- * @assertion: The production x &= y is the same as x = x & y; >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-x = true; >-x &= null; >-if (x !== 0) { >- testFailed('#1: x = true; x &= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-x = null; >-x &= true; >-if (x !== 0) { >- testFailed('#2: x = null; x &= true; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-x = new Boolean(true); >-x &= null; >-if (x !== 0) { >- testFailed('#3: x = new Boolean(true); x &= null; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-x = null; >-x &= new Boolean(true); >-if (x !== 0) { >- testFailed('#4: x = null; x &= new Boolean(true); x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1-expected.txt >deleted file mode 100644 >index b1a5896b566..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.14_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1.html >deleted file mode 100644 >index 5ab1d25ba1d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.14_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.14_A1; >-* @section: 11.14; >-* @assertion: White Space and Line Terminator between Expression and , or between , and AssignmentExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if ((eval("false\u0009,\u0009true")) !== true) { >- testFailed('#1: (false\\u0009,\\u0009true) === true'); >-} >- >-//CHECK#2 >-if ((eval("false\u000B,\u000Btrue")) !== true) { >- testFailed('#2: (false\\u000B,\\u000Btrue) === true'); >-} >- >-//CHECK#3 >-if ((eval("false\u000C,\u000Ctrue")) !== true) { >- testFailed('#3: (false\\u000C,\\u000Ctrue) === true'); >-} >- >-//CHECK#4 >-if ((eval("false\u0020,\u0020true")) !== true) { >- testFailed('#4: (false\\u0020,\\u0020true) === true'); >-} >- >-//CHECK#5 >-if ((eval("false\u00A0,\u00A0true")) !== true) { >- testFailed('#5: (false\\u00A0,\\u00A0true) === true'); >-} >- >-//CHECK#6 >-if ((eval("false\u000A,\u000Atrue")) !== true) { >- testFailed('#6: (false\\u000A,\\u000Atrue) === true'); >-} >- >-//CHECK#7 >-if ((eval("false\u000D,\u000Dtrue")) !== true) { >- testFailed('#7: (false\\u000D,\\u000Dtrue) === true'); >-} >- >-//CHECK#8 >-if ((eval("false\u2028,\u2028true")) !== true) { >- testFailed('#8: (false\\u2028,\\u2028true) === true'); >-} >- >-//CHECK#9 >-if ((eval("false\u2029,\u2029true")) !== true) { >- testFailed('#9: (false\\u2029,\\u2029true) === true'); >-} >- >- >-//CHECK#10 >-if ((eval("false\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029,\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true")) !== true) { >- testFailed('#10: (false\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029,\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1-expected.txt >deleted file mode 100644 >index 0b765a48487..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.14_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.html >deleted file mode 100644 >index 180b3ff033f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.14_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.14_A2.1_T1; >- * @section: 11.14; >- * @assertion: Operator uses GetValue; >- * @description: Either Expression is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((1,2) !== 2) { >- testFailed('#1: (1,2) === 2. Actual: ' + ((1,2))); >-} >- >-//CHECK#2 >-var x = 1; >-if ((x, 2) !== 2) { >- testFailed('#2: var x = 1; (x, 2) === 2. Actual: ' + ((x, 2))); >-} >- >-//CHECK#3 >-var y = 2; >-if ((1, y) !== 2) { >- testFailed('#3: var y = 2; (1, y) === 2. Actual: ' + ((1, y))); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 2; >-if ((x, y) !== 2) { >- testFailed('#4: var x = 1; var y = 2; (x, y) === 2. Actual: ' + ((x, y))); >-} >- >-//CHECK#5 >-var x = 1; >-if ((x, x) !== 1) { >- testFailed('#5: var x = 1; (x, x) === 1. Actual: ' + ((x, x))); >-} >- >-//CHECK#6 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = true; >-objecty.prop = 1.1; >-if ((objectx.prop = false, objecty.prop) !== objecty.prop) { >- testFailed('#6: var objectx = new Object(); var objecty = new Object(); objectx.prop = true; objecty.prop = 1; (objectx.prop = false, objecty.prop) === objecty.prop. Actual: ' + ((objectx.prop = false, objecty.prop))); >-} else { >- if (objectx.prop !== false) { >- testFailed('#6: var objectx = new Object(); var objecty = new Object(); objectx.prop = true; objecty.prop = 1; objectx.prop = false, objecty.prop; objectx.prop === false'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2-expected.txt >deleted file mode 100644 >index 6826d7e3c22..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.14_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.html >deleted file mode 100644 >index b6242336f05..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.14_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.14_A2.1_T2; >-* @section: 11.14; >-* @assertion: Operator uses GetValue; >-* @description: If GetBase(Expression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x, 1; >- testFailed('#1.1: x, 1 throw ReferenceError. Actual: ' + (x, 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x, 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3-expected.txt >deleted file mode 100644 >index 9ff131e91a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.14_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.html >deleted file mode 100644 >index cc3964c93e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.14_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.14_A2.1_T3; >-* @section: 11.14; >-* @assertion: Operator uses GetValue; >-* @description: If GetBase(AssigmentExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1, y; >- testFailed('#1.1: 1, y throw ReferenceError. Actual: ' + (1, y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1, y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3-expected.txt >deleted file mode 100644 >index 561784bbf31..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.14_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3.html >deleted file mode 100644 >index 60cae13a8a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.14_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.14_A3; >-* @section: 11.14; >-* @assertion: Comma Operator evaluates all Expressions and returns the last of them; >-* @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-var y = 0; >-var z = 0; >-if ((x = 1, y = 2, z = 3) !== 3) { >- testFailed('#1: var x = 0; var y = 0; var z = 0; (x = 1, y = 2, z = 3) === 3. Actual: ' + ((x = 1, y = 2, z = 3))); >-} >- >-var x = 0; >-var y = 0; >-var z = 0; >-x = 1, y = 2, z = 3; >- >-//CHECK#2 >-if (x !== 1) { >- testFailed('#2: var x = 0; var y = 0; var z = 0; x = 1, y = 2, z = 3; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-if (y !== 2) { >- testFailed('#3: var x = 0; var y = 0; var z = 0; x = 1, y = 2, z = 3; y === 2. Actual: ' + (y)); >-} >- >-//CHECK#4 >-if (z !== 3) { >- testFailed('#4: var x = 0; var y = 0; var z = 0; x = 1, y = 2, z = 3; z === 3. Actual: ' + (z)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1-expected.txt >deleted file mode 100644 >index 2f9396ecc00..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.1_A1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.html >deleted file mode 100644 >index b0d5f4a65e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.1.1_A1; >- * @section: 11.1.1; >- * @assertion: The "this" is reserved word; >- * @description: Checking if execution of "this=1" fails; >- * @negative >-*/ >- >-this = 1; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2-expected.txt >deleted file mode 100644 >index 4966fdcdc05..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.1_A2 >- >-FAIL SputnikError: #1: this.toString() === toString(). Actual: [object Window] >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.html >deleted file mode 100644 >index 39587841427..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.1.1_A2; >- * @section: 11.1.1; >- * @assertion: Being in global code, "this" and "eval("this")" return the global object; >- * @description: Checking if execution of "this" and eval("this"), which are in global code, return the global object by using toString function; >-*/ >- >-//CHECK#1 >-if (this.toString() !== toString()) { >- testFailed('#1: this.toString() === toString(). Actual: ' + (this.toString())); >-} >- >-//CHECK#2 >-if (eval("this").toString() !== toString()) { >- testFailed('#2: eval("this").toString() === toString(). Actual: ' + (this.toString())); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1-expected.txt >deleted file mode 100644 >index b3c4d595723..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.1_A3.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.html >deleted file mode 100644 >index cdba88dfb46..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.1_A3.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.1.1_A3.1; >- * @section: 11.1.1; >- * @assertion: Being in function code, "this" and eval("this"), called as a functions, return the global object; >- * @description: Creating function which returns "this" or eval("this"); >-*/ >- >-//CHECK#1 >-function MyFunction() {return this} >-if (MyFunction() !== this) { >- testFailed('#1: function MyFunction() {return this} MyFunction() === this. Actual: ' + (MyFunction())); >-} >- >-//CHECK#2 >-function MyFunction() {return eval("this")} >-if (MyFunction() !== this) { >- testFailed('#2: function MyFunction() {return eval("this")} MyFunction() === this. Actual: ' + (MyFunction())); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2-expected.txt >deleted file mode 100644 >index c4f865b05e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.1_A3.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.html >deleted file mode 100644 >index 80b55d30aa3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.1_A3.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.1.1_A3.2; >- * @section: 11.1.1; >- * @assertion: Being in function code, "this" and eval("this"), called as a constructors, return the object; >- * @description: Create function. It have property, that returned "this"; >-*/ >- >-//CHECK#1 >-function MyFunction() {this.THIS = this} >-if ((new MyFunction()).THIS.toString() !== "[object Object]") { >- testFailed('#1: function MyFunction() {this.THIS = this} (new MyFunction()).THIS.toString() !== "[object Object]". Actual: ' + ((new MyFunction()).THIS.toString())); >-} >- >-//CHECK#2 >-function MyFunction() {this.THIS = eval("this")} >-if ((new MyFunction()).THIS.toString() !== "[object Object]") { >- testFailed('#2: function MyFunction() {this.THIS = eval("this")} (new MyFunction()).THIS.toString() !== "[object Object]". Actual: ' + ((new MyFunction()).THIS.toString())); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1-expected.txt >deleted file mode 100644 >index 08036fce998..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.1_A4.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.html >deleted file mode 100644 >index b11f02c1917..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.1_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.1.1_A4.1; >- * @section: 11.1.1; >- * @assertion: Being in anonymous code, "this" and eval("this"), called as a function, return the global object; >- * @description: Creating function with new Function() constructor; >-*/ >- >-//CHECK#1 >-var MyFunction = new Function("return this"); >-if (MyFunction() !== this) { >- testFailed('#1: var MyFunction = new Function("return this"); MyFunction() === this. Actual: ' + (MyFunction())); >-} >- >-//CHECK#2 >-var MyFunction = new Function("return eval(\'this\')"); >-if (MyFunction() !== this) { >- testFailed('#2: var MyFunction = new Function("return eval(\'this\')"); MyFunction() === this. Actual: ' + (MyFunction())); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2-expected.txt >deleted file mode 100644 >index b0d9575e513..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.1_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.html >deleted file mode 100644 >index ecf51459bcc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.1_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.1.1_A4.2; >- * @section: 11.1.1; >- * @assertion: Being in anonymous code, "this" and eval("this"), called as a constructor, return the object; >- * @description: Creating function by using new Function() constructor. It has the property, which returns "this"; >-*/ >- >-//CHECK#1 >-var MyFunction = new Function("this.THIS = this"); >-var MyObject = new MyFunction(); >-if (MyObject.THIS.toString() !== "[object Object]") { >- testFailed('#1: var MyFunction = new Function("this.THIS = this"); var MyObject = new MyFunction(); MyObject.THIS.toString() === "[object Object]". Actual: ' + (MyObject.THIS.toString())); >-} >- >-//CHECK#2 >-var MyFunction = new Function("this.THIS = eval(\'this\')"); >-var MyObject = new MyFunction(); >-if (MyObject.THIS.toString() !== "[object Object]") { >- testFailed('#2: var MyFunction = new Function("this.THIS = eval(\'this\')"); var MyObject = new MyFunction(); MyObject.THIS.toString() === "[object Object]". Actual: ' + (MyObject.THIS.toString())); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1-expected.txt >deleted file mode 100644 >index d10ee109f6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.html >deleted file mode 100644 >index 1713b1a87df..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.1.2_A1_T1; >- * @section: 11.1.2; >- * @assertion: The result of evaluating an Identifier is always a value of type Reference; >- * @description: Creating variables without defining it; >-*/ >- >-//CHECK#1 >-if (this.x !== undefined) { >- testFailed('#1: this.x === undefined. Actual: ' + (this.x)); >-} >- >-//CHECK#2 >-var object = new Object(); >-if (object.prop !== undefined) { >- testFailed('#2: var object = new Object(); object.prop === undefined. Actual: ' + (object.prop)); >-} >- >-//CHECK#3 >-this.y++; >-if (isNaN(y) !== true) { >- testFailed('#3: this.y++; y === Not-a-Number. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2-expected.txt >deleted file mode 100644 >index ac0f6736674..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.html >deleted file mode 100644 >index 2cde3bbc9e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.1.2_A1_T2; >- * @section: 11.1.2; >- * @assertion: The result of evaluating an Identifier is always a value of type Reference; >- * @description: Trying to generate ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- this.z; >- z; >- testFailed('#1.1: this.z; z === undefined throw ReferenceError. Actual: ' + (z)); >-} catch(e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: this.z; z === undefined throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1-expected.txt >deleted file mode 100644 >index e8d82a8f568..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.4_A1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.html >deleted file mode 100644 >index cf2a623c401..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.4_A1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.4_A1.1; >-* @section: 11.1.4; >-* @assertion: Evaluate the production ArrayLiteral: [ ]; >-* @description: Checking various properties of the array defined with expression "var array = []"; >-*/ >- >-var array = []; >- >-//CHECK#1 >-if (typeof array !== "object") { >- testFailed('#1: var array = []; typeof array === "object". Actual: ' + (typeof array)); >-} >- >-//CHECK#2 >-if (array instanceof Array !== true) { >- testFailed('#2: var array = []; array instanceof Array === true'); >-} >- >-//CHECK#3 >-if (array.toString !== Array.prototype.toString) { >- testFailed('#3: var array = []; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); >-} >- >-//CHECK#4 >-if (array.length !== 0) { >- testFailed('#4: var array = []; array.length === 0. Actual: ' + (array.length)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2-expected.txt >deleted file mode 100644 >index ac236a3e2b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.4_A1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.html >deleted file mode 100644 >index 881e2b28767..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.4_A1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.4_A1.2; >-* @section: 11.1.4; >-* @assertion: Evaluate the production ArrayLiteral: [ Elision ]; >-* @description: Checking various properties the array defined with "var array = [,,,,,]"; >-*/ >- >-var array = [,,,,,]; >- >-//CHECK#1 >-if (typeof array !== "object") { >- testFailed('#1: var array = [,,,,,]; typeof array === "object". Actual: ' + (typeof array)); >-} >- >-//CHECK#2 >-if (array instanceof Array !== true) { >- testFailed('#2: var array = [,,,,,]; array instanceof Array === true'); >-} >- >-//CHECK#3 >-if (array.toString !== Array.prototype.toString) { >- testFailed('#3: var array = [,,,,,]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); >-} >- >-//CHECK#4 >-if (array.length !== 5) { >- testFailed('#4: var array = [,,,,,]; array.length === 5. Actual: ' + (array.length)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3-expected.txt >deleted file mode 100644 >index 228fa52252c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.4_A1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.html >deleted file mode 100644 >index 0428787328f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.4_A1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.4_A1.3; >-* @section: 11.1.4; >-* @assertion: Evaluate the production ArrayLiteral: [ AssignmentExpression ]; >-* @description: Checking various properteis and contents of the array defined with "var array = [1,2,3,4,5]"; >-*/ >- >-var array = [1,2,3,4,5]; >- >-//CHECK#1 >-if (typeof array !== "object") { >- testFailed('#1: var array = [1,2,3,4,5]; typeof array === "object". Actual: ' + (typeof array)); >-} >- >-//CHECK#2 >-if (array instanceof Array !== true) { >- testFailed('#2: var array = [1,2,3,4,5]; array instanceof Array === true'); >-} >- >-//CHECK#3 >-if (array.toString !== Array.prototype.toString) { >- testFailed('#3: var array = [1,2,3,4,5]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); >-} >- >-//CHECK#4 >-if (array.length !== 5) { >- testFailed('#4: var array = [1,2,3,4,5]; array.length === 5. Actual: ' + (array.length)); >-} >- >-//CHECK#5 >-if (array[0] !== 1) { >- testFailed('#5: var array = [1,2,3,4,5]; array[0] === 1. Actual: ' + (array[0])); >-} >- >-//CHECK#6 >-if (array[1] !== 2) { >- testFailed('#6: var array = [1,2,3,4,5]; array[1] === 2. Actual: ' + (array[1])); >-} >- >-//CHECK#7 >-if (array[2] !== 3) { >- testFailed('#7: var array = [1,2,3,4,5]; array[2] === 3. Actual: ' + (array[2])); >-} >- >-//CHECK#8 >-if (array[3] !== 4) { >- testFailed('#8: var array = [1,2,3,4,5]; array[3] === 4. Actual: ' + (array[3])); >-} >- >-//CHECK#9 >-if (array[4] !== 5) { >- testFailed('#9: var array = [1,2,3,4,5]; array[4] === 5. Actual: ' + (array[4])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4-expected.txt >deleted file mode 100644 >index 9add8e90017..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.4_A1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.html >deleted file mode 100644 >index 7f2b1b1500c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.4_A1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.4_A1.4; >-* @section: 11.1.4; >-* @assertion: Evaluate the production ArrayLiteral: [ Elision, AssignmentExpression ]; >-* @description: Checking various properteis and content of the array defined with "var array = [,,,1,2]"; >-*/ >- >-var array = [,,,1,2]; >- >-//CHECK#1 >-if (typeof array !== "object") { >- testFailed('#1: var array = [,,,1,2]; typeof array === "object". Actual: ' + (typeof array)); >-} >- >-//CHECK#2 >-if (array instanceof Array !== true) { >- testFailed('#2: var array = [,,,1,2]; array instanceof Array === true'); >-} >- >-//CHECK#3 >-if (array.toString !== Array.prototype.toString) { >- testFailed('#3: var array = [,,,1,2]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); >-} >- >-//CHECK#4 >-if (array.length !== 5) { >- testFailed('#4: var array = [,,,1,2]; array.length === 5. Actual: ' + (array.length)); >-} >- >-//CHECK#5 >-if (array[0] !== undefined) { >- testFailed('#5: var array = [,,,1,2]; array[0] === undefined. Actual: ' + (array[0])); >-} >- >-//CHECK#6 >-if (array[1] !== undefined) { >- testFailed('#6: var array = [,,,1,2]; array[1] === undefined. Actual: ' + (array[1])); >-} >- >-//CHECK#7 >-if (array[2] !== undefined) { >- testFailed('#7: var array = [,,,1,2]; array[2] === undefined. Actual: ' + (array[2])); >-} >- >-//CHECK#8 >-if (array[3] !== 1) { >- testFailed('#8: var array = [,,,1,2]; array[3] === 1. Actual: ' + (array[3])); >-} >- >-//CHECK#9 >-if (array[4] !== 2) { >- testFailed('#9: var array = [,,,1,2]; array[4] === 2. Actual: ' + (array[4])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5-expected.txt >deleted file mode 100644 >index fc8e846dd06..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.4_A1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.html >deleted file mode 100644 >index 517cd3097a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.4_A1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.4_A1.5; >-* @section: 11.1.4; >-* @assertion: Evaluate the production ArrayLiteral: [ AssignmentExpression, Elision ]; >-* @description: Checking various properteis and contents of the array defined with "var array = [4,5,,,,]"; >-*/ >- >-var array = [4,5,,,,]; >- >-//CHECK#1 >-if (typeof array !== "object") { >- testFailed('#1: var array = [4,5,,,,]; typeof array === "object". Actual: ' + (typeof array)); >-} >- >-//CHECK#2 >-if (array instanceof Array !== true) { >- testFailed('#2: var array = [4,5,,,,]; array instanceof Array === true'); >-} >- >-//CHECK#3 >-if (array.toString !== Array.prototype.toString) { >- testFailed('#3: var array = [4,5,,,,]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); >-} >- >-//CHECK#4 >-if (array.length !== 5) { >- testFailed('#4: var array = [4,5,,,,]; array.length === 5. Actual: ' + (array.length)); >-} >- >-//CHECK#5 >-if (array[0] !== 4) { >- testFailed('#5: var array = [4,5,,,,]; array[0] === 4. Actual: ' + (array[0])); >-} >- >-//CHECK#6 >-if (array[1] !== 5) { >- testFailed('#6: var array = [4,5,,,,]; array[1] === 5. Actual: ' + (array[1])); >-} >- >-//CHECK#7 >-if (array[2] !== undefined) { >- testFailed('#7: var array = [4,5,,,,]; array[2] === undefined. Actual: ' + (array[2])); >-} >- >-//CHECK#8 >-if (array[3] !== undefined) { >- testFailed('#8: var array = [4,5,,,,]; array[3] === undefined. Actual: ' + (array[3])); >-} >- >-//CHECK#9 >-if (array[4] !== undefined) { >- testFailed('#9: var array = [4,5,,,,]; array[4] === undefined. Actual: ' + (array[4])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6-expected.txt >deleted file mode 100644 >index df6d7163666..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.4_A1.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.html >deleted file mode 100644 >index c97a7e4ec22..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.4_A1.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.4_A1.6; >-* @section: 11.1.4; >-* @assertion: Evaluate the production ArrayLiteral: [ Elision, AssignmentExpression, Elision ]; >-* @description: Checking various properteis and contents of the array defined with "var array = [,,3,,,]"; >-*/ >- >-var array = [,,3,,,]; >- >-//CHECK#1 >-if (typeof array !== "object") { >- testFailed('#1: var array = [,,3,,,]; typeof array === "object". Actual: ' + (typeof array)); >-} >- >-//CHECK#2 >-if (array instanceof Array !== true) { >- testFailed('#2: var array = [,,3,,,]; array instanceof Array === true'); >-} >- >-//CHECK#3 >-if (array.toString !== Array.prototype.toString) { >- testFailed('#3: var array = [,,3,,,]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); >-} >- >-//CHECK#4 >-if (array.length !== 5) { >- testFailed('#4: var array = [,,3,,,]; array.length === 5. Actual: ' + (array.length)); >-} >- >-//CHECK#5 >-if (array[0] !== undefined) { >- testFailed('#5: var array = [,,3,,,]; array[0] === undefined. Actual: ' + (array[0])); >-} >- >-//CHECK#6 >-if (array[1] !== undefined) { >- testFailed('#6: var array = [,,3,,,]; array[1] === undefined. Actual: ' + (array[1])); >-} >- >-//CHECK#7 >-if (array[2] !== 3) { >- testFailed('#7: var array = [,,3,,,]; array[2] === 3. Actual: ' + (array[2])); >-} >- >-//CHECK#8 >-if (array[3] !== undefined) { >- testFailed('#8: var array = [,,3,,,]; array[3] === undefined. Actual: ' + (array[3])); >-} >- >-//CHECK#9 >-if (array[4] !== undefined) { >- testFailed('#9: var array = [,,3,,,]; array[4] === undefined. Actual: ' + (array[4])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7-expected.txt >deleted file mode 100644 >index 949acdcb58c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.4_A1.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.html >deleted file mode 100644 >index 11c672281fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.4_A1.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.4_A1.7; >-* @section: 11.1.4; >-* @assertion: Evaluate the production ArrayLiteral: [ AssignmentExpression, Elision, AssignmentExpression ]; >-* @description: Checking various properteis and contents of the array defined with "var array = [1,2,,4,5]"; >-*/ >- >-var array = [1,2,,4,5]; >- >-//CHECK#1 >-if (typeof array !== "object") { >- testFailed('#1: var array = [1,2,,4,5]; typeof array === "object". Actual: ' + (typeof array)); >-} >- >-//CHECK#2 >-if (array instanceof Array !== true) { >- testFailed('#2: var array = [1,2,,4,5]; array instanceof Array === true'); >-} >- >-//CHECK#3 >-if (array.toString !== Array.prototype.toString) { >- testFailed('#3: var array = [1,2,,4,5]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); >-} >- >-//CHECK#4 >-if (array.length !== 5) { >- testFailed('#4: var array = [1,2,,4,5]; array.length === 5. Actual: ' + (array.length)); >-} >- >-//CHECK#5 >-if (array[0] !== 1) { >- testFailed('#5: var array = [1,2,,4,5]; array[0] === 1. Actual: ' + (array[0])); >-} >- >-//CHECK#6 >-if (array[1] !== 2) { >- testFailed('#6: var array = [1,2,,4,5]; array[1] === 2. Actual: ' + (array[1])); >-} >- >-//CHECK#7 >-if (array[2] !== undefined) { >- testFailed('#7: var array = [1,2,,4,5]; array[2] === undefined. Actual: ' + (array[2])); >-} >- >-//CHECK#8 >-if (array[3] !== 4) { >- testFailed('#8: var array = [1,2,,4,5]; array[3] === 4. Actual: ' + (array[3])); >-} >- >-//CHECK#9 >-if (array[4] !== 5) { >- testFailed('#9: var array = [1,2,,4,5]; array[4] === 5. Actual: ' + (array[4])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2-expected.txt >deleted file mode 100644 >index be21acbb72f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.4_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.html >deleted file mode 100644 >index 4b625e79b64..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.html >+++ /dev/null >@@ -1,210 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.4_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.4_A2; >-* @section: 11.1.4; >-* @assertion: Create multi dimensional array; >-* @description: Checking various properteis and contents of the arrya defined with "var array = [[1,2], [3], []]"; >-*/ >- >-var array = [[1,2], [3], []]; >- >-//CHECK#1 >-if (typeof array !== "object") { >- testFailed('#1: var array = [[1,2], [3], []]; typeof array === "object". Actual: ' + (typeof array)); >-} >- >-//CHECK#2 >-if (array instanceof Array !== true) { >- testFailed('#2: var array = [[1,2], [3], []]; array instanceof Array === true'); >-} >- >-//CHECK#3 >-if (array.toString !== Array.prototype.toString) { >- testFailed('#3: var array = [[1,2], [3], []]; array.toString === Array.prototype.toString. Actual: ' + (array.toString)); >-} >- >-//CHECK#4 >-if (array.length !== 3) { >- testFailed('#4: var array = [[1,2], [3], []]; array.length === 3. Actual: ' + (array.length)); >-} >- >-var subarray = array[0]; >- >-//CHECK#5 >-if (typeof subarray !== "object") { >- testFailed('#5: var array = [[1,2], [3], []]; var subarray = array[0]; typeof subarray === "object". Actual: ' + (typeof subarray)); >-} >- >-//CHECK#6 >-if (subarray instanceof Array !== true) { >- testFailed('#6: var array = [[1,2], [3], []]; var subarray = array[0]; subarray instanceof Array === true'); >-} >- >-//CHECK#7 >-if (subarray.toString !== Array.prototype.toString) { >- testFailed('#7: var array = [[1,2], [3], []]; var subarray = array[0]; subarray.toString === Array.prototype.toString. Actual: ' + (subarray.toString)); >-} >- >-//CHECK#8 >-if (subarray.length !== 2) { >- testFailed('#8: var array = [[1,2], [3], []]; var subarray = array[0]; subarray.length === 2. Actual: ' + (subarray.length)); >-} >- >-//CHECK#9 >-if (subarray[0] !== 1) { >- testFailed('#9: var array = [[1,2], [3], []]; var subarray = array[0]; subarray[0] === 1. Actual: ' + (subarray[0])); >-} >- >-//CHECK#10 >-if (subarray[1] !== 2) { >- testFailed('#10: var array = [[1,2], [3], []]; var subarray = array[1]; subarray[1] === 2. Actual: ' + (subarray[1])); >-} >- >-var subarray = array[1]; >- >-//CHECK#11 >-if (typeof subarray !== "object") { >-testFailed('#11: var array = [[1,2], [3], []]; var subarray = array[1]; typeof subarray === "object". Actual: ' + (typeof subarray)); >-} >- >-//CHECK#12 >-if (subarray instanceof Array !== true) { >-testFailed('#12: var array = [[1,2], [3], []]; var subarray = array[1]; subarray instanceof Array === true'); >-} >- >-//CHECK#13 >-if (subarray.toString !== Array.prototype.toString) { >-testFailed('#13: var array = [[1,2], [3], []]; var subarray = array[1]; subarray.toString === Array.prototype.toString. Actual: ' + (subarray.toString)); >-} >- >-//CHECK#14 >-if (subarray.length !== 1) { >-testFailed('#14: var array = [[1,2], [3], []]; var subarray = array[1]; subarray.length === 1. Actual: ' + (subarray.length)); >-} >- >-//CHECK#15 >-if (subarray[0] !== 3) { >-testFailed('#15: var array = [[1,2], [3], []]; var subarray = array[1]; subarray[0] === 3. Actual: ' + (subarray[0])); >-} >- >-var subarray = array[2]; >- >-//CHECK#16 >-if (typeof subarray !== "object") { >-testFailed('#16: var array = [[1,2], [3], []]; var subarray = array[2]; typeof subarray === "object". Actual: ' + (typeof subarray)); >-} >- >-//CHECK#17 >-if (subarray instanceof Array !== true) { >-testFailed('#17: var array = [[1,2], [3], []]; var subarray = array[2]; subarray instanceof Array === true'); >-} >- >-//CHECK#18 >-if (subarray.toString !== Array.prototype.toString) { >-testFailed('#18: var array = [[1,2], [3], []]; var subarray = array[2]; subarray.toString === Array.prototype.toString. Actual: ' + (subarray.toString)); >-} >- >-//CHECK#19 >-if (subarray.length !== 0) { >-testFailed('#19: var array = [[1,2], [3], []]; var subarray = array[2]; subarray.length === 0. Actual: ' + (subarray.length)); >-} >- >-//CHECK#20 >-if (array[0][0] !== 1) { >- testFailed('#20: var array = [[1,2], [3], []]; array[0][0] === 1. Actual: ' + (array[0][0])); >-} >- >-//CHECK#21 >-if (array[0][1] !== 2) { >- testFailed('#21: var array = [[1,2], [3], []]; array[0][1] === 2. Actual: ' + (array[0][1])); >-} >- >-//CHECK#22 >-if (array[1][0] !== 3) { >- testFailed('#722: var array = [[1,2], [3], []]; array[1][0] === 3. Actual: ' + (array[1][0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1-expected.txt >deleted file mode 100644 >index 4d929d8fea6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.html >deleted file mode 100644 >index b25dafbd957..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A1.1; >-* @section: 11.1.5; >-* @assertion: Evaluate the production ObjectLiteral: { }; >-* @description: Checking various properteis of the object defined with "var object = {}"; >-*/ >- >-var object = {}; >- >-//CHECK#1 >-if (typeof object !== "object") { >- testFailed('#1: var object = {}; typeof object === "object". Actual: ' + (typeof object)); >-} >- >-//CHECK#2 >-if (object instanceof Object !== true) { >- testFailed('#2: var object = {}; object instanceof Object === true'); >-} >- >-//CHECK#3 >-if (object.toString !== Object.prototype.toString) { >- testFailed('#3: var object = {}; object.toString === Object.prototype.toString. Actual: ' + (object.toString)); >-} >- >-//CHECK#4 >-if (object.toString() !== "[object Object]") { >- testFailed('#4: var object = {}; object.toString === "[object Object]". Actual: ' + (object.toString)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2-expected.txt >deleted file mode 100644 >index 6f84901433c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.html >deleted file mode 100644 >index c5717913404..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A1.2; >-* @section: 11.1.5; >-* @assertion: Evaluate the production ObjectLiteral: { NumericLiteral : AssignmentExpression}; >-* @description: Checking various properteis and contents of the object defined with "var object = {1 : true}"; >-*/ >- >-var object = {1 : true}; >- >-//CHECK#1 >-if (typeof object !== "object") { >- testFailed('#1: var object = {1 : true}; typeof object === "object". Actual: ' + (typeof object)); >-} >- >-//CHECK#2 >-if (object instanceof Object !== true) { >- testFailed('#2: var object = {1 : true}; object instanceof Object === true'); >-} >- >-//CHECK#3 >-if (object.toString !== Object.prototype.toString) { >- testFailed('#3: var object = {1 : true}; object.toString === Object.prototype.toString. Actual: ' + (object.toString)); >-} >- >-//CHECK#4 >-if (object[1] !== true) { >- testFailed('#4: var object = {1 : true}; object[1] === true'); >-} >- >-//CHECK#5 >-if (object["1"] !== true) { >- testFailed('#5: var object = {1 : true}; object["1"] === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3-expected.txt >deleted file mode 100644 >index 45f9b28979a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.html >deleted file mode 100644 >index 50562aac015..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A1.3; >-* @section: 11.1.5; >-* @assertion: Evaluate the production ObjectLiteral: { StringLiteral : AssignmentExpression}; >-* @description: Checking various properteis and contents of the object defined with "var object = {"x" : true}"; >-*/ >- >-var object = {"x" : true}; >- >-//CHECK#1 >-if (typeof object !== "object") { >- testFailed('#1: var object = {"x" : true}; typeof object === "object". Actual: ' + (typeof object)); >-} >- >-//CHECK#2 >-if (object instanceof Object !== true) { >- testFailed('#2: var object = {"x" : true}; object instanceof Object === true'); >-} >- >-//CHECK#3 >-if (object.toString !== Object.prototype.toString) { >- testFailed('#3: var object = {"x" : true}; object.toString === Object.prototype.toString. Actual: ' + (object.toString)); >-} >- >-//CHECK#4 >-if (object["x"] !== true) { >- testFailed('#4: var object = {"x" : true}; object["x"] === true'); >-} >- >-//CHECK#5 >-if (object.x !== true) { >- testFailed('#5: var object = {"x" : true}; object.x === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4-expected.txt >deleted file mode 100644 >index 0d6acf1554d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.html >deleted file mode 100644 >index a4470257b20..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A1.4; >-* @section: 11.1.5; >-* @assertion: Evaluate the production ObjectLiteral: { Identifier : AssignmentExpression}; >-* @description: Checking various properteis and contents of the object defined with "var object = {prop : true}"; >-*/ >- >-var object = {prop : true}; >- >-//CHECK#1 >-if (typeof object !== "object") { >- testFailed('#1: var object = {prop : true}; typeof object === "object". Actual: ' + (typeof object)); >-} >- >-//CHECK#2 >-if (object instanceof Object !== true) { >- testFailed('#2: var object = {prop : true}; object instanceof Object === true'); >-} >- >-//CHECK#3 >-if (object.toString !== Object.prototype.toString) { >- testFailed('#3: var object = {prop : true}; object.toString === Object.prototype.toString. Actual: ' + (object.toString)); >-} >- >-//CHECK#4 >-if (object["prop"] !== true) { >- testFailed('#4: var object = {prop : true}; object["prop"] === true'); >-} >- >-//CHECK#5 >-if (object.prop !== true) { >- testFailed('#5: var object = {prop : true}; object.prop === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2-expected.txt >deleted file mode 100644 >index f3c6d8dd323..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.html >deleted file mode 100644 >index 0edfd679330..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.html >+++ /dev/null >@@ -1,176 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A2; >-* @section: 11.1.5; >-* @assertion: Evaluate the production ObjectLiteral: { PropertyName : AssignmentExpression }; >-* @description: Creating property "prop" of various types(boolean, number and etc.); >-*/ >- >-//CHECK#1 >-var x = true; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#1: var x = true; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#2 >-var x = new Boolean(true); >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#2: var x = new Boolean(true); var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#3 >-var x = 1; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#3: var x = 1; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#4 >-var x = new Number(1); >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#4: var x = new Number(1); var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#5 >-var x = "1"; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#5: var x = "1"; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#6 >-var x = new String(1); >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#6: var x = new String(1); var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#7 >-var x = undefined; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#7: var x = undefined; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#8 >-var x = null; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#8: var x = null; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#9 >-var x = {}; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#9: var x = {}; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#10 >-var x = [1,2]; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#10: var x = [1,2]; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#11 >-var x = function() {}; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#11: var x = function() {}; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-//CHECK#12 >-var x = this; >-var object = {prop : x}; >-if (object.prop !== x) { >- testFailed('#12: var x = this; var object = {prop : x}; object.prop === x. Actual: ' + (object.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3-expected.txt >deleted file mode 100644 >index 90b43848b9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.html >deleted file mode 100644 >index acb1f0a576b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A3; >-* @section: 11.1.5; >-* @assertion: Evaluate the production ObjectLiteral: { PropertyNameAndValueList }; >-* @description: Creating the object defined with "var object = {0 : 1, "1" : "x", o : {}}"; >-*/ >- >-var object = {0 : 1, "1" : "x", o : {}}; >- >-//CHECK#1 >-if (object[0] !== 1) { >- testFailed('#1: var object = {0 : 1; "1" : "x"; o : {}}; object[0] === 1. Actual: ' + (object[0])); >-} >- >-//CHECK#2 >-if (object["1"] !== "x") { >- testFailed('#2: var object = {0 : 1; "1" : "x"; o : {}}; object["1"] === "x". Actual: ' + (object["1"])); >-} >- >-//CHECK#3 >-if (typeof object.o !== "object") { >- testFailed('#1: var object = {0 : 1; "1" : "x"; o : {}}; typeof object.o === "object". Actual: ' + (typeof object.o)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1-expected.txt >deleted file mode 100644 >index fc6074fe5b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A4.1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.html >deleted file mode 100644 >index 8c7518cac5c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A4.1; >-* @section: 11.1.5; >-* @assertion: The PropertyName is not BooleanLiteral; >-* @description: Checking if execution of "var object = {true : 1}" fails; >-* @negative >-*/ >- >-//CHECK#1 >-var object = {true : 1}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2-expected.txt >deleted file mode 100644 >index 19520e3c1c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A4.2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.html >deleted file mode 100644 >index b3169f64b84..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A4.2; >-* @section: 11.1.5; >-* @assertion: The PropertyName is not nullLiteral; >-* @description: Checking if execution of "var object = {null : true}" fails; >-* @negative >-*/ >- >-//CHECK#1 >-var object = {null : true}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3-expected.txt >deleted file mode 100644 >index 4495996badd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.5_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.html >deleted file mode 100644 >index 420216b6942..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.5_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.5_A4.3; >-* @section: 11.1.5; >-* @assertion: The PropertyName is undefined, ToString(BooleanLiteral), ToString(nullLiteral); >-* @description: Creating properties with following names: undefined, 'true', 'null'; >-*/ >- >-//CHECK#1 >-var object = {undefined : true}; >-if (object.undefined !== true) { >- testFailed('#1: var object = {undefined : true}; object.undefined === true'); >-} >- >-//CHECK#2 >-var object = {undefined : true}; >-if (object["undefined"] !== true) { >- testFailed('#2: var object = {undefined : true}; object["undefined"] === true'); >-} >- >-//CHECK#3 >-var object = {"true" : true}; >-if (object["true"] !== true) { >- testFailed('#3: var object = {"true" : true}; object["true"] === true'); >-} >- >-//CHECK#4 >-var object = {"null" : true}; >-if (object["null"] !== true) { >- testFailed('#4: var object = {"null" : true}; object["null"] === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1-expected.txt >deleted file mode 100644 >index 8a38f9598e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.6_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.html >deleted file mode 100644 >index 3b9dabd690a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.6_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.6_A1; >-* @section: 11.1.6, 7.2, 7.3; >-* @assertion: White Space and Line Terminator inside "grouping" operator are allowed; >-* @description: Inserting WhiteSpaces and LineTerminators into grouping operator. Eval is used; >-*/ >- >-//CHECK#1 >-if (eval("(\u00091\u0009)") !== 1) { >- testFailed('#1: (\\u00091\\u0009) === 1'); >-} >- >-//CHECK#2 >-if (eval("(\u000B1\u000B)") !== 1) { >- testFailed('#2: (\\u000B1\\u000B) === 1'); >-} >- >-//CHECK#3 >-if (eval("(\u000C1\u000C)") !== 1) { >- testFailed('#3: (\\u000C1\\u000C) === 1'); >-} >- >-//CHECK#4 >-if (eval("(\u00201\u0020)") !== 1) { >- testFailed('#4: (\\u00201\\u0020 === 1'); >-} >- >-//CHECK#5 >-if (eval("(\u00A01\u00A0)") !== 1) { >- testFailed('#5: (\\u00A01\\u00A0) === 1'); >-} >- >-//CHECK#6 >-if (eval("(\u000A1\u000A)") !== 1) { >- testFailed('#6: (\\u000A1\\u000A) === 1'); >-} >- >-//CHECK#7 >-if (eval("(\u000D1\u000D)") !== 1) { >- testFailed('#7: (\\u000D1\\u000D) === 1'); >-} >- >-//CHECK#8 >-if (eval("(\u20281\u2028)") !== 1) { >- testFailed('#8: (\\u20281\\u2028) === 1'); >-} >- >-//CHECK#9 >-if (eval("(\u20291\u2029)") !== 1) { >- testFailed('#9: (\\u20291\\u2029) === 1'); >-} >- >-//CHECK#10 >-if (eval("(\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029)") !== 1) { >- testFailed('#10: (\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029) === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2-expected.txt >deleted file mode 100644 >index 5cf5e878738..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.6_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.html >deleted file mode 100644 >index cb87529adf9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.6_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.6_A2; >-* @section: 11.1.6; >-* @assertion: "This" operator doesn't use GetValue. The operators "delete" and "typeof" can be applied to parenthesised expressions; >-* @description: Applying "delete" and "typeof" operators to an undefined variable and a property of an object; >-*/ >- >-//CHECK#1 >-if (delete (x) !== true) { >- testFailed('#1: delete (x) === true'); >-} >- >-//CHECK#2 >-if (typeof (x) !== "undefined") { >- testFailed('#2: typeof (x) === "undefined". Actual: ' + (typeof (x))); >-} >- >-var object = {}; >-//CHECK#3 >-if (delete (object.prop) !== true) { >- testFailed('#3: var object = {}; delete (object.prop) === true'); >-} >- >-//CHECK#4 >-if (typeof (object.prop) !== "undefined") { >- testFailed('#4: var object = {}; typeof (object.prop) === "undefined". Actual: ' + (typeof (object.prop))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1-expected.txt >deleted file mode 100644 >index fd5017a62d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.html >deleted file mode 100644 >index 930f6a4c4f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.6_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.6_A3_T1; >-* @section: 11.1.6; >-* @assertion: "This" operator only evaluates Expression; >-* @description: Applying grouping operator to Boolean; >-*/ >- >-// Check for Boolean >- >-//CHECK#1 >-if ((true) !== true) { >- testFailed('#1: (true) === true'); >-} >- >-//CHECK#2 >-var x = new Boolean(true); >-if ((x) !== x) { >- testFailed('#2: var x = new Boolean(true); (x) === x. Actual: ' + ((x))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2-expected.txt >deleted file mode 100644 >index 51bfba78145..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.html >deleted file mode 100644 >index 3372a141ff2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.6_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.6_A3_T2; >-* @section: 11.1.6; >-* @assertion: "This" operator only evaluates Expression; >-* @description: Applying grouping operator to Number; >-*/ >- >-//Check for Number >- >-//CHECK#1 >-if ((1) !== 1) { >- testFailed('#1: (1) === 1. Actual: ' + ((1))); >-} >- >-//CHECK#2 >-var x = new Number(1); >-if ((x) !== x) { >- testFailed('#2: var x = new Number(1); (x) === x. Actual: ' + ((x))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3-expected.txt >deleted file mode 100644 >index dd31a52c88f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.html >deleted file mode 100644 >index 099de9d7312..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.6_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.6_A3_T3; >-* @section: 11.1.6; >-* @assertion: "This" operator only evaluates Expression; >-* @description: Applying grouping operator to String; >-*/ >- >-//Check for String >- >-//CHECK#1 >-if (("1") !== "1") { >- testFailed('#1: ("1") === "1". Actual: ' + (("1"))); >-} >- >-//CHECK#2 >-if (("x") !== "x") { >- testFailed('#2: ("x") === "x". Actual: ' + (("x"))); >-} >- >-//CHECK#3 >-var x = new Number("1"); >-if ((x) !== x) { >- testFailed('#3: var x = new Number("1"); (x) === x. Actual: ' + ((x))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4-expected.txt >deleted file mode 100644 >index 354ac920d51..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.html >deleted file mode 100644 >index 6905c5803ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.6_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.6_A3_T4; >-* @section: 11.1.6; >-* @assertion: "This" operator only evaluates Expression; >-* @description: Applying grouping operator to undefined; >-*/ >- >-//Check for undefined and null >- >-//CHECK#1 >-if ((undefined) !== undefined) { >- testFailed('#1: (undefined) === undefined. Actual: ' + ((undefined))); >-} >- >-//CHECK#2 >-if ((void 0) !== void 0) { >- testFailed('#2: (void 0) === void 0. Actual: ' + ((void 0))); >-} >- >-//CHECK#2 >-if ((null) !== null) { >- testFailed('#2: (null) === null. Actual: ' + ((null))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5-expected.txt >deleted file mode 100644 >index 9125a661a5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.html >deleted file mode 100644 >index 9363b965081..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.6_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.6_A3_T5; >-* @section: 11.1.6; >-* @assertion: "This" operator only evaluates Expression; >-* @description: Using grouping operator in declaration of variables; >-*/ >- >-//CHECK#1 >-(x) = 1; >-if (x !== 1) { >- testFailed('#1: (x) = 1; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var y = 1; (y)++; ++(y); (y)--; --(y); >-if (y !== 1) { >- testFailed('#2: var y = 1; (y)++; ++(y); (y)--; --(y); y === 1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6-expected.txt >deleted file mode 100644 >index bc8253e89ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.html >deleted file mode 100644 >index e63208dde9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.1.6_A3_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.1.6_A3_T6; >-* @section: 11.1.6; >-* @assertion: "This" operator only evaluates Expression; >-* @description: Applying grouping operator to delete and typeof operators; >-*/ >- >-//CHECK#1 >-if (delete (x) !== true) { >- testFailed('#1: delete (x) === true'); >-} >- >-//CHECK#2 >-if (typeof (x) !== "undefined") { >- testFailed('#2: typeof (x) === "undefined". Actual: ' + (typeof (x))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1-expected.txt >deleted file mode 100644 >index 2cdaa2fb679..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.html >deleted file mode 100644 >index 68d223fba97..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A1.1; >-* @section: 11.2.1, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between MemberExpression or CallExpression and "." and between "." and Identifier are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("Number\u0009.\u0009POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#1: Number\\u0009.\\u0009POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#2 >-if (eval("Number\u000B.\u000BPOSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#2: Number\\u000B.\\u000BPOSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#3 >-if (eval("Number\u000C.\u000CPOSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#3: Number\\u000C.\\u000CPOSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#4 >-if (eval("Number\u0020.\u0020POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#4: Number\\u0020.\\u0020POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#5 >-if (eval("Number\u00A0.\u00A0POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#5: Number\\u00A0.\\u00A0POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#6 >-if (eval("Number\u000A.\u000APOSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#6: Number\\u000A.\\u000APOSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#7 >-if (eval("Number\u000D.\u000DPOSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#7: Number\\u000D.\\u000DPOSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#8 >-if (eval("Number\u2028.\u2028POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#8: Number\\u2028.\\u2028POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#9 >-if (eval("Number\u2029.\u2029POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#9: Number\\u2029.\\u2029POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#10 >-if (eval("Number\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029.\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029POSITIVE_INFINITY") !== Number.POSITIVE_INFINITY) { >- testFailed('#10: Number\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029.\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029POSITIVE_INFINITY === Number.POSITIVE_INFINITY'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2-expected.txt >deleted file mode 100644 >index d0ded165f27..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.html >deleted file mode 100644 >index a0eb24f279a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A1.2; >-* @section: 11.2.1, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "[" and MemberExpression or CallExpression and between Identifier and "]" are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval('Number[\u0009"POSITIVE_INFINITY"\u0009]') !== Number.POSITIVE_INFINITY) { >- testFailed('#1: Number[\\u0009"POSITIVE_INFINITY"\\u0009] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#2 >-if (eval('Number[\u000B"POSITIVE_INFINITY"\u000B]') !== Number.POSITIVE_INFINITY) { >- testFailed('#2: Number[\\u000B"POSITIVE_INFINITY"\\u000B] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#3 >-if (eval('Number[\u000C"POSITIVE_INFINITY"\u000C]') !== Number.POSITIVE_INFINITY) { >- testFailed('#3: Number[\\u000C"POSITIVE_INFINITY"\\u000C] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#4 >-if (eval('Number[\u0020"POSITIVE_INFINITY"\u0020]') !== Number.POSITIVE_INFINITY) { >- testFailed('#4: Number[\\u0020"POSITIVE_INFINITY"\\u0020] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#5 >-if (eval('Number[\u00A0"POSITIVE_INFINITY"\u00A0]') !== Number.POSITIVE_INFINITY) { >- testFailed('#5: Number[\\u00A0"POSITIVE_INFINITY"\\u00A0] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#6 >-if (eval('Number[\u000A"POSITIVE_INFINITY"\u000A]') !== Number.POSITIVE_INFINITY) { >- testFailed('#6: Number[\\u000A"POSITIVE_INFINITY"\\u000A] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#7 >-if (eval('Number[\u000D"POSITIVE_INFINITY"\u000D]') !== Number.POSITIVE_INFINITY) { >- testFailed('#7: Number[\\u000D"POSITIVE_INFINITY"\\u000D] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#8 >-if (eval('Number[\u2028"POSITIVE_INFINITY"\u2028]') !== Number.POSITIVE_INFINITY) { >- testFailed('#8: Number[\\u2028"POSITIVE_INFINITY"\\u2028] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#9 >-if (eval('Number[\u2029"POSITIVE_INFINITY"\u2029]') !== Number.POSITIVE_INFINITY) { >- testFailed('#9: Number[\\u2029"POSITIVE_INFINITY"\\u2029] === Number.POSITIVE_INFINITY'); >-} >- >-//CHECK#10 >-if (eval('Number[\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029"POSITIVE_INFINITY"\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029]') !== Number.POSITIVE_INFINITY) { >- testFailed('#10: Number[\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029"POSITIVE_INFINITY"\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029] === Number.POSITIVE_INFINITY'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2-expected.txt >deleted file mode 100644 >index 9351ece2fea..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.html >deleted file mode 100644 >index 681bc3b601f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A2; >-* @section: 11.2.1; >-* @assertion: MemberExpression and CallExpression uses GetValue; >-* @description: If GetBase(MemberExpression or CallExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- object[1]; >- testFailed('#1.1: object[1] throw ReferenceError. Actual: ' + (object[1])); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: object[1] throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- object.prop; >- testFailed('#2.1: object.prop throw ReferenceError. Actual: ' + (object.prop)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#2.2: object.prop throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1-expected.txt >deleted file mode 100644 >index 6b0dec159e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.html >deleted file mode 100644 >index a07ff3ff4a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A3_T1; >-* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; >-* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression); >-* @description: Checking Boolean case; >-*/ >- >-//CHECK#1 >-if (true.toString() !== "true") { >- testFailed('#1: true.toString() === "true". Actual: ' + (true.toString())); >-} >- >-//CHECK#2 >-if (false["toString"]() !== "false") { >- testFailed('#2: false["toString"]() === "false". Actual: ' + (false["toString"]())); >-} >- >-//CHECK#3 >-if (new Boolean(true).toString() !== "true") { >- testFailed('#3: new Boolean(true).toString() === "true". Actual: ' + (new Boolean(true).toString())); >-} >- >-//CHECK#4 >-if (new Boolean(false)["toString"]() !== "false") { >- testFailed('#4: new Boolean(false)["toString"]() === "false". Actual: ' + (new Boolean(false)["toString"]())); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2-expected.txt >deleted file mode 100644 >index 96904247dd6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.html >deleted file mode 100644 >index 8ec035fecfc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A3_T2; >-* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; >-* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression) >-* @description: Checking Number case; >-*/ >- >-//CHECK#1 >-if (1..toString() !== "1") { >- testFailed('#1: 1..toString() === "1". Actual: ' + (1..toString())); >-} >- >-//CHECK#2 >-if (1.1.toFixed(5) !== "1.10000") { >- testFailed('#2: 1.1.toFixed(5) === "1.10000". Actual: ' + (1.1.toFixed(5))); >-} >- >-//CHECK#3 >-if (1["toString"]() !== "1") { >- testFailed('#3: 1["toString"]() === "1". Actual: ' + (1["toString"]())); >-} >- >-//CHECK#4 >-if (1.["toFixed"](5) !== "1.00000") { >- testFailed('#4: 1.["toFixed"](5) === "1.00000". Actual: ' + (1.["toFixed"](5))); >-} >- >-//CHECK#5 >-if (new Number(1).toString() !== "1") { >- testFailed('#5: new Number(1).toString() === "1". Actual: ' + (new Number(1).toString())); >-} >- >-//CHECK#6 >-if (new Number(1)["toFixed"](5) !== "1.00000") { >- testFailed('#6: new Number(1)["toFixed"](5) === "1.00000". Actual: ' + (new Number(1)["toFixed"](5))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3-expected.txt >deleted file mode 100644 >index 31b523387de..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.html >deleted file mode 100644 >index 8e403a0ca31..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A3_T3; >-* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; >-* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression) >-* @description: Checking String case; >-* >-*/ >- >-//CHECK#1 >-if ("abc123".charAt(5) !== "3") { >- testFailed('#1: "abc123".charAt(5) === "3". Actual: ' + ("abc123".charAt(5))); >-} >- >-//CHECK#2 >-if ("abc123"["charAt"](0) !== "a") { >- testFailed('#2: "abc123"["charAt"](0) === "a". Actual: ' + ("abc123"["charAt"](0))); >-} >- >-//CHECK#3 >-if ("abc123".length !== 6) { >- testFailed('#3: "abc123".length === 6. Actual: ' + ("abc123".length)); >-} >- >-//CHECK#4 >-if ("abc123"["length"] !== 6) { >- testFailed('#4: "abc123"["length"] === 6. Actual: ' + ("abc123"["length"])); >-} >- >-//CHECK#5 >-if (new String("abc123").length !== 6) { >- testFailed('#5: new String("abc123").length === 6. Actual: ' + (new String("abc123").length)); >-} >- >-//CHECK#6 >-if (new String("abc123")["charAt"](2) !== "c") { >- testFailed('#6: new String("abc123")["charAt"](2) === "c". Actual: ' + (new String("abc123")["charAt"](2))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4-expected.txt >deleted file mode 100644 >index e8ba2a90c3a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.html >deleted file mode 100644 >index b9c40c6c83d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A3_T4; >-* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; >-* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression) >-* @description: Checking "undefined" case; >-*/ >- >-//CHECK#1 >-try { >- undefined.toString(); >- testFailed('#1.1: undefined.toString() throw TypeError. Actual: ' + (undefined.toString())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: undefined.toString() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- undefined["toString"](); >- testFailed('#2.1: undefined["toString"]() throw TypeError. Actual: ' + (undefined["toString"]())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: undefined["toString"]() throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5-expected.txt >deleted file mode 100644 >index 38efef2aafe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.html >deleted file mode 100644 >index a6cc380b4a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A3_T5; >-* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2; >-* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression) >-* @description: Checking "null" case; >-*/ >- >-//CHECK#1 >-try { >- null.toString(); >- testFailed('#1.1: null.toString() throw TypeError. Actual: ' + (null.toString())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: null.toString() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- null["toString"](); >- testFailed('#2.1: null["toString"]() throw TypeError. Actual: ' + (null["toString"]())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: null["toString"]() throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1-expected.txt >deleted file mode 100644 >index 9fa6f8d8848..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.html >deleted file mode 100644 >index 08c2abc66c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T1; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties of this object; >-*/ >- >-//CHECK#1-32 >-if (typeof (this.NaN) === "undefined") testFailed('#1: typeof (this.NaN) !== "undefined"'); >-if (typeof this['NaN'] === "undefined") testFailed('#2: typeof this["NaN"] !== "undefined"'); >-if (typeof this.Infinity === "undefined") testFailed('#3: typeof this.Infinity !== "undefined"'); >-if (typeof this['Infinity'] === "undefined") testFailed('#4: typeof this["Infinity"] !== "undefined"'); >-if (typeof this.parseInt === "undefined") testFailed('#5: typeof this.parseInt !== "undefined"'); >-if (typeof this['parseInt'] === "undefined") testFailed('#6: typeof this["parseInt"] !== "undefined"'); >-if (typeof this.parseFloat === "undefined") testFailed('#7: typeof this.parseFloat !== "undefined"'); >-if (typeof this['parseFloat'] === "undefined") testFailed('#8: typeof this["parseFloat"] !== "undefined"'); >-if (typeof this.escape === "undefined") testFailed('#9: typeof this.escape !== "undefined"'); >-if (typeof this['escape'] === "undefined") testFailed('#10: typeof this["escape"] !== "undefined"'); >-if (typeof this.unescape === "undefined") testFailed('#11: typeof this.unescape !== "undefined"'); >-if (typeof this['unescape'] === "undefined") testFailed('#12: typeof this["unescape"] !== "undefined"'); >-if (typeof this.isNaN === "undefined") testFailed('#13: typeof this.isNaN !== "undefined"'); >-if (typeof this['isNaN'] === "undefined") testFailed('#14: typeof this["isNaN"] !== "undefined"'); >-if (typeof this.isFinite === "undefined") testFailed('#15: typeof this.isFinite !== "undefined"'); >-if (typeof this['isFinite'] === "undefined") testFailed('#16: typeof this["isFinite"] !== "undefined"'); >-if (typeof this.Object === "undefined") testFailed('#17: typeof this.Object !== "undefined"'); >-if (typeof this['Object'] === "undefined") testFailed('#18: typeof this["Object"] !== "undefined"'); >-if (typeof this.Number === "undefined") testFailed('#19: typeof this.Number !== "undefined"'); >-if (typeof this['Number'] === "undefined") testFailed('#20: typeof this["Number"] !== "undefined"'); >-if (typeof this.Function === "undefined") testFailed('#21: typeof this.Function !== "undefined"'); >-if (typeof this['Function'] === "undefined") testFailed('#22: typeof this["Function"] !== "undefined"'); >-if (typeof this.Array === "undefined") testFailed('#23: typeof this.Array !== "undefined"'); >-if (typeof this['Array'] === "undefined") testFailed('#24: typeof this["Array"] !== "undefined"'); >-if (typeof this.String === "undefined") testFailed('#25: typeof this.String !== "undefined"'); >-if (typeof this['String'] === "undefined") testFailed('#26: typeof this["String"] !== "undefined"'); >-if (typeof this.Boolean === "undefined") testFailed('#27: typeof this.Boolean !== "undefined"'); >-if (typeof this['Boolean'] === "undefined") testFailed('#28: typeof this["Boolean"] !== "undefined"'); >-if (typeof this.Date === "undefined") testFailed('#29: typeof this.Date !== "undefined"'); >-if (typeof this['Date'] === "undefined") testFailed('#30: typeof this["Date"] !== "undefined"'); >-if (typeof this.Math === "undefined") testFailed('#31: typeof this.Math !== "undefined"'); >-if (typeof this['Math'] === "undefined") testFailed('#32: typeof this["Math"] !== "undefined"'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2-expected.txt >deleted file mode 100644 >index 72c7b7e39c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.html >deleted file mode 100644 >index 1f3da0c83d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T2; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties and methods of Object objects; >-*/ >- >-//CHECK#1-8 >-if (typeof Object.prototype !== "object") testFailed('#1: typeof Object.prototype === "object". Actual: ' + (typeof Object.prototype )); >-if (typeof Object['prototype'] !== "object") testFailed('#2: typeof Object["prototype"] === "object". Actual: ' + (typeof Object["prototype"] )); >-if (typeof Object.toString !== "function") testFailed('#3: typeof Object.toString === "function". Actual: ' + (typeof Object.toString )); >-if (typeof Object['toString'] !== "function") testFailed('#4: typeof Object["toString"] === "function". Actual: ' + (typeof Object["toString"] )); >-if (typeof Object.valueOf !== "function") testFailed('#5: typeof Object.valueOf === "function". Actual: ' + (typeof Object.valueOf )); >-if (typeof Object['valueOf'] !== "function") testFailed('#6: typeof Object["valueOf"] === "function". Actual: ' + (typeof Object["valueOf"] )); >-if (typeof Object.constructor !== "function") testFailed('#7: typeof Object.constructor === "function". Actual: ' + (typeof Object.constructor )); >-if (typeof Object['constructor'] !== "function") testFailed('#8: typeof Object["constructor"] === "function". Actual: ' + (typeof Object["constructor"] )); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3-expected.txt >deleted file mode 100644 >index ba49a5fafb4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.html >deleted file mode 100644 >index 7debd441d6d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T3; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties of the Function object; >-*/ >- >-//CHECK#1-8 >-if (typeof Function.prototype !== "function") testFailed('#1: typeof Function.prototype === "function". Actual: ' + (typeof Function.prototype )); >-if (typeof Function['prototype'] !== "function") testFailed('#2: typeof Function["prototype"] === "function". Actual: ' + (typeof Function["prototype"] )); >-if (typeof Function.prototype.toString !== "function") testFailed('#3: typeof Function.prototype.toString === "function". Actual: ' + (typeof Function.prototype.toString )); >-if (typeof Function.prototype['toString'] !== "function") testFailed('#4: typeof Function.prototype["toString"] === "function". Actual: ' + (typeof Function.prototype["toString"] )); >-if (typeof Function.prototype.length !== "number") testFailed('#5: typeof Function.prototype.length === "number". Actual: ' + (typeof Function.prototype.length )); >-if (typeof Function.prototype['length'] !== "number") testFailed('#6: typeof Function.prototype["length"] === "number". Actual: ' + (typeof Function.prototype["length"] )); >-if (typeof Function.prototype.valueOf !== "function") testFailed('#7: typeof Function.prototype.valueOf === "function". Actual: ' + (typeof Function.prototype.valueOf )); >-if (typeof Function.prototype['valueOf'] !== "function") testFailed('#8: typeof Function.prototype["valueOf"] === "function". Actual: ' + (typeof Function.prototype["valueOf"] )); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4-expected.txt >deleted file mode 100644 >index 1790c2fe6a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.html >deleted file mode 100644 >index 55332c7fd71..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T4; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties of the Array object; >-*/ >- >-//CHECK#1-8 >-if (typeof Array.prototype !== "object") testFailed('#1: typeof Array.prototype === "object". Actual: ' + (typeof Array.prototype )); >-if (typeof Array['prototype'] !== "object") testFailed('#2: typeof Array["prototype"] === "object". Actual: ' + (typeof Array["prototype"] )); >-if (typeof Array.length !== "number") testFailed('#3: typeof Array.length === "number". Actual: ' + (typeof Array.length )); >-if (typeof Array['length'] !== "number") testFailed('#4: typeof Array["length"] === "number". Actual: ' + (typeof Array["length"] )); >-if (typeof Array.prototype.constructor !== "function") testFailed('#5: typeof Array.prototype.constructor === "function". Actual: ' + (typeof Array.prototype.constructor )); >-if (typeof Array.prototype['constructor'] !== "function") testFailed('#6: typeof Array.prototype["constructor"] === "function". Actual: ' + (typeof Array.prototype["constructor"] )); >-if (typeof Array.prototype.toString !== "function") testFailed('#7: typeof Array.prototype.toString === "function". Actual: ' + (typeof Array.prototype.toString )); >-if (typeof Array.prototype['toString'] !== "function") testFailed('#8: typeof Array.prototype["toString"] === "function". Actual: ' + (typeof Array.prototype["toString"] )); >-if (typeof Array.prototype.join !== "function") testFailed('#9: typeof Array.prototype.join === "function". Actual: ' + (typeof Array.prototype.join )); >-if (typeof Array.prototype['join'] !== "function") testFailed('#10: typeof Array.prototype["join"] === "function". Actual: ' + (typeof Array.prototype["join"] )); >-if (typeof Array.prototype.reverse !== "function") testFailed('#11: typeof Array.prototype.reverse === "function". Actual: ' + (typeof Array.prototype.reverse )); >-if (typeof Array.prototype['reverse'] !== "function") testFailed('#12: typeof Array.prototype["reverse"] === "function". Actual: ' + (typeof Array.prototype["reverse"] )); >-if (typeof Array.prototype.sort !== "function") testFailed('#13: typeof Array.prototype.sort === "function". Actual: ' + (typeof Array.prototype.sort )); >-if (typeof Array.prototype['sort'] !== "function") testFailed('#14: typeof Array.prototype["sort"] === "function". Actual: ' + (typeof Array.prototype["sort"] )); >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5-expected.txt >deleted file mode 100644 >index 577f7b3902a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.html >deleted file mode 100644 >index 5927e179892..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T5; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties of the String object; >-*/ >- >-//CHECK#1-28 >-if (typeof String.prototype !== "object") testFailed('#1: typeof String.prototype === "object". Actual: ' + (typeof String.prototype )); >-if (typeof String['prototype'] !== "object") testFailed('#2: typeof String["prototype"] === "object". Actual: ' + (typeof String["prototype"] )); >-if (typeof String.fromCharCode !== "function") testFailed('#3: typeof String.fromCharCode === "function". Actual: ' + (typeof String.fromCharCode )); >-if (typeof String['fromCharCode'] !== "function") testFailed('#4: typeof String["fromCharCode"] === "function". Actual: ' + (typeof String["fromCharCode"] )); >-if (typeof String.prototype.toString !== "function") testFailed('#5: typeof String.prototype.toString === "function". Actual: ' + (typeof String.prototype.toString )); >-if (typeof String.prototype['toString'] !== "function") testFailed('#6: typeof String.prototype["toString"] === "function". Actual: ' + (typeof String.prototype["toString"] )); >-if (typeof String.prototype.constructor !== "function") testFailed('#7: typeof String.prototype.constructor === "function". Actual: ' + (typeof String.prototype.constructor )); >-if (typeof String.prototype['constructor'] !== "function") testFailed('#8: typeof String.prototype["constructor"] === "function". Actual: ' + (typeof String.prototype["constructor"] )); >-if (typeof String.prototype.valueOf !== "function") testFailed('#9: typeof String.prototype.valueOf === "function". Actual: ' + (typeof String.prototype.valueOf )); >-if (typeof String.prototype['valueOf'] !== "function") testFailed('#10: typeof String.prototype["valueOf"] === "function". Actual: ' + (typeof String.prototype["valueOf"] )); >-if (typeof String.prototype.charAt !== "function") testFailed('#11: typeof String.prototype.charAt === "function". Actual: ' + (typeof String.prototype.charAt )); >-if (typeof String.prototype['charAt'] !== "function") testFailed('#12: typeof String.prototype["charAt"] === "function". Actual: ' + (typeof String.prototype["charAt"] )); >-if (typeof String.prototype.charCodeAt !== "function") testFailed('#13: typeof String.prototype.charCodeAt === "function". Actual: ' + (typeof String.prototype.charCodeAt )); >-if (typeof String.prototype['charCodeAt'] !== "function") testFailed('#14: typeof String.prototype["charCodeAt"] === "function". Actual: ' + (typeof String.prototype["charCodeAt"] )); >-if (typeof String.prototype.indexOf !== "function") testFailed('#15: typeof String.prototype.indexOf === "function". Actual: ' + (typeof String.prototype.indexOf )); >-if (typeof String.prototype['indexOf'] !== "function") testFailed('#16: typeof String.prototype["indexOf"] === "function". Actual: ' + (typeof String.prototype["indexOf"] )); >-if (typeof String.prototype.lastIndexOf !== "function") testFailed('#17: typeof String.prototype.lastIndexOf === "function". Actual: ' + (typeof String.prototype.lastIndexOf )); >-if (typeof String.prototype['lastIndexOf'] !== "function") testFailed('#18: typeof String.prototype["lastIndexOf"] === "function". Actual: ' + (typeof String.prototype["lastIndexOf"] )); >-if (typeof String.prototype.split !== "function") testFailed('#19: typeof String.prototype.split === "function". Actual: ' + (typeof String.prototype.split )); >-if (typeof String.prototype['split'] !== "function") testFailed('#20: typeof String.prototype["split"] === "function". Actual: ' + (typeof String.prototype["split"] )); >-if (typeof String.prototype.substring !== "function") testFailed('#21: typeof String.prototype.substring === "function". Actual: ' + (typeof String.prototype.substring )); >-if (typeof String.prototype['substring'] !== "function") testFailed('#22: typeof String.prototype["substring"] === "function". Actual: ' + (typeof String.prototype["substring"] )); >-if (typeof String.prototype.toLowerCase !== "function") testFailed('#23: typeof String.prototype.toLowerCase === "function". Actual: ' + (typeof String.prototype.toLowerCase )); >-if (typeof String.prototype['toLowerCase'] !== "function") testFailed('#24: typeof String.prototype["toLowerCase"] === "function". Actual: ' + (typeof String.prototype["toLowerCase"] )); >-if (typeof String.prototype.toUpperCase !== "function") testFailed('#25: typeof String.prototype.toUpperCase === "function". Actual: ' + (typeof String.prototype.toUpperCase )); >-if (typeof String.prototype['toUpperCase'] !== "function") testFailed('#26: typeof Array.prototype === "object". Actual: ' + (typeof Array.prototype )); >-if (typeof String.prototype.length !== "number") testFailed('#27: typeof String.prototype.length === "number". Actual: ' + (typeof String.prototype.length )); >-if (typeof String.prototype['length'] !== "number") testFailed('#28: typeof String.prototype["length"] === "number". Actual: ' + (typeof String.prototype["length"] )); >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6-expected.txt >deleted file mode 100644 >index ec53c4e7665..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.html >deleted file mode 100644 >index fbb70ec790b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T6; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties of the Boolean object; >-*/ >- >-//CHECK#1-8 >-if (typeof Boolean.prototype !== "object") testFailed('#1: typeof Boolean.prototype === "object". Actual: ' + (typeof Boolean.prototype )); >-if (typeof Boolean['prototype'] !== "object") testFailed('#2: typeof Boolean["prototype"] === "object". Actual: ' + (typeof Boolean["prototype"] )); >-if (typeof Boolean.constructor !== "function") testFailed('#3: typeof Boolean.constructor === "function". Actual: ' + (typeof Boolean.constructor )); >-if (typeof Boolean['constructor'] !== "function") testFailed('#4: typeof Boolean["constructor"] === "function". Actual: ' + (typeof Boolean["constructor"] )); >-if (typeof Boolean.prototype.valueOf !== "function") testFailed('#5: typeof Boolean.prototype.valueOf === "function". Actual: ' + (typeof Boolean.prototype.valueOf )); >-if (typeof Boolean.prototype['valueOf'] !== "function") testFailed('#6: typeof Boolean.prototype["valueOf"] === "function". Actual: ' + (typeof Boolean.prototype["valueOf"] )); >-if (typeof Boolean.prototype.toString !== "function") testFailed('#7: typeof Boolean.prototype.toString === "function". Actual: ' + (typeof Boolean.prototype.toString )); >-if (typeof Boolean.prototype['toString'] !== "function") testFailed('#8: typeof Boolean.prototype["toString"] === "function". Actual: ' + (typeof Boolean.prototype["toString"] )); >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7-expected.txt >deleted file mode 100644 >index 0e5957dcfb8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.html >deleted file mode 100644 >index 65574c4d498..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T7; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties of the Number object; >-*/ >- >-//CHECK#1-16 >-if (typeof Number.MAX_VALUE !== "number") testFailed('#1: typeof Number.MAX_VALUE === "number". Actual: ' + (typeof Number.MAX_VALUE )); >-if (typeof Number['MAX_VALUE'] !== "number") testFailed('#2: typeof Number["MAX_VALUE"] === "number". Actual: ' + (typeof Number["MAX_VALUE"] )); >-if (typeof Number.MIN_VALUE !== "number") testFailed('#3: typeof Number.MIN_VALUE === "number". Actual: ' + (typeof Number.MIN_VALUE )); >-if (typeof Number['MIN_VALUE'] !== "number") testFailed('#4: typeof Number["MIN_VALUE"] === "number". Actual: ' + (typeof Number["MIN_VALUE"] )); >-if (typeof Number.NaN !== "number") testFailed('#5: typeof Number.NaN === "number". Actual: ' + (typeof Number.NaN )); >-if (typeof Number['NaN'] !== "number") testFailed('#6: typeof Number["NaN"] === "number". Actual: ' + (typeof Number["NaN"] )); >-if (typeof Number.NEGATIVE_INFINITY !== "number") testFailed('#7: typeof Number.NEGATIVE_INFINITY === "number". Actual: ' + (typeof Number.NEGATIVE_INFINITY )); >-if (typeof Number['NEGATIVE_INFINITY'] !== "number") testFailed('#8: typeof Number["NEGATIVE_INFINITY"] === "number". Actual: ' + (typeof Number["NEGATIVE_INFINITY"] )); >-if (typeof Number.POSITIVE_INFINITY !== "number") testFailed('#9: typeof Number.POSITIVE_INFINITY === "number". Actual: ' + (typeof Number.POSITIVE_INFINITY )); >-if (typeof Number['POSITIVE_INFINITY'] !== "number") testFailed('#10: typeof Number["POSITIVE_INFINITY"] === "number". Actual: ' + (typeof Number["POSITIVE_INFINITY"] )); >-if (typeof Number.prototype.toString !== "function") testFailed('#11: typeof Number.prototype.toString === "function". Actual: ' + (typeof Number.prototype.toString )); >-if (typeof Number.prototype['toString'] !== "function") testFailed('#12: typeof Number.prototype["toString"] === "function". Actual: ' + (typeof Number.prototype["toString"] )); >-if (typeof Number.prototype.constructor !== "function") testFailed('#13: typeof Number.prototype.constructor === "function". Actual: ' + (typeof Number.prototype.constructor )); >-if (typeof Number.prototype['constructor'] !== "function") testFailed('#14: typeof Number.prototype["constructor"] === "function". Actual: ' + (typeof Number.prototype["constructor"] )); >-if (typeof Number.prototype.valueOf !== "function") testFailed('#15: typeof Number.prototype.valueOf === "function". Actual: ' + (typeof Number.prototype.valueOf )); >-if (typeof Number.prototype['valueOf'] !== "function") testFailed('#16: typeof Number.prototype["valueOf"] === "function". Actual: ' + (typeof Number.prototype["valueOf"] )); >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8-expected.txt >deleted file mode 100644 >index 5570199ee3f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.html >deleted file mode 100644 >index 55be16a2f97..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T8; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties of the Math Object; >-*/ >- >-//CHECK#1-52 >-if (typeof Math.E !== "number") testFailed('#1: typeof Math.E === "number". Actual: ' + (typeof Math.E )); >-if (typeof Math['E'] !== "number") testFailed('#2: typeof Math["E"] === "number". Actual: ' + (typeof Math["E"] )); >-if (typeof Math.LN10 !== "number") testFailed('#3: typeof Math.LN10 === "number". Actual: ' + (typeof Math.LN10 )); >-if (typeof Math['LN10'] !== "number") testFailed('#4: typeof Math["LN10"] === "number". Actual: ' + (typeof Math["LN10"] )); >-if (typeof Math.LN2 !== "number") testFailed('#5: typeof Math.LN2 === "number". Actual: ' + (typeof Math.LN2 )); >-if (typeof Math['LN2'] !== "number") testFailed('#6: typeof Math["LN2"] === "number". Actual: ' + (typeof Math["LN2"] )); >-if (typeof Math.LOG2E !== "number") testFailed('#7: typeof Math.LOG2E === "number". Actual: ' + (typeof Math.LOG2E )); >-if (typeof Math['LOG2E'] !== "number") testFailed('#8: typeof Math["LOG2E"] === "number". Actual: ' + (typeof Math["LOG2E"] )); >-if (typeof Math.LOG10E !== "number") testFailed('#9: typeof Math.LOG10E === "number". Actual: ' + (typeof Math.LOG10E )); >-if (typeof Math['LOG10E'] !== "number") testFailed('#10: typeof Math["LOG10E"] === "number". Actual: ' + (typeof Math["LOG10E"] )); >-if (typeof Math.PI !== "number") testFailed('#11: typeof Math.PI === "number". Actual: ' + (typeof Math.PI )); >-if (typeof Math['PI'] !== "number") testFailed('#12: typeof Math["PI"] === "number". Actual: ' + (typeof Math["PI"] )); >-if (typeof Math.SQRT1_2 !== "number") testFailed('#13: typeof Math.SQRT1_2 === "number". Actual: ' + (typeof Math.SQRT1_2 )); >-if (typeof Math['SQRT1_2'] !== "number") testFailed('#14: typeof Math["SQRT1_2"] === "number". Actual: ' + (typeof Math["SQRT1_2"] )); >-if (typeof Math.SQRT2 !== "number") testFailed('#15: typeof Math.SQRT2 === "number". Actual: ' + (typeof Math.SQRT2 )); >-if (typeof Math['SQRT2'] !== "number") testFailed('#16: typeof Math["SQRT2"] === "number". Actual: ' + (typeof Math["SQRT2"] )); >-if (typeof Math.abs !== "function") testFailed('#17: typeof Math.abs === "function". Actual: ' + (typeof Math.abs )); >-if (typeof Math['abs'] !== "function") testFailed('#18: typeof Math["abs"] === "function". Actual: ' + (typeof Math["abs"] )); >-if (typeof Math.acos !== "function") testFailed('#19: typeof Math.acos === "function". Actual: ' + (typeof Math.acos )); >-if (typeof Math['acos'] !== "function") testFailed('#20: typeof Math["acos"] === "function". Actual: ' + (typeof Math["acos"] )); >-if (typeof Math.asin !== "function") testFailed('#21: typeof Math.asin === "function". Actual: ' + (typeof Math.asin )); >-if (typeof Math['asin'] !== "function") testFailed('#22: typeof Math["asin"] === "function". Actual: ' + (typeof Math["asin"] )); >-if (typeof Math.atan !== "function") testFailed('#23: typeof Math.atan === "function". Actual: ' + (typeof Math.atan )); >-if (typeof Math['atan'] !== "function") testFailed('#24: typeof Math["atan"] === "function". Actual: ' + (typeof Math["atan"] )); >-if (typeof Math.atan2 !== "function") testFailed('#25: typeof Math.atan2 === "function". Actual: ' + (typeof Math.atan2 )); >-if (typeof Math['atan2'] !== "function") testFailed('#26: typeof Math["atan2"] === "function". Actual: ' + (typeof Math["atan2"] )); >-if (typeof Math.ceil !== "function") testFailed('#27: typeof Math.ceil === "function". Actual: ' + (typeof Math.ceil )); >-if (typeof Math['ceil'] !== "function") testFailed('#28: typeof Math["ceil"] === "function". Actual: ' + (typeof Math["ceil"] )); >-if (typeof Math.cos !== "function") testFailed('#29: typeof Math.cos === "function". Actual: ' + (typeof Math.cos )); >-if (typeof Math['cos'] !== "function") testFailed('#30: typeof Math["cos"] === "function". Actual: ' + (typeof Math["cos"] )); >-if (typeof Math.exp !== "function") testFailed('#31: typeof Math.exp === "function". Actual: ' + (typeof Math.exp )); >-if (typeof Math['exp'] !== "function") testFailed('#32: typeof Math["exp"] === "function". Actual: ' + (typeof Math["exp"] )); >-if (typeof Math.floor !== "function") testFailed('#33: typeof Math.floor === "function". Actual: ' + (typeof Math.floor )); >-if (typeof Math['floor'] !== "function") testFailed('#34: typeof Math["floor"] === "function". Actual: ' + (typeof Math["floor"] )); >-if (typeof Math.log !== "function") testFailed('#35: typeof Math.log === "function". Actual: ' + (typeof Math.log )); >-if (typeof Math['log'] !== "function") testFailed('#36: typeof Math["log"] === "function". Actual: ' + (typeof Math["log"] )); >-if (typeof Math.max !== "function") testFailed('#37: typeof Math.max === "function". Actual: ' + (typeof Math.max )); >-if (typeof Math['max'] !== "function") testFailed('#38: typeof Math["max"] === "function". Actual: ' + (typeof Math["max"] )); >-if (typeof Math.min !== "function") testFailed('#39: typeof Math.min === "function". Actual: ' + (typeof Math.min )); >-if (typeof Math['min'] !== "function") testFailed('#40: typeof Math["min"] === "function". Actual: ' + (typeof Math["min"] )); >-if (typeof Math.pow !== "function") testFailed('#41: typeof Math.pow === "function". Actual: ' + (typeof Math.pow )); >-if (typeof Math['pow'] !== "function") testFailed('#42: typeof Math["pow"] === "function". Actual: ' + (typeof Math["pow"] )); >-if (typeof Math.random !== "function") testFailed('#43: typeof Math.random === "function". Actual: ' + (typeof Math.random )); >-if (typeof Math['random'] !== "function") testFailed('#44: typeof Math["random"] === "function". Actual: ' + (typeof Math["random"] )); >-if (typeof Math.round !== "function") testFailed('#45: typeof Math.round === "function". Actual: ' + (typeof Math.round )); >-if (typeof Math['round'] !== "function") testFailed('#46: typeof Math["round"] === "function". Actual: ' + (typeof Math["round"] )); >-if (typeof Math.sin !== "function") testFailed('#47: typeof Math.sin === "function". Actual: ' + (typeof Math.sin )); >-if (typeof Math['sin'] !== "function") testFailed('#48: typeof Math["sin"] === "function". Actual: ' + (typeof Math["sin"] )); >-if (typeof Math.sqrt !== "function") testFailed('#49: typeof Math.sqrt === "function". Actual: ' + (typeof Math.sqrt )); >-if (typeof Math['sqrt'] !== "function") testFailed('#50: typeof Math["sqrt"] === "function". Actual: ' + (typeof Math["sqrt"] )); >-if (typeof Math.tan !== "function") testFailed('#51: typeof Math.tan === "function". Actual: ' + (typeof Math.tan )); >-if (typeof Math['tan'] !== "function") testFailed('#52: typeof Math["tan"] === "function". Actual: ' + (typeof Math["tan"] )); >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9-expected.txt >deleted file mode 100644 >index 26ab4a66c35..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.html >deleted file mode 100644 >index fca66658838..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.html >+++ /dev/null >@@ -1,183 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.1_A4_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.1_A4_T9; >-* @section: 11.2.1; >-* @assertion: Check type of various properties; >-* @description: Checking properties of the Date object; >-*/ >- >-//CHECK#1-86 >-if (typeof Date.parse !== "function") testFailed('#1: typeof Date.parse === "function". Actual: ' + (typeof Date.parse )); >-if (typeof Date['parse'] !== "function") testFailed('#2: typeof Date["parse"] === "function". Actual: ' + (typeof Date["parse"] )); >-if (typeof Date.prototype !== "object") testFailed('#3: typeof Date.prototype === "object". Actual: ' + (typeof Date.prototype )); >-if (typeof Date['prototype'] !== "object") testFailed('#4: typeof Date["prototype"] === "object". Actual: ' + (typeof Date["prototype"] )); >-if (typeof Date.UTC !== "function") testFailed('#5: typeof Date.UTC === "function". Actual: ' + (typeof Date.UTC )); >-if (typeof Date['UTC'] !== "function") testFailed('#6: typeof Date["UTC"] === "function". Actual: ' + (typeof Date["UTC"] )); >-if (typeof Date.prototype.constructor !== "function") testFailed('#7: typeof Date.prototype.constructor === "funvtion". Actual: ' + (typeof Date.prototype.constructor )); >-if (typeof Date.prototype['constructor'] !== "function") testFailed('#8: typeof Date.prototype["constructor"] === "function". Actual: ' + (typeof Date.prototype["constructor"] )); >-if (typeof Date.prototype.toString !== "function") testFailed('#9: typeof Date.prototype.toString === "function". Actual: ' + (typeof Date.prototype.toString )); >-if (typeof Date.prototype['toString'] !== "function") testFailed('#10: typeof Date.prototype["toString"] === "function". Actual: ' + (typeof Date.prototype["toString"] )); >-if (typeof Date.prototype.valueOf !== "function") testFailed('#11: typeof Date.prototype.valueOf === "function". Actual: ' + (typeof Date.prototype.valueOf )); >-if (typeof Date.prototype['valueOf'] !== "function") testFailed('#12: typeof Date.prototype["valueOf"] === "function". Actual: ' + (typeof Date.prototype["valueOf"] )); >-if (typeof Date.prototype.getTime !== "function") testFailed('#13: typeof Date.prototype.getTime === "function". Actual: ' + (typeof Date.prototype.getTime )); >-if (typeof Date.prototype['getTime'] !== "function") testFailed('#14: typeof Date.prototype["getTime"] === "function". Actual: ' + (typeof Date.prototype["getTime"] )); >-if (typeof Date.prototype.getYear !== "function") testFailed('#15: typeof Date.prototype.getYear === "function". Actual: ' + (typeof Date.prototype.getYear )); >-if (typeof Date.prototype['getYear'] !== "function") testFailed('#16: typeof Date.prototype["getYear"] === "function". Actual: ' + (typeof Date.prototype["getYear"] )); >-if (typeof Date.prototype.getFullYear !== "function") testFailed('#17: typeof Date.prototype.getFullYear === "function". Actual: ' + (typeof Date.prototype.getFullYear )); >-if (typeof Date.prototype['getFullYear'] !== "function") testFailed('#18: typeof Date.prototype["getFullYear"] === "function". Actual: ' + (typeof Date.prototype["getFullYear"] )); >-if (typeof Date.prototype.getUTCFullYear !== "function") testFailed('#19: typeof Date.prototype.getUTCFullYear === "function". Actual: ' + (typeof Date.prototype.getUTCFullYear )); >-if (typeof Date.prototype['getUTCFullYear'] !== "function") testFailed('#20: typeof Date.prototype["getUTCFullYear"] === "function". Actual: ' + (typeof Date.prototype["getUTCFullYear"] )); >-if (typeof Date.prototype.getMonth !== "function") testFailed('#21: typeof Date.prototype.getMonth === "function". Actual: ' + (typeof Date.prototype.getMonth )); >-if (typeof Date.prototype['getMonth'] !== "function") testFailed('#22: typeof Date.prototype["getMonth"] === "function". Actual: ' + (typeof Date.prototype["getMonth"] )); >-if (typeof Date.prototype.getUTCMonth !== "function") testFailed('#23: typeof Date.prototype.getUTCMonth === "function". Actual: ' + (typeof Date.prototype.getUTCMonth )); >-if (typeof Date.prototype['getUTCMonth'] !== "function") testFailed('#24: typeof Date.prototype["getUTCMonth"] === "function". Actual: ' + (typeof Date.prototype["getUTCMonth"] )); >-if (typeof Date.prototype.getDate !== "function") testFailed('#25: typeof Date.prototype.getDate === "function". Actual: ' + (typeof Date.prototype.getDate )); >-if (typeof Date.prototype['getDate'] !== "function") testFailed('#26: typeof Date.prototype["getDate"] === "function". Actual: ' + (typeof Date.prototype["getDate"] )); >-if (typeof Date.prototype.getUTCDate !== "function") testFailed('#27: typeof Date.prototype.getUTCDate === "function". Actual: ' + (typeof Date.prototype.getUTCDate )); >-if (typeof Date.prototype['getUTCDate'] !== "function") testFailed('#28: typeof Date.prototype["getUTCDate"] === "function". Actual: ' + (typeof Date.prototype["getUTCDate"] )); >-if (typeof Date.prototype.getDay !== "function") testFailed('#29: typeof Date.prototype.getDay === "function". Actual: ' + (typeof Date.prototype.getDay )); >-if (typeof Date.prototype['getDay'] !== "function") testFailed('#30: typeof Date.prototype["getDay"] === "function". Actual: ' + (typeof Date.prototype["getDay"] )); >-if (typeof Date.prototype.getUTCDay !== "function") testFailed('#31: typeof Date.prototype.getUTCDay === "function". Actual: ' + (typeof Date.prototype.getUTCDay )); >-if (typeof Date.prototype['getUTCDay'] !== "function") testFailed('#32: typeof Date.prototype["getUTCDay"] === "function". Actual: ' + (typeof Date.prototype["getUTCDay"] )); >-if (typeof Date.prototype.getHours !== "function") testFailed('#33: typeof Date.prototype.getHours === "function". Actual: ' + (typeof Date.prototype.getHours )); >-if (typeof Date.prototype['getHours'] !== "function") testFailed('#34: typeof Date.prototype["getHours"] === "function". Actual: ' + (typeof Date.prototype["getHours"] )); >-if (typeof Date.prototype.getUTCHours !== "function") testFailed('#35: typeof Date.prototype.getUTCHours === "function". Actual: ' + (typeof Date.prototype.getUTCHours )); >-if (typeof Date.prototype['getUTCHours'] !== "function") testFailed('#36: typeof Date.prototype["getUTCHours"] === "function". Actual: ' + (typeof Date.prototype["getUTCHours"] )); >-if (typeof Date.prototype.getMinutes !== "function") testFailed('#37: typeof Date.prototype.getMinutes === "function". Actual: ' + (typeof Date.prototype.getMinutes )); >-if (typeof Date.prototype['getMinutes'] !== "function") testFailed('#38: typeof Date.prototype["getMinutes"] === "function". Actual: ' + (typeof Date.prototype["getMinutes"] )); >-if (typeof Date.prototype.getUTCMinutes !== "function") testFailed('#39: typeof Date.prototype.getUTCMinutes === "function". Actual: ' + (typeof Date.prototype.getUTCMinutes )); >-if (typeof Date.prototype['getUTCMinutes'] !== "function") testFailed('#40: typeof Date.prototype["getUTCMinutes"] === "function". Actual: ' + (typeof Date.prototype["getUTCMinutes"] )); >-if (typeof Date.prototype.getSeconds !== "function") testFailed('#41: typeof Date.prototype.getSeconds === "function". Actual: ' + (typeof Date.prototype.getSeconds )); >-if (typeof Date.prototype['getSeconds'] !== "function") testFailed('#42: typeof Date.prototype["getSeconds"] === "function". Actual: ' + (typeof Date.prototype["getSeconds"] )); >-if (typeof Date.prototype.getUTCSeconds !== "function") testFailed('#43: typeof Date.prototype.getUTCSeconds === "function". Actual: ' + (typeof Date.prototype.getUTCSeconds )); >-if (typeof Date.prototype['getUTCSeconds'] !== "function") testFailed('#44: typeof Date.prototype["getUTCSeconds"] === "function". Actual: ' + (typeof Date.prototype["getUTCSeconds"] )); >-if (typeof Date.prototype.getMilliseconds !== "function") testFailed('#45: typeof Date.prototype.getMilliseconds === "function". Actual: ' + (typeof Date.prototype.getMilliseconds )); >-if (typeof Date.prototype['getMilliseconds'] !== "function") testFailed('#46: typeof Date.prototype["getMilliseconds"] === "function". Actual: ' + (typeof Date.prototype["getMilliseconds"] )); >-if (typeof Date.prototype.getUTCMilliseconds !== "function") testFailed('#47: typeof Date.prototype.getUTCMilliseconds === "function". Actual: ' + (typeof Date.prototype.getUTCMilliseconds )); >-if (typeof Date.prototype['getUTCMilliseconds'] !== "function") testFailed('#48: typeof Date.prototype["getUTCMilliseconds"] === "function". Actual: ' + (typeof Date.prototype["getUTCMilliseconds"] )); >-if (typeof Date.prototype.setTime !== "function") testFailed('#49: typeof Date.prototype.setTime === "function". Actual: ' + (typeof Date.prototype.setTime )); >-if (typeof Date.prototype['setTime'] !== "function") testFailed('#50: typeof Date.prototype["setTime"] === "function". Actual: ' + (typeof Date.prototype["setTime"] )); >-if (typeof Date.prototype.setMilliseconds !== "function") testFailed('#51: typeof Date.prototype.setMilliseconds === "function". Actual: ' + (typeof Date.prototype.setMilliseconds )); >-if (typeof Date.prototype['setMilliseconds'] !== "function") testFailed('#52: typeof Date.prototype["setMilliseconds"] === "function". Actual: ' + (typeof Date.prototype["setMilliseconds"] )); >-if (typeof Date.prototype.setUTCMilliseconds !== "function") testFailed('#53: typeof Date.prototype.setUTCMilliseconds === "function". Actual: ' + (typeof Date.prototype.setUTCMilliseconds )); >-if (typeof Date.prototype['setUTCMilliseconds'] !== "function") testFailed('#54: typeof Date.prototype["setUTCMilliseconds"] === "function". Actual: ' + (typeof Date.prototype["setUTCMilliseconds"] )); >-if (typeof Date.prototype.setSeconds !== "function") testFailed('#55: typeof Date.prototype.setSeconds === "function". Actual: ' + (typeof Date.prototype.setSeconds )); >-if (typeof Date.prototype['setSeconds'] !== "function") testFailed('#56: typeof Date.prototype["setSeconds"] === "function". Actual: ' + (typeof Date.prototype["setSeconds"] )); >-if (typeof Date.prototype.setUTCSeconds !== "function") testFailed('#57: typeof Date.prototype.setUTCSeconds === "function". Actual: ' + (typeof Date.prototype.setUTCSeconds )); >-if (typeof Date.prototype['setUTCSeconds'] !== "function") testFailed('#58: typeof Date.prototype["setUTCSeconds"] === "function". Actual: ' + (typeof Date.prototype["setUTCSeconds"] )); >-if (typeof Date.prototype.setMinutes !== "function") testFailed('#59: typeof Date.prototype.setMinutes === "function". Actual: ' + (typeof Date.prototype.setMinutes )); >-if (typeof Date.prototype['setMinutes'] !== "function") testFailed('#60: typeof Date.prototype["setMinutes"] === "function". Actual: ' + (typeof Date.prototype["setMinutes"] )); >-if (typeof Date.prototype.setUTCMinutes !== "function") testFailed('#61: typeof Date.prototype.setUTCMinutes === "function". Actual: ' + (typeof Date.prototype.setUTCMinutes )); >-if (typeof Date.prototype['setUTCMinutes'] !== "function") testFailed('#62: typeof Date.prototype["setUTCMinutes"] === "function". Actual: ' + (typeof Date.prototype["setUTCMinutes"] )); >-if (typeof Date.prototype.setHours !== "function") testFailed('#63: typeof Date.prototype.setHours === "function". Actual: ' + (typeof Date.prototype.setHours )); >-if (typeof Date.prototype['setHours'] !== "function") testFailed('#64: typeof Date.prototype["setHours"] === "function". Actual: ' + (typeof Date.prototype["setHours"] )); >-if (typeof Date.prototype.setUTCHours !== "function") testFailed('#65: typeof Date.prototype.setUTCHours === "function". Actual: ' + (typeof Date.prototype.setUTCHours )); >-if (typeof Date.prototype['setUTCHours'] !== "function") testFailed('#66: typeof Date.prototype["setUTCHours"] === "function". Actual: ' + (typeof Date.prototype["setUTCHours"] )); >-if (typeof Date.prototype.setDate !== "function") testFailed('#67: typeof Date.prototype.setDate === "function". Actual: ' + (typeof Date.prototype.setDate )); >-if (typeof Date.prototype['setDate'] !== "function") testFailed('#68: typeof Date.prototype["setDate"] === "function". Actual: ' + (typeof Date.prototype["setDate"] )); >-if (typeof Date.prototype.setUTCDate !== "function") testFailed('#69: typeof Date.prototype.setUTCDate === "function". Actual: ' + (typeof Date.prototype.setUTCDate )); >-if (typeof Date.prototype['setUTCDate'] !== "function") testFailed('#70: typeof Date.prototype["setUTCDate"] === "function". Actual: ' + (typeof Date.prototype["setUTCDate"] )); >-if (typeof Date.prototype.setMonth !== "function") testFailed('#71: typeof Date.prototype.setMonth === "function". Actual: ' + (typeof Date.prototype.setMonth )); >-if (typeof Date.prototype['setMonth'] !== "function") testFailed('#72: typeof Date.prototype["setMonth"] === "function". Actual: ' + (typeof Date.prototype["setMonth"] )); >-if (typeof Date.prototype.setUTCMonth !== "function") testFailed('#73: typeof Date.prototype.setUTCMonth === "function". Actual: ' + (typeof Date.prototype.setUTCMonth )); >-if (typeof Date.prototype['setUTCMonth'] !== "function") testFailed('#74: typeof Date.prototype["setUTCMonth"] === "function". Actual: ' + (typeof Date.prototype["setUTCMonth"] )); >-if (typeof Date.prototype.setFullYear !== "function") testFailed('#75: typeof Date.prototype.setFullYear === "function". Actual: ' + (typeof Date.prototype.setFullYear )); >-if (typeof Date.prototype['setFullYear'] !== "function") testFailed('#76: typeof Date.prototype["setFullYear"] === "function". Actual: ' + (typeof Date.prototype["setFullYear"] )); >-if (typeof Date.prototype.setUTCFullYear !== "function") testFailed('#77: typeof Date.prototype.setUTCFullYear === "function". Actual: ' + (typeof Date.prototype.setUTCFullYear )); >-if (typeof Date.prototype['setUTCFullYear'] !== "function") testFailed('#78: typeof Date.prototype["setUTCFullYear"] === "function". Actual: ' + (typeof Date.prototype["setUTCFullYear"] )); >-if (typeof Date.prototype.setYear !== "function") testFailed('#79: typeof Date.prototype.setYear === "function". Actual: ' + (typeof Date.prototype.setYear )); >-if (typeof Date.prototype['setYear'] !== "function") testFailed('#80: typeof Date.prototype["setYear"] === "function". Actual: ' + (typeof Date.prototype["setYear"] )); >-if (typeof Date.prototype.toLocaleString !== "function") testFailed('#81: typeof Date.prototype.toLocaleString === "function". Actual: ' + (typeof Date.prototype.toLocaleString )); >-if (typeof Date.prototype['toLocaleString'] !== "function") testFailed('#82: typeof Date.prototype["toLocaleString"] === "function". Actual: ' + (typeof Date.prototype["toLocaleString"] )); >-if (typeof Date.prototype.toUTCString !== "function") testFailed('#83: typeof Date.prototype.toUTCString === "function". Actual: ' + (typeof Date.prototype.toUTCString )); >-if (typeof Date.prototype['toUTCString'] !== "function") testFailed('#84: typeof Date.prototype["toUTCString"] === "function". Actual: ' + (typeof Date.prototype["toUTCString"] )); >-if (typeof Date.prototype.toGMTString !== "function") testFailed('#85: typeof Date.prototype.toGMTString === "function". Actual: ' + (typeof Date.prototype.toGMTString )); >-if (typeof Date.prototype['toGMTString'] !== "function") testFailed('#86: typeof Date.prototype["toGMTString"] === "function". Actual: ' + (typeof Date.prototype["toGMTString"] )); >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1-expected.txt >deleted file mode 100644 >index 8c435ffdfc0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.html >deleted file mode 100644 >index 0f67616fc20..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A1.1; >-* @section: 11.2.2, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "new" and NewExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("new\u0009Number") != 0) { >- testFailed('#1: new\\u0009Number == 0'); >-} >- >-//CHECK#2 >-if (eval("new\u000BNumber") != 0) { >- testFailed('#2: new\\u000BNumber == 0'); >-} >- >-//CHECK#3 >-if (eval("new\u000CNumber") != 0) { >- testFailed('#3: new\\u000CNumber == 0'); >-} >- >-//CHECK#4 >-if (eval("new\u0020Number") != 0) { >- testFailed('#4: new\\u0020Number == 0'); >-} >- >-//CHECK#5 >-if (eval("new\u00A0Number") != 0) { >- testFailed('#5: new\\u00A0Number == 0'); >-} >- >-//CHECK#6 >-if (eval("new\u000ANumber") != 0) { >- testFailed('#6: new\\u000ANumber == 0'); >-} >- >-//CHECK#7 >-if (eval("new\u000DNumber") != 0) { >- testFailed('#7: new\\u000DNumber == 0'); >-} >- >-//CHECK#8 >-if (eval("new\u2028Number") != 0) { >- testFailed('#8: new\\u2028Number == 0'); >-} >- >-//CHECK#9 >-if (eval("new\u2029Number") != 0) { >- testFailed('#9: new\\u2029Number == 0'); >-} >- >-//CHECK#10 >-if (eval("new\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Number") != 0) { >- testFailed('#10: new\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Number == 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2-expected.txt >deleted file mode 100644 >index 3bfbee52768..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.html >deleted file mode 100644 >index 72c611f4218..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A1.2; >-* @section: 11.2.2, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "new" and MemberExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("new\u0009Number()") != 0) { >- testFailed('#1: new\\u0009Number == 0'); >-} >- >-//CHECK#2 >-if (eval("new\u000BNumber()") != 0) { >- testFailed('#2: new\\u000BNumber == 0'); >-} >- >-//CHECK#3 >-if (eval("new\u000CNumber()") != 0) { >- testFailed('#3: new\\u000CNumber == 0'); >-} >- >-//CHECK#4 >-if (eval("new\u0020Number()") != 0) { >- testFailed('#4: new\\u0020Number == 0'); >-} >- >-//CHECK#5 >-if (eval("new\u00A0Number()") != 0) { >- testFailed('#5: new\\u00A0Number == 0'); >-} >- >-//CHECK#6 >-if (eval("new\u000ANumber()") != 0) { >- testFailed('#6: new\\u000ANumber == 0'); >-} >- >-//CHECK#7 >-if (eval("new\u000DNumber()") != 0) { >- testFailed('#7: new\\u000DNumber == 0'); >-} >- >-//CHECK#8 >-if (eval("new\u2028Number()") != 0) { >- testFailed('#8: new\\u2028Number == 0'); >-} >- >-//CHECK#9 >-if (eval("new\u2029Number()") != 0) { >- testFailed('#9: new\\u2029Number == 0'); >-} >- >-//CHECK#10 >-if (eval("new\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Number()") != 0) { >- testFailed('#10: new\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Number == 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2-expected.txt >deleted file mode 100644 >index dd192e66748..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.html >deleted file mode 100644 >index 6895ae94e9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A2; >-* @section: 11.2.2; >-* @assertion: Operator "new" uses GetValue; >-* @description: If GetBase(NewExpression) or GetBase(MemberExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- new x; >- testFailed('#1.1: new x throw ReferenceError. Actual: ' + (new x)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: new x throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- new x(); >- testFailed('#2: new x() throw ReferenceError'); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#2: new x() throw ReferenceError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1-expected.txt >deleted file mode 100644 >index 9d1668b2838..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.html >deleted file mode 100644 >index 8695a9f78ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A3_T1; >-* @section: 11.2.2; >-* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; >-* @description: Checking boolean primitive case; >-*/ >- >-//CHECK#1 >-try { >- new true; >- testFailed('#1: new true throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new true throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- var x = true; >- new x; >- testFailed('#2: var x = true; new x throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: var x = true; new x throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = true; >- new x(); >- testFailed('#3: var x = true; new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = true; new x() throw TypeError'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2-expected.txt >deleted file mode 100644 >index 227fa854ff7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.html >deleted file mode 100644 >index 01e85368422..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A3_T2; >-* @section: 11.2.2; >-* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; >-* @description: Checking "number primitive" case; >-*/ >- >-//CHECK#1 >-try { >- new 1; >- testFailed('#1: new 1 throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new 1 throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- var x = 1; >- new x; >- testFailed('#2: var x = 1; new x throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: var x = 1; new x throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = 1; >- new x(); >- testFailed('#3: var x = 1; new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = 1; new x() throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3-expected.txt >deleted file mode 100644 >index 2e95389ceb9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.html >deleted file mode 100644 >index 05f3a002a86..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A3_T3; >-* @section: 11.2.2; >-* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; >-* @description: Checking "string primitive" case; >-*/ >- >-//CHECK#1 >-try { >- new 1; >- testFailed('#1: new "1" throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new "1" throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- var x = "1"; >- new x; >- testFailed('#2: var x = "1"; new x throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: var x = "1"; new x throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = "1"; >- new x(); >- testFailed('#3: var x = "1"; new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = "1"; new x() throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4-expected.txt >deleted file mode 100644 >index 2298811fd2e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.html >deleted file mode 100644 >index 11b5d1a48c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A3_T4; >-* @section: 11.2.2; >-* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; >-* @description: Checking "undefined" case; >-*/ >- >-//CHECK#1 >-try { >- new undefined; >- testFailed('#1: new undefined throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new undefined throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- var x = undefined; >- new x; >- testFailed('#2: var x = undefined; new x throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: var x = undefined; new x throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = undefined; >- new x(); >- testFailed('#3: var x = undefined; new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = undefined; new x() throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5-expected.txt >deleted file mode 100644 >index de25f487447..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.html >deleted file mode 100644 >index fc0195ae3fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A3_T5; >-* @section: 11.2.2; >-* @assertion: If Type(NewExpression) or Type(MemberExpression) is not Object, throw TypeError; >-* @description: Checking "null primitive" case; >-*/ >- >-//CHECK#1 >-try { >- new null; >- testFailed('#1: new null throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new null throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- var x = null; >- new x; >- testFailed('#2: var x = null; new x throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: var x = null; new x throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = null; >- new x(); >- testFailed('#3: var x = null; new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = null; new x() throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1-expected.txt >deleted file mode 100644 >index f595601458d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.html >deleted file mode 100644 >index d07fa1f793e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A4_T1; >-* @section: 11.2.2; >-* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; >-* @description: Checking Boolean object case; >-*/ >- >-//CHECK#1 >-try { >- new new Boolean(true); >- testFailed('#1: new new Boolean(true) throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new new Boolean(true) throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- var x = new Boolean(true); >- new x; >- testFailed('#2: var x = new Boolean(true); new x throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: var x = new Boolean(true); new x throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = new Boolean(true); >- new x(); >- testFailed('#3: var x = new Boolean(true); new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = new Boolean(true); new x() throw TypeError'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2-expected.txt >deleted file mode 100644 >index 7ec9460eeb1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.html >deleted file mode 100644 >index bc910335c04..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A4_T2; >-* @section: 11.2.2; >-* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; >-* @description: Checking Number object case; >-*/ >- >-//CHECK#1 >-try { >- new new Number(1); >- testFailed('#1: new new Number(1) throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new new Number(1) throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- var x = new Number(1); >- new x; >- testFailed('#2: var x = new Number(1); new x throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: var x = new Number(1); new x throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = new Number(1); >- new x(); >- testFailed('#3: var x = new Number(1); new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = new Number(1); new x() throw TypeError'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3-expected.txt >deleted file mode 100644 >index 6821185c134..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.html >deleted file mode 100644 >index f368cbf4097..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A4_T3; >-* @section: 11.2.2; >-* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; >-* @description: Checking String object case; >-*/ >- >-//CHECK#1 >-try { >- new new String("1"); >- testFailed('#1: new new String("1") throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new new String("1") throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- var x = new String("1"); >- new x; >- testFailed('#2: var x = new String("1"); new x throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: var x = new String("1"); new x throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = new String("1"); >- new x(); >- testFailed('#3: var x = new String("1"); new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = new String("1"); new x() throw TypeError'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4-expected.txt >deleted file mode 100644 >index 91ad4c60974..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.html >deleted file mode 100644 >index 3ae865cdd9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A4_T4; >-* @section: 11.2.2; >-* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; >-* @description: Checking Global object case; >-*/ >- >-//CHECK#1 >-try { >- new this; >- testFailed('#1: new this throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new this throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- new this(); >- testFailed('#2: new this() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: new this() throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5-expected.txt >deleted file mode 100644 >index efb5c70251a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.html >deleted file mode 100644 >index ca182ea7c03..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.2_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.2_A4_T5; >-* @section: 11.2.2; >-* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError; >-* @description: Checking Math object case; >-*/ >- >-//CHECK#1 >-try { >- new Math; >- testFailed('#1: new Math throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: new Math throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- new new Math(); >- testFailed('#2: new new Math() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: new new Math() throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- var x = new Math(); >- new x(); >- testFailed('#3: var x = new Math(); new x() throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: var x = new Math(); new x() throw TypeError'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1-expected.txt >deleted file mode 100644 >index f5d28f36b3f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.html >deleted file mode 100644 >index f6c4fc46562..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A1; >-* @section: 11.2.3, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between MemberExpression and Arguments are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("Number\u0009()") !== 0) { >- testFailed('#1: Number\\u0009() === 0'); >-} >- >-//CHECK#2 >-if (eval("Number\u000B()") !== 0) { >- testFailed('#2: Number\\u000B() === 0'); >-} >- >-//CHECK#3 >-if (eval("Number\u000C()") !== 0) { >- testFailed('#3: Number\\u000C() === 0'); >-} >- >-//CHECK#4 >-if (eval("Number\u0020()") !== 0) { >- testFailed('#4: Number\\u0020 === 0'); >-} >- >-//CHECK#5 >-if (eval("Number\u00A0()") !== 0) { >- testFailed('#5: Number\\u00A0() === 0'); >-} >- >-//CHECK#6 >-if (eval("Number\u000A()") !== 0) { >- testFailed('#6: Number\\u000A() === 0'); >-} >- >-//CHECK#7 >-if (eval("Number\u000D()") !== 0) { >- testFailed('#7: Number\\u000D() === 0'); >-} >- >-//CHECK#8 >-if (eval("Number\u2028()") !== 0) { >- testFailed('#8: Number\\u2028() === 0'); >-} >- >-//CHECK#9 >-if (eval("Number\u2029()") !== 0) { >- testFailed('#9: Number\\u2029() === 0'); >-} >- >-//CHECK#10 >-if (eval("Number\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029()") !== 0) { >- testFailed('#10: Number\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029() === 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2-expected.txt >deleted file mode 100644 >index 938caac03e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.html >deleted file mode 100644 >index 35d01577957..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A2; >-* @section: 11.2.3; >-* @assertion: CallExpression : MemberExpression Arguments uses GetValue; >-* @description: If GetBase(MemberExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x(); >- testFailed('#1.1: x() throw ReferenceError. Actual: ' + (x())); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x() throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- x(1,2,3); >- testFailed('#2.1: x(1,2,3) throw ReferenceError. Actual: ' + (x(1,2,3))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#2.2: x(1,2,3) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1-expected.txt >deleted file mode 100644 >index 13ae94852bb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.html >deleted file mode 100644 >index 56941bdf27e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A3_T1; >-* @section: 11.2.3; >-* @assertion: If MemberExpression is not Object, throw TypeError; >-* @description: Checking "boolean primitive" case; >-*/ >- >-//CHECK#1 >-try { >- true(); >- testFailed('#1.1: true() throw TypeError. Actual: ' + (true())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: true() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- var x = true; >- x(); >- testFailed('#2.1: var x = true; x() throw TypeError. Actual: ' + (x())) >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: var x = true; x() throw TypeError. Actual: ' + (e)) >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2-expected.txt >deleted file mode 100644 >index d62ce6a5fbc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.html >deleted file mode 100644 >index 8353de55556..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A3_T2; >-* @section: 11.2.3; >-* @assertion: If MemberExpression is not Object, throw TypeError; >-* @description: Checking "number primitive" case; >-*/ >- >-//CHECK#1 >-try { >- 1(); >- testFailed('#1.1: 1() throw TypeError. Actual: ' + (1())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: 1() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- var x = 1; >- x(); >- testFailed('#2.1: var x = 1; x() throw TypeError. Actual: ' + (x())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: var x = 1; x() throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3-expected.txt >deleted file mode 100644 >index 8b708b93094..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.html >deleted file mode 100644 >index 5fc22664a22..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A3_T3; >-* @section: 11.2.3; >-* @assertion: If MemberExpression is not Object, throw TypeError; >-* @description: Checking "string primitive" case; >-*/ >- >-//CHECK#1 >-try { >- "1"(); >- testFailed('#1.1: "1"() throw TypeError. Actual: ' + ("1"())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: "1"() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- var x = "1"; >- x(); >- testFailed('#2.1: var x = "1"; x() throw TypeError. Actual: ' + (x())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: var x = "1"; x() throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4-expected.txt >deleted file mode 100644 >index 7f65072e681..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.html >deleted file mode 100644 >index 47fa3fa7a27..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A3_T4; >-* @section: 11.2.3; >-* @assertion: If MemberExpression is not Object, throw TypeError; >-* @description: Checking "undefined" case; >-*/ >- >-//CHECK#1 >-try { >- undefined(); >- testFailed('#1.1: undefined() throw TypeError. Actual: ' + (e)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: undefined() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- var x = undefined; >- x(); >- testFailed('#2.1: var x = undefined; x() throw TypeError. Actual: ' + (e)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: var x = undefined; x() throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5-expected.txt >deleted file mode 100644 >index 6d79990b428..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.html >deleted file mode 100644 >index dd8d424c15c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A3_T5; >-* @section: 11.2.3; >-* @assertion: If MemberExpression is not Object, throw TypeError; >-* @description: Checking "null" case; >-*/ >- >-//CHECK#1 >-try { >- null(); >- testFailed('#1.1: null() throw TypeError. Actual: ' + (null())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: null() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- var x = null; >- x(); >- testFailed('#2.1: var x = null; x() throw TypeError. Actual: ' + (x())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: var x = null; x() throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1-expected.txt >deleted file mode 100644 >index c1d6e202461..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.html >deleted file mode 100644 >index e10e854b927..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A4_T1; >-* @section: 11.2.3; >-* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; >-* @description: Checking Boolean object case; >-*/ >- >-//CHECK#1 >-try { >- new Boolean(true)(); >- testFailed('#1.1: new Boolean(true)() throw TypeError. Actual: ' + (new Boolean(true)())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: new Boolean(true)() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- var x = new Boolean(true); >- x(); >- testFailed('#2.1: var x = new Boolean(true); x() throw TypeError. Actual: ' + (x())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: var x = new Boolean(true); x() throw TypeError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2-expected.txt >deleted file mode 100644 >index 022c8d49ff9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.html >deleted file mode 100644 >index bb1128c8d72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A4_T2; >-* @section: 11.2.3; >-* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; >-* @description: Checking Number object case; >-*/ >- >-//CHECK#1 >-try { >- new Number(1)(); >- testFailed('#1.1: new Number(1)() throw TypeError. Actual: ' + (new Number(1)())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: new Number(1)() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- var x = new Number(1); >- x(); >- testFailed('#2.1: var x = new Number(1); x() throw TypeError. Actual: ' + (x())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: var x = new Number(1); x() throw TypeError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3-expected.txt >deleted file mode 100644 >index bc45ad673b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.html >deleted file mode 100644 >index 0c4003cb6bb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A4_T3; >-* @section: 11.2.3; >-* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; >-* @description: Checking String object case; >-*/ >- >-//CHECK#1 >-try { >- new String("1")(); >- testFailed('#1.1: new String("1")() throw TypeError. Actual: ' + (new String("1")())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: new String("1")() throw TypeError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-try { >- var x = new String("1"); >- x(); >- testFailed('#2.1: var x = new String("1"); x() throw TypeError. Actual: ' + (x())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2.2: var x = new String("1"); x() throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4-expected.txt >deleted file mode 100644 >index c6671be89ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.html >deleted file mode 100644 >index d660e1565f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A4_T4; >-* @section: 11.2.3; >-* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; >-* @description: Checking Global object case; >-*/ >- >-//CHECK#1 >-try { >- this(); >- testFailed('#1.1: this() throw TypeError. Actual: ' + (this())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: this() throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5-expected.txt >deleted file mode 100644 >index 822daaa7094..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.html >deleted file mode 100644 >index 5cf32018dde..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.3_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.3_A4_T5; >-* @section: 11.2.3; >-* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError; >-* @description: Checking Math object case; >-*/ >- >-//CHECK#1 >-try { >- Math(); >- testFailed('#1.1: Math() throw TypeError. Actual: ' + (Math())); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1.2: Math() throw TypeError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1-expected.txt >deleted file mode 100644 >index 08a27f93727..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.4_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.html >deleted file mode 100644 >index ebfa5e04e1a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.1_T1; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (); >-* @description: Function is declared with no FormalParameterList; >-*/ >- >-function f_arg() { >- return arguments; >-} >- >-//CHECK#1 >-if (f_arg().length !== 0) { >- testFailed('#1: function f_arg() {return arguments;} f_arg().length === 0. Actual: ' + (f_arg().length)); >-} >- >-//CHECK#2 >-if (f_arg()[0] !== undefined) { >- testFailed('#2: function f_arg() {return arguments;} f_arg()[0] === undefined. Actual: ' + (f_arg()[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2-expected.txt >deleted file mode 100644 >index 028dbb7ea90..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.4_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.html >deleted file mode 100644 >index 552a9fa25cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.1_T2; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (); >-* @description: Function is declared with FormalParameterList; >-*/ >- >-function f_arg(x,y) { >- return arguments; >-} >- >-//CHECK#1 >-if (f_arg().length !== 0) { >- testFailed('#1: function f_arg(x,y) {return arguments;} f_arg().length === 0. Actual: ' + (f_arg().length)); >-} >- >-//CHECK#2 >-if (f_arg()[0] !== undefined) { >- testFailed('#2: function f_arg(x,y) {return arguments;} f_arg()[0] === undefined. Actual: ' + (f_arg()[0])); >-} >- >-//CHECK#3 >-if (f_arg.length !== 2) { >- testFailed('#3: function f_arg(x,y) {return arguments;} f_arg.length === 2. Actual: ' + (f_arg.length)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1-expected.txt >deleted file mode 100644 >index 3f0d42824b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.4_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.html >deleted file mode 100644 >index 80628289a6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.2_T1; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (ArgumentList); >-* @description: Function is declared with no FormalParameterList; >-*/ >- >-f_arg = function() { >- return arguments; >-} >- >-//CHECK#1 >-if (f_arg(1,2,3).length !== 3) { >- testFailed('#1: f_arg = function()() {return arguments;} f_arg(1,2,3).length === 3. Actual: ' + (f_arg(1,2,3).length)); >-} >- >-//CHECK#2 >-if (f_arg(1,2,3)[0] !== 1) { >- testFailed('#1: f_arg = function()() {return arguments;} f_arg(1,2,3)[0] === 1. Actual: ' + (f_arg(1,2,3)[0])); >-} >- >-//CHECK#3 >-if (f_arg(1,2,3)[1] !== 2) { >- testFailed('#3: f_arg = function()() {return arguments;} f_arg(1,2,3)[1] === 2. Actual: ' + (f_arg(1,2,3)[1])); >-} >- >-//CHECK#4 >-if (f_arg(1,2,3)[2] !== 3) { >- testFailed('#4: f_arg = function()() {return arguments;} f_arg(1,2,3)[2] === 3. Actual: ' + (f_arg(1,2,3)[2])); >-} >- >-//CHECK#5 >-if (f_arg(1,2,3)[3] !== undefined) { >- testFailed('#5: f_arg = function()() {return arguments;} f_arg(1,2,3)[3] === undefined. Actual: ' + (f_arg(1,2,3)[3])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2-expected.txt >deleted file mode 100644 >index 000eeb159a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.4_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.html >deleted file mode 100644 >index a84c26c92f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.2_T2; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (ArgumentList); >-* @description: Function is declared with FormalParameterList; >-*/ >- >-f_arg = function(x,y) { >- return arguments; >-} >- >-//CHECK#1 >-if (f_arg(1,2,3).length !== 3) { >- testFailed('#1: f_arg = function(x,y) {return arguments;} f_arg(1,2,3).length === 3. Actual: ' + (f_arg(1,2,3).length)); >-} >- >-//CHECK#2 >-if (f_arg(1)[0] !== 1) { >- testFailed('#1: f_arg = function(x,y) {return arguments;} f_arg(1)[0] === 1. Actual: ' + (f_arg(1)[0])); >-} >- >-//CHECK#3 >-if (f_arg(1,2)[1] !== 2) { >- testFailed('#3: f_arg = function(x,y) {return arguments;} f_arg(1,2)[1] === 2. Actual: ' + (f_arg(1,2)[1])); >-} >- >-//CHECK#4 >-if (f_arg(1,2,3)[2] !== 3) { >- testFailed('#4: f_arg = function(x,y) {return arguments;} f_arg(1,2,3)[2] === 3. Actual: ' + (f_arg(1,2,3)[2])); >-} >- >-//CHECK#5 >-if (f_arg(1,2,3)[3] !== undefined) { >- testFailed('#5: f_arg = function(x,y) {return arguments;} f_arg(1,2,3)[3] === undefined. Actual: ' + (f_arg(1,2,3)[3])); >-} >- >-//CHECK#6 >-if (f_arg.length !== 2) { >- testFailed('#6: f_arg = function(x,y) {return arguments;} f_arg.length === 2. Actual: ' + (f_arg.length)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt >deleted file mode 100644 >index 55d2f954409..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ',' >-S11.2.4_A1.3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.html >deleted file mode 100644 >index d446021937a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.3_T1; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (ArgumentList : ArgumentList,, AssignmentExpression) is a bad syntax; >-* @description: incorrect syntax; >-* @negative; >-*/ >- >-function f_arg() { >-} >- >-f_arg(1,,2); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1-expected.txt >deleted file mode 100644 >index c3124dd8547..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.4_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.html >deleted file mode 100644 >index 318d223c89b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.4_T1; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (ArgumentList : ArgumentList, AssignmentExpression); >-* @description: Return an internal list whose length is one greater than the >-* length of ArgumentList and whose items are the items of ArgumentList, in order, >-* followed at the end by GetValue(AssignmentExpression), which is the last item of >-* the new list; >-*/ >- >-function f_arg() { >-} >- >-//CHECK#1 >-f_arg(x=1,x); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2-expected.txt >deleted file mode 100644 >index 1a7c72d01f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.4_A1.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.html >deleted file mode 100644 >index 00a03a99fa9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.4_T2; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (ArgumentList : ArgumentList, AssignmentExpression); >-* @description: Return an internal list whose length is one greater than the >-* length of ArgumentList and whose items are the items of ArgumentList, in order, >-* followed at the end by GetValue(AssignmentExpression), which is the last item of >-* the new list; >-*/ >- >-function f_arg() { >-} >- >-//CHECK#1 >-try { >- f_arg(x,x=1); >- testFailed('#1.1: function f_arg() {} f_arg(x,x=1) throw ReferenceError. Actual: ' + (f_arg(x,x=1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: function f_arg() {} f_arg(x,x=1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3-expected.txt >deleted file mode 100644 >index 44ee03f7e3f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.4_A1.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.html >deleted file mode 100644 >index 4ea53e6b2d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.4_T3; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (ArgumentList : ArgumentList, AssignmentExpression); >-* @description: Return an internal list whose length is one greater than the >-* length of ArgumentList and whose items are the items of ArgumentList, in order, >-* followed at the end by GetValue(AssignmentExpression), which is the last item of >-* the new list; >-*/ >- >-function f_arg(x,y,z) { >- return z; >-} >- >-//CHECK#1 >-if (f_arg(x=1,y=x,x+y) !== 2) { >- testFailed('#1: function f_arg(x,y,z) {return z;} f_arg(x=1,y=x,x+y) === 2. Actual: ' + (f_arg(x=1,y=x,x+y))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4-expected.txt >deleted file mode 100644 >index 4e6e77602cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.2.4_A1.4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.html >deleted file mode 100644 >index 1f1fa4ffb9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.2.4_A1.4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.2.4_A1.4_T4; >-* @section: 11.2.4, 11.2.3, 10.1.8; >-* @assertion: Arguments : (ArgumentList : ArgumentList, AssignmentExpression); >-* @description: Return an internal list whose length is one greater than the >-* length of ArgumentList and whose items are the items of ArgumentList, in order, >-* followed at the end by GetValue(AssignmentExpression), which is the last item of >-* the new list; >-*/ >- >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >- >-function f_arg() { >-} >- >-//CHECK#1 >-try { >- f_arg(x(),y()); >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; function f_arg() {} f_arg(x(),y()) throw "x". Actual: ' + (f_arg(x(),y()))); >-} >-catch (e) { >- if (e === "y") { >- testFailed('#1.2: First argument is evaluated first, and then second argument'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; function f_arg() {} f_arg(x(),y()) throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt >deleted file mode 100644 >index 16934ba3c51..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A1.1_T1 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.html >deleted file mode 100644 >index 504fdf7135c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A1.1_T1; >-* @section: 11.3.1, 11.6.3, 7.3; >-* @assertion: Line Terminator between LeftHandSideExpression and "++" is not allowed; >-* @description: Checking Line Feed; >-* @negative >-*/ >- >-//CHECK#1 >-eval("var x = 1; x\u000A++"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt >deleted file mode 100644 >index 73835fdb2aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A1.1_T2 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.html >deleted file mode 100644 >index 06bb9a97d07..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A1.1_T2; >-* @section: 11.3.1, 11.6.3, 7.3; >-* @assertion: Line Terminator between LeftHandSideExpression and "++" is not allowed; >-* @description: Carriage Return; >-* @negative >-*/ >- >-//CHECK#1 >-eval("var x = 1; x\u000D++"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt >deleted file mode 100644 >index 22ea7268a8c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A1.1_T3 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.html >deleted file mode 100644 >index adcb4c92ff3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A1.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A1.1_T3; >-* @section: 11.3.1, 11.6.3, 7.3; >-* @assertion: Line Terminator between LeftHandSideExpression and "++" is not allowed; >-* @description: Checking Line Seprator; >-* @negative >-*/ >- >-//CHECK#1 >-eval("var x = 1; x\u2028++"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt >deleted file mode 100644 >index 35cd7e25591..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A1.1_T4 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.html >deleted file mode 100644 >index fb8075c1f7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A1.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A1.1_T4; >-* @section: 11.3.1, 11.6.3, 7.3; >-* @assertion: Line Terminator between LeftHandSideExpression and "++" is not allowed; >-* @description: Checking Paragraph separator; >-* @negative >-*/ >- >-//CHECK#1 >-eval("var x = 1; x\u2029++"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1-expected.txt >deleted file mode 100644 >index e70cba93224..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.html >deleted file mode 100644 >index 4245ed1c6ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A1.2_T1; >-* @section: 11.3.1, 11.6.3, 7.2; >-* @assertion: White Space between LeftHandSideExpression and "++" are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("var x = 0; x\u0009++; x") !== 1) { >- testFailed('#1: var x = 0; x\\u0009++; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-if (eval("var x = 0; x\u000B++; x") !== 1) { >- testFailed('#2: var x = 0; x\\u000B++; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-if (eval("var x = 0; x\u000C++; x") !== 1) { >- testFailed('#3: var x = 0; x\\u000C++; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-if (eval("var x = 0; x\u0020++; x") !== 1) { >- testFailed('#4: var x = 0; x\\u0020++; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-if (eval("var x = 0; x\u00A0++; x") !== 1) { >- testFailed('#5: var x = 0; x\\u00A0++; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-if (eval("var x = 0; x\u0009\u000B\u000C\u0020\u00A0++; x") !== 1) { >- testFailed('#6: var x = 0; x\\u0009\\u000B\\u000C\\u0020\\u00A0++; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1-expected.txt >deleted file mode 100644 >index 0d377470a15..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.html >deleted file mode 100644 >index c325aad3e78..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A2.1_T1; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ uses GetValue and PutValue; >-* @description: Type(x) is Reference and GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-var x = 1; >-var y = x++; >-if (y !== 1) { >- testFailed('#1: var x = 1; var y = x++; y === 1. Actual: ' + (y)); >-} else { >- if (x !== 1 + 1) { >- testFailed('#1: var x = 1; var y = x++; x === 1 + 1. Actual: ' + (x)); >- } >-} >- >-//CHECK#2 >-this.x = 1; >-var y = this.x++; >-if (y !== 1) { >- testFailed('#2: this.x = 1; var y = this.x++; y === 1. Actual: ' + (y)); >-} else { >- if (this.x !== 1 + 1) { >- testFailed('#2: this.x = 1; var y = this.x++; this.x === 1 + 1. Actual: ' + (this.x)); >- } >-} >- >-//CHECK#3 >-var object = new Object(); >-object.prop = 1; >-var y = object.prop++; >-if (y !== 1) { >- testFailed('#3: var object = new Object(); object.prop = 1; var y = object.prop++; y === 1. Actual: ' + (y)); >-} else { >- if (this.x !== 1 + 1) { >- testFailed('#3: var object = new Object(); object.prop = 1; var y = object.prop++; object.prop === 1 + 1. Actual: ' + (object.prop)); >- } >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2-expected.txt >deleted file mode 100644 >index 79f13b301d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.html >deleted file mode 100644 >index a92236800f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A2.1_T2; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ uses GetValue and PutValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x++; >- testFailed('#1.1: x++ throw ReferenceError. Actual: ' + (x++)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x++ throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3-expected.txt >deleted file mode 100644 >index 2e9a45def04..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A2.1_T3 >- >-PASS ReferenceError: Postfix ++ operator applied to value that is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.html >deleted file mode 100644 >index 6765dacc8de..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A2.1_T3; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ uses GetValue and PutValue; >-* @description: If Type(x) is not Reference, throw ReferenceError (or SyntaxError); >-* @negative >-*/ >- >-//CHECK#1 >-try { >- 1++; >- testFailed('#1.1: 1++ throw ReferenceError (or SyntaxError). Actual: ' + (1++)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1++ throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- 1++; >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1-expected.txt >deleted file mode 100644 >index 6dd87828c65..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.html >deleted file mode 100644 >index c68dbdf38e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.html >+++ /dev/null >@@ -1,192 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.3.1_A2.2_T1; >- * @section: 11.3.1, 8.6.2.6; >- * @assertion: Operator x++ uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-var y = object++; >-if (y !== 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; var y = object++; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; object++; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-var y = object++; >-if (y !== 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; var y = object++; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; object++; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-var y = object++; >-if (y !== 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; var y = object++; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; object++; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- var y = object++; >- if (y !== 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; var y = object++; y === 1. Actual: ' + (y)); >- } else { >- if (object !== 1 + 1) { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object++; object === 1 + 1. Actual: ' + (object)); >- } >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; var y = object++; y not throw "error"'); >- } else { >- testFailed('#4.4: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; var y = object++; y not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-var y = object++; >-if (y !== 1) { >- testFailed('#5.1: var object = {toString: function() {return 1}}; var y = object++; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#5.2: var object = {toString: function() {return 1}}; object++; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-var y = object++; >-if (y !== 1) { >- testFailed('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; var y = object++; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; object++; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- var y = object++; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object++ throw "error". Actual: ' + (y)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object++ throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- var y = object++; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object++ throw TypeError. Actual: ' + (y)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object++ throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1-expected.txt >deleted file mode 100644 >index 5d124b7b474..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.html >deleted file mode 100644 >index 29325fb3b71..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A3_T1; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns x = ToNumber(x) + 1; >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = false; >-x++; >-if (x !== 0 + 1) { >- testFailed('#1: var x = false; x++; x === 0 + 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = new Boolean(true); >-x++; >-if (x !== 1 + 1) { >- testFailed('#2: var x = new Boolean(true); x++; x === 1 + 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2-expected.txt >deleted file mode 100644 >index 3de9b8b80b2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.html >deleted file mode 100644 >index 8263658a364..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A3_T2; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns x = ToNumber(x) + 1; >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = 0.1; >-x++; >-if (x !== 0.1 + 1) { >- testFailed('#1: var x = 0.1; x++; x === 0.1 + 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = new Number(-1.1); >-x++; >-if (x !== -1.1 + 1) { >- testFailed('#2: var x = new Number(-1.1); x++; x === -1.1 + 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3-expected.txt >deleted file mode 100644 >index 0a197189ca6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.html >deleted file mode 100644 >index 33eec1c613a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A3_T3; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns x = ToNumber(x) + 1; >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >-x++; >-if (x !== 1 + 1) { >- testFailed('#1: var x = "1"; x++; x === 1 + 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = "x"; >-x++; >-if (isNaN(x) !== true) { >- testFailed('#2: var x = "x"; x++; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-var x = new Number("-1"); >-x++; >-if (x !== -1 + 1) { >- testFailed('#3: var x = new String("-1"); x++; x === -1 + 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4-expected.txt >deleted file mode 100644 >index 0ae98de934b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.html >deleted file mode 100644 >index bcc8b2f6261..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A3_T4; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns x = ToNumber(x) + 1; >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-var x; >-x++; >-if (isNaN(x) !== true) { >- testFailed('#1: var x; x++; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = null; >-x++; >-if (x !== 1) { >- testFailed('#2: var x = null; x++; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5-expected.txt >deleted file mode 100644 >index 7d64367fcd1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.html >deleted file mode 100644 >index 93fdf7cb926..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A3_T5; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns x = ToNumber(x) + 1; >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >-x++; >-if (isNaN(x) !== true) { >- testFailed('#1: var x = {}; x++; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >-x++; >-if (isNaN(x) !== true) { >- testFailed('#2: var x = function(){return 1}; x++; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1-expected.txt >deleted file mode 100644 >index e26c5b00f73..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.html >deleted file mode 100644 >index ebb64462496..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A4_T1; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns ToNumber(x); >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = false; >-var y = x++; >-if (y !== 0) { >- testFailed('#1: var x = false; var y = x++; y === 0. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = new Boolean(true); >-var y = x++; >-if (y !== 1) { >- testFailed('#2: var x = new Boolean(true); var y = x++; y === 1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2-expected.txt >deleted file mode 100644 >index fecc1c9bf9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.html >deleted file mode 100644 >index d7872970d28..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A4_T2; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns ToNumber(x); >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = -0.1; >-var y = x++; >-if (y !== -0.1) { >- testFailed('#1: var x = -0.1; var y = x++; y === -0.1. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = new Number(1.1); >-var y = x++; >-if (y !== 1.1) { >- testFailed('#2: var x = new Number(1.1); var y = x++; y === 1.1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3-expected.txt >deleted file mode 100644 >index c66e5767009..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.html >deleted file mode 100644 >index db3bb50dc2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A4_T3; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns ToNumber(x); >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >-var y = x++; >-if (y !== 1) { >- testFailed('#1: var x = "1"; var y = x++; y === 1. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = "x"; >-var y = x++; >-if (isNaN(y) !== true) { >- testFailed('#2: var x = "x"; var y = x++; y === Not-a-Number. Actual: ' + (y)); >-} >- >-//CHECK#3 >-var x = new String("-1"); >-var y = x++; >-if (y !== -1) { >- testFailed('#3: var x = new String("-1"); var y = x++; y === -1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4-expected.txt >deleted file mode 100644 >index 0f69b04f47e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.html >deleted file mode 100644 >index 98b103538e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A4_T4; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns ToNumber(x); >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-var x; >-var y = x++; >-if (isNaN(y) !== true) { >- testFailed('#1: var x; var y = x++; y === Not-a-Number. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = null; >-var y = x++; >-if (y !== 0) { >- testFailed('#2: var x = null; var y = x++; y === 0. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5-expected.txt >deleted file mode 100644 >index 9b2a3c18463..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.html >deleted file mode 100644 >index 8a2732f1161..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.1_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.1_A4_T5; >-* @section: 11.3.1, 11.6.3; >-* @assertion: Operator x++ returns ToNumber(x); >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >-var y = x++; >-if (isNaN(y) !== true) { >- testFailed('#1: var x = {}; var y = x++; y === Not-a-Number. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >-var y = x++; >-if (isNaN(y) !== true) { >- testFailed('#2: var x = function(){return 1}; var y = x++; y === Not-a-Number. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt >deleted file mode 100644 >index f798def0329..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A1.1_T1 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.html >deleted file mode 100644 >index 8a3ab417e7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A1.1_T1; >-* @section: 11.3.2, 11.6.3, 7.3; >-* @assertion: Line Terminator between LeftHandSideExpression and "--" is not allowed; >-* @description: Checking Line Feed; >-* @negative >-*/ >- >-//CHECK#1 >-eval("var x = 1; x\u000A--"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt >deleted file mode 100644 >index 3da2500903f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A1.1_T2 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.html >deleted file mode 100644 >index f8e547ba9e6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A1.1_T2; >-* @section: 11.3.2, 11.6.3, 7.3; >-* @assertion: Line Terminator between LeftHandSideExpression and "--" is not allowed; >-* @description: Checking Carriage Return; >-* @negative >-*/ >- >-//CHECK#1 >-eval("var x = 1; x\u000D--"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt >deleted file mode 100644 >index 4fd3a52ce0d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A1.1_T3 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.html >deleted file mode 100644 >index c77d4d6a769..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A1.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A1.1_T3; >-* @section: 11.3.2, 11.6.3, 7.3; >-* @assertion: Line Terminator between LeftHandSideExpression and "--" is not allowed; >-* @description: Checking Page separator; >-* @negative >-*/ >- >-//CHECK#1 >-eval("var x = 1; x\u2028--"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt >deleted file mode 100644 >index f1c5cebf3e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A1.1_T4 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.html >deleted file mode 100644 >index c4c4197ccb2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A1.1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A1.1_T4; >-* @section: 11.3.2, 11.6.3, 7.3; >-* @assertion: Line Terminator between LeftHandSideExpression and "--" is not allowed; >-* @description: Checking Line separator; >-* @negative >-*/ >- >-//CHECK#1 >-eval("var x = 1; x\u2029--"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1-expected.txt >deleted file mode 100644 >index bf5c4653873..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.html >deleted file mode 100644 >index 27f013b01a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A1.2_T1; >-* @section: 11.3.2, 11.6.3, 7.2; >-* @assertion: White Space between LeftHandSideExpression and "--" are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("var x = 0; x\u0009--; x") !== -1) { >- testFailed('#1: var x = 0; x\\u0009--; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-if (eval("var x = 0; x\u000B--; x") !== -1) { >- testFailed('#2: var x = 0; x\\u000B--; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-if (eval("var x = 0; x\u000C--; x") !== -1) { >- testFailed('#3: var x = 0; x\\u000C--; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-if (eval("var x = 0; x\u0020--; x") !== -1) { >- testFailed('#4: var x = 0; x\\u0020--; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-if (eval("var x = 0; x\u00A0--; x") !== -1) { >- testFailed('#5: var x = 0; x\\u00A0--; x === -1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-if (eval("var x = 0; x\u0009\u000B\u000C\u0020\u00A0--; x") !== -1) { >- testFailed('#6: var x = 0; x\\u0009\\u000B\\u000C\\u0020\\u00A0--; x === -1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1-expected.txt >deleted file mode 100644 >index 83c6e1ce216..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.html >deleted file mode 100644 >index b7dc6a2c352..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A2.1_T1; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- uses GetValue and PutValue; >-* @description: Type(x) is Reference and GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-var x = 1; >-if (x-- !== 1) { >- testFailed('#1: var x = 1; x-- === 1. Actual: ' + (x--)); >-} else { >- if (x !== 1 - 1) { >- testFailed('#1: var x = 1; x--; x === 1 - 1. Actual: ' + (x)); >- } >-} >- >-//CHECK#2 >-this.x = 1; >-if (this.x-- !== 1) { >- testFailed('#2: this.x = 1; this.x-- === 1. Actual: ' + (this.x--)); >-} else { >- if (this.x !== 1 - 1) { >- testFailed('#2: this.x = 1; this.x--; this.x === 1 - 1. Actual: ' + (this.x)); >- } >-} >- >-//CHECK#3 >-var object = new Object(); >-object.prop = 1; >-if (object.prop-- !== 1) { >- testFailed('#3: var object = new Object(); object.prop = 1; object.prop-- === 1. Actual: ' + (object.prop--)); >-} else { >- if (this.x !== 1 - 1) { >- testFailed('#3: var object = new Object(); object.prop = 1; object.prop--; object.prop === 1 - 1. Actual: ' + (object.prop)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2-expected.txt >deleted file mode 100644 >index c5b79c2e8be..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.html >deleted file mode 100644 >index 68ed508239c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A2.1_T2; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- uses GetValue and PutValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x--; >- testFailed('#1.1: x-- throw ReferenceError. Actual: ' + (x--)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x-- throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3-expected.txt >deleted file mode 100644 >index dc62e33d20c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A2.1_T3 >- >-PASS ReferenceError: Postfix -- operator applied to value that is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.html >deleted file mode 100644 >index b155a263339..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A2.1_T3; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- uses GetValue and PutValue; >-* @description: If Type(x) is not Reference, throw ReferenceError (or SyntaxError); >-* @negative >-*/ >- >-//CHECK#1 >-try { >- 1--; >- testFailed('#1.1: 1-- throw ReferenceError (or SyntaxError). Actual: ' + (1--)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1-- throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- 1--; >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1-expected.txt >deleted file mode 100644 >index d3b613f9458..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.html >deleted file mode 100644 >index d1d4db46368..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.html >+++ /dev/null >@@ -1,192 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.3.2_A2.2_T1; >- * @section: 11.3.2, 8.6.2.6; >- * @assertion: Operator x-- uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-var y = object--; >-if (y !== 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; var y = object--; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; object--; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-var y = object--; >-if (y !== 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; var y = object--; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; object--; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-var y = object--; >-if (y !== 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; var y = object--; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; object--; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- var y = object--; >- if (y !== 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; var y = object--; y === 1. Actual: ' + (y)); >- } else { >- if (object !== 1 - 1) { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; object--; object === 1 - 1. Actual: ' + (object)); >- } >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; y not throw "error"'); >- } else { >- testFailed('#4.4: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; y not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-var y = object--; >-if (y !== 1) { >- testFailed('#5.1: var object = {toString: function() {return 1}}; var y = object--; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#5.2: var object = {toString: function() {return 1}}; object--; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-var y = object--; >-if (y !== 1) { >- testFailed('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; var y = object--; y === 1. Actual: ' + (y)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; object--; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- var y = object--; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object-- throw "error". Actual: ' + (y)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; object-- throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- var y = object--; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object-- throw TypeError. Actual: ' + (y)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; object-- throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1-expected.txt >deleted file mode 100644 >index bdca86f65bd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.html >deleted file mode 100644 >index bfff1820abf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A3_T1; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns x = ToNumber(x) - 1; >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = true; >-x--; >-if (x !== 0) { >- testFailed('#1: var x = true; x--; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = new Boolean(false); >-x--; >-if (x !== 0 - 1) { >- testFailed('#2: var x = new Boolean(false); x--; x === 0 - 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2-expected.txt >deleted file mode 100644 >index 0893d62016d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.html >deleted file mode 100644 >index fae77b970ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A3_T2; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns x = ToNumber(x) - 1; >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = 1.1; >-x--; >-if (x !== 1.1 - 1) { >- testFailed('#1: var x = 1.1; x--; x === 1.1 - 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = new Number(-0.1); >-x--; >-if (x !== -0.1 - 1) { >- testFailed('#2: var x = new Number(-0.1); x--; x === -0.1 - 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3-expected.txt >deleted file mode 100644 >index 041f090540a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.html >deleted file mode 100644 >index 687baf8c535..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A3_T3; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns x = ToNumber(x) - 1; >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >-x--; >-if (x !== 1 - 1) { >- testFailed('#1: var x = "1"; x--; x === 1 - 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = "x"; >-x--; >-if (isNaN(x) !== true) { >- testFailed('#2: var x = "x"; x--; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-var x = new Number("-1"); >-x--; >-if (x !== -1 - 1) { >- testFailed('#3: var x = new String("-1"); x--; x === -1 - 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4-expected.txt >deleted file mode 100644 >index 143a3588565..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.html >deleted file mode 100644 >index 7f0c097ddf7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A3_T4; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns x = ToNumber(x) - 1; >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-var x; >-x--; >-if (isNaN(x) !== true) { >- testFailed('#1: var x; x--; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = null; >-x--; >-if (x !== -1) { >- testFailed('#2: var x = null; x--; x === -1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5-expected.txt >deleted file mode 100644 >index 52afe48db02..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.html >deleted file mode 100644 >index e650d059797..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A3_T5; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns x = ToNumber(x) - 1; >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >-x--; >-if (isNaN(x) !== true) { >- testFailed('#1: var x = {}; x--; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >-x--; >-if (isNaN(x) !== true) { >- testFailed('#2: var x = function(){return 1}; x--; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1-expected.txt >deleted file mode 100644 >index 48908262aa1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.html >deleted file mode 100644 >index c8e9649beda..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A4_T1; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns ToNumber(x); >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = true; >-var y = x--; >-if (y !== 1) { >- testFailed('#1: var x = true; var y = x--; y === 1. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = new Boolean(false); >-var y = x--; >-if (y !== 0) { >- testFailed('#2: var x = new Boolean(false); var y = x--; y === 0. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2-expected.txt >deleted file mode 100644 >index 631d7daee28..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.html >deleted file mode 100644 >index 6fec5c519f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A4_T2; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns ToNumber(x); >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = 1.1; >-var y = x--; >-if (y !== 1.1) { >- testFailed('#1: var x = 1.1; var y = x--; y === 1.1. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = new Number(-0.1); >-var y = x--; >-if (y !== -0.1) { >- testFailed('#2: var x = new Number(-0.1); var y = x--; y === -0.1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3-expected.txt >deleted file mode 100644 >index 3a188c95c86..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.html >deleted file mode 100644 >index 49cf15587be..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A4_T3; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns ToNumber(x); >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >-var y = x--; >-if (y !== 1) { >- testFailed('#1: var x = "1"; var y = x--; y === 1. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = "x"; >-var y = x--; >-if (isNaN(y) !== true) { >- testFailed('#2: var x = "x"; var y = x--; y === Not-a-Number. Actual: ' + (y)); >-} >- >-//CHECK#3 >-var x = new String("-1"); >-var y = x--; >-if (y !== -1) { >- testFailed('#3: var x = new String("-1"); var y = x--; y === -1. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4-expected.txt >deleted file mode 100644 >index 101bfc3d88f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.html >deleted file mode 100644 >index 5a9f1b3a1b9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A4_T4; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns ToNumber(x); >-* @description: If Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-var x; >-var y = x--; >-if (isNaN(y) !== true) { >- testFailed('#1: var x; var y = x--; y === Not-a-Number. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = null; >-var y = x--; >-if (y !== 0) { >- testFailed('#2: var x = null; var y = x--; y === 0. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5-expected.txt >deleted file mode 100644 >index 267141acb3d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.html >deleted file mode 100644 >index fc5eaa72ee5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.3.2_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.3.2_A4_T5; >-* @section: 11.3.2, 11.6.3; >-* @assertion: Operator x-- returns ToNumber(x); >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >-var y = x--; >-if (isNaN(y) !== true) { >- testFailed('#1: var x = {}; var y = x--; y === Not-a-Number. Actual: ' + (y)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >-var y = x--; >-if (isNaN(y) !== true) { >- testFailed('#2: var x = function(){return 1}; var y = x--; y === Not-a-Number. Actual: ' + (y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1-expected.txt >deleted file mode 100644 >index 5f90f776dbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.html >deleted file mode 100644 >index c32a760a5e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.1_A1; >-* @section: 11.4.1; >-* @assertion: White Space and Line Terminator between "delete" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("delete\u00090") !== true) { >- testFailed('#1: delete\\u00090 === true'); >-} >- >-//CHECK#2 >-if (eval("delete\u000B0") !== true) { >- testFailed('#2: delete\\u000B0 === true'); >-} >- >-//CHECK#3 >-if (eval("delete\u000C0") !== true) { >- testFailed('#3: delete\\u000C0 === true'); >-} >- >-//CHECK#4 >-if (eval("delete\u00200") !== true) { >- testFailed('#4: delete\\u00200 === true'); >-} >- >-//CHECK#5 >-if (eval("delete\u00A00") !== true) { >- testFailed('#5: delete\\u00A00 === true'); >-} >- >-//CHECK#6 >-if (eval("delete\u000A0") !== true) { >- testFailed('#6: delete\\u000A0 === true'); >-} >- >-//CHECK#7 >-if (eval("delete\u000D0") !== true) { >- testFailed('#7: delete\\u000D0 === true'); >-} >- >-//CHECK#8 >-if (eval("delete\u20280") !== true) { >- testFailed('#8: delete\\u20280 === true'); >-} >- >-//CHECK#9 >-if (eval("delete\u20290") !== true) { >- testFailed('#9: delete\\u20290 === true'); >-} >- >-//CHECK#10 >-if (eval("delete\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== true) { >- testFailed('#10: delete\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290 === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1-expected.txt >deleted file mode 100644 >index 9d0fa05856b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.1_A2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.html >deleted file mode 100644 >index fa8a3c975d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.1_A2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.1_A2.1; >-* @section: 11.4.1; >-* @assertion: If Type(x) is not Reference, return true; >-* @description: Checking primitive value and Object value cases; >-*/ >- >-//CHECK#1 >-if (delete 1 !== true) { >- testFailed('#1: delete 1 === true'); >-} >- >-//CHECK#2 >-if (delete new Object() !== true) { >- testFailed('#2: delete new Object() === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1-expected.txt >deleted file mode 100644 >index 185ffafffeb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.html >deleted file mode 100644 >index c60c8b68e62..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.1_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.1_A2.2_T1; >-* @section: 11.4.1; >-* @assertion: If GetBase(x) doesn't have a property GetPropertyName(x), return true; >-* @description: Checking undeclared variable case; >-*/ >- >-//CHECK#1 >-if (delete x !== true) { >- testFailed('#1: delete x === true'); >-} >- >-//CHECK#2 >-if (delete this.x !== true) { >- testFailed('#2: delete this.x === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2-expected.txt >deleted file mode 100644 >index 0f7d3ba9815..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.1_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.html >deleted file mode 100644 >index 3bef195573e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.1_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.1_A2.2_T2; >-* @section: 11.4.1; >-* @assertion: If GetBase(x) doesn't have a property GetPropertyName(x), return true; >-* @description: Checking Object object and Function object cases; >-*/ >- >-//CHECK#1 >-function MyFunction(){} >-var MyObject = new MyFunction(); >-if (delete MyObject.prop !== true) { >- testFailed('#1: function MyFunction(){}; var MyObject = new MyFunction(); delete MyObject.prop === true'); >-} >- >-//CHECK#2 >-var MyObject = new Object(); >-if (delete MyObject.prop !== true) { >- testFailed('#2: var MyObject = new Object(); delete MyObject.prop === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1-expected.txt >deleted file mode 100644 >index 09895b3e1b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.1_A3.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.html >deleted file mode 100644 >index 54a3c12f6b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.1_A3.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.1_A3.1; >-* @section: 11.4.1; >-* @assertion: If the property has the DontDelete attribute, return false; >-* @description: Checking declared variable; >-*/ >- >-//CHECK#1 >-var x = 1; >-if (delete x !== false) { >- testFailed('#1: var x = 1; delete x === false'); >-} >- >-//CHECK#2 >-var y = 1; >-if (delete this.y !== false) { >- testFailed('#2: var y = 1; delete this.y === false'); >-} >- >-//CHECK#3 >-function MyFunction(){}; >-if (delete MyFunction !== false) { >- testFailed('#3: function MyFunction(){}; delete MyFunction === false'); >-} >- >-//CHECK#4 >-function MyFunction(){}; >-var MyObject = new MyFunction(); >-if (delete MyObject !== false) { >- testFailed('#4: function MyFunction(){}; var MyObject = new MyFunction(); delete MyObject === false'); >-} >- >-//CHECK#5 >-if (delete MyObject !== false) { >- testFailed('#5: function MyFunction(){}; var MyObject = new MyFunction(); delete MyObject === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2-expected.txt >deleted file mode 100644 >index 2570a02c8e6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.1_A3.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.html >deleted file mode 100644 >index c70266ab814..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.1_A3.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.1_A3.2; >-* @section: 11.4.1; >-* @assertion: If the property doesn't have the DontDelete attribute, return true; >-* @description: Checking declared variable; >-*/ >- >-//CHECK#1 >-x = 1; >-if (delete x !== true) { >- testFailed('#1: x = 1; delete x === true'); >-} >- >-//CHECK#2 >-function MyFunction(){}; >-MyFunction.prop = 1; >-if (delete MyFunction.prop !== true) { >- testFailed('#2: function MyFunction(){}; MyFunction.prop = 1; delete MyFunction.prop === true'); >-} >- >-//CHECK#3 >-function MyFunction(){}; >-var MyObject = new MyFunction(); >-MyObject.prop = 1; >-if (delete MyObject.prop !== true) { >- testFailed('#3: function MyFunction(){}; var MyObject = new MyFunction(); MyFunction.prop = 1; delete MyObject.prop === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3-expected.txt >deleted file mode 100644 >index a74421d3e52..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.1_A3.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.html >deleted file mode 100644 >index 373c7f7c01b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.1_A3.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.1_A3.3; >-* @section: 11.4.1; >-* @assertion: If the property doesn't have the DontDelete attribute, remove the property; >-* @description: Checking declared variable; >-*/ >- >-//CHECK#1 >-try { >- x = 1; >- delete x; >- x; >- testFailed('#1: x = 1; delete x; x is not exist'); >-} catch (e) { >- if (e instanceof ReferenceError !== true) { >- testFailed('#1: x = 1; delete x; x is not exist'); >- } >-} >- >- >-//CHECK#2 >-function MyFunction(){}; >-MyFunction.prop = 1; >-delete MyFunction.prop; >-if (MyFunction.prop !== undefined) { >- testFailed('#2: function MyFunction(){}; MyFunction.prop = 1; delete MyFunction.prop; MyFunction.prop === undefined. Actual: ' + (MyFunction.prop)); >- >-} >- >-//CHECK#3 >-function MyFunction(){}; >-var MyObjectVar = new MyFunction(); >-MyObjectVar.prop = 1; >-delete MyObjectVar.prop; >-if (MyObjectVar.prop !== undefined) { >- testFailed('#3: function MyFunction(){}; var MyObjectVar = new MyFunction(); MyFunction.prop = 1; delete MyObjectVar.prop; MyObjectVar.prop === undefined. Actual: ' + (MyObjectVar.prop)); >-} >- >-//CHECK#4 >-if (delete MyObjectVar !== false) { >- testFailed('#4: function MyFunction(){}; var MyObjectVar = new MyFunction(); delete MyObjectVar === false'); >-} >- >-//CHECK#5 >-function MyFunction(){}; >-MyObjectNotVar = new MyFunction(); >-MyObjectNotVar.prop = 1; >-delete MyObjectNotVar.prop; >-if (MyObjectNotVar.prop !== undefined) { >- testFailed('#5: function MyFunction(){}; MyObjectNotVar = new MyFunction(); MyFunction.prop = 1; delete MyObjectNotVar.prop; MyObjectNotVar.prop === undefined. Actual: ' + (MyObjectNotVar.prop)); >-} >- >-//CHECK#6 >-if (delete MyObjectNotVar !== true) { >- testFailed('#6: function MyFunction(){}; var MyObjectNotVar = new MyFunction(); delete MyObjectNotVar === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4-expected.txt >deleted file mode 100644 >index d6d071c50be..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.1_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.html >deleted file mode 100644 >index 76e40a174fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.1_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.1_A4; >-* @section: 11.4.1; >-* @assertion: "Delete" operator removes property, which is reference to the object, not the object; >-* @description: Checking two reference by one object; >-*/ >- >-//CHECK#1 >-obj = new Object(); >-ref = obj; >-delete ref; >-if (typeof obj !== "object") { >- testFailed('#1: obj = new Object(); ref = obj; delete ref; typeof obj === "object". Actual: ' + (typeof obj)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1-expected.txt >deleted file mode 100644 >index 2ee1c1507de..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.html >deleted file mode 100644 >index 5a600f30bd0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A1; >-* @section: 11.4.2; >-* @assertion: White Space and Line Terminator between "void" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("void\u00090") !== undefined) { >- testFailed('#1: void\\u00090 === undefined'); >-} >- >-//CHECK#2 >-if (eval("void\u000B0") !== undefined) { >- testFailed('#2: void\\u000B0 === undefined'); >-} >- >-//CHECK#3 >-if (eval("void\u000C0") !== undefined) { >- testFailed('#3: void\\u000C0 === undefined'); >-} >- >-//CHECK#4 >-if (eval("void\u00200") !== undefined) { >- testFailed('#4: void\\u00200 === undefined'); >-} >- >-//CHECK#5 >-if (eval("void\u00A00") !== undefined) { >- testFailed('#5: void\\u00A00 === undefined'); >-} >- >-//CHECK#6 >-if (eval("void\u000A0") !== undefined) { >- testFailed('#6: void\\u000A0 === undefined'); >-} >- >-//CHECK#7 >-if (eval("void\u000D0") !== undefined) { >- testFailed('#7: void\\u000D0 === undefined'); >-} >- >-//CHECK#8 >-if (eval("void\u20280") !== undefined) { >- testFailed('#8: void\\u20280 === undefined'); >-} >- >-//CHECK#9 >-if (eval("void\u20290") !== undefined) { >- testFailed('#9: void\\u20290 === undefined'); >-} >- >-//CHECK#10 >-if (eval("void\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== undefined) { >- testFailed('#10: void\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290 === undefined'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1-expected.txt >deleted file mode 100644 >index ecabcdc59e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.html >deleted file mode 100644 >index c376f4045d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A2_T1; >-* @section: 11.4.2; >-* @assertion: Operator "void" uses GetValue; >-* @description: Either Type(x) is not Reference or GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-if (void 0 !== undefined) { >- testFailed('#1: void 0 === undefined. Actual: ' + (void 0)); >-} >- >-//CHECK#2 >-var x = 0; >-if (void x !== undefined) { >- testFailed('#2: var x = 0; void x === undefined. Actual: ' + (void x)); >-} >- >-//CHECK#3 >-var x = new Object(); >-if (void x !== undefined) { >- testFailed('#3: var x = new Object(); void x === undefined. Actual: ' + (void x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2-expected.txt >deleted file mode 100644 >index 115cf854e7a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A2_T2 >- >-PASS ReferenceError: Can't find variable: x >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.html >deleted file mode 100644 >index ecbd9992f61..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A2_T2; >-* @section: 11.4.2; >-* @assertion: Operator "void" uses GetValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-* @negative >-*/ >- >-//CHECK#1 >-void x; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1-expected.txt >deleted file mode 100644 >index 0bfcc991f36..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.html >deleted file mode 100644 >index fe7a17ceb79..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A4_T1; >-* @section: 11.4.2; >-* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = false; >-if (void x !== undefined) { >- testFailed('#1: var x = false; void x === undefined. Actual: ' + (void x)); >-} >- >-//CHECK#2 >-var x = new Boolean(true); >-if (void x !== undefined) { >- testFailed('#2: var x = new Boolean(true); void x === undefined. Actual: ' + (void x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2-expected.txt >deleted file mode 100644 >index c55fabbc6b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.html >deleted file mode 100644 >index 5789ff57763..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A4_T2; >-* @section: 11.4.2; >-* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = 0.1; >-if (void x !== undefined) { >- testFailed('#1: var x = 0.1; void x === undefined. Actual: ' + (void x)); >-} >- >-//CHECK#2 >-var x = new Number(-1.1); >-if (void x !== undefined) { >- testFailed('#2: var x = new Number(-1.1); void x === undefined. Actual: ' + (void x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3-expected.txt >deleted file mode 100644 >index d68877371e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.html >deleted file mode 100644 >index 8d852cee50b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A4_T3; >-* @section: 11.4.2; >-* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; >-* @description: Type(x) is string primitive of String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >-if (void x !== undefined) { >- testFailed('#1: var x = "1"; void x === undefined. Actual: ' + (void x)); >-} >- >-//CHECK#2 >-var x = "x"; >-if (isNaN(void x) !== true) { >- testFailed('#2: var x = "x"; void x === undefined. Actual: ' + (void x)); >-} >- >-//CHECK#3 >-var x = new String("-1"); >-if (void x !== undefined) { >- testFailed('#3: var x = new String("-1"); void x === undefined. Actual: ' + (void x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4-expected.txt >deleted file mode 100644 >index 8e7b730aae4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.html >deleted file mode 100644 >index 0124ffe09db..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A4_T4; >-* @section: 11.4.2; >-* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-var x; >-if (isNaN(void x) !== true) { >- testFailed('#1: var x; void x === undefined. Actual: ' + (void x)); >-} >- >-//CHECK#2 >-var x = null; >-if (void x !== undefined) { >- testFailed('#2: var x = null; void x === undefined. Actual: ' + (void x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5-expected.txt >deleted file mode 100644 >index 450d8d965d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.html >deleted file mode 100644 >index e70f70e3f0b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A4_T5; >-* @section: 11.4.2; >-* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >-if (isNaN(void x) !== true) { >- testFailed('#1: var x = {}; void x === undefined. Actual: ' + (void x)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >-if (isNaN(void x) !== true) { >- testFailed('#2: var x = function(){return 1}; void x === undefined. Actual: ' + (void x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6-expected.txt >deleted file mode 100644 >index 20cb39d1be7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.html >deleted file mode 100644 >index 767bb195136..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.2_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.2_A4_T6; >-* @section: 11.4.2; >-* @assertion: Operator "void" evaluates UnaryExpression and returns undefined; >-* @description: Checking Simple Assignment operator; >-*/ >- >-//CHECK#1 >-var x = 0; >-if (void (x = 1) !== undefined) { >- testFailed('#1: var x = 0; void (x = 1) === undefined. Actual: ' + (void (x = 1))); >-} else { >- if (x !== 1) { >- testFailed('#1: var x = 0; void (x = 1); x === 1. Actual: ' + (x)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1-expected.txt >deleted file mode 100644 >index 999da72e02c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.html >deleted file mode 100644 >index 7ea273998a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A1; >-* @section: 11.4.3; >-* @assertion: White Space and Line Terminator between "typeof" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("var x = 0; typeof\u0009x") !== "number") { >- testFailed('#1: var x = 0; typeof\\u0009x; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#2 >-if (eval("var x = 0; typeof\u000Bx") !== "number") { >- testFailed('#2: var x = 0; typeof\\u000Bx; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#3 >-if (eval("var x = 0; typeof\u000Cx") !== "number") { >- testFailed('#3: var x = 0; typeof\\u000Cx; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#4 >-if (eval("var x = 0; typeof\u0020x") !== "number") { >- testFailed('#4: var x = 0; typeof\\u0020x; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#5 >-if (eval("var x = 0; typeof\u00A0x") !== "number") { >- testFailed('#5: var x = 0; typeof\\u00A0x; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#6 >-if (eval("var x = 0; typeof\u000Ax") !== "number") { >- testFailed('#6: var x = 0; typeof\\u000Ax; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#7 >-if (eval("var x = 0; typeof\u000Dx") !== "number") { >- testFailed('#7: var x = 0; typeof\\u000Dx; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#8 >-if (eval("var x = 0; typeof\u2028x") !== "number") { >- testFailed('#8: var x = 0; typeof\\u2028x; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#9 >-if (eval("var x = 0; typeof\u2029x") !== "number") { >- testFailed('#9: var x = 0; typeof\\u2029x; x === "number". Actual: ' + (x)); >-} >- >-//CHECK#10 >-if (eval("var x = 0; typeof\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029x") !== "number") { >- testFailed('#10: var x = 0; typeof\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029x; x === "number". Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1-expected.txt >deleted file mode 100644 >index d60448a57d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.html >deleted file mode 100644 >index 04c7a2851f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A2_T1; >-* @section: 11.4.3; >-* @assertion: Operator "typeof" uses GetValue; >-* @description: Either Type(x) is not Reference or GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-if (typeof 0 !== "number") { >- testFailed('#1: typeof 0 === "number". Actual: ' + (typeof 0)); >-} >- >-//CHECK#2 >-var x = 0; >-if (typeof x !== "number") { >- testFailed('#2: typeof x === "number". Actual: ' + (typeof x)); >-} >- >-//CHECK#3 >-var x = new Object(); >-if (typeof x !== "object") { >- testFailed('#3: var x = new Object(); typeof x === "object". Actual: ' + (typeof x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2-expected.txt >deleted file mode 100644 >index cffdbcc9fa6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.html >deleted file mode 100644 >index 15d433c88f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A2_T2; >-* @section: 11.4.3; >-* @assertion: Operator "typeof" uses GetValue; >-* @description: If GetBase(x) is null, return "undefined"; >-*/ >- >-//CHECK#1 >-if (typeof x !== "undefined") { >- testFailed('#1: typeof x === "undefined". Actual: ' + (typeof x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1-expected.txt >deleted file mode 100644 >index 4545c3e236b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A3.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.html >deleted file mode 100644 >index d1261c7fbb7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A3.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A3.1; >-* @section: 11.4.3; >-* @assertion: Result of applying "typeof" operator to undefined is "undefined"; >-* @description: typeof undefined === "undefined"; >-*/ >- >-//CHECK#1 >-if (typeof undefined !== "undefined") { >- testFailed('#1: typeof undefined === "undefined". Actual: ' + (typeof undefined)); >-} >- >-//CHECK#2 >-if (typeof void 0 !== "undefined") { >- testFailed('#2: typeof void 0 === "undefined". Actual: ' + (typeof void 0)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2-expected.txt >deleted file mode 100644 >index 7e553d440f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A3.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.html >deleted file mode 100644 >index f4315c34293..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A3.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A3.2; >-* @section: 11.4.3; >-* @assertion: Result of applying "typeof" operator to null is "object"; >-* @description: typeof null === "object"; >-*/ >- >-//CHECK#1 >-if (typeof null !== "object") { >- testFailed('#1: typeof null === "object". Actual: ' + (typeof null)); >-} >- >-//CHECK#2 >-if (typeof RegExp("0").exec("1") !== "object") { >- testFailed('#2: typeof RegExp("0").exec("1") === "object". Actual: ' + (typeof RegExp("0").exec("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3-expected.txt >deleted file mode 100644 >index 60491f3ee01..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A3.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.html >deleted file mode 100644 >index 27dbcb61b46..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A3.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A3.3; >-* @section: 11.4.3; >-* @assertion: Result of applying "typeof" operator to boolean is "boolean"; >-* @description: typeof (boolean value) === "boolean"; >-*/ >- >-//CHECK#1 >-if (typeof true !== "boolean") { >- testFailed('#1: typeof true === "boolean". Actual: ' + (typeof true)); >-} >- >-//CHECK#2 >-if (typeof false !== "boolean") { >- testFailed('#2: typeof false === "boolean". Actual: ' + (typeof false)); >-} >- >-//CHECK#3 >-if (typeof !-1 !== "boolean") { >- testFailed('#3: typeof !-1 === "boolean". Actual: ' + (typeof !-1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4-expected.txt >deleted file mode 100644 >index 4cab3cbbbcf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A3.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.html >deleted file mode 100644 >index 049ae24c3bb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A3.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A3.4; >-* @section: 11.4.3; >-* @assertion: Result of appying "typeof" operator to number is "number"; >-* @description: typeof (number value) === "number"; >-*/ >- >-//CHECK#1 >-if (typeof 1 !== "number") { >- testFailed('#1: typeof 1 === "number". Actual: ' + (typeof 1)); >-} >- >-//CHECK#2 >-if (typeof Number.NaN !== "number") { >- testFailed('#2: typeof NaN === "number". Actual: ' + (typeof NaN)); >-} >- >-//CHECK#3 >-if (typeof Number.POSITIVE_INFINITY !== "number") { >- testFailed('#3: typeof Infinity === "number". Actual: ' + (typeof Infinity)); >-} >- >-//CHECK#4 >-if (typeof Number.NEGATIVE_INFINITY !== "number") { >- testFailed('#4: typeof -Infinity === "number". Actual: ' + (typeof -Infinity)); >-} >- >-//CHECK#5 >-if (typeof Math.PI !== "number") { >- testFailed('#5: typeof Math.PI === "number". Actual: ' + (typeof Math.PI)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5-expected.txt >deleted file mode 100644 >index fc42656913d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A3.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.html >deleted file mode 100644 >index a0443c76d16..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A3.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A3.5; >-* @section: 11.4.3; >-* @assertion: Result of appying "typeof" operator to string is "string"; >-* @description: typeof (string value) === "string"; >-*/ >- >-//CHECK#1 >-if (typeof "1" !== "string") { >- testFailed('#1: typeof "1" === "string". Actual: ' + (typeof "1")); >-} >- >-//CHECK#2 >-if (typeof "NaN" !== "string") { >- testFailed('#2: typeof "NaN" === "string". Actual: ' + (typeof "NaN")); >-} >- >-//CHECK#3 >-if (typeof "Infinity" !== "string") { >- testFailed('#3: typeof "Infinity" === "string". Actual: ' + (typeof "Infinity")); >-} >- >-//CHECK#4 >-if (typeof "" !== "string") { >- testFailed('#4: typeof "" === "string". Actual: ' + (typeof "")); >-} >- >-//CHECK#5 >-if (typeof "true" !== "string") { >- testFailed('#5: typeof "true" === "string". Actual: ' + (typeof "true")); >-} >- >-//CHECK#6 >-if (typeof Date() !== "string") { >- testFailed('#6: typeof Date() === "string". Actual: ' + (typeof Date())); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt >deleted file mode 100644 >index e08632f8e61..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A3.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.html >deleted file mode 100644 >index b2cf8718fde..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.html >+++ /dev/null >@@ -1,155 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A3.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A3.6; >-* @section: 11.4.3; >-* @assertion: Result of applying "typeof" operator to the object that is native and doesn't implement [[Call]] is "object"; >-* @description: typeof (object without [[Call]]) === "object"; >-*/ >- >-//CHECK#1 >-if (typeof this !== "object") { >- testFailed('#1: typeof this === "object". Actual: ' + (typeof this)); >-} >- >-//CHECK#2 >-if (typeof new Object() !== "object") { >- testFailed('#2: typeof new Object() === "object". Actual: ' + (typeof new Object())); >-} >- >-//CHECK#3 >-if (typeof new Array(1,2,3) !== "object") { >- testFailed('#3: typeof new Array(1,2,3) === "object". Actual: ' + (typeof new Array(1,2,3))); >-} >- >-//CHECK#4 >-if (typeof Array(1,2,3) !== "object") { >- testFailed('#4: typeof Array(1,2,3) === "object". Actual: ' + (typeof Array(1,2,3))); >-} >- >-//CHECK#5 >-if (typeof new String("x") !== "object") { >- testFailed('#5: typeof new String("x") === "object". Actual: ' + (typeof new String("x"))); >-} >- >-//CHECK#6 >-if (typeof new Boolean(true) !== "object") { >- testFailed('#6: typeof new Boolean(true) === "object". Actual: ' + (typeof new Boolean(true))); >-} >- >-//CHECK#7 >-if (typeof new Number(1) !== "object") { >- testFailed('#7: typeof new Number(1) === "object". Actual: ' + (typeof new Number(1))); >-} >- >-//CHECK#8 >-//The Math object does not have a [[Construct]] property; >-//it is not possible to use the Math object as a constructor with the new operator. >-//The Math object does not have a [[Call]] property; it is not possible to invoke the Math object as a object. >-if (typeof Math !== "object") { >- testFailed('#8: typeof Math === "object". Actual: ' + (typeof Math)); >-} >- >-//CHECK#9 >-if (typeof new Date() !== "object") { >- testFailed('#9: typeof new Date() === "object". Actual: ' + (typeof new Date())); >-} >- >-//CHECK#10 >-if (typeof new Error() !== "object") { >- testFailed('#10: typeof new Error() === "object". Actual: ' + (typeof new Error())); >-} >- >-//CHECK#11 >-if (typeof new RegExp() !== "object") { >- testFailed('#11: typeof new RegExp() === "object". Actual: ' + (typeof new RegExp())); >-} >- >-//CHECK#12 >-if (typeof RegExp() !== "object") { >- testFailed('#12: typeof RegExp() === "object". Actual: ' + (typeof RegExp())); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7-expected.txt >deleted file mode 100644 >index 2cd94f6756a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.3_A3.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.html >deleted file mode 100644 >index a644dbde2dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.3_A3.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.3_A3.7; >-* @section: 11.4.3; >-* @assertion: Result of applying "typeof" operator to the object that is native and implements [[Call]] is "function"; >-* @description: typeof (object with [[Call]]) === "function"; >-*/ >- >-//CHECK#1 >-if (typeof new Function() !== "function") { >- testFailed('#1: typeof new Function() === "function". Actual: ' + (typeof new Function())); >-} >- >-//CHECK#2 >-if (typeof Function() !== "function") { >- testFailed('#2: typeof Function() === "function". Actual: ' + (typeof Function())); >-} >- >-//CHECK#3 >-if (typeof Object !== "function") { >- testFailed('#3: typeof Object === "function". Actual: ' + (typeof Object)); >-} >- >-//CHECK#4 >-if (typeof String !== "function") { >- testFailed('#4: typeof String === "function". Actual: ' + (typeof String)); >-} >- >-//CHECK5 >-if (typeof Boolean !== "function") { >- testFailed('#5: typeof Boolean === "function". Actual: ' + (typeof Boolean)); >-} >- >-//CHECK#6 >-if (typeof Number !== "function") { >- testFailed('#6: typeof Number === "function". Actual: ' + (typeof Number)); >-} >- >-//CHECK#7 >-if (typeof Date !== "function") { >- testFailed('#7: typeof Date === "function". Actual: ' + (typeof Date)); >-} >- >-//CHECK#8 >-if (typeof Error !== "function") { >- testFailed('#8: typeof Error === "function". Actual: ' + (typeof Error)); >-} >- >-//CHECK#9 >-if (typeof RegExp !== "function") { >- testFailed('#9: typeof RegExp === "function". Actual: ' + (typeof RegExp)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1-expected.txt >deleted file mode 100644 >index fffb9a99c80..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.html >deleted file mode 100644 >index 59f4b6d05f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A1; >-* @section: 11.4.4, 11.6.3, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "++" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("var x = 0; ++\u0009x") !== 1) { >- testFailed('#1: var x = 0; ++\\u0009x; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-if (eval("var x = 0; ++\u000Bx") !== 1) { >- testFailed('#2: var x = 0; ++\\u000Bx; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#3 >-if (eval("var x = 0; ++\u000Cx") !== 1) { >- testFailed('#3: var x = 0; ++\\u000Cx; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#4 >-if (eval("var x = 0; ++\u0020x") !== 1) { >- testFailed('#4: var x = 0; ++\\u0020x; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#5 >-if (eval("var x = 0; ++\u00A0x") !== 1) { >- testFailed('#5: var x = 0; ++\\u00A0x; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#6 >-if (eval("var x = 0; ++\u000Ax") !== 1) { >- testFailed('#6: var x = 0; ++\\u000Ax; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#7 >-if (eval("var x = 0; ++\u000Dx") !== 1) { >- testFailed('#7: var x = 0; ++\\u000Dx; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#8 >-if (eval("var x = 0; ++\u2028x") !== 1) { >- testFailed('#8: var x = 0; ++\\u2028x; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#9 >-if (eval("var x = 0; ++\u2029x") !== 1) { >- testFailed('#9: var x = 0; ++\\u2029x; x === 1. Actual: ' + (x)); >-} >- >-//CHECK#10 >-if (eval("var x = 0; ++\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029x") !== 1) { >- testFailed('#10: var x = 0; ++\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029x; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1-expected.txt >deleted file mode 100644 >index 73ffa6d3431..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.html >deleted file mode 100644 >index 80a18ac2fde..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A2.1_T1; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x uses GetValue and PutValue; >-* @description: Type(x) is Reference and GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-var x = 1; >-if (++x !== 1 + 1) { >- testFailed('#1: var x = 1; ++x === 1 + 1. Actual: ' + (++x)); >-} else { >- if (x !== 1 + 1) { >- testFailed('#1: var x = 1; ++x; x === 1 + 1. Actual: ' + (x)); >- } >-} >- >-//CHECK#2 >-this.x = 1; >-if (++this.x !== 1 + 1) { >- testFailed('#2: this.x = 1; ++this.x === 1 + 1. Actual: ' + (++this.x)); >-} else { >- if (this.x !== 1 + 1) { >- testFailed('#2: this.x = 1; ++this.x; this.x === 1 + 1. Actual: ' + (this.x)); >- } >-} >- >-//CHECK#3 >-var object = new Object(); >-object.prop = 1; >-if (++object.prop !== 1 + 1) { >- testFailed('#3: var object = new Object(); object.prop = 1; ++object.prop === 1 + 1. Actual: ' + (++object.prop)); >-} else { >- if (this.x !== 1 + 1) { >- testFailed('#3: var object = new Object(); object.prop = 1; ++object.prop; object.prop === 1 + 1. Actual: ' + (object.prop)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2-expected.txt >deleted file mode 100644 >index c50526dfa17..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.html >deleted file mode 100644 >index 6872723baff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A2.1_T2; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x uses GetValue and PutValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- ++x; >- testFailed('#1.1: ++x throw ReferenceError. Actual: ' + (++x)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: ++x throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3-expected.txt >deleted file mode 100644 >index 770c101cd8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A2.1_T3 >- >-PASS ReferenceError: Prefix ++ operator applied to value that is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.html >deleted file mode 100644 >index 573d7706679..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A2.1_T3; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x uses GetValue and PutValue; >-* @description: If Type(x) is not Reference, throw ReferenceError (or SyntaxError); >-* @negative >-*/ >- >-//CHECK#1 >-try { >- ++1; >- testFailed('#1.1: ++1 throw ReferenceError (or SyntaxError). Actual: ' + (++1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: ++1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- ++1; >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1-expected.txt >deleted file mode 100644 >index d45ae40f84f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.html >deleted file mode 100644 >index 464bf98851d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.html >+++ /dev/null >@@ -1,186 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.4.4_A2.2_T1; >- * @section: 11.4.4, 8.6.2.6; >- * @assertion: Operator ++x uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-if (++object !== 1 + 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; ++object === 1 + 1. Actual: ' + (++object)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; ++object; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if (++object !== 1 + 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; ++object === 1 + 1. Actual: ' + (++object)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; ++object; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-if (++object !== 1 + 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; ++object === 1 + 1. Actual: ' + (++object)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; ++object; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- if (++object !== 1 + 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ++object === 1 + 1. Actual: ' + (++object)); >- } else { >- if (object !== 1 + 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ++object; object === 1 + 1. Actual: ' + (object)); >- } >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ++object not throw "error"'); >- } else { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ++object not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-if (++object !== 1 + 1) { >- testFailed('#5.1: var object = {toString: function() {return 1}}; ++object === 1 + 1. Actual: ' + (++object)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#5.2: var object = {toString: function() {return 1}}; ++object; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-if (++object !== 1 + 1) { >- testFailed('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; ++object === 1 + 1. Actual: ' + (++object)); >-} else { >- if (object !== 1 + 1) { >- testFailed('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; ++object; object === 1 + 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- ++object; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ++object throw "error". Actual: ' + (++object)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ++object throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- ++object; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ++object throw TypeError. Actual: ' + (++object)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ++object throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1-expected.txt >deleted file mode 100644 >index 377506ba80a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.html >deleted file mode 100644 >index 04bb181063b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A3_T1; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns x = ToNumber(x) + 1; >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = false; >-++x; >-if (x !== 0 + 1) { >- testFailed('#1: var x = false; ++x; x === 0 + 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = new Boolean(true); >-++x; >-if (x !== 1 + 1) { >- testFailed('#2: var x = new Boolean(true); ++x; x === 1 + 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2-expected.txt >deleted file mode 100644 >index a64a4757127..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.html >deleted file mode 100644 >index a1faa67fad5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A3_T2; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns x = ToNumber(x) + 1; >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = 0.1; >-++x; >-if (x !== 0.1 + 1) { >- testFailed('#1: var x = 0.1; ++x; x === 0.1 + 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = new Number(-1.1); >-++x; >-if (x !== -1.1 + 1) { >- testFailed('#2: var x = new Number(-1.1); ++x; x === -1.1 + 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3-expected.txt >deleted file mode 100644 >index ee852dfad37..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.html >deleted file mode 100644 >index 1d90d827dba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A3_T3; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns x = ToNumber(x) + 1; >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >-++x; >-if (x !== 1 + 1) { >- testFailed('#1: var x = "1"; ++x; x === 1 + 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = "x"; >-++x; >-if (isNaN(x) !== true) { >- testFailed('#2: var x = "x"; ++x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-var x = new Number("-1"); >-++x; >-if (x !== -1 + 1) { >- testFailed('#3: var x = new String("-1"); ++x; x === -1 + 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4-expected.txt >deleted file mode 100644 >index 0f22e28983e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.html >deleted file mode 100644 >index 7ec3cce32c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A3_T4; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns x = ToNumber(x) + 1; >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-var x; >-++x; >-if (isNaN(x) !== true) { >- testFailed('#1: var x; ++x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = null; >-++x; >-if (x !== 1) { >- testFailed('#2: var x = null; ++x; x === 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5-expected.txt >deleted file mode 100644 >index 09247a48a16..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.html >deleted file mode 100644 >index 062fe344aa1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A3_T5; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns x = ToNumber(x) + 1; >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >-++x; >-if (isNaN(x) !== true) { >- testFailed('#1: var x = {}; ++x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >-++x; >-if (isNaN(x) !== true) { >- testFailed('#2: var x = function(){return 1}; ++x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1-expected.txt >deleted file mode 100644 >index da09965c4b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.html >deleted file mode 100644 >index 5221411cba0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A4_T1; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns ToNumber(x) + 1; >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = false; >-if (++x !== 0 + 1) { >- testFailed('#1: var x = false; ++x === 0 + 1. Actual: ' + (++x)); >-} >- >-//CHECK#2 >-var x = new Boolean(true); >-if (++x !== 1 + 1) { >- testFailed('#2: var x = new Boolean(true); ++x === 1 + 1. Actual: ' + (++x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2-expected.txt >deleted file mode 100644 >index 35a622021ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.html >deleted file mode 100644 >index 187b95e1606..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A4_T2; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns ToNumber(x) + 1; >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = 0.1; >-if (++x !== 0.1 + 1) { >- testFailed('#1: var x = 0.1; ++x === 0.1 + 1. Actual: ' + (++x)); >-} >- >-//CHECK#2 >-var x = new Number(-1.1); >-if (++x !== -1.1 + 1) { >- testFailed('#2: var x = new Number(-1.1); ++x === -1.1 + 1. Actual: ' + (++x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3-expected.txt >deleted file mode 100644 >index a53ea898e4c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.html >deleted file mode 100644 >index c768d1f27f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A4_T3; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns ToNumber(x) + 1; >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >-if (++x !== 1 + 1) { >- testFailed('#1: var x = "1"; ++x === 1 + 1. Actual: ' + (++x)); >-} >- >-//CHECK#2 >-var x = "x"; >-if (isNaN(++x) !== true) { >- testFailed('#2: var x = "x"; ++x === Not-a-Number. Actual: ' + (++x)); >-} >- >-//CHECK#3 >-var x = new String("-1"); >-if (++x !== -1 + 1) { >- testFailed('#3: var x = new String("-1"); ++x === -1 + 1. Actual: ' + (++x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4-expected.txt >deleted file mode 100644 >index 103f490c50a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.html >deleted file mode 100644 >index f7db03989f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A4_T4; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns ToNumber(x) + 1; >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-var x; >-if (isNaN(++x) !== true) { >- testFailed('#1: var x; ++x === Not-a-Number. Actual: ' + (++x)); >-} >- >-//CHECK#2 >-var x = null; >-if (++x !== 1) { >- testFailed('#2: var x = null; ++x === 1. Actual: ' + (++x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5-expected.txt >deleted file mode 100644 >index ef868f5a42f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.html >deleted file mode 100644 >index 8b40118c41c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.4_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.4_A4_T5; >-* @section: 11.4.4, 11.6.3; >-* @assertion: Operator ++x returns ToNumber(x) + 1; >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >-if (isNaN(++x) !== true) { >- testFailed('#1: var x = {}; ++x === Not-a-Number. Actual: ' + (++x)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >-if (isNaN(++x) !== true) { >- testFailed('#2: var x = function(){return 1}; ++x === Not-a-Number. Actual: ' + (++x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1-expected.txt >deleted file mode 100644 >index 8fb1d4e1aaa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.html >deleted file mode 100644 >index 160f1c8db3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A1; >-* @section: 11.4.5, 11.6.3, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "--" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("var x = 1; --\u0009x") !== 0) { >- testFailed('#1: var x = 1; --\\u0009x; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#2 >-if (eval("var x = 1; --\u000Bx") !== 0) { >- testFailed('#2: var x = 1; --\\u000Bx; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#3 >-if (eval("var x = 1; --\u000Cx") !== 0) { >- testFailed('#3: var x = 1; --\\u000Cx; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#4 >-if (eval("var x = 1; --\u0020x") !== 0) { >- testFailed('#4: var x = 1; --\\u0020x; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#5 >-if (eval("var x = 1; --\u00A0x") !== 0) { >- testFailed('#5: var x = 1; --\\u00A0x; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#6 >-if (eval("var x = 1; --\u000Ax") !== 0) { >- testFailed('#6: var x = 1; --\\u000Ax; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#7 >-if (eval("var x = 1; --\u000Dx") !== 0) { >- testFailed('#7: var x = 1; --\\u000Dx; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#8 >-if (eval("var x = 1; --\u2028x") !== 0) { >- testFailed('#8: var x = 1; --\\u2028x; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#9 >-if (eval("var x = 1; --\u2029x") !== 0) { >- testFailed('#9: var x = 1; --\\u2029x; x === 0. Actual: ' + (x)); >-} >- >-//CHECK#10 >-if (eval("var x = 1; --\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029x") !== 0) { >- testFailed('#10: var x = 1; --\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029x; x === 0. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1-expected.txt >deleted file mode 100644 >index e6325466009..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.html >deleted file mode 100644 >index 38741f8579e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A2.1_T1; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x uses GetValue and PutValue; >-* @description: Type(x) is Reference and GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-var x = 1; >-if (--x !== 1 - 1) { >- testFailed('#1: var x = 1; --x === 1 - 1. Actual: ' + (--x)); >-} else { >- if (x !== 1 - 1) { >- testFailed('#1: var x = 1; --x; x === 1 - 1. Actual: ' + (x)); >- } >-} >- >-//CHECK#2 >-this.x = 1; >-if (--this.x !== 1 - 1) { >- testFailed('#2: this.x = 1; --this.x === 1 - 1. Actual: ' + (--this.x)); >-} else { >- if (this.x !== 1 - 1) { >- testFailed('#2: this.x = 1; --this.x; this.x === 1 - 1. Actual: ' + (this.x)); >- } >-} >- >-//CHECK#3 >-var object = new Object(); >-object.prop = 1; >-if (--object.prop !== 1 - 1) { >- testFailed('#3: var object = new Object(); object.prop = 1; --object.prop === 1 - 1. Actual: ' + (--object.prop)); >-} else { >- if (this.x !== 1 - 1) { >- testFailed('#3: var object = new Object(); object.prop = 1; --object.prop; object.prop === 1 - 1. Actual: ' + (object.prop)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2-expected.txt >deleted file mode 100644 >index 3ed16e6cbd0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.html >deleted file mode 100644 >index b2e702a7b15..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A2.1_T2; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x uses GetValue and PutValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- --x; >- testFailed('#1.1: --x throw ReferenceError. Actual: ' + (--x)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: --x throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3-expected.txt >deleted file mode 100644 >index b422c04c653..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A2.1_T3 >- >-PASS ReferenceError: Prefix -- operator applied to value that is not a reference. >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.html >deleted file mode 100644 >index 874849c50b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A2.1_T3; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x uses GetValue and PutValue; >-* @description: If Type(x) is not Reference, throw ReferenceError (or SyntaxError); >-* @negative >-*/ >- >-//CHECK#1 >-try { >- --1; >- testFailed('#1.1: --1 throw ReferenceError (or SyntaxError). Actual: ' + (--1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: --1 throw ReferenceError (or SyntaxError). Actual: ' + (e)); >- } else { >- --1; >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1-expected.txt >deleted file mode 100644 >index 3d6e98a8b69..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.html >deleted file mode 100644 >index 3c458b36ae1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.html >+++ /dev/null >@@ -1,186 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.4.5_A2.2_T1; >- * @section: 11.4.5, 8.6.2.6; >- * @assertion: Operator --x uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-if (--object !== 1 - 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; --object === 1 - 1. Actual: ' + (--object)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; --object; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if (--object !== 1 - 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; --object === 1 - 1. Actual: ' + (--object)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; --object; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-if (--object !== 1 - 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; --object === 1 - 1. Actual: ' + (--object)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; --object; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- if (--object !== 1 - 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; --object === 1 - 1. Actual: ' + (--object)); >- } else { >- if (object !== 1 - 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; --object; object === 1 - 1. Actual: ' + (object)); >- } >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; --object not throw "error"'); >- } else { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; --object not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-if (--object !== 1 - 1) { >- testFailed('#5.1: var object = {toString: function() {return 1}}; --object === 1 - 1. Actual: ' + (--object)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#5.2: var object = {toString: function() {return 1}}; --object; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-if (--object !== 1 - 1) { >- testFailed('#6.1: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; --object === 1 - 1. Actual: ' + (--object)); >-} else { >- if (object !== 1 - 1) { >- testFailed('#6.2: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; --object; object === 1 - 1. Actual: ' + (object)); >- } >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- --object; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; --object throw "error". Actual: ' + (--object)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; --object throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- --object; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; --object throw TypeError. Actual: ' + (--object)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; --object throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1-expected.txt >deleted file mode 100644 >index 88d34f41a06..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.html >deleted file mode 100644 >index 9ae7f58379b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A3_T1; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns x = ToNumber(x) - 1; >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = true; >---x; >-if (x !== 1 - 1) { >- testFailed('#1: var x = true; --x; x === 1 - 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = new Boolean(false); >---x; >-if (x !== 0 - 1) { >- testFailed('#2: var x = new Boolean(false); --x; x === 0 - 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2-expected.txt >deleted file mode 100644 >index b086a31aa72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.html >deleted file mode 100644 >index eaa5123fa92..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A3_T2; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns x = ToNumber(x) - 1; >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = 0.1; >---x; >-if (x !== 0.1 - 1) { >- testFailed('#1: var x = 0.1; --x; x === 0.1 - 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = new Number(-1.1); >---x; >-if (x !== -1.1 - 1) { >- testFailed('#2: var x = new Number(-1.1); --x; x === -1.1 - 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3-expected.txt >deleted file mode 100644 >index 52d194bb699..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.html >deleted file mode 100644 >index 11613fd464e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A3_T3; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns x = ToNumber(x) - 1; >-* @description: Type(x) is primitive string or String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >---x; >-if (x !== 1 - 1) { >- testFailed('#1: var x = "1"; --x; x === 1 - 1. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = "x"; >---x; >-if (isNaN(x) !== true) { >- testFailed('#2: var x = "x"; --x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#3 >-var x = new Number("-1"); >---x; >-if (x !== -1 - 1) { >- testFailed('#3: var x = new String("-1"); --x; x === -1 - 1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4-expected.txt >deleted file mode 100644 >index 6397d557030..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.html >deleted file mode 100644 >index 6f7d7d6e36c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A3_T4; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns x = ToNumber(x) - 1; >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-var x; >---x; >-if (isNaN(x) !== true) { >- testFailed('#1: var x; --x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = null; >---x; >-if (x !== -1) { >- testFailed('#2: var x = null; --x; x === -1. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5-expected.txt >deleted file mode 100644 >index deeaaa5772b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.html >deleted file mode 100644 >index 1a63ca956ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A3_T5; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns x = ToNumber(x) - 1; >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >---x; >-if (isNaN(x) !== true) { >- testFailed('#1: var x = {}; --x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >---x; >-if (isNaN(x) !== true) { >- testFailed('#2: var x = function(){return 1}; --x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1-expected.txt >deleted file mode 100644 >index 2377c7f96d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.html >deleted file mode 100644 >index 6e99277416e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A4_T1; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns ToNumber(x) - 1; >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-var x = true; >-if (--x !== 1 - 1) { >- testFailed('#1: var x = true; --x === 1 - 1. Actual: ' + (--x)); >-} >- >-//CHECK#2 >-var x = new Boolean(false); >-if (--x !== 0 - 1) { >- testFailed('#2: var x = new Boolean(false); --x === 0 - 1. Actual: ' + (--x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2-expected.txt >deleted file mode 100644 >index 6cf8cf9655b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.html >deleted file mode 100644 >index fa44f89a58f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A4_T2; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns ToNumber(x) - 1; >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-var x = 0.1; >-if (--x !== 0.1 - 1) { >- testFailed('#1: var x = 0.1; --x === 0.1 - 1. Actual: ' + (--x)); >-} >- >-//CHECK#2 >-var x = new Number(-1.1); >-if (--x !== -1.1 - 1) { >- testFailed('#2: var x = new Number(-1.1); --x === -1.1- 1. Actual: ' + (--x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3-expected.txt >deleted file mode 100644 >index 82071966b8b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.html >deleted file mode 100644 >index 8614471b213..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A4_T3; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns ToNumber(x) - 1; >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-var x = "1"; >-if (--x !== 1 - 1) { >- testFailed('#1: var x = "1"; --x === 1 - 1. Actual: ' + (--x)); >-} >- >-//CHECK#2 >-var x = "x"; >-if (isNaN(--x) !== true) { >- testFailed('#2: var x = "x"; --x === Not-a-Number. Actual: ' + (--x)); >-} >- >-//CHECK#3 >-var x = new String("-1"); >-if (--x !== -1 - 1) { >- testFailed('#3: var x = new String("-1"); --x === -1 - 1. Actual: ' + (--x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4-expected.txt >deleted file mode 100644 >index 4bfbaf5b966..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.html >deleted file mode 100644 >index da0dd23618c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A4_T4; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns ToNumber(x) - 1; >-* @description: Type(x) is undefined or null; >-*/ >- >- >-//CHECK#1 >-var x; >-if (isNaN(--x) !== true) { >- testFailed('#1: var x; --x; x === Not-a-Number. Actual: ' + (x)); >-} >- >-//CHECK#2 >-var x = null; >-if (--x !== -1) { >- testFailed('#2: var x = null; --x === -1. Actual: ' + (--x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5-expected.txt >deleted file mode 100644 >index 1ff28173b0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.html >deleted file mode 100644 >index 947edec2f24..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.5_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.5_A4_T5; >-* @section: 11.4.5, 11.6.3; >-* @assertion: Operator --x returns ToNumber(x) - 1; >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-var x = {}; >-if (isNaN(--x) !== true) { >- testFailed('#1: var x = {}; --x === Not-a-Number. Actual: ' + (--x)); >-} >- >-//CHECK#2 >-var x = function(){return 1}; >-if (isNaN(--x) !== true) { >- testFailed('#2: var x = function(){return 1}; --x === Not-a-Number. Actual: ' + (--x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1-expected.txt >deleted file mode 100644 >index 0321a8d32f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.html >deleted file mode 100644 >index 49aa0cca1e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.6_A1; >-* @section: 11.4.6, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "+" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("+\u00091") !== 1) { >- testFailed('#1: +\\u00091 === 1'); >-} >- >-//CHECK#2 >-if (eval("+\u000B1") !== 1) { >- testFailed('#2: +\\u000B1 === 1'); >-} >- >-//CHECK#3 >-if (eval("+\u000C1") !== 1) { >- testFailed('#3: +\\u000C1 === 1'); >-} >- >-//CHECK#4 >-if (eval("+\u00201") !== 1) { >- testFailed('#4: +\\u0020 === 1'); >-} >- >-//CHECK#5 >-if (eval("+\u00A01") !== 1) { >- testFailed('#5: +\\u00A01 === 1'); >-} >- >-//CHECK#6 >-if (eval("+\u000A1") !== 1) { >- testFailed('#6: +\\u000A1 === 1'); >-} >- >-//CHECK#7 >-if (eval("+\u000D1") !== 1) { >- testFailed('#7: +\\u000D1 === 1'); >-} >- >-//CHECK#8 >-if (eval("+\u20281") !== 1) { >- testFailed('#8: +\\u20281 === 1'); >-} >- >-//CHECK#9 >-if (eval("+\u20291") !== 1) { >- testFailed('#9: +\\u20291 === 1'); >-} >- >-//CHECK#10 >-if (eval("+\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 1) { >- testFailed('#10: +\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1-expected.txt >deleted file mode 100644 >index bf46e76de65..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.html >deleted file mode 100644 >index 6f4242a6d35..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.6_A2.1_T1; >-* @section: 11.4.6; >-* @assertion: Operator +x uses GetValue; >-* @description: Either Type(x) is not Reference or GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-if (+1 !== 1) { >- testFailed('#1: +1 === 1. Actual: ' + (+1)); >-} >- >-//CHECK#2 >-if (+(+1) !== 1) { >- testFailed('#2: +(+1) === -1. Actual: ' + (+(+1))); >-} >- >-//CHECK#3 >-var x = 1; >-if (+x !== 1) { >- testFailed('#3: var x = +1; -x === 1. Actual: ' + (-x)); >-} >- >-//CHECK#4 >-var x = 1; >-if (+(+x) !== 1) { >- testFailed('#4: var x = 1; +(+x) === 1. Actual: ' + (+(+x))); >-} >- >-//CHECK#5 >-var object = new Object(); >-object.prop = 1; >-if (+object.prop !== 1) { >- testFailed('#5: var object = new Object(); object.prop = 1; +object.prop === 1. Actual: ' + (+object.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2-expected.txt >deleted file mode 100644 >index 605f96dfef7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.html >deleted file mode 100644 >index 8be807ade84..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.6_A2.1_T2; >-* @section: 11.4.6; >-* @assertion: Operator +x uses GetValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- +x; >- testFailed('#1.1: +x throw ReferenceError. Actual: ' + (+x)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: +x throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1-expected.txt >deleted file mode 100644 >index e90cc863154..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.html >deleted file mode 100644 >index 50a674632f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.html >+++ /dev/null >@@ -1,161 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.4.6_A2.2_T1; >- * @section: 11.4.6, 8.6.2.6; >- * @assertion: Operator +x uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-if (+object !== 1) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; +object === 1. Actual: ' + (+object)); >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if (+object !== 1) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; +object === 1. Actual: ' + (+object)); >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-if (+object !== 1) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; +object === 1. Actual: ' + (+object)); >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- if (+object !== 1) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; +object === 1. Actual: ' + (+object)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; +object not throw "error"'); >- } else { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; +object not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-if (+object !== 1) { >- testFailed('#5: var object = {toString: function() {return 1}}; +object === 1. Actual: ' + (+object)); >-} >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-if (+object !== 1) { >- testFailed('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; +object === 1. Actual: ' + (+object)); >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- +object; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; +object throw "error". Actual: ' + (+object)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; +object throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- +object; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; +object throw TypeError. Actual: ' + (+object)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; +object throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1-expected.txt >deleted file mode 100644 >index f09195db144..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.html >deleted file mode 100644 >index 48041ea999f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.6_A3_T1; >-* @section: 11.4.6; >-* @assertion: Operator +x returns ToNumber(x); >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-if (+false !== 0) { >- testFailed('#1: +false === 0. Actual: ' + (+false)); >-} >- >-//CHECK#2 >-if (+new Boolean(true) !== 1) { >- testFailed('#2: +new Boolean(true) === 1. Actual: ' + (+new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2-expected.txt >deleted file mode 100644 >index 279a9c982cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.html >deleted file mode 100644 >index 885b21ff03d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.6_A3_T2; >-* @section: 11.4.6; >-* @assertion: Operator +x returns ToNumber(x); >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-if (+0.1 !== 0.1) { >- testFailed('#1: +0.1 === 0.1. Actual: ' + (+0.1)); >-} >- >-//CHECK#2 >-if (+new Number(-1.1) !== -1.1) { >- testFailed('#2: +new Number(-1.1) === -1.1. Actual: ' + (+new Number(-1.1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3-expected.txt >deleted file mode 100644 >index 705491b94c4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.html >deleted file mode 100644 >index be304e016d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.6_A3_T3; >-* @section: 11.4.6; >-* @assertion: Operator +x returns ToNumber(x); >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-if (+"1" !== 1) { >- testFailed('#1: +"1" === 1. Actual: ' + (+"1")); >-} >- >-//CHECK#2 >-if (isNaN(+"x") !== true) { >- testFailed('#2: +"x" === Not-a-Number. Actual: ' + (+"x")); >-} >- >-//CHECK#3 >-if (+new Number("-1") !== -1) { >- testFailed('#3: +new String("-1") === -1. Actual: ' + (+new String("-1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4-expected.txt >deleted file mode 100644 >index 6d36a212114..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.html >deleted file mode 100644 >index fa91459f785..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.6_A3_T4; >-* @section: 11.4.6; >-* @assertion: Operator +x returns ToNumber(x); >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-if (isNaN(+void 0) !== true) { >- testFailed('#1: +void 0 === Not-a-Number. Actual: ' + (+void 0)); >-} >- >-//CHECK#2 >-if (+null !== 0) { >- testFailed('#2: +null === 0. Actual: ' + (+null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5-expected.txt >deleted file mode 100644 >index 95dafdf388e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.html >deleted file mode 100644 >index 1a312116f8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.6_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.6_A3_T5; >-* @section: 11.4.6; >-* @assertion: Operator +x returns ToNumber(x); >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-if (isNaN(+{}) !== true) { >- testFailed('#1: +{} === Not-a-Number. Actual: ' + (+{})); >-} >- >-//CHECK#2 >-if (isNaN(+function(){return 1}) !== true) { >- testFailed('#2: +function(){return 1} === Not-a-Number. Actual: ' + (+function(){return 1})); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1-expected.txt >deleted file mode 100644 >index b089eed656b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.html >deleted file mode 100644 >index 9bb65a5bc08..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A1; >-* @section: 11.4.7, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "-" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("-\u00091") !== -1) { >- testFailed('#1: -\\u00091 === -1'); >-} >- >-//CHECK#2 >-if (eval("-\u000B1") !== -1) { >- testFailed('#2: -\\u000B1 === -1'); >-} >- >-//CHECK#3 >-if (eval("-\u000C1") !== -1) { >- testFailed('#3: -\\u000C1 === -1'); >-} >- >-//CHECK#4 >-if (eval("-\u00201") !== -1) { >- testFailed('#4: -\\u0020 === -1'); >-} >- >-//CHECK#5 >-if (eval("-\u00A01") !== -1) { >- testFailed('#5: -\\u00A01 === -1'); >-} >- >-//CHECK#6 >-if (eval("-\u000A1") !== -1) { >- testFailed('#6: -\\u000A1 === -1'); >-} >- >-//CHECK#7 >-if (eval("-\u000D1") !== -1) { >- testFailed('#7: -\\u000D1 === -1'); >-} >- >-//CHECK#8 >-if (eval("-\u20281") !== -1) { >- testFailed('#8: -\\u20281 === -1'); >-} >- >-//CHECK#9 >-if (eval("-\u20291") !== -1) { >- testFailed('#9: -\\u20291 === -1'); >-} >- >-//CHECK#10 >-if (eval("-\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== -1) { >- testFailed('#10: -\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === -1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1-expected.txt >deleted file mode 100644 >index f8b07f36ef7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.html >deleted file mode 100644 >index e9f86b150b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A2.1_T1; >-* @section: 11.4.7; >-* @assertion: Operator -x uses GetValue; >-* @description: Either Type(x) is not Reference or GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-if (-1 !== -1) { >- testFailed('#1: -1 === -1. Actual: ' + (-1)); >-} >- >-//CHECK#2 >-if (-(-1) !== 1) { >- testFailed('#2: -(-1) === -1. Actual: ' + (-(-1))); >-} >- >-//CHECK#3 >-var x = -1; >-if (-x !== 1) { >- testFailed('#3: var x = -1; -x === 1. Actual: ' + (-x)); >-} >- >-//CHECK#4 >-var x = -1; >-if (-(-x) !== -1) { >- testFailed('#4: var x = -1; -(-x) === -1. Actual: ' + (-(-x))); >-} >- >-//CHECK#5 >-var object = new Object(); >-object.prop = 1; >-if (-object.prop !== -1) { >- testFailed('#5: var object = new Object(); object.prop = -1; -object.prop === -1. Actual: ' + (-object.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2-expected.txt >deleted file mode 100644 >index 3d5cd609b2f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.html >deleted file mode 100644 >index 7a69116b6a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A2.1_T2; >-* @section: 11.4.7; >-* @assertion: Operator -x uses GetValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- -x; >- testFailed('#1.1: -x throw ReferenceError. Actual: ' + (-x)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: -x throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1-expected.txt >deleted file mode 100644 >index 6ad8bb026d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.html >deleted file mode 100644 >index 0ca75624ba3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.html >+++ /dev/null >@@ -1,161 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.4.7_A2.2_T1; >- * @section: 11.4.7, 8.6.2.6; >- * @assertion: Operator -x uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-var object = {valueOf: function() {return -1}}; >-if (-object !== 1) { >- testFailed('#1: var object = {valueOf: function() {return -1}}; -object === 1. Actual: ' + (-object)); >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return -1}, toString: function() {return 0}}; >-if (-object !== 1) { >- testFailed('#2: var object = {valueOf: function() {return -1}, toString: function() {return 0}}; -object === 1. Actual: ' + (-object)); >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return -1}, toString: function() {return {}}}; >-if (-object !== 1) { >- testFailed('#3: var object = {valueOf: function() {return -1}, toString: function() {return {}}}; -object === 1. Actual: ' + (-object)); >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return -1}, toString: function() {throw "error"}}; >- if (-object !== 1) { >- testFailed('#4.1: var object = {valueOf: function() {return -1}, toString: function() {throw "error"}}; -object === 1. Actual: ' + (-object)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: var object = {valueOf: function() {return -1}, toString: function() {throw "error"}}; -object not throw "error"'); >- } else { >- testFailed('#4.3: var object = {valueOf: function() {return -1}, toString: function() {throw "error"}}; -object not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return -1}}; >-if (-object !== 1) { >- testFailed('#5.1: var object = {toString: function() {return -1}}; -object === 1. Actual: ' + (-object)); >-} >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return -1}} >-if (-object !== 1) { >- testFailed('#6: var object = {valueOf: function() {return {}}, toString: function() {return -1}}; -object === 1. Actual: ' + (-object)); >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return -1}}; >- -object; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return -1}}; -object throw "error". Actual: ' + (-object)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return -1}}; -object throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- -object; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; -object throw TypeError. Actual: ' + (-object)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; -object throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1-expected.txt >deleted file mode 100644 >index 473163f1576..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.html >deleted file mode 100644 >index f33458048bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A3_T1; >-* @section: 11.4.7; >-* @assertion: Operator -x returns -ToNumber(x); >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-if (-false !== 0) { >- testFailed('#1: -false === 0. Actual: ' + (-false)); >-} >- >-//CHECK#2 >-if (-new Boolean(true) !== -1) { >- testFailed('#2: -new Boolean(true) === -1. Actual: ' + (-new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2-expected.txt >deleted file mode 100644 >index c04a78b5417..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.html >deleted file mode 100644 >index c26f37f36c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A3_T2; >-* @section: 11.4.7; >-* @assertion: Operator -x returns -ToNumber(x); >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-if (-(1) !== -1) { >- testFailed('#1: -(1) === -1. Actual: ' + (-(1))); >-} >- >-//CHECK#2 >-if (-new Number(-1) !== 1) { >- testFailed('#2: -new Number(-1) === 1. Actual: ' + (-new Number(-1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3-expected.txt >deleted file mode 100644 >index e88a80feb4c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.html >deleted file mode 100644 >index d71423e3e6a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A3_T3; >-* @section: 11.4.7; >-* @assertion: Operator -x returns -ToNumber(x); >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-if (-"1" !== -1) { >- testFailed('#1: -"1" === -1. Actual: ' + (-"1")); >-} >- >-//CHECK#2 >-if (isNaN(-"x") !== true) { >- testFailed('#2: -"x" === Not-a-Number. Actual: ' + (-"x")); >-} >- >-//CHECK#3 >-if (-new String("-1") !== 1) { >- testFailed('#3: -new String("-1") === 1. Actual: ' + (-new String("-1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4-expected.txt >deleted file mode 100644 >index ae5ca8d4c6c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.html >deleted file mode 100644 >index c8cb15e716c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A3_T4; >-* @section: 11.4.7; >-* @assertion: Operator -x returns -ToNumber(x); >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-if (isNaN(-void 0) !== true) { >- testFailed('#1: +void 0 === Not-a-Number. Actual: ' + (+void 0)); >-} >- >-//CHECK#2 >-if (-null !== 0) { >- testFailed('#2: +null === 0. Actual: ' + (+null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5-expected.txt >deleted file mode 100644 >index 70ae8fc99dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.html >deleted file mode 100644 >index 2ccac188b09..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A3_T5; >-* @section: 11.4.7; >-* @assertion: Operator -x returns -ToNumber(x); >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-if (isNaN(-{}) !== true) { >- testFailed('#1: -{} === Not-a-Number. Actual: ' + (-{})); >-} >- >-//CHECK#2 >-if (isNaN(-function(){return 1}) !== true) { >- testFailed('#2: -function(){return 1} === Not-a-Number. Actual: ' + (-function(){return 1})); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1-expected.txt >deleted file mode 100644 >index 7cce0a770d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A4.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.html >deleted file mode 100644 >index 3fa5ad02776..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A4.1; >-* @section: 11.4.7; >-* @assertion: If x is NaN, operator -x returns NaN; >-* @description: Checking NaN; >-*/ >- >-//CHECK#1 >-if (isNaN(-NaN) !== true) { >- testFailed('#1: -NaN === Not-a-Number. Actual: ' + (-NaN)); >-} >- >-//CHECK#2 >-var x = NaN; >-if (isNaN(-x) != true) { >- testFailed('#2: var x = NaN; -x === Not-a-Number. Actual: ' + (-x)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2-expected.txt >deleted file mode 100644 >index 7bba502e95d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.7_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.html >deleted file mode 100644 >index fe03fd01288..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.7_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.7_A4.2; >-* @section: 11.4.7; >-* @assertion: Negating +0 produces -0, negating -0 produces +0; >-* @description: Checking Infinity; >-*/ >- >-//CHECK#1 >-var x = 0; >-x = -x; >-if (x !== -0) { >- testFailed('#1.1: var x = 0; x = -x; x === 0. Actual: ' + (x)); >-} else { >- if (1/x !== Number.NEGATIVE_INFINITY) { >- testFailed('#1.2: var x = 0; x = -x; x === - 0. Actual: +0'); >- } >-} >- >-//CHECK#2 >-var x = -0; >-x = -x; >-if (x !== 0) { >- testFailed('#2.1: var x = -0; x = -x; x === 0. Actual: ' + (x)); >-} else { >- if (1/x !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: var x = -0; x = -x; x === + 0. Actual: -0'); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1-expected.txt >deleted file mode 100644 >index 3430052570a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.html >deleted file mode 100644 >index 5a810e821da..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.8_A1; >-* @section: 11.4.8, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "~" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("~\u00090") !== -1) { >- testFailed('#0: ~\\u00090 === -1'); >-} >- >-//CHECK#2 >-if (eval("~\u000B0") !== -1) { >- testFailed('#2: ~\\u000B0 === -1'); >-} >- >-//CHECK#3 >-if (eval("~\u000C0") !== -1) { >- testFailed('#3: ~\\u000C0 === -1'); >-} >- >-//CHECK#4 >-if (eval("~\u00200") !== -1) { >- testFailed('#4: ~\\u0020 === -1'); >-} >- >-//CHECK#5 >-if (eval("~\u00A00") !== -1) { >- testFailed('#5: ~\\u00A00 === -1'); >-} >- >-//CHECK#6 >-if (eval("~\u000A0") !== -1) { >- testFailed('#6: ~\\u000A0 === -1'); >-} >- >-//CHECK#7 >-if (eval("~\u000D0") !== -1) { >- testFailed('#7: ~\\u000D0 === -1'); >-} >- >-//CHECK#8 >-if (eval("~\u20280") !== -1) { >- testFailed('#8: ~\\u20280 === -1'); >-} >- >-//CHECK#9 >-if (eval("~\u20290") !== -1) { >- testFailed('#9: ~\\u20290 === -1'); >-} >- >-//CHECK#10 >-if (eval("~\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== -1) { >- testFailed('#10: ~\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290 === -1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1-expected.txt >deleted file mode 100644 >index c3c934875f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.html >deleted file mode 100644 >index ad7755aa7a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.8_A2.1_T1; >-* @section: 11.4.8; >-* @assertion: Operator ~x uses GetValue; >-* @description: Either Type(x) is not Reference or GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-if (~0 !== -1) { >- testFailed('#1: ~0 === -1. Actual: ' + (~0)); >-} >- >-//CHECK#2 >-if (~(~0) !== 0) { >- testFailed('#2: ~(~0) === 0. Actual: ' + (~(~0))); >-} >- >-//CHECK#3 >-var x = 0; >-if (~x !== -1) { >- testFailed('#3: var x = 0; ~x === -1. Actual: ' + (~x)); >-} >- >-//CHECK#4 >-var x = 0; >-if (~(~x) !== 0) { >- testFailed('#4: var x = 0; ~(~x) === 0. Actual: ' + (~(~x))); >-} >- >-//CHECK#5 >-var object = new Object(); >-object.prop = 0; >-if (~object.prop !== -1) { >- testFailed('#5: var object = new Object(); object.prop = 0; ~object.prop === -1. Actual: ' + (~object.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2-expected.txt >deleted file mode 100644 >index 786109f496b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.html >deleted file mode 100644 >index 6620e54f8c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.8_A2.1_T2; >-* @section: 11.4.8; >-* @assertion: Operator ~x uses GetValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- ~x; >- testFailed('#1.1: ~x throw ReferenceError. Actual: ' + (~x)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: ~x throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1-expected.txt >deleted file mode 100644 >index bec700d177e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.html >deleted file mode 100644 >index 4e21026f7cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.html >+++ /dev/null >@@ -1,161 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.4.8_A2.2_T1; >- * @section: 11.4.8, 8.6.2.6; >- * @assertion: Operator ~x uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-if (~object !== -2) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; ~object === -2. Actual: ' + (~object)); >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if (~object !== -2) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; ~object === -2. Actual: ' + (~object)); >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-if (~object !== -2) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; ~object === -2. Actual: ' + (~object)); >-} >- >-//CHECK#4 >-try { >- var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >- if (~object !== -2) { >- testFailed('#4.1: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object === -2. Actual: ' + (~object)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object not throw "error"'); >- } else { >- testFailed('#4.3: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; ~object not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-if (~object !== -2) { >- testFailed('#5: var object = {toString: function() {return 1}}; ~object === -2. Actual: ' + (~object)); >-} >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-if (~object !== -2) { >- testFailed('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; ~object === -2. Actual: ' + (~object)); >-} >- >-//CHECK#7 >-try { >- var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- ~object; >- testFailed('#7.1: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ~object throw "error". Actual: ' + (~object)); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; ~object throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >- ~object; >- testFailed('#8.1: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ~object throw TypeError. Actual: ' + (~object)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; ~object throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1-expected.txt >deleted file mode 100644 >index 05365cec85a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.html >deleted file mode 100644 >index 94d804ac057..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.8_A3_T1; >-* @section: 11.4.8; >-* @assertion: Operator ~x returns ~ToInt32(x); >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-if (~false !== -1) { >- testFailed('#1: ~false === -1. Actual: ' + (~false)); >-} >- >-//CHECK#2 >-if (~new Boolean(true) !== -2) { >- testFailed('#2: ~new Boolean(true) === -2. Actual: ' + (~new Boolean(true))); >-} >- >-//CHECK#3 >-if (~new Boolean(false) !== -1) { >- testFailed('#3: ~new Boolean(false) === -1. Actual: ' + (~new Boolean(false))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2-expected.txt >deleted file mode 100644 >index b12d8ba455a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.html >deleted file mode 100644 >index cbde18e6769..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.8_A3_T2; >-* @section: 11.4.8; >-* @assertion: Operator ~x returns ~ToInt32(x); >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-if (~0.1 !== -1) { >- testFailed('#1: ~0.1 === -1. Actual: ' + (~0.1)); >-} >- >-//CHECK#2 >-if (~new Number(-0.1) !== -1) { >- testFailed('#2: ~new Number(-0.1) === -1. Actual: ' + (~new Number(-0.1))); >-} >- >-//CHECK#3 >-if (~NaN !== -1) { >- testFailed('#3: ~NaN === -1. Actual: ' + (~NaN)); >-} >- >-//CHECK#4 >-if (~new Number(NaN) !== -1) { >- testFailed('#4: ~new Number(NaN) === -1. Actual: ' + (~new Number(NaN))); >-} >- >-//CHECK#5 >-if (~1 !== -2) { >- testFailed('#5: ~1 === -2. Actual: ' + (~1)); >-} >- >-//CHECK#6 >-if (~new Number(-2) !== 1) { >- testFailed('#6: ~new Number(-2) === 1. Actual: ' + (~new Number(-2))); >-} >- >-//CHECK#7 >-if (~Infinity !== -1) { >- testFailed('#7: ~Infinity === -1. Actual: ' + (~Infinity)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3-expected.txt >deleted file mode 100644 >index 1f05f91fb18..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.html >deleted file mode 100644 >index 1026e00aa4c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.8_A3_T3; >-* @section: 11.4.8; >-* @assertion: Operator ~x returns ~ToInt32(x); >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-if (~"1" !== -2) { >- testFailed('#1: ~"1" === -2. Actual: ' + (~"1")); >-} >- >-//CHECK#2 >-if (~new String("0") !== -1) { >- testFailed('#2: ~new String("0") === -1. Actual: ' + (~new String("0"))); >-} >- >-//CHECK#3 >-if (~"x" !== -1) { >- testFailed('#3: ~"x" === -1. Actual: ' + (~"x")); >-} >- >-//CHECK#4 >-if (~"" !== -1) { >- testFailed('#4: ~"" === -1. Actual: ' + (~"")); >-} >- >-//CHECK#5 >-if (~new String("-2") !== 1) { >- testFailed('#5: ~new String("-2") === 1. Actual: ' + (~new String("-2"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4-expected.txt >deleted file mode 100644 >index 3e651bc254c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.html >deleted file mode 100644 >index a948916377f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.8_A3_T4; >-* @section: 11.4.8; >-* @assertion: Operator ~x returns ~ToInt32(x); >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-if (~void 0 !== -1) { >- testFailed('#1: ~void 0 === -1. Actual: ' + (~void 0)); >-} >- >-//CHECK#2 >-if (~null !== -1) { >- testFailed('#2: ~null === -1. Actual: ' + (~null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5-expected.txt >deleted file mode 100644 >index 3709b345eb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.html >deleted file mode 100644 >index a500f82d68b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.8_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.8_A3_T5; >-* @section: 11.4.8; >-* @assertion: Operator ~x returns ~ToInt32(x); >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-if (~({}) !== -1) { >- testFailed('#1: ~({}) === -1. Actual: ' + (~({}))); >-} >- >-//CHECK#2 >-if (~(function(){return 1}) !== -1) { >- testFailed('#2: ~(function(){return 1}) === -1. Actual: ' + (~(function(){return 1}))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1-expected.txt >deleted file mode 100644 >index 92e2503cb79..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.html >deleted file mode 100644 >index 148e9f08af8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.9_A1; >-* @section: 11.4.9, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between "!" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("!\u0009true") !== false) { >- testFailed('#true: !\\u0009true === false'); >-} >- >-//CHECK#2 >-if (eval("!\u000Btrue") !== false) { >- testFailed('#2: !\\u000Btrue === false'); >-} >- >-//CHECK#3 >-if (eval("!\u000Ctrue") !== false) { >- testFailed('#3: !\\u000Ctrue === false'); >-} >- >-//CHECK#4 >-if (eval("!\u0020true") !== false) { >- testFailed('#4: !\\u0020 === false'); >-} >- >-//CHECK#5 >-if (eval("!\u00A0true") !== false) { >- testFailed('#5: !\\u00A0true === false'); >-} >- >-//CHECK#6 >-if (eval("!\u000Atrue") !== false) { >- testFailed('#6: !\\u000Atrue === false'); >-} >- >-//CHECK#7 >-if (eval("!\u000Dtrue") !== false) { >- testFailed('#7: !\\u000Dtrue === false'); >-} >- >-//CHECK#8 >-if (eval("!\u2028true") !== false) { >- testFailed('#8: !\\u2028true === false'); >-} >- >-//CHECK#9 >-if (eval("!\u2029true") !== false) { >- testFailed('#9: !\\u2029true === false'); >-} >- >-//CHECK#10 >-if (eval("!\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029true") !== false) { >- testFailed('#10: !\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029true === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1-expected.txt >deleted file mode 100644 >index 312f508220a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.html >deleted file mode 100644 >index a61826d6ec4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.9_A2.1_T1; >-* @section: 11.4.9; >-* @assertion: Operator !x uses GetValue; >-* @description: Either Type(x) is not Reference or GetBase(x) is not null; >-*/ >- >-//CHECK#1 >-if (!true !== false) { >- testFailed('#1: !true === false'); >-} >- >-//CHECK#2 >-if (!(!true) !== true) { >- testFailed('#2: !(!true) === true'); >-} >- >-//CHECK#3 >-var x = true; >-if (!x !== false) { >- testFailed('#3: var x = true; !x === false'); >-} >- >-//CHECK#4 >-var x = true; >-if (!(!x) !== true) { >- testFailed('#4: var x = true; !(!x) === true'); >-} >- >-//CHECK#5 >-var object = new Object(); >-object.prop = true; >-if (!object.prop !== false) { >- testFailed('#5: var object = new Object(); object.prop = true; !object.prop === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2-expected.txt >deleted file mode 100644 >index cbd46f729fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.html >deleted file mode 100644 >index f0229abb70a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.9_A2.1_T2; >-* @section: 11.4.9; >-* @assertion: Operator !x uses GetValue; >-* @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- !x; >- testFailed('#1.1: !x throw ReferenceError. Actual: ' + (!x)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: !x throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1-expected.txt >deleted file mode 100644 >index 4d98e204143..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.html >deleted file mode 100644 >index dd3fedd475e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.html >+++ /dev/null >@@ -1,140 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.4.9_A2.2_T1; >- * @section: 11.4.9, 8.6.2.6; >- * @assertion: Operator !x uses [[Default Value]]; >- * @description: If Type(value) is Object, return false; >- */ >- >-//CHECK#1 >-var object = {valueOf: function() {return 1}}; >-if (!object !== false) { >- testFailed('#1: var object = {valueOf: function() {return 1}}; !object === false. Actual: ' + (!object)); >-} >- >-//CHECK#2 >-var object = {valueOf: function() {return 1}, toString: function() {return 0}}; >-if (!object !== false) { >- testFailed('#2: var object = {valueOf: function() {return 1}, toString: function() {return 0}}; !object === false. Actual: ' + (!object)); >-} >- >-//CHECK#3 >-var object = {valueOf: function() {return 1}, toString: function() {return {}}}; >-if (!object !== false) { >- testFailed('#3: var object = {valueOf: function() {return 1}, toString: function() {return {}}}; !object === false. Actual: ' + (!object)); >-} >- >-//CHECK#4 >-var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; >-if (!object !== false) { >- testFailed('#4: var object = {valueOf: function() {return 1}, toString: function() {throw "error"}}; !object === false. Actual: ' + (!object)); >-} >- >-//CHECK#5 >-var object = {toString: function() {return 1}}; >-if (!object !== false) { >- testFailed('#5: var object = {toString: function() {return 1}}; !object === false. Actual: ' + (!object)); >-} >- >-//CHECK#6 >-var object = {valueOf: function() {return {}}, toString: function() {return 1}} >-if (!object !== false) { >- testFailed('#6: var object = {valueOf: function() {return {}}, toString: function() {return 1}}; !object === false. Actual: ' + (!object)); >-} >- >-//CHECK#7 >-var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; >-if (!object !== false) { >- testFailed('#7: var object = {valueOf: function() {throw "error"}, toString: function() {return 1}}; !object === false. Actual: ' + (!object)); >-} >- >-//CHECK#8 >-var object = {valueOf: function() {return {}}, toString: function() {return {}}}; >-if (!object !== false) { >- testFailed('#8: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; !object === false. Actual: ' + (!object)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1-expected.txt >deleted file mode 100644 >index 258e77702aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.html >deleted file mode 100644 >index 0b4ca071e3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.9_A3_T1; >-* @section: 11.4.9; >-* @assertion: Operator !x returns !ToBoolean(x); >-* @description: Type(x) is boolean primitive or Boolean object; >-*/ >- >-//CHECK#1 >-if (!false !== true) { >- testFailed('#1: !false === true'); >-} >- >-//CHECK#2 >-if (!new Boolean(true) !== false) { >- testFailed('#2: !new Boolean(true) === false'); >-} >- >-//CHECK#3 >-if (!new Boolean(false) !== false) { >- testFailed('#3: !new Boolean(false) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2-expected.txt >deleted file mode 100644 >index 86fe1be82a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.html >deleted file mode 100644 >index c0c50aacfa8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.9_A3_T2; >-* @section: 11.4.9; >-* @assertion: Operator !x returns !ToBoolean(x); >-* @description: Type(x) is number primitive or Number object; >-*/ >- >-//CHECK#1 >-if (!0.1 !== false) { >- testFailed('#1: !0.1 === false'); >-} >- >-//CHECK#2 >-if (!new Number(-0.1) !== false) { >- testFailed('#2: !new Number(-0.1) === false'); >-} >- >-//CHECK#3 >-if (!NaN !== true) { >- testFailed('#3: !NaN === true'); >-} >- >-//CHECK#4 >-if (!new Number(NaN) !== false) { >- testFailed('#4: !new Number(NaN) === false'); >-} >- >-//CHECK#5 >-if (!0 !== true) { >- testFailed('#5: !0 === true'); >-} >- >-//CHECK#6 >-if (!new Number(0) !== false) { >- testFailed('#6: !new Number(0) === false'); >-} >- >-//CHECK#7 >-if (!Infinity !== false) { >- testFailed('#7: !Infinity === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3-expected.txt >deleted file mode 100644 >index 4eac3cd4d4e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.html >deleted file mode 100644 >index cf9b9128227..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.9_A3_T3; >-* @section: 11.4.9; >-* @assertion: Operator !x returns !ToBoolean(x); >-* @description: Type(x) is string primitive or String object; >-*/ >- >-//CHECK#1 >-if (!"1" !== false) { >- testFailed('#1: !"1" === false'); >-} >- >-//CHECK#2 >-if (!new String("0") !== false) { >- testFailed('#2: !new String("0") === false'); >-} >- >-//CHECK#3 >-if (!"x" !== false) { >- testFailed('#3: !"x" === false'); >-} >- >-//CHECK#4 >-if (!"" !== true) { >- testFailed('#4: !"" === true'); >-} >- >-//CHECK#5 >-if (!new String("") !== false) { >- testFailed('#5: !new String("") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4-expected.txt >deleted file mode 100644 >index 810a6dc6477..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.html >deleted file mode 100644 >index fe16cc75f8b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.9_A3_T4; >-* @section: 11.4.9; >-* @assertion: Operator !x returns !ToBoolean(x); >-* @description: Type(x) is undefined or null; >-*/ >- >-//CHECK#1 >-if (!void 0 !== true) { >- testFailed('#1: !void 0 === true'); >-} >- >-//CHECK#2 >-if (!null !== true) { >- testFailed('#2: !null === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5-expected.txt >deleted file mode 100644 >index 59f2544f5ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.html >deleted file mode 100644 >index cc2eb053275..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.4.9_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.4.9_A3_T5; >-* @section: 11.4.9; >-* @assertion: Operator !x returns !ToBoolean(x); >-* @description: Type(x) is Object object or Function object; >-*/ >- >-//CHECK#1 >-if ((!{}) !== false) { >- testFailed('#1: !({}) === false'); >-} >- >-//CHECK#2 >-if (!(function(){return 1}) !== false) { >- testFailed('#2: !(function(){return 1}) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1-expected.txt >deleted file mode 100644 >index 66e09d47d90..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1.html >deleted file mode 100644 >index 50dc5bb0a96..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.5.1_A1; >-* @section: 11.5.1, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between MultiplicativeExpression and "*" or between "*" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009*\u00091") !== 1) { >- testFailed('#1: 1\\u0009*\\u00091 === 1'); >-} >- >-//CHECK#2 >-if (eval("1\u000B*\u000B1") !== 1) { >- testFailed('#2: 1\\u000B*\\u000B1 === 1'); >-} >- >-//CHECK#3 >-if (eval("1\u000C*\u000C1") !== 1) { >- testFailed('#3: 1\\u000C*\\u000C1 === 1'); >-} >- >-//CHECK#4 >-if (eval("1\u0020*\u00201") !== 1) { >- testFailed('#4: 1\\u0020*\\u00201 === 1'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0*\u00A01") !== 1) { >- testFailed('#5: 1\\u00A0*\\u00A01 === 1'); >-} >- >-//CHECK#6 >-if (eval("1\u000A*\u000A1") !== 1) { >- testFailed('#6: 1\\u000A*\\u000A1 === 1'); >-} >- >-//CHECK#7 >-if (eval("1\u000D*\u000D1") !== 1) { >- testFailed('#7: 1\\u000D*\\u000D1 === 1'); >-} >- >-//CHECK#8 >-if (eval("1\u2028*\u20281") !== 1) { >- testFailed('#8: 1\\u2028*\\u20281 === 1'); >-} >- >-//CHECK#9 >-if (eval("1\u2029*\u20291") !== 1) { >- testFailed('#9: 1\\u2029*\\u20291 === 1'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029*\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 1) { >- testFailed('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029*\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1-expected.txt >deleted file mode 100644 >index 3e89e5addeb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1.html >deleted file mode 100644 >index d9f31c3d314..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A2.1_T1; >- * @section: 11.5.1; >- * @assertion: Operator x * y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 * 1 !== 1) { >- testFailed('#1: 1 * 1 === 1. Actual: ' + (1 * 1)); >-} >- >-//CHECK#2 >-var x = 1; >-if (x * 1 !== 1) { >- testFailed('#2: var x = 1; x * 1 === 1. Actual: ' + (x * 1)); >-} >- >-//CHECK#3 >-var y = 1; >-if (1 * y !== 1) { >- testFailed('#3: var y = 1; 1 * y === 1. Actual: ' + (1 * y)); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if (x * y !== 1) { >- testFailed('#4: var x = 1; var y = 1; x * y === 1. Actual: ' + (x * y)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if (objectx.prop * objecty.prop !== 1) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop * objecty.prop === 1. Actual: ' + (objectx.prop * objecty.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2-expected.txt >deleted file mode 100644 >index 245e243e67b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2.html >deleted file mode 100644 >index 74ba8da7919..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A2.1_T2; >- * @section: 11.5.1; >- * @assertion: Operator x * y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x * 1; >- testFailed('#1.1: x * 1 throw ReferenceError. Actual: ' + (x * 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x * 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3-expected.txt >deleted file mode 100644 >index c0395ca2f13..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3.html >deleted file mode 100644 >index 1dc1745b805..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A2.1_T3; >- * @section: 11.5.1; >- * @assertion: Operator x * y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 * y; >- testFailed('#1.1: 1 * y throw ReferenceError. Actual: ' + (1 * y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 * y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1-expected.txt >deleted file mode 100644 >index 18444a02507..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1.html >deleted file mode 100644 >index 5a2876810e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A2.2_T1; >- * @section: 11.5.1, 8.6.2.6; >- * @assertion: Operator x * y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 1}} * 1 !== 1) { >- testFailed('#1: {valueOf: function() {return 1}} * 1 === 1. Actual: ' + ({valueOf: function() {return 1}} * 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 1}, toString: function() {return 0}} * 1 !== 1) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 0}} * 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} * 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 1}, toString: function() {return {}}} * 1 !== 1) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} * 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} * 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 1}, toString: function() {throw "error"}} * 1 !== 1) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} * 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} * 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} * 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} * 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 * {toString: function() {return 1}} !== 1) { >- testFailed('#5: 1 * {toString: function() {return 1}} === 1. Actual: ' + (1 * {toString: function() {return 1}})); >-} >- >-//CHECK#6 >-if (1 * {valueOf: function() {return {}}, toString: function() {return 1}} !== 1) { >- testFailed('#6: 1 * {valueOf: function() {return {}}, toString: function() {return 1}} === 1. Actual: ' + (1 * {valueOf: function() {return {}}, toString: function() {return 1}})); >-} >- >-//CHECK#7 >-try { >- 1 * {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: 1 * {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 * {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 * {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 * {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 * {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 * {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 * {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1-expected.txt >deleted file mode 100644 >index 32fb4e1cdfd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1.html >deleted file mode 100644 >index 5dcf6996480..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A2.3_T1; >- * @section: 11.5.1; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x * y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x * y throw "x". Actual: ' + (x * y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x * y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1-expected.txt >deleted file mode 100644 >index adbff5ccf8b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1.html >deleted file mode 100644 >index 0e08cd1aaee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A2.4_T1; >- * @section: 11.5.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) * x !== 1) { >- testFailed('#1: var x = 0; (x = 1) * x === 1. Actual: ' + ((x = 1) * x)); >-} >- >-//CHECK#2 >-var x = 0; >-if (x * (x = 1) !== 0) { >- testFailed('#2: var x = 0; x * (x = 1) === 0. Actual: ' + (x * (x = 1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2-expected.txt >deleted file mode 100644 >index fb686b1cdd3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2.html >deleted file mode 100644 >index a1ce88d4a85..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A2.4_T2; >- * @section: 11.5.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw" >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() * y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() * y() throw "x". Actual: ' + (x() * y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() * y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3-expected.txt >deleted file mode 100644 >index f1739a42ae5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3.html >deleted file mode 100644 >index 3cb9b1a7448..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A2.4_T3; >- * @section: 11.5.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x * (x = 1); >- testFailed('#1.1: x * (x = 1) throw ReferenceError. Actual: ' + (x * (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x * (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) * y !== 1) { >- testFailed('#2: (y = 1) * y === 1. Actual: ' + ((y = 1) * y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1-expected.txt >deleted file mode 100644 >index 10e29d400c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1.html >deleted file mode 100644 >index b2bd8485b53..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T1.1; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true * true !== 1) { >- testFailed('#1: true * true === 1. Actual: ' + (true * true)); >-} >- >-//CHECK#2 >-if (new Boolean(true) * true !== 1) { >- testFailed('#2: new Boolean(true) * true === 1. Actual: ' + (new Boolean(true) * true)); >-} >- >-//CHECK#3 >-if (true * new Boolean(true) !== 1) { >- testFailed('#3: true * new Boolean(true) === 1. Actual: ' + (true * new Boolean(true))); >-} >- >-//CHECK#4 >-if (new Boolean(true) * new Boolean(true) !== 1) { >- testFailed('#4: new Boolean(true) * new Boolean(true) === 1. Actual: ' + (new Boolean(true) * new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2-expected.txt >deleted file mode 100644 >index d0b335ed526..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2.html >deleted file mode 100644 >index d5c9edee4f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T1.2; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 * 1 !== 1) { >- testFailed('#1: 1 * 1 === 1. Actual: ' + (1 * 1)); >-} >- >-//CHECK#2 >-if (new Number(1) * 1 !== 1) { >- testFailed('#2: new Number(1) * 1 === 1. Actual: ' + (new Number(1) * 1)); >-} >- >-//CHECK#3 >-if (1 * new Number(1) !== 1) { >- testFailed('#3: 1 * new Number(1) === 1. Actual: ' + (1 * new Number(1))); >-} >- >-//CHECK#4 >-if (new Number(1) * new Number(1) !== 1) { >- testFailed('#4: new Number(1) * new Number(1) === 1. Actual: ' + (new Number(1) * new Number(1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3-expected.txt >deleted file mode 100644 >index c4253d4f00d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3.html >deleted file mode 100644 >index 8dd72c74765..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T1.3; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" * "1" !== 1) { >- testFailed('#1: "1" * "1" === 1. Actual: ' + ("1" * "1")); >-} >- >-//CHECK#2 >-if (new String("1") * "1" !== 1) { >- testFailed('#2: new String("1") * "1" === 1. Actual: ' + (new String("1") * "1")); >-} >- >-//CHECK#3 >-if ("1" * new String("1") !== 1) { >- testFailed('#3: "1" * new String("1") === 1. Actual: ' + ("1" * new String("1"))); >-} >- >-//CHECK#4 >-if (new String("1") * new String("1") !== 1) { >- testFailed('#4: new String("1") * new String("1") === 1. Actual: ' + (new String("1") * new String("1"))); >-} >- >-//CHECK#5 >-if (isNaN("x" * "1") !== true) { >- testFailed('#5: "x" * "1" === Not-a-Number. Actual: ' + ("x" * "1")); >-} >- >-//CHECK#6 >-if (isNaN("1" * "x") !== true) { >- testFailed('#6: "1" * "x" === Not-a-Number. Actual: ' + ("1" * "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4-expected.txt >deleted file mode 100644 >index 278cac9dfff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4.html >deleted file mode 100644 >index b30b54ac091..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T1.4; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(null * undefined) !== true) { >- testFailed('#1: null * undefined === Not-a-Number. Actual: ' + (null * undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined * null) !== true) { >- testFailed('#2: undefined * null === Not-a-Number. Actual: ' + (undefined * null)); >-} >- >-//CHECK#3 >-if (isNaN(undefined * undefined) !== true) { >- testFailed('#3: undefined * undefined === Not-a-Number. Actual: ' + (undefined * undefined)); >-} >- >-//CHECK#4 >-if (null * null !== 0) { >- testFailed('#4: null * null === 0. Actual: ' + (null * null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5-expected.txt >deleted file mode 100644 >index 72791eef305..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5.html >deleted file mode 100644 >index 86180e017b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T1.5; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) and Type(y) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (isNaN({} * function(){return 1}) !== true) { >- testFailed('#1: {} * function(){return 1} === Not-a-Number. Actual: ' + ({} * function(){return 1})); >-} >- >-//CHECK#2 >-if (isNaN(function(){return 1} * {}) !== true) { >- testFailed('#2: function(){return 1} * {} === Not-a-Number. Actual: ' + (function(){return 1} * {})); >-} >- >-//CHECK#3 >-if (isNaN(function(){return 1} * function(){return 1}) !== true) { >- testFailed('#3: function(){return 1} * function(){return 1} === Not-a-Number. Actual: ' + (function(){return 1} * function(){return 1})); >-} >- >-//CHECK#4 >-if (isNaN({} * {}) !== true) { >- testFailed('#4: {} * {} === Not-a-Number. Actual: ' + ({} * {})); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1-expected.txt >deleted file mode 100644 >index e22e17c921b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1.html >deleted file mode 100644 >index dab9569a68c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.1; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Number (primitive and object); >- */ >- >-//CHECK#1 >-if (true * 1 !== 1) { >- testFailed('#1: true * 1 === 1. Actual: ' + (true * 1)); >-} >- >-//CHECK#2 >-if (1 * true !== 1) { >- testFailed('#2: 1 * true === 1. Actual: ' + (1 * true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) * 1 !== 1) { >- testFailed('#3: new Boolean(true) * 1 === 1. Actual: ' + (new Boolean(true) * 1)); >-} >- >-//CHECK#4 >-if (1 * new Boolean(true) !== 1) { >- testFailed('#4: 1 * new Boolean(true) === 1. Actual: ' + (1 * new Boolean(true))); >-} >- >-//CHECK#5 >-if (true * new Number(1) !== 1) { >- testFailed('#5: true * new Number(1) === 1. Actual: ' + (true * new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) * true !== 1) { >- testFailed('#6: new Number(1) * true === 1. Actual: ' + (new Number(1) * true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) * new Number(1) !== 1) { >- testFailed('#7: new Boolean(true) * new Number(1) === 1. Actual: ' + (new Boolean(true) * new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) * new Boolean(true) !== 1) { >- testFailed('#8: new Number(1) * new Boolean(true) === 1. Actual: ' + (new Number(1) * new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2-expected.txt >deleted file mode 100644 >index d8514f9aa3b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2.html >deleted file mode 100644 >index 3c563be5f83..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.2; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" * 1 !== 1) { >- testFailed('#1: "1" * 1 === 1. Actual: ' + ("1" * 1)); >-} >- >-//CHECK#2 >-if (1 * "1" !== 1) { >- testFailed('#2: 1 * "1" === 1. Actual: ' + (1 * "1")); >-} >- >-//CHECK#3 >-if (new String("1") * 1 !== 1) { >- testFailed('#3: new String("1") * 1 === 1. Actual: ' + (new String("1") * 1)); >-} >- >-//CHECK#4 >-if (1 * new String("1") !== 1) { >- testFailed('#4: 1 * new String("1") === 1. Actual: ' + (1 * new String("1"))); >-} >- >-//CHECK#5 >-if ("1" * new Number(1) !== 1) { >- testFailed('#5: "1" * new Number(1) === 1. Actual: ' + ("1" * new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) * "1" !== 1) { >- testFailed('#6: new Number(1) * "1" === 1. Actual: ' + (new Number(1) * "1")); >-} >- >-//CHECK#7 >-if (new String("1") * new Number(1) !== 1) { >- testFailed('#7: new String("1") * new Number(1) === 1. Actual: ' + (new String("1") * new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) * new String("1") !== 1) { >- testFailed('#8: new Number(1) * new String("1") === 1. Actual: ' + (new Number(1) * new String("1"))); >-} >- >-//CHECK#9 >-if (isNaN("x" * 1) !== true) { >- testFailed('#9: "x" * 1 === Not-a-Number. Actual: ' + ("x" * 1)); >-} >- >-//CHECK#10 >-if (isNaN(1 * "x") !== true) { >- testFailed('#10: 1 * "x" === Not-a-Number. Actual: ' + (1 * "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3-expected.txt >deleted file mode 100644 >index 597dac9bdb1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3.html >deleted file mode 100644 >index bc80b78c9fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.3; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 * null !== 0) { >- testFailed('#1: 1 * null === 0. Actual: ' + (1 * null)); >-} >- >-//CHECK#2 >-if (null * 1 !== 0) { >- testFailed('#2: null * 1 === 0. Actual: ' + (null * 1)); >-} >- >-//CHECK#3 >-if (new Number(1) * null !== 0) { >- testFailed('#3: new Number(1) * null === 0. Actual: ' + (new Number(1) * null)); >-} >- >-//CHECK#4 >-if (null * new Number(1) !== 0) { >- testFailed('#4: null * new Number(1) === 0. Actual: ' + (null * new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4-expected.txt >deleted file mode 100644 >index 5d4a3d63f09..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4.html >deleted file mode 100644 >index c72d24559f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.4; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(1 * undefined) !== true) { >- testFailed('#1: 1 * undefined === Not-a-Number. Actual: ' + (1 * undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined * 1) !== true) { >- testFailed('#2: undefined * 1 === Not-a-Number. Actual: ' + (undefined * 1)); >-} >- >-//CHECK#3 >-if (isNaN(new Number(1) * undefined) !== true) { >- testFailed('#3: new Number(1) * undefined === Not-a-Number. Actual: ' + (new Number(1) * undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined * new Number(1)) !== true) { >- testFailed('#4: undefined * new Number(1) === Not-a-Number. Actual: ' + (undefined * new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5-expected.txt >deleted file mode 100644 >index 71c2a8ad313..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5.html >deleted file mode 100644 >index 6b9a6d05184..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.5; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true * "1" !== 1) { >- testFailed('#1: true * "1" === 1. Actual: ' + (true * "1")); >-} >- >-//CHECK#2 >-if ("1" * true !== 1) { >- testFailed('#2: "1" * true === 1. Actual: ' + ("1" * true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) * "1" !== 1) { >- testFailed('#3: new Boolean(true) * "1" === 1. Actual: ' + (new Boolean(true) * "1")); >-} >- >-//CHECK#4 >-if ("1" * new Boolean(true) !== 1) { >- testFailed('#4: "1" * new Boolean(true) === 1. Actual: ' + ("1" * new Boolean(true))); >-} >- >-//CHECK#5 >-if (true * new String("1") !== 1) { >- testFailed('#5: true * new String("1") === 1. Actual: ' + (true * new String("1"))); >-} >- >-//CHECK#6 >-if (new String("1") * true !== 1) { >- testFailed('#6: new String("1") * true === 1. Actual: ' + (new String("1") * true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) * new String("1") !== 1) { >- testFailed('#7: new Boolean(true) * new String("1") === 1. Actual: ' + (new Boolean(true) * new String("1"))); >-} >- >-//CHECK#8 >-if (new String("1") * new Boolean(true) !== 1) { >- testFailed('#8: new String("1") * new Boolean(true) === 1. Actual: ' + (new String("1") * new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6-expected.txt >deleted file mode 100644 >index fdf1dec2a76..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6.html >deleted file mode 100644 >index 4baa116af65..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.6; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between primitive String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN("1" * undefined) !== true) { >- testFailed('#1: "1" * undefined === Not-a-Number. Actual: ' + ("1" * undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined * "1") !== true) { >- testFailed('#2: undefined * "1" === Not-a-Number. Actual: ' + (undefined * "1")); >-} >- >-//CHECK#3 >-if (isNaN(new String("1") * undefined) !== true) { >- testFailed('#3: new String("1") * undefined === Not-a-Number. Actual: ' + (new String("1") * undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined * new String("1")) !== true) { >- testFailed('#4: undefined * new String("1") === Not-a-Number. Actual: ' + (undefined * new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7-expected.txt >deleted file mode 100644 >index 9f0eeeca8ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7.html >deleted file mode 100644 >index 56f922e38ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.7; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" * null !== 0) { >- testFailed('#1: "1" * null === 0. Actual: ' + ("1" * null)); >-} >- >-//CHECK#2 >-if (null * "1" !== 0) { >- testFailed('#2: null * "1" === 0. Actual: ' + (null * "1")); >-} >- >-//CHECK#3 >-if (new String("1") * null !== 0) { >- testFailed('#3: new String("1") * null === 0. Actual: ' + (new String("1") * null)); >-} >- >-//CHECK#4 >-if (null * new String("1") !== 0) { >- testFailed('#4: null * new String("1") === 0. Actual: ' + (null * new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8-expected.txt >deleted file mode 100644 >index 19dfee564b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8.html >deleted file mode 100644 >index e5a0b0dd005..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.8; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(true * undefined) !== true) { >- testFailed('#1: true * undefined === Not-a-Number. Actual: ' + (true * undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined * true) !== true) { >- testFailed('#2: undefined * true === Not-a-Number. Actual: ' + (undefined * true)); >-} >- >-//CHECK#3 >-if (isNaN(new Boolean(true) * undefined) !== true) { >- testFailed('#3: new Boolean(true) * undefined === Not-a-Number. Actual: ' + (new Boolean(true) * undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined * new Boolean(true)) !== true) { >- testFailed('#4: undefined * new Boolean(true) === Not-a-Number. Actual: ' + (undefined * new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9-expected.txt >deleted file mode 100644 >index 9e6d8755e62..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9.html >deleted file mode 100644 >index ff0593cfb80..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A3_T2.9; >- * @section: 11.5.1; >- * @assertion: Operator x * y returns ToNumber(x) * ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true * null !== 0) { >- testFailed('#1: true * null === 0. Actual: ' + (true * null)); >-} >- >-//CHECK#2 >-if (null * true !== 0) { >- testFailed('#2: null * true === 0. Actual: ' + (null * true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) * null !== 0) { >- testFailed('#3: new Boolean(true) * null === 0. Actual: ' + (new Boolean(true) * null)); >-} >- >-//CHECK#4 >-if (null * new Boolean(true) !== 0) { >- testFailed('#4: null * new Boolean(true) === 0. Actual: ' + (null * new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1-expected.txt >deleted file mode 100644 >index c413db07f23..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1.html >deleted file mode 100644 >index 26b4f70a833..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T1.1; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: If left operand is NaN, the result is NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NaN * Number.NaN) !== true) { >- testFailed('#1: NaN * NaN === Not-a-Number. Actual: ' + (NaN * NaN)); >-} >- >-//CHECK#2 >-if (isNaN(Number.NaN * +0) !== true) { >- testFailed('#2: NaN * +0 === Not-a-Number. Actual: ' + (NaN * +0)); >-} >- >-//CHECK#3 >-if (isNaN(Number.NaN * -0) !== true) { >- testFailed('#3: NaN * -0 === Not-a-Number. Actual: ' + (NaN * -0)); >-} >- >-//CHECK#4 >-if (isNaN(Number.NaN * Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: NaN * Infinity === Not-a-Number. Actual: ' + (NaN * Infinity)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NaN * Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#5: NaN * -Infinity === Not-a-Number. Actual: ' + (NaN * -Infinity)); >-} >- >-//CHECK#6 >-if (isNaN(Number.NaN * Number.MAX_VALUE) !== true) { >- testFailed('#6: NaN * Number.MAX_VALUE === Not-a-Number. Actual: ' + (NaN * Number.MAX_VALUE)); >-} >- >-//CHECK#7 >-if (isNaN(Number.NaN * Number.MIN_VALUE) !== true) { >- testFailed('#7: NaN * Number.MIN_VALUE === Not-a-Number. Actual: ' + (NaN * Number.MIN_VALUE)); >-} >- >-//CHECK#8 >-if (isNaN(Number.NaN * 1) !== true) { >- testFailed('#8: NaN * 1 === Not-a-Number. Actual: ' + (NaN * 1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2-expected.txt >deleted file mode 100644 >index 8d8e6cc06f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2.html >deleted file mode 100644 >index 9d11c759d5f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T1.2; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: If right operand is NaN, the result is NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NaN * Number.NaN) !== true) { >- testFailed('#1: NaN * NaN === Not-a-Number. Actual: ' + (NaN * NaN)); >-} >- >-//CHECK#2 >-if (isNaN(+0 * Number.NaN) !== true) { >- testFailed('#2: +0 * NaN === Not-a-Number. Actual: ' + (+0 * NaN)); >-} >- >-//CHECK#3 >-if (isNaN(-0 * Number.NaN) !== true) { >- testFailed('#3: -0 * NaN === Not-a-Number. Actual: ' + (-0 * NaN)); >-} >- >-//CHECK#4 >-if (isNaN(Number.POSITIVE_INFINITY * Number.NaN) !== true) { >- testFailed('#4: Infinity * NaN === Not-a-Number. Actual: ' + (Infinity * NaN)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NEGATIVE_INFINITY * Number.NaN) !== true) { >- testFailed('#5: -Infinity * NaN === Not-a-Number. Actual: ' + ( -Infinity * NaN)); >-} >- >-//CHECK#6 >-if (isNaN(Number.MAX_VALUE * Number.NaN) !== true) { >- testFailed('#6: Number.MAX_VALUE * NaN === Not-a-Number. Actual: ' + (Number.MAX_VALUE * NaN)); >-} >- >-//CHECK#7 >-if (isNaN(Number.MIN_VALUE * Number.NaN) !== true) { >- testFailed('#7: Number.MIN_VALUE * NaN === Not-a-Number. Actual: ' + (Number.MIN_VALUE * NaN)); >-} >- >-//CHECK#8 >-if (isNaN(1 * Number.NaN) !== true) { >- testFailed('#8: 1 * NaN === Not-a-Number. Actual: ' + (1 * NaN)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2-expected.txt >deleted file mode 100644 >index 3675d6766aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2.html >deleted file mode 100644 >index cd899a36c58..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T2; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: The sign of the result is positive if both operands have the same sign, negative if the operands have different signs; >- */ >- >-//CHECK#1 >-if (1 * 1 !== 1) { >- testFailed('#1: 1 * 1 === 1. Actual: ' + (1 * 1)); >-} >- >-//CHECK#2 >-if (1 * -1 !== -1) { >- testFailed('#2: 1 * -1 === -1. Actual: ' + (1 * -1)); >-} >- >-//CHECK#3 >-if (-1 * 1 !== -1) { >- testFailed('#3: -1 * 1 === -1. Actual: ' + (-1 * 1)); >-} >- >-//CHECK#4 >-if (-1 * -1 !== 1) { >- testFailed('#4: -1 * -1 === 1. Actual: ' + (-1 * -1)); >-} >- >-//CHECK#5 >-if (0 * 0 !== 0) { >- testFailed('#5.1: 0 * 0 === 0. Actual: ' + (0 * 0)); >-} else { >- if (1 / (0 * 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#5.2: 0 * 0 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#6 >-if (0 * -0 !== -0) { >- testFailed('#6.1: 0 * -0 === 0. Actual: ' + (0 * -0)); >-} else { >- if (1 / (0 * -0) !== Number.NEGATIVE_INFINITY) { >- testFailed('#6.2: 0 * -0 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#7 >-if (-0 * 0 !== -0) { >- testFailed('#7.1: -0 * 0 === 0. Actual: ' + (-0 * 0)); >-} else { >- if (1 / (-0 * 0) !== Number.NEGATIVE_INFINITY) { >- testFailed('#7.2: -0 * 0 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#8 >-if (-0 * -0 !== 0) { >- testFailed('#8.1: -0 * -0 === 0. Actual: ' + (-0 * -0)); >-} else { >- if (1 / (-0 * -0) !== Number.POSITIVE_INFINITY) { >- testFailed('#8.2: 0 * -0 === - 0. Actual: +0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3-expected.txt >deleted file mode 100644 >index e25c9570287..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3.html >deleted file mode 100644 >index 85d3e21a7f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T3; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: Multiplication of an infinity by a zero results in NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NEGATIVE_INFINITY * 0) !== true) { >- testFailed('#1: Infinity * 0 === Not-a-Number. Actual: ' + (Infinity * 0)); >-} >- >-//CHECK#2 >-if (isNaN(-0 * Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#2: -0 * -Infinity === Not-a-Number. Actual: ' + (-0 * -Infinity)); >-} >- >-//CHECK#3 >-if (isNaN(Number.POSITIVE_INFINITY * -0) !== true) { >- testFailed('#3: Infinity * -0 === Not-a-Number. Actual: ' + (Infinity * -0)); >-} >- >-//CHECK#4 >-if (isNaN(0 * Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: 0 * Infinity === Not-a-Number. Actual: ' + (0 * Infinity)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NEGATIVE_INFINITY * -0) !== true) { >- testFailed('#5: Infinity * -0 === Not-a-Number. Actual: ' + (Infinity * -0)); >-} >- >-//CHECK#6 >-if (isNaN(0 * Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#6: 0 * -Infinity === Not-a-Number. Actual: ' + (0 * -Infinity)); >-} >- >-//CHECK#7 >-if (isNaN(Number.POSITIVE_INFINITY * 0) !== true) { >- testFailed('#7: Infinity * 0 === Not-a-Number. Actual: ' + (Infinity * 0)); >-} >- >-//CHECK#8 >-if (isNaN(-0 * Number.POSITIVE_INFINITY) !== true) { >- testFailed('#8: -0 * Infinity === Not-a-Number. Actual: ' + (-0 * Infinity)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4-expected.txt >deleted file mode 100644 >index ab070a9f0f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4.html >deleted file mode 100644 >index 6ca2c71d300..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T4; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: Multiplication of an infinity by an infinity results in an infinity of appropriate sign; >- */ >- >-//CHECK#1 >-if (Number.NEGATIVE_INFINITY * Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY) { >- testFailed('#1: -Infinity * -Infinity === Infinity. Actual: ' + (-Infinity * -Infinity)); >-} >- >-//CHECK#2 >-if (Number.POSITIVE_INFINITY * Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY) { >- testFailed('#2: Infinity * Infinity === Infinity. Actual: ' + (Infinity * Infinity)); >-} >- >-//CHECK#3 >-if (Number.NEGATIVE_INFINITY * Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY) { >- testFailed('#3: -Infinity * Infinity === -Infinity. Actual: ' + (-Infinity * Infinity)); >-} >- >-//CHECK#4 >-if (Number.POSITIVE_INFINITY * Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY) { >- testFailed('#4: Infinity * -Infinity === -Infinity. Actual: ' + (Infinity * -Infinity)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5-expected.txt >deleted file mode 100644 >index c915bcbc7be..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5.html >deleted file mode 100644 >index 264b82a300e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T5; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: Multiplication of an infinity by a finite non-zero value results in a signed infinity; >- */ >- >-//CHECK#1 >-if (Number.NEGATIVE_INFINITY * -1 !== Number.POSITIVE_INFINITY) { >- testFailed('#1: -Infinity * -1 === Infinity. Actual: ' + (-Infinity * -1)); >-} >- >-//CHECK#2 >-if (-1 * Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY) { >- testFailed('#2: -1 * -Infinity === Infinity. Actual: ' + (-1 * -Infinity)); >-} >- >-//CHECK#3 >-if (Number.POSITIVE_INFINITY * -1 !== Number.NEGATIVE_INFINITY) { >- testFailed('#3: Infinity * -1 === -Infinity. Actual: ' + (Infinity * -1)); >-} >- >-//CHECK#4 >-if (-1 * Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY) { >- testFailed('#4: -1 * Infinity === -Infinity. Actual: ' + (-1 * Infinity)); >-} >- >-//CHECK#5 >-if (Number.POSITIVE_INFINITY * Number.MAX_VALUE !== Number.POSITIVE_INFINITY) { >- testFailed('#5: Infinity * Number.MAX_VALUE === Infinity. Actual: ' + (Infinity * Number.MAX_VALUE)); >-} >- >-//CHECK#6 >-if (Number.POSITIVE_INFINITY * Number.MAX_VALUE !== Number.MAX_VALUE * Number.POSITIVE_INFINITY) { >- testFailed('#6: Infinity * Number.MAX_VALUE === Number.MAX_VALUE * Infinity. Actual: ' + (Infinity * Number.MAX_VALUE)); >-} >- >-//CHECK#7 >-if (Number.NEGATIVE_INFINITY * Number.MIN_VALUE !== Number.NEGATIVE_INFINITY) { >- testFailed('#7: -Infinity * Number.MIN_VALUE === -Infinity. Actual: ' + (-Infinity * Number.MIN_VALUE)); >-} >- >-//CHECK#8 >-if (Number.NEGATIVE_INFINITY * Number.MIN_VALUE !== Number.MIN_VALUE * Number.NEGATIVE_INFINITY) { >- testFailed('#8: -Infinity * Number.MIN_VALUE === Number.MIN_VALUE * -Infinity. Actual: ' + (-Infinity * Number.MIN_VALUE)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6-expected.txt >deleted file mode 100644 >index 3fe8761424a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6.html >deleted file mode 100644 >index 0497b8b4568..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T6; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: If the magnitude is too large to represent, the result is then an infinity of appropriate sign; >- */ >- >-//CHECK#1 >-if (Number.MAX_VALUE * 1.1 !== Number.POSITIVE_INFINITY) { >- testFailed('#1: Number.MAX_VALUE * 1.1 === Number.POSITIVE_INFINITY. Actual: ' + (Number.MAX_VALUE * 1.1)); >-} >- >-//CHECK#2 >-if (-1.1 * Number.MAX_VALUE !== Number.NEGATIVE_INFINITY) { >- testFailed('#2: -1.1 * Number.MAX_VALUE === Number.NEGATIVE_INFINITY. Actual: ' + (-1.1 * Number.MAX_VALUE)); >-} >- >-//CHECK#3 >-if (Number.MAX_VALUE * 1 !== Number.MAX_VALUE) { >- testFailed('#3: Number.MAX_VALUE * 1 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE * 1)); >-} >- >-//CHECK#4 >-if (-1 * Number.MAX_VALUE !== -Number.MAX_VALUE) { >- testFailed('#4: -1 * Number.MAX_VALUE === -Number.MAX_VALUE. Actual: ' + (-1 * Number.MAX_VALUE)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7-expected.txt >deleted file mode 100644 >index 156265b064d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7.html >deleted file mode 100644 >index 11d19b13077..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7.html >+++ /dev/null >@@ -1,140 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T7; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: If the magnitude is too small to represent, the result is then a zero of appropriate sign; >- */ >- >-//CHECK#1 >-if (Number.MIN_VALUE * 0.1 !== 0) { >- testFailed('#1: Number.MIN_VALUE * 0.1 === 0. Actual: ' + (Number.MIN_VALUE * 0.1)); >-} >- >-//CHECK#2 >-if (-0.1 * Number.MIN_VALUE !== -0) { >- testFailed('#2.1: -0.1 * Number.MIN_VALUE === -0. Actual: ' + (-0.1 * Number.MIN_VALUE)); >-} else { >- if (1 / (-0.1 * Number.MIN_VALUE) !== Number.NEGATIVE_INFINITY) { >- testFailed('#2.2: -0.1 * Number.MIN_VALUE === -0. Actual: +0'); >- } >-} >- >-//CHECK#3 >-if (Number.MIN_VALUE * 0.5 !== 0) { >- testFailed('#3: Number.MIN_VALUE * 0.5 === 0. Actual: ' + (Number.MIN_VALUE * 0.5)); >-} >- >-//CHECK#4 >-if (-0.5 * Number.MIN_VALUE !== -0) { >- testFailed('#4.1: -0.5 * Number.MIN_VALUE === -0. Actual: ' + (-0.5 * Number.MIN_VALUE)); >-} else { >- if (1 / (-0.5 * Number.MIN_VALUE) !== Number.NEGATIVE_INFINITY) { >- testFailed('#4.2: -0.5 * Number.MIN_VALUE === -0. Actual: +0'); >- } >-} >- >-//CHECK#5 >-if (Number.MIN_VALUE * 0.51 !== Number.MIN_VALUE) { >- testFailed('#5: Number.MIN_VALUE * 0.51 === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE * 0.51)); >-} >- >-//CHECK#6 >-if (-0.51 * Number.MIN_VALUE !== -Number.MIN_VALUE) { >- testFailed('#6: -0.51 * Number.MIN_VALUE === -Number.MIN_VALUE. Actual: ' + (-0.51 * Number.MIN_VALUE)); >-} >- >-//CHECK#7 >-if (Number.MIN_VALUE * 0.9 !== Number.MIN_VALUE) { >- testFailed('#7: Number.MIN_VALUE * 0.9 === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE * 0.9)); >-} >- >-//CHECK#8 >-if (-0.9 * Number.MIN_VALUE !== -Number.MIN_VALUE) { >- testFailed('#8: -0.9 * Number.MIN_VALUE === -Number.MIN_VALUE. Actual: ' + (-0.9 * Number.MIN_VALUE)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8-expected.txt >deleted file mode 100644 >index 0fee498e29f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8.html >deleted file mode 100644 >index 1347879cfd3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.1_A4_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.1_A4_T8; >- * @section: 11.5.1; >- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics; >- * @description: Multiplication is not always associative (x * y * z is the same as (x * y) * z, not x * (y * z)); >-*/ >- >-//CHECK#1 >-if (Number.MAX_VALUE * 1.1 * 0.9 !== (Number.MAX_VALUE * 1.1) * 0.9) { >- testFailed('#1: Number.MAX_VALUE * 1.1 * 0.9 === (Number.MAX_VALUE * 1.1) * 0.9. Actual: ' + (Number.MAX_VALUE * 1.1 * 0.9)); >-} >- >-//CHECK#2 >-if ((Number.MAX_VALUE * 1.1) * 0.9 === Number.MAX_VALUE * (1.1 * 0.9)) { >- testFailed('#2: (Number.MAX_VALUE * 1.1) * 0.9 !== Number.MAX_VALUE * (1.1 * 0.9)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1-expected.txt >deleted file mode 100644 >index e0629f7af63..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1.html >deleted file mode 100644 >index 0332e10d494..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.5.2_A1; >-* @section: 11.5.2, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between MultiplicativeExpression and "/" or between "/" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009/\u00091") !== 1) { >- testFailed('#1: 1\\u0009/\\u00091 === 1'); >-} >- >-//CHECK#2 >-if (eval("1\u000B/\u000B1") !== 1) { >- testFailed('#2: 1\\u000B/\\u000B1 === 1'); >-} >- >-//CHECK#3 >-if (eval("1\u000C/\u000C1") !== 1) { >- testFailed('#3: 1\\u000C/\\u000C1 === 1'); >-} >- >-//CHECK#4 >-if (eval("1\u0020/\u00201") !== 1) { >- testFailed('#4: 1\\u0020/\\u00201 === 1'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0/\u00A01") !== 1) { >- testFailed('#5: 1\\u00A0/\\u00A01 === 1'); >-} >- >-//CHECK#6 >-if (eval("1\u000A/\u000A1") !== 1) { >- testFailed('#6: 1\\u000A/\\u000A1 === 1'); >-} >- >-//CHECK#7 >-if (eval("1\u000D/\u000D1") !== 1) { >- testFailed('#7: 1\\u000D/\\u000D1 === 1'); >-} >- >-//CHECK#8 >-if (eval("1\u2028/\u20281") !== 1) { >- testFailed('#8: 1\\u2028/\\u20281 === 1'); >-} >- >-//CHECK#9 >-if (eval("1\u2029/\u20291") !== 1) { >- testFailed('#9: 1\\u2029/\\u20291 === 1'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029/\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 1) { >- testFailed('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029/\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1-expected.txt >deleted file mode 100644 >index 054729bdf39..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1.html >deleted file mode 100644 >index 4031b3ec3fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A2.1_T1; >- * @section: 11.5.2; >- * @assertion: Operator x / y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 / 1 !== 1) { >- testFailed('#1: 1 / 1 === 1. Actual: ' + (1 / 1)); >-} >- >-//CHECK#2 >-var x = 1; >-if (x / 1 !== 1) { >- testFailed('#2: var x = 1; x / 1 === 1. Actual: ' + (x / 1)); >-} >- >-//CHECK#3 >-var y = 1; >-if (1 / y !== 1) { >- testFailed('#3: var y = 1; 1 / y === 1. Actual: ' + (1 / y)); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if (x / y !== 1) { >- testFailed('#4: var x = 1; var y = 1; x / y === 1. Actual: ' + (x / y)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if (objectx.prop / objecty.prop !== 1) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop / objecty.prop === 1. Actual: ' + (objectx.prop / objecty.prop)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2-expected.txt >deleted file mode 100644 >index 66a696855da..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2.html >deleted file mode 100644 >index 87edf498733..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A2.1_T2; >- * @section: 11.5.2; >- * @assertion: Operator x / y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x / 1; >- testFailed('#1.1: x / 1 throw ReferenceError. Actual: ' + (x / 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x / 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3-expected.txt >deleted file mode 100644 >index 4ea9c9fc8f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3.html >deleted file mode 100644 >index dbb086e49fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A2.1_T3; >- * @section: 11.5.2; >- * @assertion: Operator x / y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 / y; >- testFailed('#1.1: 1 / y throw ReferenceError. Actual: ' + (1 / y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 / y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1-expected.txt >deleted file mode 100644 >index cdd50852877..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1.html >deleted file mode 100644 >index 110acd98ae1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A2.2_T1; >- * @section: 11.5.2, 8.6.2.6; >- * @assertion: Operator x / y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 1}} / 1 !== 1) { >- testFailed('#1: {valueOf: function() {return 1}} / 1 === 1. Actual: ' + ({valueOf: function() {return 1}} / 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 1}, toString: function() {return 0}} / 1 !== 1) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 0}} / 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} / 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 1}, toString: function() {return {}}} / 1 !== 1) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} / 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} / 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 1}, toString: function() {throw "error"}} / 1 !== 1) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} / 1 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} / 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} / 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} / 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 / {toString: function() {return 1}} !== 1) { >- testFailed('#5: 1 / {toString: function() {return 1}} === 1. Actual: ' + (1 / {toString: function() {return 1}})); >-} >- >-//CHECK#6 >-if (1 / {valueOf: function() {return {}}, toString: function() {return 1}} !== 1) { >- testFailed('#6: 1 / {valueOf: function() {return {}}, toString: function() {return 1}} === 1. Actual: ' + (1 / {valueOf: function() {return {}}, toString: function() {return 1}})); >-} >- >-//CHECK#7 >-try { >- 1 / {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: 1 / {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 / {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 / {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 / {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 / {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 / {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 / {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1-expected.txt >deleted file mode 100644 >index e95d9fb9560..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1.html >deleted file mode 100644 >index 384417c65e8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A2.3_T1; >- * @section: 11.5.2; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x / y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x / y throw "x". Actual: ' + (x / y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x / y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1-expected.txt >deleted file mode 100644 >index a7f35af381c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1.html >deleted file mode 100644 >index 32f28fabc69..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A2.4_T1; >- * @section: 11.5.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) / x !== 1) { >- testFailed('#1: var x = 0; (x = 1) / x === 1. Actual: ' + ((x = 1) / x)); >-} >- >-//CHECK#2 >-var x = 0; >-if (x / (x = 1) !== 0) { >- testFailed('#2: var x = 0; x / (x = 1) === 0. Actual: ' + (x / (x = 1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2-expected.txt >deleted file mode 100644 >index 7810a38c2c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2.html >deleted file mode 100644 >index 3361d5e117c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A2.4_T2; >- * @section: 11.5.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() / y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() / y() throw "x". Actual: ' + (x() / y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() / y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3-expected.txt >deleted file mode 100644 >index 34fa53617b2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3.html >deleted file mode 100644 >index a76b5684bb7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A2.4_T3; >- * @section: 11.5.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x / (x = 1); >- testFailed('#1.1: x / (x = 1) throw ReferenceError. Actual: ' + (x / (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x / (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) / y !== 1) { >- testFailed('#2: (y = 1) / y === 1. Actual: ' + ((y = 1) / y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1-expected.txt >deleted file mode 100644 >index 49069b43e64..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1.html >deleted file mode 100644 >index dde22a06a3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T1.1; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true / true !== 1) { >- testFailed('#1: true / true === 1. Actual: ' + (true / true)); >-} >- >-//CHECK#2 >-if (new Boolean(true) / true !== 1) { >- testFailed('#2: new Boolean(true) / true === 1. Actual: ' + (new Boolean(true) / true)); >-} >- >-//CHECK#3 >-if (true / new Boolean(true) !== 1) { >- testFailed('#3: true / new Boolean(true) === 1. Actual: ' + (true / new Boolean(true))); >-} >- >-//CHECK#4 >-if (new Boolean(true) / new Boolean(true) !== 1) { >- testFailed('#4: new Boolean(true) / new Boolean(true) === 1. Actual: ' + (new Boolean(true) / new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2-expected.txt >deleted file mode 100644 >index c1b8a8de4f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2.html >deleted file mode 100644 >index 56098fd0589..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T1.2; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 / 1 !== 1) { >- testFailed('#1: 1 / 1 === 1. Actual: ' + (1 / 1)); >-} >- >-//CHECK#2 >-if (new Number(1) / 1 !== 1) { >- testFailed('#2: new Number(1) / 1 === 1. Actual: ' + (new Number(1) / 1)); >-} >- >-//CHECK#3 >-if (1 / new Number(1) !== 1) { >- testFailed('#3: 1 / new Number(1) === 1. Actual: ' + (1 / new Number(1))); >-} >- >-//CHECK#4 >-if (new Number(1) / new Number(1) !== 1) { >- testFailed('#4: new Number(1) / new Number(1) === 1. Actual: ' + (new Number(1) / new Number(1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3-expected.txt >deleted file mode 100644 >index 0a4bc349275..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3.html >deleted file mode 100644 >index 7f47cda9bc8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T1.3; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" / "1" !== 1) { >- testFailed('#1: "1" / "1" === 1. Actual: ' + ("1" / "1")); >-} >- >-//CHECK#2 >-if (new String("1") / "1" !== 1) { >- testFailed('#2: new String("1") / "1" === 1. Actual: ' + (new String("1") / "1")); >-} >- >-//CHECK#3 >-if ("1" / new String("1") !== 1) { >- testFailed('#3: "1" / new String("1") === 1. Actual: ' + ("1" / new String("1"))); >-} >- >-//CHECK#4 >-if (new String("1") / new String("1") !== 1) { >- testFailed('#4: new String("1") / new String("1") === 1. Actual: ' + (new String("1") / new String("1"))); >-} >- >-//CHECK#5 >-if (isNaN("x" / "1") !== true) { >- testFailed('#5: "x" / "1" === Not-a-Number. Actual: ' + ("x" / "1")); >-} >- >-//CHECK#6 >-if (isNaN("1" / "x") !== true) { >- testFailed('#6: "1" / "x" === Not-a-Number. Actual: ' + ("1" / "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4-expected.txt >deleted file mode 100644 >index fffd8f2777c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4.html >deleted file mode 100644 >index 8c6dd5308e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T1.4; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(null / undefined) !== true) { >- testFailed('#1: null / undefined === Not-a-Number. Actual: ' + (null / undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined / null) !== true) { >- testFailed('#2: undefined / null === Not-a-Number. Actual: ' + (undefined / null)); >-} >- >-//CHECK#3 >-if (isNaN(undefined / undefined) !== true) { >- testFailed('#3: undefined / undefined === Not-a-Number. Actual: ' + (undefined / undefined)); >-} >- >-//CHECK#4 >-if (isNaN(null / null) !== true) { >- testFailed('#4: null / null === Not-a-Number. Actual: ' + (null / null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5-expected.txt >deleted file mode 100644 >index 21a46e78787..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5.html >deleted file mode 100644 >index d445b9fe507..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T1.5; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) and Type(y) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (isNaN({} / function(){return 1}) !== true) { >- testFailed('#1: {} / function(){return 1} === Not-a-Number. Actual: ' + ({} / function(){return 1})); >-} >- >-//CHECK#2 >-if (isNaN(function(){return 1} / {}) !== true) { >- testFailed('#2: function(){return 1} / {} === Not-a-Number. Actual: ' + (function(){return 1} / {})); >-} >- >-//CHECK#3 >-if (isNaN(function(){return 1} / function(){return 1}) !== true) { >- testFailed('#3: function(){return 1} / function(){return 1} === Not-a-Number. Actual: ' + (function(){return 1} / function(){return 1})); >-} >- >-//CHECK#4 >-if (isNaN({} / {}) !== true) { >- testFailed('#4: {} / {} === Not-a-Number. Actual: ' + ({} / {})); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1-expected.txt >deleted file mode 100644 >index 5d0bec9a454..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1.html >deleted file mode 100644 >index 750042d3fce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.1; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true / 1 !== 1) { >- testFailed('#1: true / 1 === 1. Actual: ' + (true / 1)); >-} >- >-//CHECK#2 >-if (1 / true !== 1) { >- testFailed('#2: 1 / true === 1. Actual: ' + (1 / true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) / 1 !== 1) { >- testFailed('#3: new Boolean(true) / 1 === 1. Actual: ' + (new Boolean(true) / 1)); >-} >- >-//CHECK#4 >-if (1 / new Boolean(true) !== 1) { >- testFailed('#4: 1 / new Boolean(true) === 1. Actual: ' + (1 / new Boolean(true))); >-} >- >-//CHECK#5 >-if (true / new Number(1) !== 1) { >- testFailed('#5: true / new Number(1) === 1. Actual: ' + (true / new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) / true !== 1) { >- testFailed('#6: new Number(1) / true === 1. Actual: ' + (new Number(1) / true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) / new Number(1) !== 1) { >- testFailed('#7: new Boolean(true) / new Number(1) === 1. Actual: ' + (new Boolean(true) / new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) / new Boolean(true) !== 1) { >- testFailed('#8: new Number(1) / new Boolean(true) === 1. Actual: ' + (new Number(1) / new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2-expected.txt >deleted file mode 100644 >index 084cc0ca2b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2.html >deleted file mode 100644 >index b4e6681f9ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.2; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" / 1 !== 1) { >- testFailed('#1: "1" / 1 === 1. Actual: ' + ("1" / 1)); >-} >- >-//CHECK#2 >-if (1 / "1" !== 1) { >- testFailed('#2: 1 / "1" === 1. Actual: ' + (1 / "1")); >-} >- >-//CHECK#3 >-if (new String("1") / 1 !== 1) { >- testFailed('#3: new String("1") / 1 === 1. Actual: ' + (new String("1") / 1)); >-} >- >-//CHECK#4 >-if (1 / new String("1") !== 1) { >- testFailed('#4: 1 / new String("1") === 1. Actual: ' + (1 / new String("1"))); >-} >- >-//CHECK#5 >-if ("1" / new Number(1) !== 1) { >- testFailed('#5: "1" / new Number(1) === 1. Actual: ' + ("1" / new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) / "1" !== 1) { >- testFailed('#6: new Number(1) / "1" === 1. Actual: ' + (new Number(1) / "1")); >-} >- >-//CHECK#7 >-if (new String("1") / new Number(1) !== 1) { >- testFailed('#7: new String("1") / new Number(1) === 1. Actual: ' + (new String("1") / new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) / new String("1") !== 1) { >- testFailed('#8: new Number(1) / new String("1") === 1. Actual: ' + (new Number(1) / new String("1"))); >-} >- >-//CHECK#9 >-if (isNaN("x" / 1) !== true) { >- testFailed('#9: "x" / 1 === Not-a-Number. Actual: ' + ("x" / 1)); >-} >- >-//CHECK#10 >-if (isNaN(1 / "x") !== true) { >- testFailed('#10: 1 / "x" === Not-a-Number. Actual: ' + (1 / "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3-expected.txt >deleted file mode 100644 >index 098248cb338..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3.html >deleted file mode 100644 >index faf382b6903..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.3; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 / null !== Number.POSITIVE_INFINITY) { >- testFailed('#1: 1 / null === +Infinity. Actual: ' + (1 / null)); >-} >- >-//CHECK#2 >-if (null / 1 !== 0) { >- testFailed('#2: null / 1 === 0. Actual: ' + (null / 1)); >-} >- >-//CHECK#3 >-if (new Number(1) / null !== Number.POSITIVE_INFINITY) { >- testFailed('#3: new Number(1) / null === +Infinity. Actual: ' + (new Number(1) / null)); >-} >- >-//CHECK#4 >-if (null / new Number(1) !== 0) { >- testFailed('#4: null / new Number(1) === 0. Actual: ' + (null / new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4-expected.txt >deleted file mode 100644 >index 62028b94159..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4.html >deleted file mode 100644 >index 2605d94c809..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.4; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(1 / undefined) !== true) { >- testFailed('#1: 1 / undefined === Not-a-Number. Actual: ' + (1 / undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined / 1) !== true) { >- testFailed('#2: undefined / 1 === Not-a-Number. Actual: ' + (undefined / 1)); >-} >- >-//CHECK#3 >-if (isNaN(new Number(1) / undefined) !== true) { >- testFailed('#3: new Number(1) / undefined === Not-a-Number. Actual: ' + (new Number(1) / undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined / new Number(1)) !== true) { >- testFailed('#4: undefined / new Number(1) === Not-a-Number. Actual: ' + (undefined / new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5-expected.txt >deleted file mode 100644 >index c18579ff142..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5.html >deleted file mode 100644 >index 6f2e863ca95..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.5; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true / "1" !== 1) { >- testFailed('#1: true / "1" === 1. Actual: ' + (true / "1")); >-} >- >-//CHECK#2 >-if ("1" / true !== 1) { >- testFailed('#2: "1" / true === 1. Actual: ' + ("1" / true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) / "1" !== 1) { >- testFailed('#3: new Boolean(true) / "1" === 1. Actual: ' + (new Boolean(true) / "1")); >-} >- >-//CHECK#4 >-if ("1" / new Boolean(true) !== 1) { >- testFailed('#4: "1" / new Boolean(true) === 1. Actual: ' + ("1" / new Boolean(true))); >-} >- >-//CHECK#5 >-if (true / new String("1") !== 1) { >- testFailed('#5: true / new String("1") === 1. Actual: ' + (true / new String("1"))); >-} >- >-//CHECK#6 >-if (new String("1") / true !== 1) { >- testFailed('#6: new String("1") / true === 1. Actual: ' + (new String("1") / true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) / new String("1") !== 1) { >- testFailed('#7: new Boolean(true) / new String("1") === 1. Actual: ' + (new Boolean(true) / new String("1"))); >-} >- >-//CHECK#8 >-if (new String("1") / new Boolean(true) !== 1) { >- testFailed('#8: new String("1") / new Boolean(true) === 1. Actual: ' + (new String("1") / new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6-expected.txt >deleted file mode 100644 >index 176d0adb245..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6.html >deleted file mode 100644 >index 58dd5e5299f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.6; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN("1" / undefined) !== true) { >- testFailed('#1: "1" / undefined === Not-a-Number. Actual: ' + ("1" / undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined / "1") !== true) { >- testFailed('#2: undefined / "1" === Not-a-Number. Actual: ' + (undefined / "1")); >-} >- >-//CHECK#3 >-if (isNaN(new String("1") / undefined) !== true) { >- testFailed('#3: new String("1") / undefined === Not-a-Number. Actual: ' + (new String("1") / undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined / new String("1")) !== true) { >- testFailed('#4: undefined / new String("1") === Not-a-Number. Actual: ' + (undefined / new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7-expected.txt >deleted file mode 100644 >index 2f71bbe996c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7.html >deleted file mode 100644 >index ba3b3c0372a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.7; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" / null !== Number.POSITIVE_INFINITY) { >- testFailed('#1: "1" / null === +Infinity. Actual: ' + ("1" / null)); >-} >- >-//CHECK#2 >-if (null / "1" !== 0) { >- testFailed('#2: null / "1" === 0. Actual: ' + (null / "1")); >-} >- >-//CHECK#3 >-if (new String("1") / null !== Number.POSITIVE_INFINITY) { >- testFailed('#3: new String("1") / null === +Infinity. Actual: ' + (new String("1") / null)); >-} >- >-//CHECK#4 >-if (null / new String("1") !== 0) { >- testFailed('#4: null / new String("1") === 0. Actual: ' + (null / new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8-expected.txt >deleted file mode 100644 >index 56ab96b457d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8.html >deleted file mode 100644 >index 8e9196ce1f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.8; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(true / undefined) !== true) { >- testFailed('#1: true / undefined === Not-a-Number. Actual: ' + (true / undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined / true) !== true) { >- testFailed('#2: undefined / true === Not-a-Number. Actual: ' + (undefined / true)); >-} >- >-//CHECK#3 >-if (isNaN(new Boolean(true) / undefined) !== true) { >- testFailed('#3: new Boolean(true) / undefined === Not-a-Number. Actual: ' + (new Boolean(true) / undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined / new Boolean(true)) !== true) { >- testFailed('#4: undefined / new Boolean(true) === Not-a-Number. Actual: ' + (undefined / new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9-expected.txt >deleted file mode 100644 >index 4d8b21d6e1c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9.html >deleted file mode 100644 >index 83795277d72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A3_T2.9; >- * @section: 11.5.2; >- * @assertion: Operator x / y returns ToNumber(x) / ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true / null !== Number.POSITIVE_INFINITY) { >- testFailed('#1: true / null === +Infinity. Actual: ' + (true / null)); >-} >- >-//CHECK#2 >-if (null / true !== 0) { >- testFailed('#2: null / true === 0. Actual: ' + (null / true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) / null !== Number.POSITIVE_INFINITY) { >- testFailed('#3: new Boolean(true) / null === +Infinity. Actual: ' + (new Boolean(true) / null)); >-} >- >-//CHECK#4 >-if (null / new Boolean(true) !== 0) { >- testFailed('#4: null / new Boolean(true) === 0. Actual: ' + (null / new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1-expected.txt >deleted file mode 100644 >index f90f09613bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1.html >deleted file mode 100644 >index 73d63016d25..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T1.1; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: If left operand is NaN, the result is NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NaN / Number.NaN) !== true) { >- testFailed('#1: NaN / NaN === Not-a-Number. Actual: ' + (NaN / NaN)); >-} >- >-//CHECK#2 >-if (isNaN(Number.NaN / +0) !== true) { >- testFailed('#2: NaN / +0 === Not-a-Number. Actual: ' + (NaN / +0)); >-} >- >-//CHECK#3 >-if (isNaN(Number.NaN / -0) !== true) { >- testFailed('#3: NaN / -0 === Not-a-Number. Actual: ' + (NaN / -0)); >-} >- >-//CHECK#4 >-if (isNaN(Number.NaN / Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: NaN / Infinity === Not-a-Number. Actual: ' + (NaN / Infinity)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NaN / Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#5: NaN / -Infinity === Not-a-Number. Actual: ' + (NaN / -Infinity)); >-} >- >-//CHECK#6 >-if (isNaN(Number.NaN / Number.MAX_VALUE) !== true) { >- testFailed('#6: NaN / Number.MAX_VALUE === Not-a-Number. Actual: ' + (NaN / Number.MAX_VALUE)); >-} >- >-//CHECK#7 >-if (isNaN(Number.NaN / Number.MIN_VALUE) !== true) { >- testFailed('#7: NaN / Number.MIN_VALUE === Not-a-Number. Actual: ' + (NaN / Number.MIN_VALUE)); >-} >- >-//CHECK#8 >-if (isNaN(Number.NaN / 1) !== true) { >- testFailed('#8: NaN / 1 === Not-a-Number. Actual: ' + (NaN / 1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2-expected.txt >deleted file mode 100644 >index ed17cde6ea5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2.html >deleted file mode 100644 >index f4740bd4e23..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T1.2; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: If right operand is NaN, the result is NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NaN / Number.NaN) !== true) { >- testFailed('#1: NaN / NaN === Not-a-Number. Actual: ' + (NaN / NaN)); >-} >- >-//CHECK#2 >-if (isNaN(+0 / Number.NaN) !== true) { >- testFailed('#2: +0 / NaN === Not-a-Number. Actual: ' + (+0 / NaN)); >-} >- >-//CHECK#3 >-if (isNaN(-0 / Number.NaN) !== true) { >- testFailed('#3: -0 / NaN === Not-a-Number. Actual: ' + (-0 / NaN)); >-} >- >-//CHECK#4 >-if (isNaN(Number.POSITIVE_INFINITY / Number.NaN) !== true) { >- testFailed('#4: Infinity / NaN === Not-a-Number. Actual: ' + (Infinity / NaN)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NEGATIVE_INFINITY / Number.NaN) !== true) { >- testFailed('#5: -Infinity / NaN === Not-a-Number. Actual: ' + ( -Infinity / NaN)); >-} >- >-//CHECK#6 >-if (isNaN(Number.MAX_VALUE / Number.NaN) !== true) { >- testFailed('#6: Number.MAX_VALUE / NaN === Not-a-Number. Actual: ' + (Number.MAX_VALUE / NaN)); >-} >- >-//CHECK#7 >-if (isNaN(Number.MIN_VALUE / Number.NaN) !== true) { >- testFailed('#7: Number.MIN_VALUE / NaN === Not-a-Number. Actual: ' + (Number.MIN_VALUE / NaN)); >-} >- >-//CHECK#8 >-if (isNaN(1 / Number.NaN) !== true) { >- testFailed('#8: 1 / NaN === Not-a-Number. Actual: ' + (1 / NaN)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10-expected.txt >deleted file mode 100644 >index 552bee45969..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10.html >deleted file mode 100644 >index 2cd0b53ee3a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10.html >+++ /dev/null >@@ -1,141 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T10; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: If both operands are finite and nonzero, the quotient is computed and rounded using IEEE 754 round-to-nearest mode. >- * If the magnitude is too small to represent, the result is then a zero of appropriate sign; >- */ >- >-//CHECK#1 >-if (Number.MIN_VALUE / 2.1 !== 0) { >- testFailed('#1: Number.MIN_VALUE / 2.1 === 0. Actual: ' + (Number.MIN_VALUE / 2.1)); >-} >- >-//CHECK#2 >-if (Number.MIN_VALUE / -2.1 !== -0) { >- testFailed('#2.1: Number.MIN_VALUE / -2.1 === 0. Actual: ' + (Number.MIN_VALUE / -2.1)); >-} else { >- if (1 / (Number.MIN_VALUE / -2.1) !== Number.NEGATIVE_INFINITY) { >- testFailed('#2.2: Number.MIN_VALUE / -2.1 === -0. Actual: +0'); >- } >-} >- >-//CHECK#3 >-if (Number.MIN_VALUE / 2.0 !== 0) { >- testFailed('#3: Number.MIN_VALUE / 2.0 === 0. Actual: ' + (Number.MIN_VALUE / 2.0)); >-} >- >-//CHECK#4 >-if (Number.MIN_VALUE / -2.0 !== -0) { >- testFailed('#4.1: Number.MIN_VALUE / -2.0 === -0. Actual: ' + (Number.MIN_VALUE / -2.0)); >-} else { >- if (1 / (Number.MIN_VALUE / -2.0) !== Number.NEGATIVE_INFINITY) { >- testFailed('#4.2: Number.MIN_VALUE / -2.0 === -0. Actual: +0'); >- } >-} >- >-//CHECK#5 >-if (Number.MIN_VALUE / 1.9 !== Number.MIN_VALUE) { >- testFailed('#5: Number.MIN_VALUE / 1.9 === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE / 1.9)); >-} >- >-//CHECK#6 >-if (Number.MIN_VALUE / -1.9 !== -Number.MIN_VALUE) { >- testFailed('#6: Number.MIN_VALUE / -1.9 === -Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE / -1.9)); >-} >- >-//CHECK#7 >-if (Number.MIN_VALUE / 1.1 !== Number.MIN_VALUE) { >- testFailed('#7: Number.MIN_VALUE / 1.1 === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE / 1.1)); >-} >- >-//CHECK#8 >-if (Number.MIN_VALUE / -1.1 !== -Number.MIN_VALUE) { >- testFailed('#8: Number.MIN_VALUE / -1.1 === -Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE / -1.1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2-expected.txt >deleted file mode 100644 >index dd6baca10ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2.html >deleted file mode 100644 >index 2de8bdd3286..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T2; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: The sign of the result is positive if both operands have the same sign, negative if the operands have different signs; >- */ >- >-//CHECK#1 >-if (1 / 1 !== 1) { >- testFailed('#1: 1 / 1 === 1. Actual: ' + (1 / 1)); >-} >- >-//CHECK#2 >-if (1 / -1 !== -1) { >- testFailed('#2: 1 / -1 === -1. Actual: ' + (1 / -1)); >-} >- >-//CHECK#3 >-if (-1 / 1 !== -1) { >- testFailed('#3: -1 / 1 === -1. Actual: ' + (-1 / 1)); >-} >- >-//CHECK#4 >-if (-1 / -1 !== 1) { >- testFailed('#4: -1 / -1 === 1. Actual: ' + (-1 / -1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3-expected.txt >deleted file mode 100644 >index 11d4233d205..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3.html >deleted file mode 100644 >index 78c1f086def..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T3; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: Division of an infinity by a zero results in an infinity of appropriate sign; >- */ >- >-//CHECK#1 >-if (Number.NEGATIVE_INFINITY / 0 !== Number.NEGATIVE_INFINITY) { >- testFailed('#1: Infinity / 0 === Infinity. Actual: ' + (Infinity / 0)); >-} >- >-//CHECK#2 >-if (Number.NEGATIVE_INFINITY / -0 !== Number.POSITIVE_INFINITY) { >- testFailed('#2: -Infinity / -0 === Infinity. Actual: ' + (-Infinity / -0)); >-} >- >-//CHECK#3 >-if (Number.POSITIVE_INFINITY / 0 !== Number.POSITIVE_INFINITY) { >- testFailed('#3: Infinity / 0 === Infinity. Actual: ' + (Infinity / 0)); >-} >- >-//CHECK#4 >-if (Number.POSITIVE_INFINITY / -0 !== Number.NEGATIVE_INFINITY) { >- testFailed('#4: Infinity / -0 === -Infinity. Actual: ' + (Infinity / -0)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4-expected.txt >deleted file mode 100644 >index dffac0badf0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4.html >deleted file mode 100644 >index 598af2b7444..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T4; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: Division of an infinity by an infinity results in NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#1: -Infinity / -Infinity === Not-a-Number. Actual: ' + (-Infinity / -Infinity)); >-} >- >-//CHECK#2 >-if (isNaN(Number.POSITIVE_INFINITY / Number.POSITIVE_INFINITY) !== true) { >- testFailed('#2: Infinity / Infinity === Not-a-Number. Actual: ' + (Infinity / Infinity)); >-} >- >-//CHECK#3 >-if (isNaN(Number.NEGATIVE_INFINITY / Number.POSITIVE_INFINITY) !== true) { >- testFailed('#3: -Infinity / Infinity === Not-a-Number. Actual: ' + (-Infinity / Infinity)); >-} >- >-//CHECK#4 >-if (isNaN(Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#4: Infinity / -Infinity === Not-a-Number. Actual: ' + (Infinity / -Infinity)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5-expected.txt >deleted file mode 100644 >index 06d67053efa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5.html >deleted file mode 100644 >index 9a7796b2139..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T5; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: Division of an infinity by a finite non-zero value results in a signed infinity; >- */ >- >-//CHECK#1 >-if (Number.NEGATIVE_INFINITY / 1 !== Number.NEGATIVE_INFINITY) { >- testFailed('#1: -Infinity / 1 === -Infinity. Actual: ' + (-Infinity / 1)); >-} >- >-//CHECK#2 >-if (Number.NEGATIVE_INFINITY / -1 !== Number.POSITIVE_INFINITY) { >- testFailed('#2: -Infinity / -1 === Infinity. Actual: ' + (-Infinity / -1)); >-} >- >-//CHECK#3 >-if (Number.POSITIVE_INFINITY / 1 !== Number.POSITIVE_INFINITY) { >- testFailed('#3: Infinity / 1 === Infinity. Actual: ' + (Infinity / 1)); >-} >- >-//CHECK#4 >-if (Number.POSITIVE_INFINITY / -1 !== Number.NEGATIVE_INFINITY) { >- testFailed('#4: Infinity / -1 === -Infinity. Actual: ' + (Infinity / -1)); >-} >- >-//CHECK#5 >-if (Number.POSITIVE_INFINITY / -Number.MAX_VALUE !== Number.NEGATIVE_INFINITY) { >- testFailed('#5: Infinity / -Number.MAX_VALUE === -Infinity. Actual: ' + (Infinity / -Number.MAX_VALUE)); >-} >- >-//CHECK#6 >-if (Number.NEGATIVE_INFINITY / Number.MIN_VALUE !== Number.NEGATIVE_INFINITY) { >- testFailed('#6: -Infinity / Number.MIN_VALUE === -Infinity. Actual: ' + (-Infinity / Number.MIN_VALUE)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6-expected.txt >deleted file mode 100644 >index 30ca0d69a96..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6.html >deleted file mode 100644 >index fa1cc66646b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T6; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: Division of a finite value by an infinity results in zero of appropriate sign; >- */ >- >-//CHECK#1 >-if (1 / Number.NEGATIVE_INFINITY !== -0) { >- testFailed('#1.1: 1 / -Infinity === 0. Actual: ' + (1 / -Infinity)); >-} else { >- if (1 / (1 / Number.NEGATIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { >- testFailed('#1.2: 1 / -Infinity === - 0. Actual: +0'); >- } >-} >- >-//CHECK#2 >-if (-1 / Number.NEGATIVE_INFINITY !== +0) { >- testFailed('#2.1: -1 / -Infinity === 0. Actual: ' + (-1 / -Infinity)); >-} else { >- if (1 / (-1 / Number.NEGATIVE_INFINITY) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: -1 / -Infinity === + 0. Actual: -0'); >- } >-} >- >-//CHECK#3 >-if (1 / Number.POSITIVE_INFINITY !== +0) { >- testFailed('#3.1: 1 / Infinity === 0. Actual: ' + (1 / Infinity)); >-} else { >- if (1 / (1 / Number.POSITIVE_INFINITY) !== Number.POSITIVE_INFINITY) { >- testFailed('#3.2: 1 / Infinity === + 0. Actual: -0'); >- } >-} >- >-//CHECK#4 >-if (-1 / Number.POSITIVE_INFINITY !== -0) { >- testFailed('#4.1: -1 / Infinity === 0. Actual: ' + (-1 / Infinity)); >-} else { >- if (1 / (-1 / Number.POSITIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { >- testFailed('#4.2: -1 / Infinity === - 0. Actual: +0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7-expected.txt >deleted file mode 100644 >index 3601f741df4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7.html >deleted file mode 100644 >index 42239913a81..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T7; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: Division of a zero by a zero results in NaN; >- */ >- >-//CHECK#1 >-if (isNaN(+0 / +0) !== true) { >- testFailed('#1: +0 / +0 === Not-a-Number. Actual: ' + (+0 / +0)); >-} >- >-//CHECK#2 >-if (isNaN(-0 / +0) !== true) { >- testFailed('#2: -0 / +0 === Not-a-Number. Actual: ' + (-0 / +0)); >-} >- >-//CHECK#3 >-if (isNaN(+0 / -0) !== true) { >- testFailed('#3: +0 / -0 === Not-a-Number. Actual: ' + (+0 / -0)); >-} >- >-//CHECK#4 >-if (isNaN(-0 / -0) !== true) { >- testFailed('#4: -0 / -0 === Not-a-Number. Actual: ' + (-0 / -0)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8-expected.txt >deleted file mode 100644 >index 042a2a3f1bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8.html >deleted file mode 100644 >index 5cf3727e8b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8.html >+++ /dev/null >@@ -1,146 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T8; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: Division of a zero by any non-zero finite value -0 results in zero of appropriate sign; >- */ >- >-//CHECK#1 >-if (-0 / 1 !== -0) { >- testFailed('#1.1: -0 / 1 === 0. Actual: ' + (-0 / 1)); >-} else { >- if (1 / (-0 / 1) !== Number.NEGATIVE_INFINITY) { >- testFailed('#1.2: -0 / 1 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#2 >-if (-0 / -1 !== +0) { >- testFailed('#2.1: -0 / -1 === 0. Actual: ' + (-0 / -1)); >-} else { >- if (1 / (-0 / -1) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: -0 / -1 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#3 >-if (+0 / 1 !== +0) { >- testFailed('#3.1: +0 / 1 === 0. Actual: ' + (+0 / 1)); >-} else { >- if (1 / (+0 / -1) !== Number.NEGATIVE_INFINITY) { >- testFailed('#3.2: +0 / -1 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#4 >-if (+0 / -1 !== -0) { >- testFailed('#4.1: +0 / -1 === 0. Actual: ' + (+0 / -1)); >-} else { >- if (1 / (+0 / -1) !== Number.NEGATIVE_INFINITY) { >- testFailed('#4.2: +0 / -1 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#5 >-if (+0 / -Number.MAX_VALUE !== -0) { >- testFailed('#5.1: 0 / -Number.MAX_VALUE === 0. Actual: ' + (0 / -Number.MAX_VALUE)); >-} else { >- if (1 / (+0 / -Number.MAX_VALUE) !== Number.NEGATIVE_INFINITY) { >- testFailed('#5.2: +0 / -Number.MAX_VALUE === - 0. Actual: +0'); >- } >-} >- >-//CHECK#6 >-if (-0 / Number.MIN_VALUE !== -0) { >- testFailed('#6.1: -0 / Number.MIN_VALUE === 0. Actual: ' + (-0 / Number.MIN_VALUE)); >-} else { >- if (1 / (-0 / Number.MIN_VALUE) !== Number.NEGATIVE_INFINITY) { >- testFailed('#6.2: -0 / Number.MIN_VALUE === - 0. Actual: +0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9-expected.txt >deleted file mode 100644 >index 57f4e6969b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9.html >deleted file mode 100644 >index 6040ef812fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.2_A4_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.2_A4_T9; >- * @section: 11.5.2; >- * @assertion: The result of division is determined by the specification of IEEE 754 arithmetics; >- * @description: If the magnitude is too large to represent, the result is then an infinity of appropriate sign; >- */ >- >-//CHECK#1 >-if (Number.MAX_VALUE / 0.9 !== Number.POSITIVE_INFINITY) { >- testFailed('#1: Number.MAX_VALUE / 0.9 === Number.POSITIVE_INFINITY. Actual: ' + (Number.MAX_VALUE / 0.9)); >-} >- >-//CHECK#2 >-if (Number.MAX_VALUE / -0.9 !== Number.NEGATIVE_INFINITY) { >- testFailed('#2: Number.MAX_VALUE / -0.9 === Number.NEGATIVE_INFINITY. Actual: ' + (Number.MAX_VALUE / -0.9)); >-} >- >-//CHECK#3 >-if (Number.MAX_VALUE / 1 !== Number.MAX_VALUE) { >- testFailed('#3: Number.MAX_VALUE / 1 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE / 1)); >-} >- >-//CHECK#4 >-if (Number.MAX_VALUE / -1 !== -Number.MAX_VALUE) { >- testFailed('#4: Number.MAX_VALUE / -1 === -Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE / -1)); >-} >- >-//CHECK#5 >-if (Number.MAX_VALUE / (Number.MAX_VALUE / 0.9) === (Number.MAX_VALUE / Number.MAX_VALUE) / 0.9) { >- testFailed('#5: Number.MAX_VALUE / (Number.MAX_VALUE / 0.9) !== (Number.MAX_VALUE / Number.MAX_VALUE) / 0.9'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1-expected.txt >deleted file mode 100644 >index 0e4d89567cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1.html >deleted file mode 100644 >index 173597d391f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.5.3_A1; >-* @section: 11.5.3, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between MultiplicativeExpression and "%" or between "%" and UnaryExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009%\u00091") !== 0) { >- testFailed('#1: 1\\u0009%\\u00091 === 0'); >-} >- >-//CHECK#2 >-if (eval("1\u000B%\u000B1") !== 0) { >- testFailed('#2: 1\\u000B%\\u000B1 === 0'); >-} >- >-//CHECK#3 >-if (eval("1\u000C%\u000C1") !== 0) { >- testFailed('#3: 1\\u000C%\\u000C1 === 0'); >-} >- >-//CHECK#4 >-if (eval("1\u0020%\u00201") !== 0) { >- testFailed('#4: 1\\u0020%\\u00201 === 0'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0%\u00A01") !== 0) { >- testFailed('#5: 1\\u00A0%\\u00A01 === 0'); >-} >- >-//CHECK#6 >-if (eval("1\u000A%\u000A1") !== 0) { >- testFailed('#6: 1\\u000A%\\u000A1 === 0'); >-} >- >-//CHECK#7 >-if (eval("1\u000D%\u000D1") !== 0) { >- testFailed('#7: 1\\u000D%\\u000D1 === 0'); >-} >- >-//CHECK#8 >-if (eval("1\u2028%\u20281") !== 0) { >- testFailed('#8: 1\\u2028%\\u20281 === 0'); >-} >- >-//CHECK#9 >-if (eval("1\u2029%\u20291") !== 0) { >- testFailed('#9: 1\\u2029%\\u20291 === 0'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029%\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 0) { >- testFailed('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029%\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1-expected.txt >deleted file mode 100644 >index 5d49bb538a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1.html >deleted file mode 100644 >index d5d4a8326ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A2.1_T1; >- * @section: 11.5.3; >- * @assertion: Operator x % y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 % 2 !== 1) { >- testFailed('#1: 1 % 2 === 1. Actual: ' + (1 % 2)); >-} >- >-//CHECK#2 >-var x = 1; >-if (x % 2 !== 1) { >- testFailed('#2: var x = 1; x % 2 === 1. Actual: ' + (x % 2)); >-} >- >-//CHECK#3 >-var y = 2; >-if (1 % y !== 1) { >- testFailed('#3: var y = 2; 1 % y === 1. Actual: ' + (1 % y)); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 2; >-if (x % y !== 1) { >- testFailed('#4: var x = 1; var y = 2; x % y === 1. Actual: ' + (x % y)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 2; >-if (objectx.prop % objecty.prop !== 1) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 2; objectx.prop % objecty.prop === 1. Actual: ' + (objectx.prop % objecty.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2-expected.txt >deleted file mode 100644 >index 6068fda453d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2.html >deleted file mode 100644 >index 34cc36f0bf7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A2.1_T2; >- * @section: 11.5.3; >- * @assertion: Operator x % y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x % 1; >- testFailed('#1.1: x % 1 throw ReferenceError. Actual: ' + (x % 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x % 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3-expected.txt >deleted file mode 100644 >index 866ba2c7a37..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3.html >deleted file mode 100644 >index e604cba117c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A2.1_T3; >- * @section: 11.5.3; >- * @assertion: Operator x % y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 % y; >- testFailed('#1.1: 1 % y throw ReferenceError. Actual: ' + (1 % y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 % y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1-expected.txt >deleted file mode 100644 >index 308e142d379..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1.html >deleted file mode 100644 >index 6d06aa42104..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A2.2_T1; >- * @section: 11.5.3, 8.6.2.6; >- * @assertion: Operator x % y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 1}} % 2 !== 1) { >- testFailed('#1: {valueOf: function() {return 1}} % 2 === 1. Actual: ' + ({valueOf: function() {return 1}} % 2)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 1}, toString: function() {return 0}} % 2 !== 1) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 0}} % 2 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} % 2)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 1}, toString: function() {return {}}} % 2 !== 1) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} % 2 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} % 2)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 1}, toString: function() {throw "error"}} % 2 !== 1) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} % 2 === 1. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} % 2)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} % 2 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} % 2 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 % {toString: function() {return 2}} !== 1) { >- testFailed('#5: 1 % {toString: function() {return 2}} === 1. Actual: ' + (1 % {toString: function() {return 2}})); >-} >- >-//CHECK#6 >-if (1 % {valueOf: function() {return {}}, toString: function() {return 2}} !== 1) { >- testFailed('#6: 1 % {valueOf: function() {return {}}, toString: function() {return 2}} === 1. Actual: ' + (1 % {valueOf: function() {return {}}, toString: function() {return 2}})); >-} >- >-//CHECK#7 >-try { >- 1 % {valueOf: function() {throw "error"}, toString: function() {return 2}}; >- testFailed('#7.1: 1 % {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (1 % {valueOf: function() {throw "error"}, toString: function() {return 2}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 % {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 % {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 % {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 % {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 % {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1-expected.txt >deleted file mode 100644 >index 1c7e85b47c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1.html >deleted file mode 100644 >index c240841212a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A2.3_T1; >- * @section: 11.5.3; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x % y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x % y throw "x". Actual: ' + (x % y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x % y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1-expected.txt >deleted file mode 100644 >index a2c8c9ab180..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1.html >deleted file mode 100644 >index f95c3255dbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A2.4_T1; >- * @section: 11.5.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) % x !== 0) { >- testFailed('#1: var x = 0; (x = 1) % x === 0. Actual: ' + ((x = 1) % x)); >-} >- >-//CHECK#2 >-var x = 1; >-if (x % (x = 2) !== 1) { >- testFailed('#2: var x = 1; x % (x = 2) === 1. Actual: ' + (x % (x = 2))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2-expected.txt >deleted file mode 100644 >index a4a6650d45c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2.html >deleted file mode 100644 >index 9ab0ae29331..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A2.4_T2; >- * @section: 11.5.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() % y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() % y() throw "x". Actual: ' + (x() % y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() % y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3-expected.txt >deleted file mode 100644 >index fda564175ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3.html >deleted file mode 100644 >index 3be28345475..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A2.4_T3; >- * @section: 11.5.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x % (x = 1); >- testFailed('#1.1: x % (x = 1) throw ReferenceError. Actual: ' + (x % (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x % (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) % y !== 0) { >- testFailed('#2: (y = 1) % y === 0. Actual: ' + ((y = 1) % y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1-expected.txt >deleted file mode 100644 >index 0f609a1c0dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1.html >deleted file mode 100644 >index 503b3e9e354..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T1.1; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true % true !== 0) { >- testFailed('#1: true % true === 0. Actual: ' + (true % true)); >-} >- >-//CHECK#2 >-if (new Boolean(true) % true !== 0) { >- testFailed('#2: new Boolean(true) % true === 0. Actual: ' + (new Boolean(true) % true)); >-} >- >-//CHECK#3 >-if (true % new Boolean(true) !== 0) { >- testFailed('#3: true % new Boolean(true) === 0. Actual: ' + (true % new Boolean(true))); >-} >- >-//CHECK#4 >-if (new Boolean(true) % new Boolean(true) !== 0) { >- testFailed('#4: new Boolean(true) % new Boolean(true) === 0. Actual: ' + (new Boolean(true) % new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2-expected.txt >deleted file mode 100644 >index 1644949ba8d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2.html >deleted file mode 100644 >index 61528acb099..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T1.2; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 % 1 !== 0) { >- testFailed('#1: 1 % 1 === 0. Actual: ' + (1 % 1)); >-} >- >-//CHECK#2 >-if (new Number(1) % 1 !== 0) { >- testFailed('#2: new Number(1) % 1 === 0. Actual: ' + (new Number(1) % 1)); >-} >- >-//CHECK#3 >-if (1 % new Number(1) !== 0) { >- testFailed('#3: 1 % new Number(1) === 0. Actual: ' + (1 % new Number(1))); >-} >- >-//CHECK#4 >-if (new Number(1) % new Number(1) !== 0) { >- testFailed('#4: new Number(1) % new Number(1) === 0. Actual: ' + (new Number(1) % new Number(1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3-expected.txt >deleted file mode 100644 >index 92964922c80..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3.html >deleted file mode 100644 >index b55486a0234..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T1.3; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" % "1" !== 0) { >- testFailed('#1: "1" % "1" === 0. Actual: ' + ("1" % "1")); >-} >- >-//CHECK#2 >-if (new String("1") % "1" !== 0) { >- testFailed('#2: new String("1") % "1" === 0. Actual: ' + (new String("1") % "1")); >-} >- >-//CHECK#3 >-if ("1" % new String("1") !== 0) { >- testFailed('#3: "1" % new String("1") === 0. Actual: ' + ("1" % new String("1"))); >-} >- >-//CHECK#4 >-if (new String("1") % new String("1") !== 0) { >- testFailed('#4: new String("1") % new String("1") === 0. Actual: ' + (new String("1") % new String("1"))); >-} >- >-//CHECK#5 >-if (isNaN("x" % "1") !== true) { >- testFailed('#5: "x" % "1" === Not-a-Number. Actual: ' + ("x" % "1")); >-} >- >-//CHECK#6 >-if (isNaN("1" % "x") !== true) { >- testFailed('#6: "1" % "x" === Not-a-Number. Actual: ' + ("1" % "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4-expected.txt >deleted file mode 100644 >index bc6705e01ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4.html >deleted file mode 100644 >index b918b91f963..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T1.4; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(null % undefined) !== true) { >- testFailed('#1: null % undefined === Not-a-Number. Actual: ' + (null % undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined % null) !== true) { >- testFailed('#2: undefined % null === Not-a-Number. Actual: ' + (undefined % null)); >-} >- >-//CHECK#3 >-if (isNaN(undefined % undefined) !== true) { >- testFailed('#3: undefined % undefined === Not-a-Number. Actual: ' + (undefined % undefined)); >-} >- >-//CHECK#4 >-if (isNaN(null % null) !== true) { >- testFailed('#4: null % null === Not-a-Number. Actual: ' + (null % null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5-expected.txt >deleted file mode 100644 >index 22529a288c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5.html >deleted file mode 100644 >index f3ad6303ed9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T1.5; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) and Type(y) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (isNaN({} % function(){return 1}) !== true) { >- testFailed('#1: {} % function(){return 1} === Not-a-Number. Actual: ' + ({} % function(){return 1})); >-} >- >-//CHECK#2 >-if (isNaN(function(){return 1} % {}) !== true) { >- testFailed('#2: function(){return 1} % {} === Not-a-Number. Actual: ' + (function(){return 1} % {})); >-} >- >-//CHECK#3 >-if (isNaN(function(){return 1} % function(){return 1}) !== true) { >- testFailed('#3: function(){return 1} % function(){return 1} === Not-a-Number. Actual: ' + (function(){return 1} % function(){return 1})); >-} >- >-//CHECK#4 >-if (isNaN({} % {}) !== true) { >- testFailed('#4: {} % {} === Not-a-Number. Actual: ' + ({} % {})); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1-expected.txt >deleted file mode 100644 >index f029c2c6735..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1.html >deleted file mode 100644 >index ae4ab68383d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.1; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true % 1 !== 0) { >- testFailed('#1: true % 1 === 0. Actual: ' + (true % 1)); >-} >- >-//CHECK#2 >-if (1 % true !== 0) { >- testFailed('#2: 1 % true === 0. Actual: ' + (1 % true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) % 1 !== 0) { >- testFailed('#3: new Boolean(true) % 1 === 0. Actual: ' + (new Boolean(true) % 1)); >-} >- >-//CHECK#4 >-if (1 % new Boolean(true) !== 0) { >- testFailed('#4: 1 % new Boolean(true) === 0. Actual: ' + (1 % new Boolean(true))); >-} >- >-//CHECK#5 >-if (true % new Number(1) !== 0) { >- testFailed('#5: true % new Number(1) === 0. Actual: ' + (true % new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) % true !== 0) { >- testFailed('#6: new Number(1) % true === 0. Actual: ' + (new Number(1) % true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) % new Number(1) !== 0) { >- testFailed('#7: new Boolean(true) % new Number(1) === 0. Actual: ' + (new Boolean(true) % new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) % new Boolean(true) !== 0) { >- testFailed('#8: new Number(1) % new Boolean(true) === 0. Actual: ' + (new Number(1) % new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2-expected.txt >deleted file mode 100644 >index f44601766cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2.html >deleted file mode 100644 >index 46e28b48711..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.2; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" % 1 !== 0) { >- testFailed('#1: "1" % 1 === 0. Actual: ' + ("1" % 1)); >-} >- >-//CHECK#2 >-if (1 % "1" !== 0) { >- testFailed('#2: 1 % "1" === 0. Actual: ' + (1 % "1")); >-} >- >-//CHECK#3 >-if (new String("1") % 1 !== 0) { >- testFailed('#3: new String("1") % 1 === 0. Actual: ' + (new String("1") % 1)); >-} >- >-//CHECK#4 >-if (1 % new String("1") !== 0) { >- testFailed('#4: 1 % new String("1") === 0. Actual: ' + (1 % new String("1"))); >-} >- >-//CHECK#5 >-if ("1" % new Number(1) !== 0) { >- testFailed('#5: "1" % new Number(1) === 0. Actual: ' + ("1" % new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) % "1" !== 0) { >- testFailed('#6: new Number(1) % "1" === 0. Actual: ' + (new Number(1) % "1")); >-} >- >-//CHECK#7 >-if (new String("1") % new Number(1) !== 0) { >- testFailed('#7: new String("1") % new Number(1) === 0. Actual: ' + (new String("1") % new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) % new String("1") !== 0) { >- testFailed('#8: new Number(1) % new String("1") === 0. Actual: ' + (new Number(1) % new String("1"))); >-} >- >-//CHECK#9 >-if (isNaN("x" % 1) !== true) { >- testFailed('#9: "x" % 1 === Not-a-Number. Actual: ' + ("x" % 1)); >-} >- >-//CHECK#10 >-if (isNaN(1 % "x") !== true) { >- testFailed('#10: 1 % "x" === Not-a-Number. Actual: ' + (1 % "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3-expected.txt >deleted file mode 100644 >index 6ac31e23691..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3.html >deleted file mode 100644 >index bef8f0aaed9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.3; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (isNaN(1 % null) !== true) { >- testFailed('#1: 1 % null === Not-a-Number. Actual: ' + (1 % null)); >-} >- >-//CHECK#2 >-if (null % 1 !== 0) { >- testFailed('#2: null % 1 === 0. Actual: ' + (null % 1)); >-} >- >-//CHECK#3 >-if (isNaN(new Number(1) % null) !== true) { >- testFailed('#3: new Number(1) % null === Not-a-Number. Actual: ' + (new Number(1) % null)); >-} >- >-//CHECK#4 >-if (null % new Number(1) !== 0) { >- testFailed('#4: null % new Number(1) === 0. Actual: ' + (null % new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4-expected.txt >deleted file mode 100644 >index 27e55a4615f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4.html >deleted file mode 100644 >index 71437d1edcb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.4; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(1 % undefined) !== true) { >- testFailed('#1: 1 % undefined === Not-a-Number. Actual: ' + (1 % undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined % 1) !== true) { >- testFailed('#2: undefined % 1 === Not-a-Number. Actual: ' + (undefined % 1)); >-} >- >-//CHECK#3 >-if (isNaN(new Number(1) % undefined) !== true) { >- testFailed('#3: new Number(1) % undefined === Not-a-Number. Actual: ' + (new Number(1) % undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined % new Number(1)) !== true) { >- testFailed('#4: undefined % new Number(1) === Not-a-Number. Actual: ' + (undefined % new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5-expected.txt >deleted file mode 100644 >index 8f55cf5a88e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5.html >deleted file mode 100644 >index b1a26452765..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.5; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true % "1" !== 0) { >- testFailed('#1: true % "1" === 0. Actual: ' + (true % "1")); >-} >- >-//CHECK#2 >-if ("1" % true !== 0) { >- testFailed('#2: "1" % true === 0. Actual: ' + ("1" % true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) % "1" !== 0) { >- testFailed('#3: new Boolean(true) % "1" === 0. Actual: ' + (new Boolean(true) % "1")); >-} >- >-//CHECK#4 >-if ("1" % new Boolean(true) !== 0) { >- testFailed('#4: "1" % new Boolean(true) === 0. Actual: ' + ("1" % new Boolean(true))); >-} >- >-//CHECK#5 >-if (true % new String("1") !== 0) { >- testFailed('#5: true % new String("1") === 0. Actual: ' + (true % new String("1"))); >-} >- >-//CHECK#6 >-if (new String("1") % true !== 0) { >- testFailed('#6: new String("1") % true === 0. Actual: ' + (new String("1") % true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) % new String("1") !== 0) { >- testFailed('#7: new Boolean(true) % new String("1") === 0. Actual: ' + (new Boolean(true) % new String("1"))); >-} >- >-//CHECK#8 >-if (new String("1") % new Boolean(true) !== 0) { >- testFailed('#8: new String("1") % new Boolean(true) === 0. Actual: ' + (new String("1") % new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6-expected.txt >deleted file mode 100644 >index d7e9c85869a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6.html >deleted file mode 100644 >index 5a8392ec926..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.6; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN("1" % undefined) !== true) { >- testFailed('#1: "1" % undefined === Not-a-Number. Actual: ' + ("1" % undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined % "1") !== true) { >- testFailed('#2: undefined % "1" === Not-a-Number. Actual: ' + (undefined % "1")); >-} >- >-//CHECK#3 >-if (isNaN(new String("1") % undefined) !== true) { >- testFailed('#3: new String("1") % undefined === Not-a-Number. Actual: ' + (new String("1") % undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined % new String("1")) !== true) { >- testFailed('#4: undefined % new String("1") === Not-a-Number. Actual: ' + (undefined % new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7-expected.txt >deleted file mode 100644 >index b78111a7bda..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7.html >deleted file mode 100644 >index 7ed075065da..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.7; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (isNaN("1" % null) !== true) { >- testFailed('#1: "1" % null === Not-a-Number. Actual: ' + ("1" % null)); >-} >- >-//CHECK#2 >-if (null % "1" !== 0) { >- testFailed('#2: null % "1" === 0. Actual: ' + (null % "1")); >-} >- >-//CHECK#3 >-if (isNaN(new String("1") % null) !== true) { >- testFailed('#3: new String("1") % null === Not-a-Number. Actual: ' + (new String("1") % null)); >-} >- >-//CHECK#4 >-if (null % new String("1") !== 0) { >- testFailed('#4: null % new String("1") === 0. Actual: ' + (null % new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8-expected.txt >deleted file mode 100644 >index 032b43b2604..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8.html >deleted file mode 100644 >index 9564df78254..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.8; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(true % undefined) !== true) { >- testFailed('#1: true % undefined === Not-a-Number. Actual: ' + (true % undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined % true) !== true) { >- testFailed('#2: undefined % true === Not-a-Number. Actual: ' + (undefined % true)); >-} >- >-//CHECK#3 >-if (isNaN(new Boolean(true) % undefined) !== true) { >- testFailed('#3: new Boolean(true) % undefined === Not-a-Number. Actual: ' + (new Boolean(true) % undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined % new Boolean(true)) !== true) { >- testFailed('#4: undefined % new Boolean(true) === Not-a-Number. Actual: ' + (undefined % new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9-expected.txt >deleted file mode 100644 >index 3e76d58ef7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9.html >deleted file mode 100644 >index 421436fe581..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A3_T2.9; >- * @section: 11.5.3; >- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (isNaN(true % null) !== true) { >- testFailed('#1: true % null === Not-a-Number. Actual: ' + (true % null)); >-} >- >-//CHECK#2 >-if (null % true !== 0) { >- testFailed('#2: null % true === 0. Actual: ' + (null % true)); >-} >- >-//CHECK#3 >-if (isNaN(new Boolean(true) % null) !== true) { >- testFailed('#3: new Boolean(true) % null === Not-a-Number. Actual: ' + (new Boolean(true) % null)); >-} >- >-//CHECK#4 >-if (null % new Boolean(true) !== 0) { >- testFailed('#4: null % new Boolean(true) === 0. Actual: ' + (null % new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1-expected.txt >deleted file mode 100644 >index 89ff6f8505b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1.html >deleted file mode 100644 >index 42e6018042d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A4_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A4_T1.1; >- * @section: 11.5.3; >- * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; >- * @description: If either operand is NaN, the result is NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NaN % Number.NaN) !== true) { >- testFailed('#1: NaN % NaN === Not-a-Number. Actual: ' + (NaN % NaN)); >-} >- >-//CHECK#2 >-if (isNaN(Number.NaN % +0) !== true) { >- testFailed('#2: NaN % +0 === Not-a-Number. Actual: ' + (NaN % +0)); >-} >- >-//CHECK#3 >-if (isNaN(Number.NaN % -0) !== true) { >- testFailed('#3: NaN % -0 === Not-a-Number. Actual: ' + (NaN % -0)); >-} >- >-//CHECK#4 >-if (isNaN(Number.NaN % Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: NaN % Infinity === Not-a-Number. Actual: ' + (NaN % Infinity)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NaN % Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#5: NaN % -Infinity === Not-a-Number. Actual: ' + (NaN % -Infinity)); >-} >- >-//CHECK#6 >-if (isNaN(Number.NaN % Number.MAX_VALUE) !== true) { >- testFailed('#6: NaN % Number.MAX_VALUE === Not-a-Number. Actual: ' + (NaN % Number.MAX_VALUE)); >-} >- >-//CHECK#7 >-if (isNaN(Number.NaN % Number.MIN_VALUE) !== true) { >- testFailed('#7: NaN % Number.MIN_VALUE === Not-a-Number. Actual: ' + (NaN % Number.MIN_VALUE)); >-} >- >-//CHECK#8 >-if (isNaN(Number.NaN % 1) !== true) { >- testFailed('#8: NaN % 1 === Not-a-Number. Actual: ' + (NaN % 1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2-expected.txt >deleted file mode 100644 >index d0fdecd01b9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2.html >deleted file mode 100644 >index fd7ac572e42..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A4_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A4_T1.2; >- * @section: 11.5.3; >- * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; >- * @description: If either operand is NaN, the result is NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NaN % Number.NaN) !== true) { >- testFailed('#1: NaN % NaN === Not-a-Number. Actual: ' + (NaN % NaN)); >-} >- >-//CHECK#2 >-if (isNaN(+0 % Number.NaN) !== true) { >- testFailed('#2: +0 % NaN === Not-a-Number. Actual: ' + (+0 % NaN)); >-} >- >-//CHECK#3 >-if (isNaN(-0 % Number.NaN) !== true) { >- testFailed('#3: -0 % NaN === Not-a-Number. Actual: ' + (-0 % NaN)); >-} >- >-//CHECK#4 >-if (isNaN(Number.POSITIVE_INFINITY % Number.NaN) !== true) { >- testFailed('#4: Infinity % NaN === Not-a-Number. Actual: ' + (Infinity % NaN)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NEGATIVE_INFINITY % Number.NaN) !== true) { >- testFailed('#5: -Infinity % NaN === Not-a-Number. Actual: ' + ( -Infinity % NaN)); >-} >- >-//CHECK#6 >-if (isNaN(Number.MAX_VALUE % Number.NaN) !== true) { >- testFailed('#6: Number.MAX_VALUE % NaN === Not-a-Number. Actual: ' + (Number.MAX_VALUE % NaN)); >-} >- >-//CHECK#7 >-if (isNaN(Number.MIN_VALUE % Number.NaN) !== true) { >- testFailed('#7: Number.MIN_VALUE % NaN === Not-a-Number. Actual: ' + (Number.MIN_VALUE % NaN)); >-} >- >-//CHECK#8 >-if (isNaN(1 % Number.NaN) !== true) { >- testFailed('#8: 1 % NaN === Not-a-Number. Actual: ' + (1 % NaN)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2-expected.txt >deleted file mode 100644 >index b5bc6abcfdd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2.html >deleted file mode 100644 >index bd4471ecd49..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A4_T2; >- * @section: 11.5.3; >- * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; >- * @description: The sign of the finite non-zero value result equals the sign of the divided; >- */ >- >-//CHECK#1 >-if (1 % 1 !== 0) { >- testFailed('#1.1: 1 % 1 === 0. Actual: ' + (1 % 1)); >-} else { >- if (1 / (1 % 1) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: 1 % 1 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#2 >-if (-1 % -1 !== -0) { >- testFailed('#2.1: -1 % -1 === 0. Actual: ' + (-1 % -1)); >-} else { >- if (1 / (-1 % -1) !== Number.NEGATIVE_INFINITY) { >- testFailed('#2.2: -1 % -1 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#3 >-if (-1 % 1 !== -0) { >- testFailed('#3.1: -1 % 1 === 0. Actual: ' + (-1 % 1)); >-} else { >- if (1 / (-1 % 1) !== Number.NEGATIVE_INFINITY) { >- testFailed('#3.2: -1 % 1 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#4 >-if (1 % -1 !== 0) { >- testFailed('#4.1: 1 % -1 === 0. Actual: ' + (1 % -1)); >-} else { >- if (1 / (1 % -1) !== Number.POSITIVE_INFINITY) { >- testFailed('#4.2: 1 % -1 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#5 >-if (101 % 51 !== 50) { >- testFailed('#5: 101 % 51 === 50. Actual: ' + (101 % 51)); >-} >- >-//CHECK#6 >-if (101 % -51 !== 50) { >- testFailed('#6: 101 % -51 === 50. Actual: ' + (101 % -51)); >-} >- >-//CHECK#7 >-if (-101 % 51 !== -50) { >- testFailed('#7: -101 % 51 === -50. Actual: ' + (-101 % 51)); >-} >- >-//CHECK#8 >-if (-101 % -51 !== -50) { >- testFailed('#8: -101 % -51 === -50. Actual: ' + (-101 % -51)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3-expected.txt >deleted file mode 100644 >index 14c1b55c71c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3.html >deleted file mode 100644 >index 31b85d0402f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3.html >+++ /dev/null >@@ -1,152 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A4_T3; >- * @section: 11.5.3; >- * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; >- * @description: If the dividend is an infinity results is NaN; >- */ >- >-//CHECK#1 >-if (isNaN(Number.NEGATIVE_INFINITY % Number.POSITIVE_INFINITY) !== true) { >- testFailed('#1: -Infinity % Infinity === Not-a-Number. Actual: ' + (-Infinity % Infinity)); >-} >- >-//CHECK#2 >-if (isNaN(Number.NEGATIVE_INFINITY % Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#2: -Infinity % -Infinity === Not-a-Number. Actual: ' + (-Infinity % -Infinity)); >-} >- >-//CHECK#3 >-if (isNaN(Number.POSITIVE_INFINITY % Number.POSITIVE_INFINITY) !== true) { >- testFailed('#3: Infinity % Infinity === Not-a-Number. Actual: ' + (Infinity % Infinity)); >-} >- >-//CHECK#4 >-if (isNaN(Number.POSITIVE_INFINITY % Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#4: Infinity % -Infinity === Not-a-Number. Actual: ' + (Infinity % -Infinity)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NEGATIVE_INFINITY % 1) !== true) { >- testFailed('#5: Infinity % 1 === Not-a-Number. Actual: ' + (Infinity % 1)); >-} >- >-//CHECK#6 >-if (isNaN(Number.NEGATIVE_INFINITY % -1) !== true) { >- testFailed('#6: -Infinity % -1 === Not-a-Number. Actual: ' + (-Infinity % -1)); >-} >- >-//CHECK#7 >-if (isNaN(Number.POSITIVE_INFINITY % 1) !== true) { >- testFailed('#7: Infinity % 1 === Not-a-Number. Actual: ' + (Infinity % 1)); >-} >- >-//CHECK#8 >-if (isNaN(Number.POSITIVE_INFINITY % -1) !== true) { >- testFailed('#8: Infinity % -1 === Not-a-Number. Actual: ' + (Infinity % -1)); >-} >- >-//CHECK#9 >-if (isNaN(Number.NEGATIVE_INFINITY % Number.MAX_VALUE) !== true) { >- testFailed('#9: Infinity % Number.MAX_VALUE === Not-a-Number. Actual: ' + (Infinity % Number.MAX_VALUE)); >-} >- >-//CHECK#10 >-if (isNaN(Number.NEGATIVE_INFINITY % -Number.MAX_VALUE) !== true) { >- testFailed('#10: -Infinity % -Number.MAX_VALUE === Not-a-Number. Actual: ' + (-Infinity % -Number.MAX_VALUE)); >-} >- >-//CHECK#11 >-if (isNaN(Number.POSITIVE_INFINITY % Number.MAX_VALUE) !== true) { >- testFailed('#11: Infinity % Number.MAX_VALUE === Not-a-Number. Actual: ' + (Infinity % Number.MAX_VALUE)); >-} >- >-//CHECK#12 >-if (isNaN(Number.POSITIVE_INFINITY % -Number.MAX_VALUE) !== true) { >- testFailed('#12: Infinity % -Number.MAX_VALUE === Not-a-Number. Actual: ' + (Infinity % -Number.MAX_VALUE)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4-expected.txt >deleted file mode 100644 >index 816c26b16c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4.html >deleted file mode 100644 >index 6593ee431a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4.html >+++ /dev/null >@@ -1,172 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A4_T4; >- * @section: 11.5.3; >- * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; >- * @description: If the divisor is zero results is NaN; >- */ >- >-//CHECK#1 >-if (isNaN(-0 % 0) !== true) { >- testFailed('#1: -0 % 0 === Not-a-Number. Actual: ' + (-0 % 0)); >-} >- >-//CHECK#2 >-if (isNaN(-0 % -0) !== true) { >- testFailed('#2: -0 % -0 === Not-a-Number. Actual: ' + (-0 % -0)); >-} >- >-//CHECK#3 >-if (isNaN(0 % 0) !== true) { >- testFailed('#3: 0 % 0 === Not-a-Number. Actual: ' + (0 % 0)); >-} >- >-//CHECK#4 >-if (isNaN(0 % -0) !== true) { >- testFailed('#4: 0 % -0 === Not-a-Number. Actual: ' + (0 % -0)); >-} >- >-//CHECK#5 >-if (isNaN(-1 % 0) !== true) { >- testFailed('#5: 1 % 0 === Not-a-Number. Actual: ' + (1 % 0)); >-} >- >-//CHECK#6 >-if (isNaN(-1 % -0) !== true) { >- testFailed('#6: -1 % -0 === Not-a-Number. Actual: ' + (-1 % -0)); >-} >- >-//CHECK#7 >-if (isNaN(1 % 0) !== true) { >- testFailed('#7: 1 % 0 === Not-a-Number. Actual: ' + (1 % 0)); >-} >- >-//CHECK#8 >-if (isNaN(1 % -0) !== true) { >- testFailed('#8: 1 % -0 === Not-a-Number. Actual: ' + (1 % -0)); >-} >- >-//CHECK#9 >-if (isNaN(Number.NEGATIVE_INFINITY % 0) !== true) { >- testFailed('#9: Infinity % 0 === Not-a-Number. Actual: ' + (Infinity % 0)); >-} >- >-//CHECK#10 >-if (isNaN(Number.NEGATIVE_INFINITY % -0) !== true) { >- testFailed('#10: -Infinity % -0 === Not-a-Number. Actual: ' + (-Infinity % -0)); >-} >- >-//CHECK#11 >-if (isNaN(Number.POSITIVE_INFINITY % 0) !== true) { >- testFailed('#11: Infinity % 0 === Not-a-Number. Actual: ' + (Infinity % 0)); >-} >- >-//CHECK#12 >-if (isNaN(Number.POSITIVE_INFINITY % -0) !== true) { >- testFailed('#12: Infinity % -0 === Not-a-Number. Actual: ' + (Infinity % -0)); >-} >- >-//CHECK#13 >-if (isNaN(Number.MIN_VALUE % 0) !== true) { >- testFailed('#13: Number.MIN_VALUE % 0 === Not-a-Number. Actual: ' + (Number.MIN_VALUE % 0)); >-} >- >-//CHECK#14 >-if (isNaN(Number.MIN_VALUE % -0) !== true) { >- testFailed('#14: -Number.MIN_VALUE % -0 === Not-a-Number. Actual: ' + (-Number.MIN_VALUE % -0)); >-} >- >-//CHECK#15 >-if (isNaN(Number.MAX_VALUE % 0) !== true) { >- testFailed('#15: Number.MAX_VALUE % 0 === Not-a-Number. Actual: ' + (Number.MAX_VALUE % 0)); >-} >- >-//CHECK#16 >-if (isNaN(Number.MAX_VALUE % -0) !== true) { >- testFailed('#16: Number.MAX_VALUE % -0 === Not-a-Number. Actual: ' + (Number.MAX_VALUE % -0)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5-expected.txt >deleted file mode 100644 >index 8743caf2827..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5.html >deleted file mode 100644 >index f6872173c72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5.html >+++ /dev/null >@@ -1,186 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A4_T5; >- * @section: 11.5.3; >- * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; >- * @description: If dividend is finite and the divisor is an infinity, the result equals the dividend; >- */ >- >-//CHECK#1 >-if (1 % Number.NEGATIVE_INFINITY !== 1) { >- testFailed('#1: 1 % -Infinity === 1. Actual: ' + (1 % -Infinity)); >-} >-//CHECK#2 >-if (1 % Number.POSITIVE_INFINITY !==1) { >- testFailed('#2: 1 % Infinity === 1. Actual: ' + (1 % Infinity)); >-} >- >-//CHECK#3 >-if (-1 % Number.POSITIVE_INFINITY !== -1) { >- testFailed('#3: -1 % Infinity === -1. Actual: ' + (-1 % Infinity)); >-} >- >-//CHECK#4 >-if (-1 % Number.NEGATIVE_INFINITY !== -1) { >- testFailed('#4: -1 % -Infinity === -1. Actual: ' + (-1 % -Infinity)); >-} >- >-//CHECK#5 >-if (0 % Number.POSITIVE_INFINITY !== 0) { >- testFailed('#5.1: 0 % Infinity === 0. Actual: ' + (0 % Infinity)); >-} else { >- if (1 / (0 % Number.POSITIVE_INFINITY) !== Number.POSITIVE_INFINITY) { >- testFailed('#5.2: 0 % Infinity === + 0. Actual: -0'); >- } >-} >- >-//CHECK#6 >-if (0 % Number.NEGATIVE_INFINITY !== 0) { >- testFailed('#6.1: 0 % -Infinity === 0. Actual: ' + (0 % -Infinity)); >-} else { >- if (1 / (0 % Number.NEGATIVE_INFINITY) !== Number.POSITIVE_INFINITY) { >- testFailed('#6.2: 0 % -Infinity === + 0. Actual: -0'); >- } >-} >- >-//CHECK#7 >-if (-0 % Number.POSITIVE_INFINITY !== -0) { >- testFailed('#7.1: -0 % Infinity === 0. Actual: ' + (-0 % Infinity)); >-} else { >- if (1 / (-0 % Number.POSITIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { >- testFailed('#7.2: -0 % Infinity === - 0. Actual: +0'); >- } >-} >- >-//CHECK#8 >-if (-0 % Number.NEGATIVE_INFINITY !== -0) { >- testFailed('#8.1: -0 % -Infinity === 0. Actual: ' + (-0 % -Infinity)); >-} else { >- if (1 / (-0 % Number.NEGATIVE_INFINITY) !== Number.NEGATIVE_INFINITY) { >- testFailed('#8.2: -0 % -Infinity === - 0. Actual: +0'); >- } >-} >- >-//CHECK#9 >-if (Number.MAX_VALUE % Number.NEGATIVE_INFINITY !== Number.MAX_VALUE) { >- testFailed('#9: Number.MAX_VALUE % -Infinity === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE % -Infinity)); >-} >- >-//CHECK#10 >-if (Number.MAX_VALUE % Number.POSITIVE_INFINITY !== Number.MAX_VALUE) { >- testFailed('#10: Number.MAX_VALUE % Infinity === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE % Infinity)); >-} >- >-//CHECK#11 >-if (-Number.MAX_VALUE % Number.POSITIVE_INFINITY !== -Number.MAX_VALUE) { >- testFailed('#11: -Number.MAX_VALUE % Infinity === -Number.MAX_VALUE. Actual: ' + (-Number.MAX_VALUE % Infinity)); >-} >- >-//CHECK#12 >-if (-Number.MAX_VALUE % Number.NEGATIVE_INFINITY !== -Number.MAX_VALUE) { >- testFailed('#12: -Number.MAX_VALUE % -Infinity === -Number.MAX_VALUE. Actual: ' + (-Number.MAX_VALUE % -Infinity)); >-} >- >-//CHECK#13 >-if (Number.MIN_VALUE % Number.NEGATIVE_INFINITY !== Number.MIN_VALUE) { >- testFailed('#13: Number.MIN_VALUE % -Infinity === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE % -Infinity)); >-} >-//CHECK#14 >-if (Number.MIN_VALUE % Number.POSITIVE_INFINITY !== Number.MIN_VALUE) { >- testFailed('#14: Number.MIN_VALUE % Infinity === Number.MIN_VALUE. Actual: ' + (Number.MIN_VALUE % Infinity)); >-} >- >-//CHECK#15 >-if (-Number.MIN_VALUE % Number.POSITIVE_INFINITY !== -Number.MIN_VALUE) { >- testFailed('#15: -Number.MIN_VALUE % Infinity === -Number.MIN_VALUE. Actual: ' + (-Number.MIN_VALUE % Infinity)); >-} >- >-//CHECK#16 >-if (-Number.MIN_VALUE % Number.NEGATIVE_INFINITY !== -Number.MIN_VALUE) { >- testFailed('#16: -Number.MIN_VALUE % -Infinity === -Number.MIN_VALUE. Actual: ' + (-Number.MIN_VALUE % -Infinity)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt >deleted file mode 100644 >index cd7bd57a51c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6.html >deleted file mode 100644 >index 0cef2907ec9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6.html >+++ /dev/null >@@ -1,164 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A4_T6; >- * @section: 11.5.3; >- * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; >- * @description: If dividend is a zero and the divisor is nonzero finite, the result equals the dividend; >- */ >- >-//CHECK#1 >-if (0 % 1 !== 0) { >- testFailed('#1.1: 0 % 1 === 0. Actual: ' + (0 % 1)); >-} else { >- if (1 / (0 % 1) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: 0 % 1 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#2 >-if (0 % -1 !== 0) { >- testFailed('#2.1: 0 % -1 === 0. Actual: ' + (0 % -1)); >-} else { >- if (1 / (0 % -1) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: 0 % -1 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#3 >-if (-0 % 1 !== -0) { >- testFailed('#3.1: -0 % 1 === 0. Actual: ' + (-0 % 1)); >-} else { >- if (1 / (-0 % 1) !== Number.NEGATIVE_INFINITY) { >- testFailed('#3.2: -0 % 1 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#4 >-if (-0 % -1 !== -0) { >- testFailed('#4.1: -0 % -1 === 0. Actual: ' + (-0 % -1)); >-} else { >- if (1 / (-0 % -1) !== Number.NEGATIVE_INFINITY) { >- testFailed('#4.2: 0 % -1 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#5 >-if (0 % Number.MAX_VALUE !== 0) { >- testFailed('#5.1: 0 % Number.MAX_VALUE === 0. Actual: ' + (0 % Number.MAX_VALUE)); >-} else { >- if (1 / (0 % Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { >- testFailed('#5.2: 0 % Number.MAX_VALUE === + 0. Actual: -0'); >- } >-} >- >-//CHECK#6 >-if (0 % Number.MIN_VALUE !== 0) { >- testFailed('#6.1: 0 % Number.MIN_VALUE === 0. Actual: ' + (0 % Number.MIN_VALUE)); >-} else { >- if (1 / (0 % Number.MIN_VALUE) !== Number.POSITIVE_INFINITY) { >- testFailed('#6.2: 0 % Number.MIN_VALUE === + 0. Actual: -0'); >- } >-} >- >-//CHECK#7 >-if (-0 % Number.MAX_VALUE !== -0) { >- testFailed('#7.1: -0 % Number.MAX_VALUE === 0. Actual: ' + (-0 % Number.MAX_VALUE)); >-} else { >- if (1 / (-0 % Number.MAX_VALUE) !== Number.NEGATIVE_INFINITY) { >- testFailed('#7.2: -0 % Number.MAX_VALUE === - 0. Actual: +0'); >- } >-} >- >-//CHECK#8 >-if (-0 % Number.MIN_VALUE !== -0) { >- testFailed('#8.1: -0 % Number.MIN_VALUE === 0. Actual: ' + (-0 % Number.MIN_VALUE)); >-} else { >- if (1 / (-0 % Number.MIN_VALUE) !== Number.NEGATIVE_INFINITY) { >- testFailed('#8.2: 0 % Number.MIN_VALUE === - 0. Actual: +0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7-expected.txt >deleted file mode 100644 >index a90f55a96fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7.html >deleted file mode 100644 >index 43d0455e071..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7.html >+++ /dev/null >@@ -1,156 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.5.3_A4_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.5.3_A4_T7; >- * @section: 11.5.3, 15.8.2.9; >- * @assertion: The result of a ECMAScript floating-point remainder operation is determined by the rules of IEEE arithmetics; >- * @description: If operands neither an infinity, nor a zero, nor NaN, return x - truncate(x / y) * y; >- */ >- >-function truncate(x) { >- if (x > 0) { >- return Math.floor(x); >- } else { >- return Math.ceil(x); >- } >-} >- >-//CHECK#1 >-x = 1.3; >-y = 1.1; >-if (x % y !== 0.19999999999999996) { >- testFailed('#1: x = 1.3; y = 1.1; x % y === 0.19999999999999996. Actual: ' + (x % y)); >-} >- >-//CHECK#2 >-x = -1.3; >-y = 1.1; >-if (x % y !== -0.19999999999999996) { >- testFailed('#2: x = -1.3; y = 1.1; x % y === -0.19999999999999996. Actual: ' + (x % y)); >-} >- >-//CHECK#3 >-x = 1.3; >-y = -1.1; >-if (x % y !== 0.19999999999999996) { >- testFailed('#3: x = 1.3; y = -1.1; x % y === 0.19999999999999996. Actual: ' + (x % y)); >-} >- >-//CHECK#4 >-x = -1.3; >-y = -1.1; >-if (x % y !== -0.19999999999999996) { >- testFailed('#4: x = -1.3; y = -1.1; x % y === -0.19999999999999996. Actual: ' + (x % y)); >-} >- >-//CHECK#5 >-x = 1.3; >-y = 1.1; >-if (x % y !== x - truncate(x / y) * y) { >- testFailed('#5: x = 1.3; y = 1.1; x % y === x - truncate(x / y) * y. Actual: ' + (x % y)); >-} >- >-//CHECK#6 >-x = -1.3; >-y = 1.1; >-if (x % y !== x - truncate(x / y) * y) { >- testFailed('#6: x = -1.3; y = 1.1; x % y === x - truncate(x / y) * y. Actual: ' + (x % y)); >-} >- >-//CHECK#7 >-x = 1.3; >-y = -1.1; >-if (x % y !== x - truncate(x / y) * y) { >- testFailed('#7: x = 1.3; y = -1.1; x % y === x - truncate(x / y) * y. Actual: ' + (x % y)); >-} >- >-//CHECK#8 >-x = -1.3; >-y = -1.1; >-if (x % y !== x - truncate(x / y) * y) { >- testFailed('#8: x = -1.3; y = -1.1; x % y === x - truncate(x / y) * y. Actual: ' + (x % y)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1-expected.txt >deleted file mode 100644 >index dd3fc7eff74..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.html >deleted file mode 100644 >index 7639b930ee7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A1; >-* @section: 11.6.1, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between AdditiveExpression and "+" or between "+" and MultiplicativeExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009+\u00091") !== 2) { >- testFailed('#1: 1\\u0009+\\u00091 === 2'); >-} >- >-//CHECK#2 >-if (eval("1\u000B+\u000B1") !== 2) { >- testFailed('#2: 1\\u000B+\\u000B1 === 2'); >-} >- >-//CHECK#3 >-if (eval("1\u000C+\u000C1") !== 2) { >- testFailed('#3: 1\\u000C+\\u000C1 === 2'); >-} >- >-//CHECK#4 >-if (eval("1\u0020+\u00201") !== 2) { >- testFailed('#4: 1\\u0020+\\u00201 === 2'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0+\u00A01") !== 2) { >- testFailed('#5: 1\\u00A0+\\u00A01 === 2'); >-} >- >-//CHECK#6 >-if (eval("1\u000A+\u000A1") !== 2) { >- testFailed('#6: 1\\u000A+\\u000A1 === 2'); >-} >- >-//CHECK#7 >-if (eval("1\u000D+\u000D1") !== 2) { >- testFailed('#7: 1\\u000D+\\u000D1 === 2'); >-} >- >-//CHECK#8 >-if (eval("1\u2028+\u20281") !== 2) { >- testFailed('#8: 1\\u2028+\\u20281 === 2'); >-} >- >-//CHECK#9 >-if (eval("1\u2029+\u20291") !== 2) { >- testFailed('#9: 1\\u2029+\\u20291 === 2'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029+\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 2) { >- testFailed('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029+\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 2'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1-expected.txt >deleted file mode 100644 >index 7b61b4ddbc2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.html >deleted file mode 100644 >index 086816552fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A2.1_T1; >-* @section: 11.6.1; >-* @assertion: Operator x + y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 + 1 !== 2) { >- testFailed('#1: 1 + 1 === 2. Actual: ' + (1 + 1)); >-} >- >-//CHECK#2 >-var x = 1; >-if (x + 1 !== 2) { >- testFailed('#2: var x = 1; x + 1 === 2. Actual: ' + (x + 1)); >-} >- >-//CHECK#3 >-var y = 1; >-if (1 + y !== 2) { >- testFailed('#3: var y = 1; 1 + y === 2. Actual: ' + (1 + y)); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if (x + y !== 2) { >- testFailed('#4: var x = 1; var y = 1; x + y === 2. Actual: ' + (x + y)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if (objectx.prop + objecty.prop !== 2) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop + objecty.prop === 2. Actual: ' + (objectx.prop + objecty.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2-expected.txt >deleted file mode 100644 >index bf94dfd2b70..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.html >deleted file mode 100644 >index 11221c08c8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A2.1_T2; >- * @section: 11.6.1; >- * @assertion: Operator x + y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x + 1; >- testFailed('#1.1: x + 1 throw ReferenceError. Actual: ' + (x + 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x + 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3-expected.txt >deleted file mode 100644 >index a9e4c4174f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.html >deleted file mode 100644 >index 9865393746c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A2.1_T3; >- * @section: 11.6.1; >- * @assertion: Operator x + y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 + y; >- testFailed('#1.1: 1 + y throw ReferenceError. Actual: ' + (1 + y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 + y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1-expected.txt >deleted file mode 100644 >index b4b30c4c0a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.html >deleted file mode 100644 >index 3aa24a8f9b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A2.2_T1; >- * @section: 11.6.1, 8.6.2.6; >- * @assertion: Operator x + y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 1}} + 1 !== 2) { >- testFailed('#1: {valueOf: function() {return 1}} + 1 === 2. Actual: ' + ({valueOf: function() {return 1}} + 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 1}, toString: function() {return 0}} + 1 !== 2) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 0}} + 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} + 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 1}, toString: function() {return {}}} + 1 !== 2) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} + 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} + 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 1}, toString: function() {throw "error"}} + 1 !== 2) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} + 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} + 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} + 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} + 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 + {toString: function() {return 1}} !== 2) { >- testFailed('#5: 1 + {toString: function() {return 1}} === 2. Actual: ' + (1 + {toString: function() {return 1}})); >-} >- >-//CHECK#6 >-if (1 + {valueOf: function() {return {}}, toString: function() {return 1}} !== 2) { >- testFailed('#6: 1 + {valueOf: function() {return {}}, toString: function() {return 1}} === 2. Actual: ' + (1 + {valueOf: function() {return {}}, toString: function() {return 1}})); >-} >- >-//CHECK#7 >-try { >- 1 + {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: 1 + {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 + {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 + {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 + {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 + {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 + {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 + {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2-expected.txt >deleted file mode 100644 >index fbbafea9fd1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.html >deleted file mode 100644 >index 86d7f968975..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A2.2_T2; >-* @section: 11.6.1, 8.6.2.6; >- * @assertion: Operator x + y uses [[Default Value]]; >- * @description: If Type(value) is Date object, evaluate ToPrimitive(value, String); >- */ >- >-//CHECK#1 >-var date = new Date(); >-if (date + date !== date.toString() + date.toString()) { >- testFailed('#1: var date = new Date(); date + date === date.toString() + date.toString(). Actual: ' + (date + date)); >-} >- >-//CHECK#2 >-var date = new Date(); >-if (date + 0 !== date.toString() + "0") { >- testFailed('#2: var date = new Date(); date + 0 === date.toString() + "0". Actual: ' + (date + 0)); >-} >- >-//CHECK#3 >-var date = new Date(); >-if (date + true !== date.toString() + "true") { >- testFailed('#3: var date = new Date(); date + true === date.toString() + "true". Actual: ' + (date + true)); >-} >- >-//CHECK#4 >-var date = new Date(); >-if (date + new Object() !== date.toString() + "[object Object]") { >- testFailed('#4: var date = new Date(); date + new Object() === date.toString() + "[object Object]". Actual: ' + (date + new Object())); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3-expected.txt >deleted file mode 100644 >index 7a6b2e28db9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.html >deleted file mode 100644 >index 017b916de95..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A2.2_T3; >- * @section: 11.6.1, 8.6.2.6; >- * @assertion: Operator x + y uses [[Default Value]]; >- * @description: If Type(value) is Function, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-function f1(){ >- return 0; >-} >-if (f1 + 1 !== f1.toString() + 1) { >- testFailed('#1: function f1() {return 0;}; f1 + 1 === f1.toString() + 1'); >-} >- >-//CHECK#2 >-function f2(){ >- return 0; >-} >-f2.valueOf = function() {return 1;}; >-if (1 + f2 !== 1 + 1) { >- testFailed('#2: f1unction f2() {return 0;} f2.valueOf = function() {return 1;}; 1 + f2 === 1 + 1. Actual: ' + (1 + f2)); >-} >- >-//CHECK#3 >-function f3(){ >- return 0; >-} >-f3.toString = function() {return 1;}; >-if (1 + f3 !== 1 + 1) { >- testFailed('#3: f1unction f3() {return 0;} f3.toString() = function() {return 1;}; 1 + f3 === 1 + 1. Actual: ' + (1 + f3)); >-} >- >-//CHECK#4 >-function f4(){ >- return 0; >-} >-f4.valueOf = function() {return -1;}; >-f4.toString = function() {return 1;}; >-if (f4 + 1 !== 1 - 1) { >- testFailed('#4: f1unction f4() {return 0;}; f2.valueOf = function() {return -1;}; f4.toString() = function() {return 1;}; f4 + 1 === 1 - 1. Actual: ' + (f4 + 1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1-expected.txt >deleted file mode 100644 >index a3d782d9b1f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.html >deleted file mode 100644 >index d312a0101b9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A2.3_T1; >- * @section: 11.6.1; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x + y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x + y throw "x". Actual: ' + (x + y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x + y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1-expected.txt >deleted file mode 100644 >index 2f87221e784..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.html >deleted file mode 100644 >index de7e8b26b18..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A2.4_T1; >- * @section: 11.6.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) + x !== 2) { >- testFailed('#1: var x = 0; (x = 1) + x === 2. Actual: ' + ((x = 1) + x)); >-} >- >-//CHECK#2 >-var x = 0; >-if (x + (x = 1) !== 1) { >- testFailed('#2: var x = 0; x + (x = 1) === 1. Actual: ' + (x + (x = 1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2-expected.txt >deleted file mode 100644 >index 61ac81de58b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.html >deleted file mode 100644 >index f7d438d6049..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A2.4_T2; >- * @section: 11.6.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() + y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() + y() throw "x". Actual: ' + (x() + y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() + y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3-expected.txt >deleted file mode 100644 >index 025524a6e66..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.html >deleted file mode 100644 >index 35cc075dbe9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A2.4_T3; >- * @section: 11.6.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x + (x = 1); >- testFailed('#1.1: x + (x = 1) throw ReferenceError. Actual: ' + (x + (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x + (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) + y !== 2) { >- testFailed('#2: (y = 1) + y === 2. Actual: ' + ((y = 1) + y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1-expected.txt >deleted file mode 100644 >index 9df9a6e9195..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.html >deleted file mode 100644 >index 0505f7043cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.1_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.1_T1.1; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true + true !== 2) { >- testFailed('#1: true + true === 2. Actual: ' + (true + true)); >-} >- >-//CHECK#2 >-if (new Boolean(true) + true !== 2) { >- testFailed('#2: new Boolean(true) + true === 2. Actual: ' + (new Boolean(true) + true)); >-} >- >-//CHECK#3 >-if (true + new Boolean(true) !== 2) { >- testFailed('#3: true + new Boolean(true) === 2. Actual: ' + (true + new Boolean(true))); >-} >- >-//CHECK#4 >-if (new Boolean(true) + new Boolean(true) !== 2) { >- testFailed('#4: new Boolean(true) + new Boolean(true) === 2. Actual: ' + (new Boolean(true) + new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2-expected.txt >deleted file mode 100644 >index 552edd04c9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.html >deleted file mode 100644 >index 27792bc8f18..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.1_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.1_T1.2; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 + 1 !== 2) { >- testFailed('#1: 1 + 1 === 2. Actual: ' + (1 + 1)); >-} >- >-//CHECK#2 >-if (new Number(1) + 1 !== 2) { >- testFailed('#2: new Number(1) + 1 === 2. Actual: ' + (new Number(1) + 1)); >-} >- >-//CHECK#3 >-if (1 + new Number(1) !== 2) { >- testFailed('#3: 1 + new Number(1) === 2. Actual: ' + (1 + new Number(1))); >-} >- >-//CHECK#4 >-if (new Number(1) + new Number(1) !== 2) { >- testFailed('#4: new Number(1) + new Number(1) === 2. Actual: ' + (new Number(1) + new Number(1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3-expected.txt >deleted file mode 100644 >index e03b51243e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.html >deleted file mode 100644 >index 2d2138271e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.1_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.1_T1.3; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(null + undefined) !== true) { >- testFailed('#1: null + undefined === Not-a-Number. Actual: ' + (null + undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined + null) !== true) { >- testFailed('#2: undefined + null === Not-a-Number. Actual: ' + (undefined + null)); >-} >- >-//CHECK#3 >-if (isNaN(undefined + undefined) !== true) { >- testFailed('#3: undefined + undefined === Not-a-Number. Actual: ' + (undefined + undefined)); >-} >- >-//CHECK#4 >-if (null + null !== 0) { >- testFailed('#4: null + null === 0. Actual: ' + (null + null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1-expected.txt >deleted file mode 100644 >index 3e2e2d79a27..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.html >deleted file mode 100644 >index 3a7a6cd197d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.1_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.1_T2.1; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) or Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true + 1 !== 2) { >- testFailed('#1: true + 1 === 2. Actual: ' + (true + 1)); >-} >- >-//CHECK#2 >-if (1 + true !== 2) { >- testFailed('#2: 1 + true === 2. Actual: ' + (1 + true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) + 1 !== 2) { >- testFailed('#3: new Boolean(true) + 1 === 2. Actual: ' + (new Boolean(true) + 1)); >-} >- >-//CHECK#4 >-if (1 + new Boolean(true) !== 2) { >- testFailed('#4: 1 + new Boolean(true) === 2. Actual: ' + (1 + new Boolean(true))); >-} >- >-//CHECK#5 >-if (true + new Number(1) !== 2) { >- testFailed('#5: true + new Number(1) === 2. Actual: ' + (true + new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) + true !== 2) { >- testFailed('#6: new Number(1) + true === 2. Actual: ' + (new Number(1) + true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) + new Number(1) !== 2) { >- testFailed('#7: new Boolean(true) + new Number(1) === 2. Actual: ' + (new Boolean(true) + new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) + new Boolean(true) !== 2) { >- testFailed('#8: new Number(1) + new Boolean(true) === 2. Actual: ' + (new Number(1) + new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2-expected.txt >deleted file mode 100644 >index 0438b408707..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.html >deleted file mode 100644 >index 7768c6a6668..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.1_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.1_T2.2; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 + null !== 1) { >- testFailed('#1: 1 + null === 1. Actual: ' + (1 + null)); >-} >- >-//CHECK#2 >-if (null + 1 !== 1) { >- testFailed('#2: null + 1 === 1. Actual: ' + (null + 1)); >-} >- >-//CHECK#3 >-if (new Number(1) + null !== 1) { >- testFailed('#3: new Number(1) + null === 1. Actual: ' + (new Number(1) + null)); >-} >- >-//CHECK#4 >-if (null + new Number(1) !== 1) { >- testFailed('#4: null + new Number(1) === 1. Actual: ' + (null + new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3-expected.txt >deleted file mode 100644 >index 1005073872d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.html >deleted file mode 100644 >index da5dcdeca34..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.1_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.1_T2.3; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(1 + undefined) !== true) { >- testFailed('#1: 1 + undefined === Not-a-Number. Actual: ' + (1 + undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined + 1) !== true) { >- testFailed('#2: undefined + 1 === Not-a-Number. Actual: ' + (undefined + 1)); >-} >- >-//CHECK#3 >-if (isNaN(new Number(1) + undefined) !== true) { >- testFailed('#3: new Number(1) + undefined === Not-a-Number. Actual: ' + (new Number(1) + undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined + new Number(1)) !== true) { >- testFailed('#4: undefined + new Number(1) === Not-a-Number. Actual: ' + (undefined + new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4-expected.txt >deleted file mode 100644 >index 0c6ac40aab6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.html >deleted file mode 100644 >index 5af4d6c3701..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.1_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.1_T2.4; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(true + undefined) !== true) { >- testFailed('#1: true + undefined === Not-a-Number. Actual: ' + (true + undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined + true) !== true) { >- testFailed('#2: undefined + true === Not-a-Number. Actual: ' + (undefined + true)); >-} >- >-//CHECK#3 >-if (isNaN(new Boolean(true) + undefined) !== true) { >- testFailed('#3: new Boolean(true) + undefined === Not-a-Number. Actual: ' + (new Boolean(true) + undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined + new Boolean(true)) !== true) { >- testFailed('#4: undefined + new Boolean(true) === Not-a-Number. Actual: ' + (undefined + new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5-expected.txt >deleted file mode 100644 >index a782e93b192..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.html >deleted file mode 100644 >index 35cfa0a90ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.1_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.1_T2.5; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is not String and Type(Primitive(y)) is not String, then operator x + y returns ToNumber(x) + ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true + null !== 1) { >- testFailed('#1: true + null === 1. Actual: ' + (true + null)); >-} >- >-//CHECK#2 >-if (null + true !== 1) { >- testFailed('#2: null + true === 1. Actual: ' + (null + true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) + null !== 1) { >- testFailed('#3: new Boolean(true) + null === 1. Actual: ' + (new Boolean(true) + null)); >-} >- >-//CHECK#4 >-if (null + new Boolean(true) !== 1) { >- testFailed('#4: null + new Boolean(true) === 1. Actual: ' + (null + new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1-expected.txt >deleted file mode 100644 >index 8a756748594..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.html >deleted file mode 100644 >index 2722af75062..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.2_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.2_T1.1; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" + "1" !== "11") { >- testFailed('#1: "1" + "1" === "11". Actual: ' + ("1" + "1")); >-} >- >-//CHECK#2 >-if (new String("1") + "1" !== "11") { >- testFailed('#2: new String("1") + "1" === "11". Actual: ' + (new String("1") + "1")); >-} >- >-//CHECK#3 >-if ("1" + new String("1") !== "11") { >- testFailed('#3: "1" + new String("1") === "11". Actual: ' + ("1" + new String("1"))); >-} >- >-//CHECK#4 >-if (new String("1") + new String("1") !== "11") { >- testFailed('#4: new String("1") + new String("1") === "11". Actual: ' + (new String("1") + new String("1"))); >-} >- >-//CHECK#5 >-if ("x" + "1" !=="x1") { >- testFailed('#5: "x" + "1" === "x1". Actual: ' + ("x" + "1")); >-} >- >-//CHECK#6 >-if ("1" + "x" !== "1x") { >- testFailed('#6: "1" + "x" === "1x". Actual: ' + ("1" + "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2-expected.txt >deleted file mode 100644 >index 4465ab4083a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.html >deleted file mode 100644 >index 3dde786f90d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.2_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.2_T1.2; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} + function(){return 1}) !== ({}.toString() + function(){return 1}.toString())) { >- testFailed('#1: ({} + function(){return 1}) === ({}.toString() + function(){return 1}.toString()). Actual: ' + (({} + function(){return 1}))); >-} >- >-//CHECK#2 >-if ((function(){return 1} + {}) !== (function(){return 1}.toString() + {}.toString())) { >- testFailed('#2: (function(){return 1} + {}) === (function(){return 1}.toString() + {}.toString()). Actual: ' + ((function(){return 1} + {}))); >-} >- >-//CHECK#3 >-if ((function(){return 1} + function(){return 1}) !== (function(){return 1}.toString() + function(){return 1}.toString())) { >- testFailed('#3: (function(){return 1} + function(){return 1}) === (function(){return 1}.toString() + function(){return 1}.toString()). Actual: ' + ((function(){return 1} + function(){return 1}))); >-} >- >-//CHECK#4 >-if (({} + {}) !== ({}.toString() + {}.toString())) { >- testFailed('#4: ({} + {}) === ({}.toString() + {}.toString()). Actual: ' + (({} + {}))); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1-expected.txt >deleted file mode 100644 >index af7def5bfff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.html >deleted file mode 100644 >index fba9f901333..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.2_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.2_T2.1; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" + 1 !== "11") { >- testFailed('#1: "1" + 1 === "11". Actual: ' + ("1" + 1)); >-} >- >-//CHECK#2 >-if (1 + "1" !== "11") { >- testFailed('#2: 1 + "1" === "11". Actual: ' + (1 + "1")); >-} >- >-//CHECK#3 >-if (new String("1") + 1 !== "11") { >- testFailed('#3: new String("1") + 1 === "11". Actual: ' + (new String("1") + 1)); >-} >- >-//CHECK#4 >-if (1 + new String("1") !== "11") { >- testFailed('#4: 1 + new String("1") === "11". Actual: ' + (1 + new String("1"))); >-} >- >-//CHECK#5 >-if ("1" + new Number(1) !== "11") { >- testFailed('#5: "1" + new Number(1) === "11". Actual: ' + ("1" + new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) + "1" !== "11") { >- testFailed('#6: new Number(1) + "1" === "11". Actual: ' + (new Number(1) + "1")); >-} >- >-//CHECK#7 >-if (new String("1") + new Number(1) !== "11") { >- testFailed('#7: new String("1") + new Number(1) === "11". Actual: ' + (new String("1") + new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) + new String("1") !== "11") { >- testFailed('#8: new Number(1) + new String("1") === "11". Actual: ' + (new Number(1) + new String("1"))); >-} >- >-//CHECK#9 >-if ("x" + 1 !=="x1") { >- testFailed('#9: "x" + 1 === "x1". Actual: ' + ("x" + 1)); >-} >- >-//CHECK#10 >-if (1 + "x" !== "1x") { >- testFailed('#10: 1 + "x" === "1x". Actual: ' + (1 + "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2-expected.txt >deleted file mode 100644 >index 0e7f5d900fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.html >deleted file mode 100644 >index 8f37470ee6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.2_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.2_T2.2; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true + "1" !== "true1") { >- testFailed('#1: true + "1" === "true1". Actual: ' + (true + "1")); >-} >- >-//CHECK#2 >-if ("1" + true !== "1true") { >- testFailed('#2: "1" + true === "1true". Actual: ' + ("1" + true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) + "1" !== "true1") { >- testFailed('#3: new Boolean(true) + "1" === "true1". Actual: ' + (new Boolean(true) + "1")); >-} >- >-//CHECK#4 >-if ("1" + new Boolean(true) !== "1true") { >- testFailed('#4: "1" + new Boolean(true) === "1true". Actual: ' + ("1" + new Boolean(true))); >-} >- >-//CHECK#5 >-if (true + new String("1") !== "true1") { >- testFailed('#5: true + new String("1") === "true1". Actual: ' + (true + new String("1"))); >-} >- >-//CHECK#6 >-if (new String("1") + true !== "1true") { >- testFailed('#6: new String("1") + true === "1true". Actual: ' + (new String("1") + true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) + new String("1") !== "true1") { >- testFailed('#7: new Boolean(true) + new String("1") === "true1". Actual: ' + (new Boolean(true) + new String("1"))); >-} >- >-//CHECK#8 >-if (new String("1") + new Boolean(true) !== "1true") { >- testFailed('#8: new String("1") + new Boolean(true) === "1true". Actual: ' + (new String("1") + new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3-expected.txt >deleted file mode 100644 >index 36e30d0d180..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.html >deleted file mode 100644 >index f69a1ba531c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.2_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.2_T2.3; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ("1" + undefined !== "1undefined") { >- testFailed('#1: "1" + undefined === "1undefined". Actual: ' + ("1" + undefined)); >-} >- >-//CHECK#2 >-if (undefined + "1" !== "undefined1") { >- testFailed('#2: undefined + "1" === "undefined1". Actual: ' + (undefined + "1")); >-} >- >-//CHECK#3 >-if (new String("1") + undefined !== "1undefined") { >- testFailed('#3: new String("1") + undefined === "1undefined". Actual: ' + (new String("1") + undefined)); >-} >- >-//CHECK#4 >-if (undefined + new String("1") !== "undefined1") { >- testFailed('#4: undefined + new String("1") === "undefined1". Actual: ' + (undefined + new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4-expected.txt >deleted file mode 100644 >index 243b72e525f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.html >deleted file mode 100644 >index 421d386a919..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A3.2_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A3.2_T2.4; >- * @section: 11.6.1; >- * @assertion: If Type(Primitive(x)) is String or Type(Primitive(y)) is String, then operator x + y returns the result of concatenating ToString(x) followed by ToString(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" + null !== "1null") { >- testFailed('#1: "1" + null === "1null". Actual: ' + ("1" + null)); >-} >- >-//CHECK#2 >-if (null + "1" !== "null1") { >- testFailed('#2: null + "1" === "null1". Actual: ' + (null + "1")); >-} >- >-//CHECK#3 >-if (new String("1") + null !== "1null") { >- testFailed('#3: new String("1") + null === "1null". Actual: ' + (new String("1") + null)); >-} >- >-//CHECK#4 >-if (null + new String("1") !== "null1") { >- testFailed('#4: null + new String("1") === "null1". Actual: ' + (null + new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1-expected.txt >deleted file mode 100644 >index 8cca4ee7e4d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.html >deleted file mode 100644 >index 878f0e298da..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A4_T1; >-* @section: 11.6.1, 11.6.3; >-* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >-* @description: If either operand is NaN, the result is NaN; >-*/ >- >-//CHECK#1 >-if (isNaN(Number.NaN + 1) !== true ) { >- testFailed('#1: NaN + 1 === Not-a-Number. Actual: ' + (NaN + 1)); >-} >- >-//CHECK#2 >-if (isNaN(1 + Number.NaN) !== true ) { >- testFailed('#2: 1 + NaN === Not-a-Number. Actual: ' + (1 + NaN)); >-} >- >-//CHECK#3 >-if (isNaN(Number.NaN + Number.POSITIVE_INFINITY) !== true ) { >- testFailed('#3: NaN + Infinity === Not-a-Number. Actual: ' + (NaN + Infinity)); >-} >- >-//CHECK#4 >-if (isNaN(Number.POSITIVE_INFINITY + Number.NaN) !== true ) { >- testFailed('#4: Infinity + NaN === Not-a-Number. Actual: ' + (Infinity + NaN)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NaN + Number.NEGATIVE_INFINITY) !== true ) { >- testFailed('#5: NaN + Infinity === Not-a-Number. Actual: ' + (NaN + Infinity)); >-} >- >-//CHECK#6 >-if (isNaN(Number.NEGATIVE_INFINITY + Number.NaN) !== true ) { >- testFailed('#6: Infinity + NaN === Not-a-Number. Actual: ' + (Infinity + NaN)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2-expected.txt >deleted file mode 100644 >index 29e42d31c18..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.html >deleted file mode 100644 >index 9a8ce0b7fe3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A4_T2; >-* @section: 11.6.1, 11.6.3; >-* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >-* @description: The sum of two infinities of opposite sign is NaN; >-*/ >- >-//CHECK#1 >-if (isNaN(Number.POSITIVE_INFINITY + Number.NEGATIVE_INFINITY) !== true ) { >- testFailed('#1: Infinity + -Infinity === Not-a-Number. Actual: ' + (Infinity + -Infinity)); >-} >- >-//CHECK#2 >-if (isNaN(Number.NEGATIVE_INFINITY + Number.POSITIVE_INFINITY) !== true ) { >- testFailed('#2: -Infinity + Infinity === Not-a-Number. Actual: ' + (-Infinity + Infinity)); >-} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3-expected.txt >deleted file mode 100644 >index 6a9e46d46f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.html >deleted file mode 100644 >index 429d17a35ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A4_T3; >-* @section: 11.6.1, 11.6.3; >-* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >-* @description: The sum of two infinities of the same sign is the infinity of that sign; >-*/ >- >-//CHECK#1 >-if (Number.POSITIVE_INFINITY + Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY ) { >- testFailed('#1: Infinity + Infinity === Infinity. Actual: ' + (Infinity + Infinity)); >-} >- >-//CHECK#2 >-if (Number.NEGATIVE_INFINITY + Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { >- testFailed('#2: -Infinity + -Infinity === -Infinity. Actual: ' + (-Infinity + -Infinity)); >-} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4-expected.txt >deleted file mode 100644 >index a3e8bd95004..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.html >deleted file mode 100644 >index c2df794aded..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A4_T4; >-* @section: 11.6.1, 11.6.3; >-* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >-* @description: The sum of an infinity and a finite value is equal to the infinite operand; >-*/ >- >-//CHECK#1 >-if (Number.POSITIVE_INFINITY + 1 !== Number.POSITIVE_INFINITY ) { >- testFailed('#1: Infinity + 1 === Infinity. Actual: ' + (Infinity + 1)); >-} >- >-//CHECK#2 >-if (-1 + Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY ) { >- testFailed('#2: -1 + Infinity === Infinity. Actual: ' + (-1 + Infinity)); >-} >- >-//CHECK#3 >-if (Number.NEGATIVE_INFINITY + 1 !== Number.NEGATIVE_INFINITY ) { >- testFailed('#3: -Infinity + 1 === -Infinity. Actual: ' + (-Infinity + 1)); >-} >- >-//CHECK#4 >-if (-1 + Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { >- testFailed('#4: -1 + -Infinity === -Infinity. Actual: ' + (-1 + -Infinity)); >-} >- >-//CHECK#5 >-if (Number.POSITIVE_INFINITY + Number.MAX_VALUE !== Number.POSITIVE_INFINITY ) { >- testFailed('#5: Infinity + Number.MAX_VALUE === Infinity. Actual: ' + (Infinity + Number.MAX_VALUE)); >-} >- >-//CHECK#6 >-if (-Number.MAX_VALUE + Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY ) { >- testFailed('#6: -Number.MAX_VALUE + Infinity === Infinity. Actual: ' + (-Number.MAX_VALUE + Infinity)); >-} >- >-//CHECK#7 >-if (Number.NEGATIVE_INFINITY + Number.MAX_VALUE !== Number.NEGATIVE_INFINITY ) { >- testFailed('#7: -Infinity + Number.MAX_VALUE === -Infinity. Actual: ' + (-Infinity + Number.MAX_VALUE)); >-} >- >-//CHECK#8 >-if (-Number.MAX_VALUE + Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { >- testFailed('#8: -Number.MAX_VALUE + -Infinity === -Infinity. Actual: ' + (-Number.MAX_VALUE + -Infinity)); >-} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5-expected.txt >deleted file mode 100644 >index 78833e3aff6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.html >deleted file mode 100644 >index e8acf5bba57..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A4_T5; >-* @section: 11.6.1, 11.6.3; >-* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >-* @description: The sum of two negative zeros is -0. The sum of two positive zeros, or of two zeros of opposite sign is +0; >-*/ >- >-//CHECK#1 >-if (-0 + -0 !== -0 ) { >- testFailed('#1.1: -0 + -0 === 0. Actual: ' + (-0 + -0)); >-} else { >- if (1 / (-0 + -0) !== Number.NEGATIVE_INFINITY) { >- testFailed('#1.1: -0 + -0 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#2 >-if (0 + -0 !== 0 ) { >- testFailed('#2.1: 0 + -0 === 0. Actual: ' + (0 + -0)); >-} else { >- if (1 / (0 + -0) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: 0 + -0 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#3 >-if (-0 + 0 !== 0 ) { >- testFailed('#3.1: -0 + 0 === 0. Actual: ' + (-0 + 0)); >-} else { >- if (1 / (-0 + 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#3.2: -0 + 0 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#4 >-if (0 + 0 !== 0 ) { >- testFailed('#4.1: 0 + 0 === 0. Actual: ' + (0 + 0)); >-} else { >- if (1 / (0 + 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#4.2: 0 + 0 === + 0. Actual: -0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6-expected.txt >deleted file mode 100644 >index 1a99723895c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.html >deleted file mode 100644 >index 5f9ed8b69bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A4_T6; >-* @section: 11.6.1, 11.6.3; >-* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >-* @description: The sum of a zero and a nonzero finite value is equal to the nonzero operand; >-*/ >- >-//CHECK#1 >-if (1 + -0 !== 1 ) { >- testFailed('#1: 1 + -0 === 1. Actual: ' + (1 + -0)); >-} >- >-//CHECK#2 >-if (1 + 0 !== 1 ) { >- testFailed('#2: 1 + 0 === 1. Actual: ' + (1 + 0)); >-} >- >-//CHECK#3 >-if (-0 + 1 !== 1 ) { >- testFailed('#3: -0 + 1 === 1. Actual: ' + (-0 + 1)); >-} >- >-//CHECK#4 >-if (0 + 1 !== 1 ) { >- testFailed('#4: 0 + 1 === 1. Actual: ' + (0 + 1)); >-} >- >-//CHECK#5 >-if (Number.MAX_VALUE + -0 !== Number.MAX_VALUE ) { >- testFailed('#5: Number.MAX_VALUE + -0 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE + -0)); >-} >- >-//CHECK#6 >-if (Number.MAX_VALUE + 0 !== Number.MAX_VALUE ) { >- testFailed('#6: Number.MAX_VALUE + 0 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE + 0)); >-} >- >-//CHECK#7 >-if (-0 + Number.MIN_VALUE !== Number.MIN_VALUE ) { >- testFailed('#7: -0 + Number.MIN_VALUE === Number.MIN_VALUE. Actual: ' + (-0 + Number.MIN_VALUE)); >-} >- >-//CHECK#8 >-if (0 + Number.MIN_VALUE !== Number.MIN_VALUE ) { >- testFailed('#8: 0 + Number.MIN_VALUE === Number.MIN_VALUE. Actual: ' + (0 + Number.MIN_VALUE)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7-expected.txt >deleted file mode 100644 >index 67ec92bfbe1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.html >deleted file mode 100644 >index e4e9c1c1d38..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A4_T7; >-* @section: 11.6.1, 11.6.3; >-* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >-* @description: The sum of two nonzero finite values of the same magnitude and opposite sign is +0; >-*/ >- >-//CHECK#1 >-if (-Number.MIN_VALUE + Number.MIN_VALUE !== +0) { >- testFailed('#1.1: -Number.MIN_VALUE + Number.MIN_VALUE === 0. Actual: ' + (-Number.MIN_VALUE + Number.MIN_VALUE)); >-} else { >- if (1 / (-Number.MIN_VALUE + Number.MIN_VALUE) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: -Number.MIN_VALUE + Number.MIN_VALUE === + 0. Actual: -0'); >- } >-} >- >-//CHECK#2 >-if (-Number.MAX_VALUE + Number.MAX_VALUE !== +0) { >- testFailed('#2.1: -Number.MAX_VALUE + Number.MAX_VALUE === 0. Actual: ' + (-Number.MAX_VALUE + Number.MAX_VALUE)); >-} else { >- if (1 / (-Number.MAX_VALUE + Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: -Number.MAX_VALUE + Number.MAX_VALUE === + 0. Actual: -0'); >- } >-} >- >-//CHECK#3 >-if (-1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE !== +0) { >- testFailed('#3.1: -1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE === 0. Actual: ' + (-1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE)); >-} else { >- if (1 / (-1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { >- testFailed('#3.2: -1 / Number.MAX_VALUE + 1 / Number.MAX_VALUE === + 0. Actual: -0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8-expected.txt >deleted file mode 100644 >index 1fe6967ccc5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.html >deleted file mode 100644 >index c6c3b77313b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.1_A4_T8; >-* @section: 11.6.1, 11.6.3; >-* @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >-* @description: If the magnitude is too large to represent, the operation overflows and the result is then an infinity of appropriate sign; >-*/ >- >-//CHECK#1 >-if (Number.MAX_VALUE + Number.MAX_VALUE !== Number.POSITIVE_INFINITY) { >- testFailed('#1: Number.MAX_VALUE + Number.MAX_VALUE === Number.POSITIVE_INFINITY. Actual: ' + (Number.MAX_VALUE + Number.MAX_VALUE)); >-} >- >-//CHECK#2 >-if (-Number.MAX_VALUE - Number.MAX_VALUE !== Number.NEGATIVE_INFINITY) { >- testFailed('#2: -Number.MAX_VALUE - Number.MAX_VALUE === Number.NEGATIVE_INFINITY. Actual: ' + (-Number.MAX_VALUE - Number.MAX_VALUE)); >-} >- >-//CHECK#3 >-if (1e+308 + 1e+308 !== Number.POSITIVE_INFINITY) { >- testFailed('#3: 1e+308 + 1e+308 === Number.POSITIVE_INFINITY. Actual: ' + (1e+308 + 1e+308)); >-} >- >-//CHECK#4 >-if (-8.99e+307 - 8.99e+307 !== Number.NEGATIVE_INFINITY) { >- testFailed('#4: -8.99e+307 - 8.99e+307 === Number.NEGATIVE_INFINITY. Actual: ' + (-8.99e+307 - 8.99e+307)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9-expected.txt >deleted file mode 100644 >index 0f043289fe2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.html >deleted file mode 100644 >index e9c2dac86b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.1_A4_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.1_A4_T9; >- * @section: 11.6.1, 11.6.3; >- * @assertion: The result of an addition is determined using the rules of IEEE 754 double-precision arithmetics; >- * @description: The addition operator is not always associative ( x + y + z is the same (x + y) + z, not x + (y + z)); >-*/ >- >-//CHECK#1 >-if (-Number.MAX_VALUE + Number.MAX_VALUE + Number.MAX_VALUE !== (-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE) { >- testFailed('#1: -Number.MAX_VALUE + Number.MAX_VALUE + Number.MAX_VALUE === (-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE. Actual: ' + (-Number.MAX_VALUE + Number.MAX_VALUE + Number.MAX_VALUE)); >-} >- >-//CHECK#2 >-if ((-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE === -Number.MAX_VALUE + (Number.MAX_VALUE + Number.MAX_VALUE)) { >- testFailed('#2: (-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE === -Number.MAX_VALUE + (Number.MAX_VALUE + Number.MAX_VALUE). Actual: ' + ((-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE)); >-} >- >-//CHECK#3 >-if ("1" + 1 + 1 !== ("1" + 1) + 1) { >- testFailed('#3: "1" + 1 + 1 === ("1" + 1) + 1. Actual: ' + ("1" + 1 + 1)); >-} >- >-//CHECK#4 >-if (("1" + 1) + 1 === "1" + (1 + 1)) { >- testFailed('#4: ("1" + 1) + 1 !== "1" + (1 + 1)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1-expected.txt >deleted file mode 100644 >index 71ae754ce32..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.html >deleted file mode 100644 >index 6fe17345d0e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A1; >-* @section: 11.6.2, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between AdditiveExpression and "-" or between "-" and MultiplicativeExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009-\u00091") !== 0) { >- testFailed('#1: 1\\u0009-\\u00091 === 0'); >-} >- >-//CHECK#2 >-if (eval("1\u000B-\u000B1") !== 0) { >- testFailed('#2: 1\\u000B-\\u000B1 === 0'); >-} >- >-//CHECK#3 >-if (eval("1\u000C-\u000C1") !== 0) { >- testFailed('#3: 1\\u000C-\\u000C1 === 0'); >-} >- >-//CHECK#4 >-if (eval("1\u0020-\u00201") !== 0) { >- testFailed('#4: 1\\u0020-\\u00201 === 0'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0-\u00A01") !== 0) { >- testFailed('#5: 1\\u00A0-\\u00A01 === 0'); >-} >- >-//CHECK#6 >-if (eval("1\u000A-\u000A1") !== 0) { >- testFailed('#6: 1\\u000A-\\u000A1 === 0'); >-} >- >-//CHECK#7 >-if (eval("1\u000D-\u000D1") !== 0) { >- testFailed('#7: 1\\u000D-\\u000D1 === 0'); >-} >- >-//CHECK#8 >-if (eval("1\u2028-\u20281") !== 0) { >- testFailed('#8: 1\\u2028-\\u20281 === 0'); >-} >- >-//CHECK#9 >-if (eval("1\u2029-\u20291") !== 0) { >- testFailed('#9: 1\\u2029-\\u20291 === 0'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029-\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 0) { >- testFailed('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029-\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1-expected.txt >deleted file mode 100644 >index 11337b9889d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.html >deleted file mode 100644 >index d07bbcbc65c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A2.1_T1; >-* @section: 11.6.2; >-* @assertion: Operator x - y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 - 1 !== 0) { >- testFailed('#1: 1 - 1 === 0. Actual: ' + (1 - 1)); >-} >- >-//CHECK#2 >-var x = 1; >-if (x - 1 !== 0) { >- testFailed('#2: var x = 1; x - 1 === 0. Actual: ' + (x - 1)); >-} >- >-//CHECK#3 >-var y = 1; >-if (1 - y !== 0) { >- testFailed('#3: var y = 1; 1 - y === 0. Actual: ' + (1 - y)); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if (x - y !== 0) { >- testFailed('#4: var x = 1; var y = 1; x - y === 0. Actual: ' + (x - y)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if (objectx.prop - objecty.prop !== 0) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop - objecty.prop === 0. Actual: ' + (objectx.prop - objecty.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2-expected.txt >deleted file mode 100644 >index 6660141fe5a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.html >deleted file mode 100644 >index 33cc55716d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A2.1_T2; >- * @section: 11.6.2; >- * @assertion: Operator x - y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x - 1; >- testFailed('#1.1: x - 1 throw ReferenceError. Actual: ' + (x - 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x - 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3-expected.txt >deleted file mode 100644 >index e669962e940..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.html >deleted file mode 100644 >index b83e6928d76..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A2.1_T3; >- * @section: 11.6.2; >- * @assertion: Operator x - y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 - y; >- testFailed('#1.1: 1 - y throw ReferenceError. Actual: ' + (1 - y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 - y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1-expected.txt >deleted file mode 100644 >index f792cb29747..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.html >deleted file mode 100644 >index 594b67284fd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A2.2_T1; >- * @section: 11.6.2, 8.6.2.6; >- * @assertion: Operator x - y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 1}} - 1 !== 0) { >- testFailed('#1: {valueOf: function() {return 1}} - 1 === 0. Actual: ' + ({valueOf: function() {return 1}} - 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 1}, toString: function() {return 0}} - 1 !== 0) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 0}} - 1 === 0. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} - 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 1}, toString: function() {return {}}} - 1 !== 0) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} - 1 === 0. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} - 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 1}, toString: function() {throw "error"}} - 1 !== 0) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} - 1 === 0. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} - 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} - 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} - 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 - {toString: function() {return 1}} !== 0) { >- testFailed('#5: 1 - {toString: function() {return 1}} === 0. Actual: ' + (1 - {toString: function() {return 1}})); >-} >- >-//CHECK#6 >-if (1 - {valueOf: function() {return {}}, toString: function() {return 1}} !== 0) { >- testFailed('#6: 1 - {valueOf: function() {return {}}, toString: function() {return 1}} === 0. Actual: ' + (1 - {valueOf: function() {return {}}, toString: function() {return 1}})); >-} >- >-//CHECK#7 >-try { >- 1 - {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: 1 - {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 - {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 - {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 - {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 - {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 - {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 - {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1-expected.txt >deleted file mode 100644 >index 12c021e0d9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.html >deleted file mode 100644 >index 4a6271f8a11..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A2.3_T1; >- * @section: 11.6.2; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x - y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x - y throw "x". Actual: ' + (x - y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x - y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1-expected.txt >deleted file mode 100644 >index 6161923ab03..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.html >deleted file mode 100644 >index a037391887b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A2.4_T1; >- * @section: 11.6.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) - x !== 0) { >- testFailed('#1: var x = 0; (x = 1) - x === 0. Actual: ' + ((x = 1) - x)); >-} >- >-//CHECK#2 >-var x = 0; >-if (x - (x = 1) !== -1) { >- testFailed('#2: var x = 0; x - (x = 1) === -1. Actual: ' + (x - (x = 1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2-expected.txt >deleted file mode 100644 >index 0aaf0970fcb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.html >deleted file mode 100644 >index efbcec25e85..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A2.4_T2; >- * @section: 11.6.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() - y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() - y() throw "x". Actual: ' + (x() - y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() - y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3-expected.txt >deleted file mode 100644 >index b7c0f9952f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.html >deleted file mode 100644 >index 57a3e984734..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A2.4_T3; >- * @section: 11.6.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x - (x = 1); >- testFailed('#1.1: x - (x = 1) throw ReferenceError. Actual: ' + (x - (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x - (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) - y !== 0) { >- testFailed('#2: (y = 1) - y === 0. Actual: ' + ((y = 1) - y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1-expected.txt >deleted file mode 100644 >index 61bc7da6e86..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.html >deleted file mode 100644 >index e9e29ffb66a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T1.1; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true - true !== 0) { >- testFailed('#1: true - true === 0. Actual: ' + (true - true)); >-} >- >-//CHECK#2 >-if (new Boolean(true) - true !== 0) { >- testFailed('#2: new Boolean(true) - true === 0. Actual: ' + (new Boolean(true) - true)); >-} >- >-//CHECK#3 >-if (true - new Boolean(true) !== 0) { >- testFailed('#3: true - new Boolean(true) === 0. Actual: ' + (true - new Boolean(true))); >-} >- >-//CHECK#4 >-if (new Boolean(true) - new Boolean(true) !== 0) { >- testFailed('#4: new Boolean(true) - new Boolean(true) === 0. Actual: ' + (new Boolean(true) - new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2-expected.txt >deleted file mode 100644 >index f151121a771..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.html >deleted file mode 100644 >index 10c5ffb2898..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T1.2; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 - 1 !== 0) { >- testFailed('#1: 1 - 1 === 0. Actual: ' + (1 - 1)); >-} >- >-//CHECK#2 >-if (new Number(1) - 1 !== 0) { >- testFailed('#2: new Number(1) - 1 === 0. Actual: ' + (new Number(1) - 1)); >-} >- >-//CHECK#3 >-if (1 - new Number(1) !== 0) { >- testFailed('#3: 1 - new Number(1) === 0. Actual: ' + (1 - new Number(1))); >-} >- >-//CHECK#4 >-if (new Number(1) - new Number(1) !== 0) { >- testFailed('#4: new Number(1) - new Number(1) === 0. Actual: ' + (new Number(1) - new Number(1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3-expected.txt >deleted file mode 100644 >index 3cd1c443bea..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.html >deleted file mode 100644 >index 44b10833b92..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T1.3; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" - "1" !== 0) { >- testFailed('#1: "1" - "1" === 0. Actual: ' + ("1" - "1")); >-} >- >-//CHECK#2 >-if (new String("1") - "1" !== 0) { >- testFailed('#2: new String("1") - "1" === 0. Actual: ' + (new String("1") - "1")); >-} >- >-//CHECK#3 >-if ("1" - new String("1") !== 0) { >- testFailed('#3: "1" - new String("1") === 0. Actual: ' + ("1" - new String("1"))); >-} >- >-//CHECK#4 >-if (new String("1") - new String("1") !== 0) { >- testFailed('#4: new String("1") - new String("1") === 0. Actual: ' + (new String("1") - new String("1"))); >-} >- >-//CHECK#5 >-if (isNaN("x" - "1") !== true) { >- testFailed('#5: "x" - "1" === Not-a-Number. Actual: ' + ("x" - "1")); >-} >- >-//CHECK#6 >-if (isNaN("1" - "x") !== true) { >- testFailed('#6: "1" - "x" === Not-a-Number. Actual: ' + ("1" - "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4-expected.txt >deleted file mode 100644 >index d309cdce353..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.html >deleted file mode 100644 >index 403ac8ed63d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T1.4; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(null - undefined) !== true) { >- testFailed('#1: null - undefined === Not-a-Number. Actual: ' + (null - undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined - null) !== true) { >- testFailed('#2: undefined - null === Not-a-Number. Actual: ' + (undefined - null)); >-} >- >-//CHECK#3 >-if (isNaN(undefined - undefined) !== true) { >- testFailed('#3: undefined - undefined === Not-a-Number. Actual: ' + (undefined - undefined)); >-} >- >-//CHECK#4 >-if (null - null !== 0) { >- testFailed('#4: null - null === 0. Actual: ' + (null - null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5-expected.txt >deleted file mode 100644 >index 35e88f36e4b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.html >deleted file mode 100644 >index 5393913f212..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T1.5; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) and Type(y) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (isNaN({} - function(){return 1}) !== true) { >- testFailed('#1: {} - function(){return 1} === Not-a-Number. Actual: ' + ({} - function(){return 1})); >-} >- >-//CHECK#2 >-if (isNaN(function(){return 1} - {}) !== true) { >- testFailed('#2: function(){return 1} - {} === Not-a-Number. Actual: ' + (function(){return 1} - {})); >-} >- >-//CHECK#3 >-if (isNaN(function(){return 1} - function(){return 1}) !== true) { >- testFailed('#3: function(){return 1} - function(){return 1} === Not-a-Number. Actual: ' + (function(){return 1} - function(){return 1})); >-} >- >-//CHECK#4 >-if (isNaN({} - {}) !== true) { >- testFailed('#4: {} - {} === Not-a-Number. Actual: ' + ({} - {})); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1-expected.txt >deleted file mode 100644 >index 9fad5345435..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.html >deleted file mode 100644 >index 6f56ab16753..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.1; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true - 1 !== 0) { >- testFailed('#1: true - 1 === 0. Actual: ' + (true - 1)); >-} >- >-//CHECK#2 >-if (1 - true !== 0) { >- testFailed('#2: 1 - true === 0. Actual: ' + (1 - true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) - 1 !== 0) { >- testFailed('#3: new Boolean(true) - 1 === 0. Actual: ' + (new Boolean(true) - 1)); >-} >- >-//CHECK#4 >-if (1 - new Boolean(true) !== 0) { >- testFailed('#4: 1 - new Boolean(true) === 0. Actual: ' + (1 - new Boolean(true))); >-} >- >-//CHECK#5 >-if (true - new Number(1) !== 0) { >- testFailed('#5: true - new Number(1) === 0. Actual: ' + (true - new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) - true !== 0) { >- testFailed('#6: new Number(1) - true === 0. Actual: ' + (new Number(1) - true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) - new Number(1) !== 0) { >- testFailed('#7: new Boolean(true) - new Number(1) === 0. Actual: ' + (new Boolean(true) - new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) - new Boolean(true) !== 0) { >- testFailed('#8: new Number(1) - new Boolean(true) === 0. Actual: ' + (new Number(1) - new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2-expected.txt >deleted file mode 100644 >index 931dd82797d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.html >deleted file mode 100644 >index 2edb375eef6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.2; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" - 1 !== 0) { >- testFailed('#1: "1" - 1 === 0. Actual: ' + ("1" - 1)); >-} >- >-//CHECK#2 >-if (1 - "1" !== 0) { >- testFailed('#2: 1 - "1" === 0. Actual: ' + (1 - "1")); >-} >- >-//CHECK#3 >-if (new String("1") - 1 !== 0) { >- testFailed('#3: new String("1") - 1 === 0. Actual: ' + (new String("1") - 1)); >-} >- >-//CHECK#4 >-if (1 - new String("1") !== 0) { >- testFailed('#4: 1 - new String("1") === 0. Actual: ' + (1 - new String("1"))); >-} >- >-//CHECK#5 >-if ("1" - new Number(1) !== 0) { >- testFailed('#5: "1" - new Number(1) === 0. Actual: ' + ("1" - new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) - "1" !== 0) { >- testFailed('#6: new Number(1) - "1" === 0. Actual: ' + (new Number(1) - "1")); >-} >- >-//CHECK#7 >-if (new String("1") - new Number(1) !== 0) { >- testFailed('#7: new String("1") - new Number(1) === 0. Actual: ' + (new String("1") - new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) - new String("1") !== 0) { >- testFailed('#8: new Number(1) - new String("1") === 0. Actual: ' + (new Number(1) - new String("1"))); >-} >- >-//CHECK#9 >-if (isNaN("x" - 1) !== true) { >- testFailed('#9: "x" - 1 === Not-a-Number. Actual: ' + ("x" - 1)); >-} >- >-//CHECK#10 >-if (isNaN(1 - "x") !== true) { >- testFailed('#10: 1 - "x" === Not-a-Number. Actual: ' + (1 - "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3-expected.txt >deleted file mode 100644 >index 1206bd5be2e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.html >deleted file mode 100644 >index 6b09cfe7970..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.3; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 - null !== 1) { >- testFailed('#1: 1 - null === 1. Actual: ' + (1 - null)); >-} >- >-//CHECK#2 >-if (null - 1 !== -1) { >- testFailed('#2: null - 1 === -1. Actual: ' + (null - 1)); >-} >- >-//CHECK#3 >-if (new Number(1) - null !== 1) { >- testFailed('#3: new Number(1) - null === 1. Actual: ' + (new Number(1) - null)); >-} >- >-//CHECK#4 >-if (null - new Number(1) !== -1) { >- testFailed('#4: null - new Number(1) === -1. Actual: ' + (null - new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4-expected.txt >deleted file mode 100644 >index 16189524aa2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.html >deleted file mode 100644 >index 39b282bbd8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.4; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(1 - undefined) !== true) { >- testFailed('#1: 1 - undefined === Not-a-Number. Actual: ' + (1 - undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined - 1) !== true) { >- testFailed('#2: undefined - 1 === Not-a-Number. Actual: ' + (undefined - 1)); >-} >- >-//CHECK#3 >-if (isNaN(new Number(1) - undefined) !== true) { >- testFailed('#3: new Number(1) - undefined === Not-a-Number. Actual: ' + (new Number(1) - undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined - new Number(1)) !== true) { >- testFailed('#4: undefined - new Number(1) === Not-a-Number. Actual: ' + (undefined - new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5-expected.txt >deleted file mode 100644 >index 395640e2c6a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.html >deleted file mode 100644 >index 25d68bbe990..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.5; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true - "1" !== 0) { >- testFailed('#1: true - "1" === 0. Actual: ' + (true - "1")); >-} >- >-//CHECK#2 >-if ("1" - true !== 0) { >- testFailed('#2: "1" - true === 0. Actual: ' + ("1" - true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) - "1" !== 0) { >- testFailed('#3: new Boolean(true) - "1" === 0. Actual: ' + (new Boolean(true) - "1")); >-} >- >-//CHECK#4 >-if ("1" - new Boolean(true) !== 0) { >- testFailed('#4: "1" - new Boolean(true) === 0. Actual: ' + ("1" - new Boolean(true))); >-} >- >-//CHECK#5 >-if (true - new String("1") !== 0) { >- testFailed('#5: true - new String("1") === 0. Actual: ' + (true - new String("1"))); >-} >- >-//CHECK#6 >-if (new String("1") - true !== 0) { >- testFailed('#6: new String("1") - true === 0. Actual: ' + (new String("1") - true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) - new String("1") !== 0) { >- testFailed('#7: new Boolean(true) - new String("1") === 0. Actual: ' + (new Boolean(true) - new String("1"))); >-} >- >-//CHECK#8 >-if (new String("1") - new Boolean(true) !== 0) { >- testFailed('#8: new String("1") - new Boolean(true) === 0. Actual: ' + (new String("1") - new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6-expected.txt >deleted file mode 100644 >index 1067283e1bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.html >deleted file mode 100644 >index 25d2a2f8dd5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.6; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN("1" - undefined) !== true) { >- testFailed('#1: "1" - undefined === Not-a-Number. Actual: ' + ("1" - undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined - "1") !== true) { >- testFailed('#2: undefined - "1" === Not-a-Number. Actual: ' + (undefined - "1")); >-} >- >-//CHECK#3 >-if (isNaN(new String("1") - undefined) !== true) { >- testFailed('#3: new String("1") - undefined === Not-a-Number. Actual: ' + (new String("1") - undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined - new String("1")) !== true) { >- testFailed('#4: undefined - new String("1") === Not-a-Number. Actual: ' + (undefined - new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7-expected.txt >deleted file mode 100644 >index be09869508f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.html >deleted file mode 100644 >index c1f9eda5849..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.7; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" - null !== 1) { >- testFailed('#1: "1" - null === 1. Actual: ' + ("1" - null)); >-} >- >-//CHECK#2 >-if (null - "1" !== -1) { >- testFailed('#2: null - "1" === -1. Actual: ' + (null - "1")); >-} >- >-//CHECK#3 >-if (new String("1") - null !== 1) { >- testFailed('#3: new String("1") - null === 1. Actual: ' + (new String("1") - null)); >-} >- >-//CHECK#4 >-if (null - new String("1") !== -1) { >- testFailed('#4: null - new String("1") === -1. Actual: ' + (null - new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8-expected.txt >deleted file mode 100644 >index ecd9c69e4e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.html >deleted file mode 100644 >index 6b0488b0347..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.8; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (isNaN(true - undefined) !== true) { >- testFailed('#1: true - undefined === Not-a-Number. Actual: ' + (true - undefined)); >-} >- >-//CHECK#2 >-if (isNaN(undefined - true) !== true) { >- testFailed('#2: undefined - true === Not-a-Number. Actual: ' + (undefined - true)); >-} >- >-//CHECK#3 >-if (isNaN(new Boolean(true) - undefined) !== true) { >- testFailed('#3: new Boolean(true) - undefined === Not-a-Number. Actual: ' + (new Boolean(true) - undefined)); >-} >- >-//CHECK#4 >-if (isNaN(undefined - new Boolean(true)) !== true) { >- testFailed('#4: undefined - new Boolean(true) === Not-a-Number. Actual: ' + (undefined - new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9-expected.txt >deleted file mode 100644 >index ccaa012cd1d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.html >deleted file mode 100644 >index 27f67da70e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.6.2_A3_T2.9; >- * @section: 11.6.2; >- * @assertion: Operator x - y returns ToNumber(x) - ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true - null !== 1) { >- testFailed('#1: true - null === 1. Actual: ' + (true - null)); >-} >- >-//CHECK#2 >-if (null - true !== -1) { >- testFailed('#2: null - true === -1. Actual: ' + (null - true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) - null !== 1) { >- testFailed('#3: new Boolean(true) - null === 1. Actual: ' + (new Boolean(true) - null)); >-} >- >-//CHECK#4 >-if (null - new Boolean(true) !== -1) { >- testFailed('#4: null - new Boolean(true) === -1. Actual: ' + (null - new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1-expected.txt >deleted file mode 100644 >index a3ac11e6689..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.html >deleted file mode 100644 >index 1eeb38769e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A4_T1; >-* @section: 11.6.2, 11.6.3; >-* @assertion: Operator x - y produces the same result as x + (-y); >-* @description: If either operand is NaN, the result is NaN; >-*/ >- >-//CHECK#1 >-if (isNaN(Number.NaN - 1) !== true ) { >- testFailed('#1: NaN - 1 === Not-a-Number. Actual: ' + (NaN - 1)); >-} >- >-//CHECK#2 >-if (isNaN(1 - Number.NaN) !== true ) { >- testFailed('#2: 1 - NaN === Not-a-Number. Actual: ' + (1 - NaN)); >-} >- >-//CHECK#3 >-if (isNaN(Number.NaN - Number.POSITIVE_INFINITY) !== true ) { >- testFailed('#3: NaN - Infinity === Not-a-Number. Actual: ' + (NaN - Infinity)); >-} >- >-//CHECK#4 >-if (isNaN(Number.POSITIVE_INFINITY - Number.NaN) !== true ) { >- testFailed('#4: Infinity - NaN === Not-a-Number. Actual: ' + (Infinity - NaN)); >-} >- >-//CHECK#5 >-if (isNaN(Number.NaN - Number.NEGATIVE_INFINITY) !== true ) { >- testFailed('#5: NaN - Infinity === Not-a-Number. Actual: ' + (NaN - Infinity)); >-} >- >-//CHECK#6 >-if (isNaN(Number.NEGATIVE_INFINITY - Number.NaN) !== true ) { >- testFailed('#6: Infinity - NaN === Not-a-Number. Actual: ' + (Infinity - NaN)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2-expected.txt >deleted file mode 100644 >index cbe14213de6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.html >deleted file mode 100644 >index 064f05cfd5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A4_T2; >-* @section: 11.6.2, 11.6.3; >-* @assertion: Operator x - y produces the same result as x + (-y); >-* @description: The difference of two infinities of opposite sign is the infinity of minuend sign; >-*/ >- >-//CHECK#1 >-if (Number.POSITIVE_INFINITY - Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY ) { >- testFailed('#1: Infinity - -Infinity === Infinity. Actual: ' + (Infinity - -Infinity)); >-} >- >-//CHECK#2 >-if (Number.NEGATIVE_INFINITY - Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { >- testFailed('#2: -Infinity - Infinity === -Infinity. Actual: ' + (-Infinity - Infinity)); >-} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3-expected.txt >deleted file mode 100644 >index 23e0dff6498..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.html >deleted file mode 100644 >index 231aed1ae18..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A4_T3; >-* @section: 11.6.2, 11.6.3; >-* @assertion: Operator x - y produces the same result as x + (-y); >-* @description: The difference of two infinities of the same sign is NaN; >-*/ >- >-//CHECK#1 >-if (isNaN(Number.POSITIVE_INFINITY - Number.POSITIVE_INFINITY) !== true ) { >- testFailed('#1: Infinity - Infinity === Not-a-Number. Actual: ' + (Infinity - Infinity)); >-} >- >-//CHECK#2 >-if (isNaN(Number.NEGATIVE_INFINITY - Number.NEGATIVE_INFINITY) !== true ) { >- testFailed('#2: -Infinity - -Infinity === Not-a-Number. Actual: ' + (-Infinity - -Infinity)); >-} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4-expected.txt >deleted file mode 100644 >index 84a8d0f9e93..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.html >deleted file mode 100644 >index 4e3b5987d82..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A4_T4; >-* @section: 11.6.2, 11.6.3; >-* @assertion: Operator x - y produces the same result as x + (-y); >-* @description: The difference of an infinity and a finite value is equal to infinity of appropriate sign; >-*/ >- >-//CHECK#1 >-if (Number.POSITIVE_INFINITY - 1 !== Number.POSITIVE_INFINITY ) { >- testFailed('#1: Infinity - 1 === Infinity. Actual: ' + (Infinity - 1)); >-} >- >-//CHECK#2 >-if (-1 - Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { >- testFailed('#2: -1 - Infinity === -Infinity. Actual: ' + (-1 - Infinity)); >-} >- >-//CHECK#3 >-if (Number.NEGATIVE_INFINITY - 1 !== Number.NEGATIVE_INFINITY ) { >- testFailed('#3: -Infinity - 1 === -Infinity. Actual: ' + (-Infinity - 1)); >-} >- >-//CHECK#4 >-if (-1 - Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY ) { >- testFailed('#4: -1 - -Infinity === Infinity. Actual: ' + (-1 - -Infinity)); >-} >- >-//CHECK#5 >-if (Number.POSITIVE_INFINITY - Number.MAX_VALUE !== Number.POSITIVE_INFINITY ) { >- testFailed('#5: Infinity - Number.MAX_VALUE === Infinity. Actual: ' + (Infinity - Number.MAX_VALUE)); >-} >- >-//CHECK#6 >-if (-Number.MAX_VALUE - Number.POSITIVE_INFINITY !== Number.NEGATIVE_INFINITY ) { >- testFailed('#6: -Number.MAX_VALUE - Infinity === I-nfinity. Actual: ' + (-Number.MAX_VALUE - Infinity)); >-} >- >-//CHECK#7 >-if (Number.NEGATIVE_INFINITY - Number.MAX_VALUE !== Number.NEGATIVE_INFINITY ) { >- testFailed('#7: -Infinity - Number.MAX_VALUE === -Infinity. Actual: ' + (-Infinity - Number.MAX_VALUE)); >-} >- >-//CHECK#8 >-if (-Number.MAX_VALUE - Number.NEGATIVE_INFINITY !== Number.POSITIVE_INFINITY ) { >- testFailed('#8: -Number.MAX_VALUE - -Infinity === Infinity. Actual: ' + (-Number.MAX_VALUE - -Infinity)); >-} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5-expected.txt >deleted file mode 100644 >index 19ba9f79ee1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.html >deleted file mode 100644 >index 15c2fdabd4e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A4_T5; >-* @section: 11.6.2, 11.6.3; >-* @assertion: Operator x - y produces the same result as x + (-y); >-* @description: Using the rule of sum of two zeroes and the fact that a - b = a + (-b); >-*/ >- >-//CHECK#1 >-if (-0 - -0 !== 0 ) { >- testFailed('#1.1: -0 - -0 === 0. Actual: ' + (-0 - -0)); >-} else { >- if (1 / (-0 - -0) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: -0 - -0 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#2 >-if (0 - -0 !== 0 ) { >- testFailed('#2.1: 0 - -0 === 0. Actual: ' + (0 - -0)); >-} else { >- if (1 / (0 - -0) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.2: 0 - -0 === + 0. Actual: -0'); >- } >-} >- >-//CHECK#3 >-if (-0 - 0 !== -0 ) { >- testFailed('#3.1: -0 - 0 === 0. Actual: ' + (-0 - 0)); >-} else { >- if (1 / (-0 - 0) !== Number.NEGATIVE_INFINITY) { >- testFailed('#3.2: -0 - 0 === - 0. Actual: +0'); >- } >-} >- >-//CHECK#4 >-if (0 - 0 !== 0 ) { >- testFailed('#4.1: 0 - 0 === 0. Actual: ' + (0 - 0)); >-} else { >- if (1 / (0 - 0) !== Number.POSITIVE_INFINITY) { >- testFailed('#4.2: 0 - 0 === + 0. Actual: -0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6-expected.txt >deleted file mode 100644 >index ddb0b400f72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.html >deleted file mode 100644 >index 3b225ac7c81..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A4_T6; >-* @section: 11.6.2, 11.6.3; >-* @assertion: Operator x - y produces the same result as x + (-y); >-* @description: Using the rule of sum of a zero and a nonzero finite value and the fact that a - b = a + (-b); >-*/ >- >-//CHECK#1 >-if (1 - -0 !== 1 ) { >- testFailed('#1: 1 - -0 === 1. Actual: ' + (1 - -0)); >-} >- >-//CHECK#2 >-if (1 - 0 !== 1 ) { >- testFailed('#2: 1 - 0 === 1. Actual: ' + (1 - 0)); >-} >- >-//CHECK#3 >-if (-0 - 1 !== -1 ) { >- testFailed('#3: -0 - 1 === -1. Actual: ' + (-0 - 1)); >-} >- >-//CHECK#4 >-if (0 - 1 !== -1 ) { >- testFailed('#4: 0 - 1 === -1. Actual: ' + (0 - 1)); >-} >- >-//CHECK#5 >-if (Number.MAX_VALUE - -0 !== Number.MAX_VALUE ) { >- testFailed('#5: Number.MAX_VALUE - -0 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE - -0)); >-} >- >-//CHECK#6 >-if (Number.MAX_VALUE - 0 !== Number.MAX_VALUE ) { >- testFailed('#6: Number.MAX_VALUE - 0 === Number.MAX_VALUE. Actual: ' + (Number.MAX_VALUE - 0)); >-} >- >-//CHECK#7 >-if (-0 - Number.MIN_VALUE !== -Number.MIN_VALUE ) { >- testFailed('#7: -0 - Number.MIN_VALUE === -Number.MIN_VALUE. Actual: ' + (-0 - Number.MIN_VALUE)); >-} >- >-//CHECK#8 >-if (0 - Number.MIN_VALUE !== -Number.MIN_VALUE ) { >- testFailed('#8: 0 - Number.MIN_VALUE === -Number.MIN_VALUE. Actual: ' + (0 - Number.MIN_VALUE)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7-expected.txt >deleted file mode 100644 >index 47aac54a9bd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.html >deleted file mode 100644 >index f93ef262eb1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A4_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A4_T7; >-* @section: 11.6.2, 11.6.3; >-* @assertion: Operator x - y produces the same result as x + (-y); >-* @description: The mathematical difference of two nonzero finite values of the same magnitude and same sign is +0; >-*/ >- >-//CHECK#1 >-if (Number.MIN_VALUE - Number.MIN_VALUE !== +0) { >- testFailed('#1.1: Number.MIN_VALUE - Number.MIN_VALUE === 0. Actual: ' + (Number.MIN_VALUE - Number.MIN_VALUE)); >-} else { >- if (1 / (Number.MIN_VALUE - Number.MIN_VALUE) !== Number.POSITIVE_INFINITY) { >- testFailed('#1.2: Number.MIN_VALUE - Number.MIN_VALUE === + 0. Actual: -0'); >- } >-} >- >-//CHECK#2 >-if (-Number.MAX_VALUE - -Number.MAX_VALUE !== +0) { >- testFailed('#2.2: -Number.MAX_VALUE - -Number.MAX_VALUE === 0. Actual: ' + (-Number.MAX_VALUE - -Number.MAX_VALUE)); >-} else { >- if (1 / (-Number.MAX_VALUE - -Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { >- testFailed('#2.1: -Number.MAX_VALUE - -Number.MAX_VALUE === + 0. Actual: -0'); >- } >-} >- >-//CHECK#3 >-if (1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE !== +0) { >- testFailed('#3.1: 1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE === 0. Actual: ' + (1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE)); >-} else { >- if (1 / (1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE) !== Number.POSITIVE_INFINITY) { >- testFailed('#3.2: 1 / Number.MAX_VALUE - 1 / Number.MAX_VALUE === + 0. Actual: -0'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8-expected.txt >deleted file mode 100644 >index 838bfc0a1ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.html >deleted file mode 100644 >index 2f59728c579..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.6.2_A4_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.6.2_A4_T8; >-* @section: 11.6.2, 11.6.3; >-* @assertion: Operator x - y produces the same result as x + (-y); >-* @description: If the magnitude is too large to represent, the operation overflows and the result is then an infinity of appropriate sign; >-*/ >- >-//CHECK#1 >-if (Number.MAX_VALUE - -Number.MAX_VALUE !== Number.POSITIVE_INFINITY) { >- testFailed('#1: Number.MAX_VALUE - -Number.MAX_VALUE === Number.POSITIVE_INFINITY. Actual: ' + (Number.MAX_VALUE - -Number.MAX_VALUE)); >-} >- >-//CHECK#2 >-if (-Number.MAX_VALUE - Number.MAX_VALUE !== Number.NEGATIVE_INFINITY) { >- testFailed('#2: -Number.MAX_VALUE - umber.MAX_VALUE === Number.NEGATIVE_INFINITY. Actual: ' + (-Number.MAX_VALUE - umber.MAX_VALUE)); >-} >- >-//CHECK#3 >-if (1e+308 - -1e+308 !== Number.POSITIVE_INFINITY) { >- testFailed('#3: 1e+308 - -1e+308 === Number.POSITIVE_INFINITY. Actual: ' + (1e+308 - -1e+308)); >-} >- >-//CHECK#4 >-if (-8.99e+307 - 8.99e+307 !== Number.NEGATIVE_INFINITY) { >- testFailed('#4: -8.99e+307 - 8.99e+307 === Number.NEGATIVE_INFINITY. Actual: ' + (-8.99e+307 - 8.99e+307)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1-expected.txt >deleted file mode 100644 >index 7cb7045b821..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.html >deleted file mode 100644 >index 7eefa9f0686..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.7.1_A1; >-* @section: 11.7.1, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between ShiftExpression and "<<" or between "<<" and AdditiveExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009<<\u00091") !== 2) { >- testFailed('#1: 1\\u0009<<\\u00091 === 2'); >-} >- >-//CHECK#2 >-if (eval("1\u000B<<\u000B1") !== 2) { >- testFailed('#2: 1\\u000B<<\\u000B1 === 2'); >-} >- >-//CHECK#3 >-if (eval("1\u000C<<\u000C1") !== 2) { >- testFailed('#3: 1\\u000C<<\\u000C1 === 2'); >-} >- >-//CHECK#4 >-if (eval("1\u0020<<\u00201") !== 2) { >- testFailed('#4: 1\\u0020<<\\u00201 === 2'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0<<\u00A01") !== 2) { >- testFailed('#5: 1\\u00A0<<\\u00A01 === 2'); >-} >- >-//CHECK#6 >-if (eval("1\u000A<<\u000A1") !== 2) { >- testFailed('#6: 1\\u000A<<\\u000A1 === 2'); >-} >- >-//CHECK#7 >-if (eval("1\u000D<<\u000D1") !== 2) { >- testFailed('#7: 1\\u000D<<\\u000D1 === 2'); >-} >- >-//CHECK#8 >-if (eval("1\u2028<<\u20281") !== 2) { >- testFailed('#8: 1\\u2028<<\\u20281 === 2'); >-} >- >-//CHECK#9 >-if (eval("1\u2029<<\u20291") !== 2) { >- testFailed('#9: 1\\u2029<<\\u20291 === 2'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029<<\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 2) { >- testFailed('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029<<\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 2'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1-expected.txt >deleted file mode 100644 >index a4802875a3f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.html >deleted file mode 100644 >index 64582c30b63..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.7.1_A2.1_T1; >-* @section: 11.7.1; >-* @assertion: Operator x << y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (2 << 1 !== 4) { >- testFailed('#1: 2 << 1 === 4. Actual: ' + (2 << 1)); >-} >- >-//CHECK#2 >-var x = 2; >-if (x << 1 !== 4) { >- testFailed('#2: var x = 2; x << 1 === 4. Actual: ' + (x << 1)); >-} >- >-//CHECK#3 >-var y = 1; >-if (2 << y !== 4) { >- testFailed('#3: var y = 2; 2 << y === 4. Actual: ' + (2 << y)); >-} >- >-//CHECK#4 >-var x = 2; >-var y = 1; >-if (x << y !== 4) { >- testFailed('#4: var x = 2; var y = 1; x << y === 4. Actual: ' + (x << y)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 2; >-objecty.prop = 1; >-if (objectx.prop << objecty.prop !== 4) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 2; objecty.prop = 1; objectx.prop << objecty.prop === 4. Actual: ' + (objectx.prop << objecty.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2-expected.txt >deleted file mode 100644 >index fe1212476f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.html >deleted file mode 100644 >index 96ba69d8cba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A2.1_T2; >- * @section: 11.7.1; >- * @assertion: Operator x << y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x << 1; >- testFailed('#1.1: x << 1 throw ReferenceError. Actual: ' + (x << 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x << 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3-expected.txt >deleted file mode 100644 >index e97c2ab4d11..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.html >deleted file mode 100644 >index b31fe0f23ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A2.1_T3; >- * @section: 11.7.1; >- * @assertion: Operator x << y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 << y; >- testFailed('#1.1: 1 << y throw ReferenceError. Actual: ' + (1 << y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 << y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1-expected.txt >deleted file mode 100644 >index 8ca59d4c1ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.html >deleted file mode 100644 >index 3e9a12b3754..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A2.2_T1; >- * @section: 11.7.1, 8.6.2.6; >- * @assertion: Operator x << y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 1}} << 1 !== 2) { >- testFailed('#1: {valueOf: function() {return 1}} << 1 === 2. Actual: ' + ({valueOf: function() {return 1}} << 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 1}, toString: function() {return 0}} << 1 !== 2) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 0}} << 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} << 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 1}, toString: function() {return {}}} << 1 !== 2) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} << 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} << 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 1}, toString: function() {throw "error"}} << 1 !== 2) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} << 1 === 2. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} << 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 1}, toString: function() {throw "error"}} << 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 1}, toString: function() {throw "error"}} << 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 << {toString: function() {return 1}} !== 2) { >- testFailed('#5: 1 << {toString: function() {return 1}} === 2. Actual: ' + (1 << {toString: function() {return 1}})); >-} >- >-//CHECK#6 >-if (1 << {valueOf: function() {return {}}, toString: function() {return 1}} !== 2) { >- testFailed('#6: 1 << {valueOf: function() {return {}}, toString: function() {return 1}} === 2. Actual: ' + (1 << {valueOf: function() {return {}}, toString: function() {return 1}})); >-} >- >-//CHECK#7 >-try { >- 1 << {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: 1 << {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (1 << {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 << {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 << {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 << {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 << {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 << {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1-expected.txt >deleted file mode 100644 >index 2c048410c71..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.html >deleted file mode 100644 >index bbcced18cdc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A2.3_T1; >- * @section: 11.7.1; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x << y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x << y throw "x". Actual: ' + (x << y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x << y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1-expected.txt >deleted file mode 100644 >index 99f275e2f64..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.html >deleted file mode 100644 >index 682b509d0f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A2.4_T1; >- * @section: 11.7.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) << x !== 2) { >- testFailed('#1: var x = 0; (x = 1) << x === 2. Actual: ' + ((x = 1) << x)); >-} >- >-//CHECK#2 >-var x = 0; >-if (x << (x = 1) !== 0) { >- testFailed('#2: var x = 0; x << (x = 1) === 0. Actual: ' + (x << (x = 1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2-expected.txt >deleted file mode 100644 >index 22c78ea117a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.html >deleted file mode 100644 >index 5f1de357c60..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A2.4_T2; >- * @section: 11.7.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() << y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() << y() throw "x". Actual: ' + (x() << y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() << y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3-expected.txt >deleted file mode 100644 >index 5f1eb00a005..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.html >deleted file mode 100644 >index ea51fe7d396..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A2.4_T3; >- * @section: 11.7.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x << (x = 1); >- testFailed('#1.1: x << (x = 1) throw ReferenceError. Actual: ' + (x << (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x << (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) << y !== 2) { >- testFailed('#2: (y = 1) << y === 2. Actual: ' + ((y = 1) << y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1-expected.txt >deleted file mode 100644 >index d5140090635..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.html >deleted file mode 100644 >index 142fdf56fa1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T1.1; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >-*/ >- >-//CHECK#1 >-if (true << true !== 2) { >- testFailed('#1: true << true === 2. Actual: ' + (true << true)); >-} >- >-//CHECK#2 >-if (new Boolean(true) << true !== 2) { >- testFailed('#2: new Boolean(true) << true === 2. Actual: ' + (new Boolean(true) << true)); >-} >- >-//CHECK#3 >-if (true << new Boolean(true) !== 2) { >- testFailed('#3: true << new Boolean(true) === 2. Actual: ' + (true << new Boolean(true))); >-} >- >-//CHECK#4 >-if (new Boolean(true) << new Boolean(true) !== 2) { >- testFailed('#4: new Boolean(true) << new Boolean(true) === 2. Actual: ' + (new Boolean(true) << new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2-expected.txt >deleted file mode 100644 >index 3477f6c19a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.html >deleted file mode 100644 >index 6d24f904f69..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T1.2; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 << 1 !== 2) { >- testFailed('#1: 1 << 1 === 2. Actual: ' + (1 << 1)); >-} >- >-//CHECK#2 >-if (new Number(1) << 1 !== 2) { >- testFailed('#2: new Number(1) << 1 === 2. Actual: ' + (new Number(1) << 1)); >-} >- >-//CHECK#3 >-if (1 << new Number(1) !== 2) { >- testFailed('#3: 1 << new Number(1) === 2. Actual: ' + (1 << new Number(1))); >-} >- >-//CHECK#4 >-if (new Number(1) << new Number(1) !== 2) { >- testFailed('#4: new Number(1) << new Number(1) === 2. Actual: ' + (new Number(1) << new Number(1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3-expected.txt >deleted file mode 100644 >index de56c2d3b70..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.html >deleted file mode 100644 >index 77475f7d3cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T1.3; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" << "1" !== 2) { >- testFailed('#1: "1" << "1" === 2. Actual: ' + ("1" << "1")); >-} >- >-//CHECK#2 >-if (new String("1") << "1" !== 2) { >- testFailed('#2: new String("1") << "1" === 2. Actual: ' + (new String("1") << "1")); >-} >- >-//CHECK#3 >-if ("1" << new String("1") !== 2) { >- testFailed('#3: "1" << new String("1") === 2. Actual: ' + ("1" << new String("1"))); >-} >- >-//CHECK#4 >-if (new String("1") << new String("1") !== 2) { >- testFailed('#4: new String("1") << new String("1") === 2. Actual: ' + (new String("1") << new String("1"))); >-} >- >-//CHECK#5 >-if ("x" << "1" !== 0) { >- testFailed('#5: "x" << "1" === 0. Actual: ' + ("x" << "1")); >-} >- >-//CHECK#6 >-if ("1" << "x" !== 1) { >- testFailed('#6: "1" << "x" === 1. Actual: ' + ("1" << "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4-expected.txt >deleted file mode 100644 >index 24388e3ad10..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.html >deleted file mode 100644 >index c75a5ba52bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T1.4; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (null << undefined !== 0) { >- testFailed('#1: null << undefined === 0. Actual: ' + (null << undefined)); >-} >- >-//CHECK#2 >-if (undefined << null !== 0) { >- testFailed('#2: undefined << null === 0. Actual: ' + (undefined << null)); >-} >- >-//CHECK#3 >-if (undefined << undefined !== 0) { >- testFailed('#3: undefined << undefined === 0. Actual: ' + (undefined << undefined)); >-} >- >-//CHECK#4 >-if (null << null !== 0) { >- testFailed('#4: null << null === 0. Actual: ' + (null << null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5-expected.txt >deleted file mode 100644 >index db658b0f410..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.html >deleted file mode 100644 >index 8ac45939e17..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T1.5; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) and Type(y) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} << function(){return 1}) !== 0) { >- testFailed('#1: ({} << function(){return 1}) === 0. Actual: ' + (({} << function(){return 1}))); >-} >- >-//CHECK#2 >-if ((function(){return 1} << {}) !== 0) { >- testFailed('#2: (function(){return 1} << {}) === 0. Actual: ' + ((function(){return 1} << {}))); >-} >- >-//CHECK#3 >-if ((function(){return 1} << function(){return 1}) !== 0) { >- testFailed('#3: (function(){return 1} << function(){return 1}) === 0. Actual: ' + ((function(){return 1} << function(){return 1}))); >-} >- >-//CHECK#4 >-if (({} << {}) !== 0) { >- testFailed('#4: ({} << {}) === 0. Actual: ' + (({} << {}))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1-expected.txt >deleted file mode 100644 >index 9962a65c9ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.html >deleted file mode 100644 >index ed1bde8a396..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.1; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true << 1 !== 2) { >- testFailed('#1: true << 1 === 2. Actual: ' + (true << 1)); >-} >- >-//CHECK#2 >-if (1 << true !== 2) { >- testFailed('#2: 1 << true === 2. Actual: ' + (1 << true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) << 1 !== 2) { >- testFailed('#3: new Boolean(true) << 1 === 2. Actual: ' + (new Boolean(true) << 1)); >-} >- >-//CHECK#4 >-if (1 << new Boolean(true) !== 2) { >- testFailed('#4: 1 << new Boolean(true) === 2. Actual: ' + (1 << new Boolean(true))); >-} >- >-//CHECK#5 >-if (true << new Number(1) !== 2) { >- testFailed('#5: true << new Number(1) === 2. Actual: ' + (true << new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) << true !== 2) { >- testFailed('#6: new Number(1) << true === 2. Actual: ' + (new Number(1) << true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) << new Number(1) !== 2) { >- testFailed('#7: new Boolean(true) << new Number(1) === 2. Actual: ' + (new Boolean(true) << new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) << new Boolean(true) !== 2) { >- testFailed('#8: new Number(1) << new Boolean(true) === 2. Actual: ' + (new Number(1) << new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2-expected.txt >deleted file mode 100644 >index 6786b7399fd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.html >deleted file mode 100644 >index ebd53d38f7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.2; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" << 1 !== 2) { >- testFailed('#1: "1" << 1 === 2. Actual: ' + ("1" << 1)); >-} >- >-//CHECK#2 >-if (1 << "1" !== 2) { >- testFailed('#2: 1 << "1" === 2. Actual: ' + (1 << "1")); >-} >- >-//CHECK#3 >-if (new String("1") << 1 !== 2) { >- testFailed('#3: new String("1") << 1 === 2. Actual: ' + (new String("1") << 1)); >-} >- >-//CHECK#4 >-if (1 << new String("1") !== 2) { >- testFailed('#4: 1 << new String("1") === 2. Actual: ' + (1 << new String("1"))); >-} >- >-//CHECK#5 >-if ("1" << new Number(1) !== 2) { >- testFailed('#5: "1" << new Number(1) === 2. Actual: ' + ("1" << new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) << "1" !== 2) { >- testFailed('#6: new Number(1) << "1" === 2. Actual: ' + (new Number(1) << "1")); >-} >- >-//CHECK#7 >-if (new String("1") << new Number(1) !== 2) { >- testFailed('#7: new String("1") << new Number(1) === 2. Actual: ' + (new String("1") << new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) << new String("1") !== 2) { >- testFailed('#8: new Number(1) << new String("1") === 2. Actual: ' + (new Number(1) << new String("1"))); >-} >- >-//CHECK#9 >-if ("x" << 1 !== 0) { >- testFailed('#9: "x" << 1 === 0. Actual: ' + ("x" << 1)); >-} >- >-//CHECK#10 >-if (1 << "x" !== 1) { >- testFailed('#10: 1 << "x" === 1. Actual: ' + (1 << "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3-expected.txt >deleted file mode 100644 >index 2108241a4f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.html >deleted file mode 100644 >index 1f3bd7210b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.3; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 << null !== 1) { >- testFailed('#1: 1 << null === 1. Actual: ' + (1 << null)); >-} >- >-//CHECK#2 >-if (null << 1 !== 0) { >- testFailed('#2: null << 1 === 0. Actual: ' + (null << 1)); >-} >- >-//CHECK#3 >-if (new Number(1) << null !== 1) { >- testFailed('#3: new Number(1) << null === 1. Actual: ' + (new Number(1) << null)); >-} >- >-//CHECK#4 >-if (null << new Number(1) !== 0) { >- testFailed('#4: null << new Number(1) === 0. Actual: ' + (null << new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4-expected.txt >deleted file mode 100644 >index 7e280cf74c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.html >deleted file mode 100644 >index 3773a6349f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.4; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (1 << undefined !== 1) { >- testFailed('#1: 1 << undefined === 1. Actual: ' + (1 << undefined)); >-} >- >-//CHECK#2 >-if (undefined << 1 !== 0) { >- testFailed('#2: undefined << 1 === 0. Actual: ' + (undefined << 1)); >-} >- >-//CHECK#3 >-if (new Number(1) << undefined !== 1) { >- testFailed('#3: new Number(1) << undefined === 1. Actual: ' + (new Number(1) << undefined)); >-} >- >-//CHECK#4 >-if (undefined << new Number(1) !== 0) { >- testFailed('#4: undefined << new Number(1) === 0. Actual: ' + (undefined << new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5-expected.txt >deleted file mode 100644 >index 5e3eb1a6b63..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.html >deleted file mode 100644 >index 72a7621ddad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.5; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) or Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true << "1" !== 2) { >- testFailed('#1: true << "1" === 2. Actual: ' + (true << "1")); >-} >- >-//CHECK#2 >-if ("1" << true !== 2) { >- testFailed('#2: "1" << true === 2. Actual: ' + ("1" << true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) << "1" !== 2) { >- testFailed('#3: new Boolean(true) << "1" === 2. Actual: ' + (new Boolean(true) << "1")); >-} >- >-//CHECK#4 >-if ("1" << new Boolean(true) !== 2) { >- testFailed('#4: "1" << new Boolean(true) === 2. Actual: ' + ("1" << new Boolean(true))); >-} >- >-//CHECK#5 >-if (true << new String("1") !== 2) { >- testFailed('#5: true << new String("1") === 2. Actual: ' + (true << new String("1"))); >-} >- >-//CHECK#6 >-if (new String("1") << true !== 2) { >- testFailed('#6: new String("1") << true === 2. Actual: ' + (new String("1") << true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) << new String("1") !== 2) { >- testFailed('#7: new Boolean(true) << new String("1") === 2. Actual: ' + (new Boolean(true) << new String("1"))); >-} >- >-//CHECK#8 >-if (new String("1") << new Boolean(true) !== 2) { >- testFailed('#8: new String("1") << new Boolean(true) === 2. Actual: ' + (new String("1") << new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6-expected.txt >deleted file mode 100644 >index d174180f533..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.html >deleted file mode 100644 >index b7c808c641a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.6; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ("1" << undefined !== 1) { >- testFailed('#1: "1" << undefined === 1. Actual: ' + ("1" << undefined)); >-} >- >-//CHECK#2 >-if (undefined << "1" !== 0) { >- testFailed('#2: undefined << "1" === 0. Actual: ' + (undefined << "1")); >-} >- >-//CHECK#3 >-if (new String("1") << undefined !== 1) { >- testFailed('#3: new String("1") << undefined === 1. Actual: ' + (new String("1") << undefined)); >-} >- >-//CHECK#4 >-if (undefined << new String("1") !== 0) { >- testFailed('#4: undefined << new String("1") === 0. Actual: ' + (undefined << new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7-expected.txt >deleted file mode 100644 >index 42106f2e0f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.html >deleted file mode 100644 >index de135b8d5a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.7; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" << null !== 1) { >- testFailed('#1: "1" << null === 1. Actual: ' + ("1" << null)); >-} >- >-//CHECK#2 >-if (null << "1" !== 0) { >- testFailed('#2: null << "1" === 0. Actual: ' + (null << "1")); >-} >- >-//CHECK#3 >-if (new String("1") << null !== 1) { >- testFailed('#3: new String("1") << null === 1. Actual: ' + (new String("1") << null)); >-} >- >-//CHECK#4 >-if (null << new String("1") !== 0) { >- testFailed('#4: null << new String("1") === 0. Actual: ' + (null << new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8-expected.txt >deleted file mode 100644 >index 9a5c9bb9c7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.html >deleted file mode 100644 >index 38e9da9f4d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.8; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (true << undefined !== 1) { >- testFailed('#1: true << undefined === 1. Actual: ' + (true << undefined)); >-} >- >-//CHECK#2 >-if (undefined << true !== 0) { >- testFailed('#2: undefined << true === 0. Actual: ' + (undefined << true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) << undefined !== 1) { >- testFailed('#3: new Boolean(true) << undefined === 1. Actual: ' + (new Boolean(true) << undefined)); >-} >- >-//CHECK#4 >-if (undefined << new Boolean(true) !== 0) { >- testFailed('#4: undefined << new Boolean(true) === 0. Actual: ' + (undefined << new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9-expected.txt >deleted file mode 100644 >index fac1e7c2607..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.html >deleted file mode 100644 >index ff84532ffda..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A3_T2.9; >- * @section: 11.7.1; >- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true << null !== 1) { >- testFailed('#1: true << null === 1. Actual: ' + (true << null)); >-} >- >-//CHECK#2 >-if (null << true !== 0) { >- testFailed('#2: null << true === 0. Actual: ' + (null << true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) << null !== 1) { >- testFailed('#3: new Boolean(true) << null === 1. Actual: ' + (new Boolean(true) << null)); >-} >- >-//CHECK#4 >-if (null << new Boolean(true) !== 0) { >- testFailed('#4: null << new Boolean(true) === 0. Actual: ' + (null << new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1-expected.txt >deleted file mode 100644 >index a63826d72e8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.html >deleted file mode 100644 >index 2cd1d84b83b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.html >+++ /dev/null >@@ -1,2653 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A4_T1; >- * @section: 11.7.1; >- * @assertion: Check operator x << y in distinct points; >- * @description: ShiftExpression = -2^n, n = 0...15; >- */ >- >-//CHECK >- >-if (-1 << 0 !== -1) { >- testFailed('#1: -1 << 0 === -1. Actual: ' + (-1 << 0)); >-} >- >- >-if (-2 << 0 !== -2) { >- testFailed('#2: -2 << 0 === -2. Actual: ' + (-2 << 0)); >-} >- >- >-if (-4 << 0 !== -4) { >- testFailed('#3: -4 << 0 === -4. Actual: ' + (-4 << 0)); >-} >- >- >-if (-8 << 0 !== -8) { >- testFailed('#4: -8 << 0 === -8. Actual: ' + (-8 << 0)); >-} >- >- >-if (-16 << 0 !== -16) { >- testFailed('#5: -16 << 0 === -16. Actual: ' + (-16 << 0)); >-} >- >- >-if (-32 << 0 !== -32) { >- testFailed('#6: -32 << 0 === -32. Actual: ' + (-32 << 0)); >-} >- >- >-if (-64 << 0 !== -64) { >- testFailed('#7: -64 << 0 === -64. Actual: ' + (-64 << 0)); >-} >- >- >-if (-128 << 0 !== -128) { >- testFailed('#8: -128 << 0 === -128. Actual: ' + (-128 << 0)); >-} >- >- >-if (-256 << 0 !== -256) { >- testFailed('#9: -256 << 0 === -256. Actual: ' + (-256 << 0)); >-} >- >- >-if (-512 << 0 !== -512) { >- testFailed('#10: -512 << 0 === -512. Actual: ' + (-512 << 0)); >-} >- >- >-if (-1024 << 0 !== -1024) { >- testFailed('#11: -1024 << 0 === -1024. Actual: ' + (-1024 << 0)); >-} >- >- >-if (-2048 << 0 !== -2048) { >- testFailed('#12: -2048 << 0 === -2048. Actual: ' + (-2048 << 0)); >-} >- >- >-if (-4096 << 0 !== -4096) { >- testFailed('#13: -4096 << 0 === -4096. Actual: ' + (-4096 << 0)); >-} >- >- >-if (-8192 << 0 !== -8192) { >- testFailed('#14: -8192 << 0 === -8192. Actual: ' + (-8192 << 0)); >-} >- >- >-if (-16384 << 0 !== -16384) { >- testFailed('#15: -16384 << 0 === -16384. Actual: ' + (-16384 << 0)); >-} >- >- >-if (-32768 << 0 !== -32768) { >- testFailed('#16: -32768 << 0 === -32768. Actual: ' + (-32768 << 0)); >-} >- >- >-if (-65536 << 0 !== -65536) { >- testFailed('#17: -65536 << 0 === -65536. Actual: ' + (-65536 << 0)); >-} >- >- >-if (-131072 << 0 !== -131072) { >- testFailed('#18: -131072 << 0 === -131072. Actual: ' + (-131072 << 0)); >-} >- >- >-if (-262144 << 0 !== -262144) { >- testFailed('#19: -262144 << 0 === -262144. Actual: ' + (-262144 << 0)); >-} >- >- >-if (-524288 << 0 !== -524288) { >- testFailed('#20: -524288 << 0 === -524288. Actual: ' + (-524288 << 0)); >-} >- >- >-if (-1048576 << 0 !== -1048576) { >- testFailed('#21: -1048576 << 0 === -1048576. Actual: ' + (-1048576 << 0)); >-} >- >- >-if (-2097152 << 0 !== -2097152) { >- testFailed('#22: -2097152 << 0 === -2097152. Actual: ' + (-2097152 << 0)); >-} >- >- >-if (-4194304 << 0 !== -4194304) { >- testFailed('#23: -4194304 << 0 === -4194304. Actual: ' + (-4194304 << 0)); >-} >- >- >-if (-8388608 << 0 !== -8388608) { >- testFailed('#24: -8388608 << 0 === -8388608. Actual: ' + (-8388608 << 0)); >-} >- >- >-if (-16777216 << 0 !== -16777216) { >- testFailed('#25: -16777216 << 0 === -16777216. Actual: ' + (-16777216 << 0)); >-} >- >- >-if (-33554432 << 0 !== -33554432) { >- testFailed('#26: -33554432 << 0 === -33554432. Actual: ' + (-33554432 << 0)); >-} >- >- >-if (-67108864 << 0 !== -67108864) { >- testFailed('#27: -67108864 << 0 === -67108864. Actual: ' + (-67108864 << 0)); >-} >- >- >-if (-134217728 << 0 !== -134217728) { >- testFailed('#28: -134217728 << 0 === -134217728. Actual: ' + (-134217728 << 0)); >-} >- >- >-if (-268435456 << 0 !== -268435456) { >- testFailed('#29: -268435456 << 0 === -268435456. Actual: ' + (-268435456 << 0)); >-} >- >- >-if (-536870912 << 0 !== -536870912) { >- testFailed('#30: -536870912 << 0 === -536870912. Actual: ' + (-536870912 << 0)); >-} >- >- >-if (-1073741824 << 0 !== -1073741824) { >- testFailed('#31: -1073741824 << 0 === -1073741824. Actual: ' + (-1073741824 << 0)); >-} >- >- >-if (-2147483648 << 0 !== -2147483648) { >- testFailed('#32: -2147483648 << 0 === -2147483648. Actual: ' + (-2147483648 << 0)); >-} >- >- >-if (-1 << 1 !== -2) { >- testFailed('#33: -1 << 1 === -2. Actual: ' + (-1 << 1)); >-} >- >- >-if (-2 << 1 !== -4) { >- testFailed('#34: -2 << 1 === -4. Actual: ' + (-2 << 1)); >-} >- >- >-if (-4 << 1 !== -8) { >- testFailed('#35: -4 << 1 === -8. Actual: ' + (-4 << 1)); >-} >- >- >-if (-8 << 1 !== -16) { >- testFailed('#36: -8 << 1 === -16. Actual: ' + (-8 << 1)); >-} >- >- >-if (-16 << 1 !== -32) { >- testFailed('#37: -16 << 1 === -32. Actual: ' + (-16 << 1)); >-} >- >- >-if (-32 << 1 !== -64) { >- testFailed('#38: -32 << 1 === -64. Actual: ' + (-32 << 1)); >-} >- >- >-if (-64 << 1 !== -128) { >- testFailed('#39: -64 << 1 === -128. Actual: ' + (-64 << 1)); >-} >- >- >-if (-128 << 1 !== -256) { >- testFailed('#40: -128 << 1 === -256. Actual: ' + (-128 << 1)); >-} >- >- >-if (-256 << 1 !== -512) { >- testFailed('#41: -256 << 1 === -512. Actual: ' + (-256 << 1)); >-} >- >- >-if (-512 << 1 !== -1024) { >- testFailed('#42: -512 << 1 === -1024. Actual: ' + (-512 << 1)); >-} >- >- >-if (-1024 << 1 !== -2048) { >- testFailed('#43: -1024 << 1 === -2048. Actual: ' + (-1024 << 1)); >-} >- >- >-if (-2048 << 1 !== -4096) { >- testFailed('#44: -2048 << 1 === -4096. Actual: ' + (-2048 << 1)); >-} >- >- >-if (-4096 << 1 !== -8192) { >- testFailed('#45: -4096 << 1 === -8192. Actual: ' + (-4096 << 1)); >-} >- >- >-if (-8192 << 1 !== -16384) { >- testFailed('#46: -8192 << 1 === -16384. Actual: ' + (-8192 << 1)); >-} >- >- >-if (-16384 << 1 !== -32768) { >- testFailed('#47: -16384 << 1 === -32768. Actual: ' + (-16384 << 1)); >-} >- >- >-if (-32768 << 1 !== -65536) { >- testFailed('#48: -32768 << 1 === -65536. Actual: ' + (-32768 << 1)); >-} >- >- >-if (-65536 << 1 !== -131072) { >- testFailed('#49: -65536 << 1 === -131072. Actual: ' + (-65536 << 1)); >-} >- >- >-if (-131072 << 1 !== -262144) { >- testFailed('#50: -131072 << 1 === -262144. Actual: ' + (-131072 << 1)); >-} >- >- >-if (-262144 << 1 !== -524288) { >- testFailed('#51: -262144 << 1 === -524288. Actual: ' + (-262144 << 1)); >-} >- >- >-if (-524288 << 1 !== -1048576) { >- testFailed('#52: -524288 << 1 === -1048576. Actual: ' + (-524288 << 1)); >-} >- >- >-if (-1048576 << 1 !== -2097152) { >- testFailed('#53: -1048576 << 1 === -2097152. Actual: ' + (-1048576 << 1)); >-} >- >- >-if (-2097152 << 1 !== -4194304) { >- testFailed('#54: -2097152 << 1 === -4194304. Actual: ' + (-2097152 << 1)); >-} >- >- >-if (-4194304 << 1 !== -8388608) { >- testFailed('#55: -4194304 << 1 === -8388608. Actual: ' + (-4194304 << 1)); >-} >- >- >-if (-8388608 << 1 !== -16777216) { >- testFailed('#56: -8388608 << 1 === -16777216. Actual: ' + (-8388608 << 1)); >-} >- >- >-if (-16777216 << 1 !== -33554432) { >- testFailed('#57: -16777216 << 1 === -33554432. Actual: ' + (-16777216 << 1)); >-} >- >- >-if (-33554432 << 1 !== -67108864) { >- testFailed('#58: -33554432 << 1 === -67108864. Actual: ' + (-33554432 << 1)); >-} >- >- >-if (-67108864 << 1 !== -134217728) { >- testFailed('#59: -67108864 << 1 === -134217728. Actual: ' + (-67108864 << 1)); >-} >- >- >-if (-134217728 << 1 !== -268435456) { >- testFailed('#60: -134217728 << 1 === -268435456. Actual: ' + (-134217728 << 1)); >-} >- >- >-if (-268435456 << 1 !== -536870912) { >- testFailed('#61: -268435456 << 1 === -536870912. Actual: ' + (-268435456 << 1)); >-} >- >- >-if (-536870912 << 1 !== -1073741824) { >- testFailed('#62: -536870912 << 1 === -1073741824. Actual: ' + (-536870912 << 1)); >-} >- >- >-if (-1073741824 << 1 !== -2147483648) { >- testFailed('#63: -1073741824 << 1 === -2147483648. Actual: ' + (-1073741824 << 1)); >-} >- >- >-if (-2147483648 << 1 !== 0) { >- testFailed('#64: -2147483648 << 1 === 0. Actual: ' + (-2147483648 << 1)); >-} >- >- >-if (-1 << 2 !== -4) { >- testFailed('#65: -1 << 2 === -4. Actual: ' + (-1 << 2)); >-} >- >- >-if (-2 << 2 !== -8) { >- testFailed('#66: -2 << 2 === -8. Actual: ' + (-2 << 2)); >-} >- >- >-if (-4 << 2 !== -16) { >- testFailed('#67: -4 << 2 === -16. Actual: ' + (-4 << 2)); >-} >- >- >-if (-8 << 2 !== -32) { >- testFailed('#68: -8 << 2 === -32. Actual: ' + (-8 << 2)); >-} >- >- >-if (-16 << 2 !== -64) { >- testFailed('#69: -16 << 2 === -64. Actual: ' + (-16 << 2)); >-} >- >- >-if (-32 << 2 !== -128) { >- testFailed('#70: -32 << 2 === -128. Actual: ' + (-32 << 2)); >-} >- >- >-if (-64 << 2 !== -256) { >- testFailed('#71: -64 << 2 === -256. Actual: ' + (-64 << 2)); >-} >- >- >-if (-128 << 2 !== -512) { >- testFailed('#72: -128 << 2 === -512. Actual: ' + (-128 << 2)); >-} >- >- >-if (-256 << 2 !== -1024) { >- testFailed('#73: -256 << 2 === -1024. Actual: ' + (-256 << 2)); >-} >- >- >-if (-512 << 2 !== -2048) { >- testFailed('#74: -512 << 2 === -2048. Actual: ' + (-512 << 2)); >-} >- >- >-if (-1024 << 2 !== -4096) { >- testFailed('#75: -1024 << 2 === -4096. Actual: ' + (-1024 << 2)); >-} >- >- >-if (-2048 << 2 !== -8192) { >- testFailed('#76: -2048 << 2 === -8192. Actual: ' + (-2048 << 2)); >-} >- >- >-if (-4096 << 2 !== -16384) { >- testFailed('#77: -4096 << 2 === -16384. Actual: ' + (-4096 << 2)); >-} >- >- >-if (-8192 << 2 !== -32768) { >- testFailed('#78: -8192 << 2 === -32768. Actual: ' + (-8192 << 2)); >-} >- >- >-if (-16384 << 2 !== -65536) { >- testFailed('#79: -16384 << 2 === -65536. Actual: ' + (-16384 << 2)); >-} >- >- >-if (-32768 << 2 !== -131072) { >- testFailed('#80: -32768 << 2 === -131072. Actual: ' + (-32768 << 2)); >-} >- >- >-if (-65536 << 2 !== -262144) { >- testFailed('#81: -65536 << 2 === -262144. Actual: ' + (-65536 << 2)); >-} >- >- >-if (-131072 << 2 !== -524288) { >- testFailed('#82: -131072 << 2 === -524288. Actual: ' + (-131072 << 2)); >-} >- >- >-if (-262144 << 2 !== -1048576) { >- testFailed('#83: -262144 << 2 === -1048576. Actual: ' + (-262144 << 2)); >-} >- >- >-if (-524288 << 2 !== -2097152) { >- testFailed('#84: -524288 << 2 === -2097152. Actual: ' + (-524288 << 2)); >-} >- >- >-if (-1048576 << 2 !== -4194304) { >- testFailed('#85: -1048576 << 2 === -4194304. Actual: ' + (-1048576 << 2)); >-} >- >- >-if (-2097152 << 2 !== -8388608) { >- testFailed('#86: -2097152 << 2 === -8388608. Actual: ' + (-2097152 << 2)); >-} >- >- >-if (-4194304 << 2 !== -16777216) { >- testFailed('#87: -4194304 << 2 === -16777216. Actual: ' + (-4194304 << 2)); >-} >- >- >-if (-8388608 << 2 !== -33554432) { >- testFailed('#88: -8388608 << 2 === -33554432. Actual: ' + (-8388608 << 2)); >-} >- >- >-if (-16777216 << 2 !== -67108864) { >- testFailed('#89: -16777216 << 2 === -67108864. Actual: ' + (-16777216 << 2)); >-} >- >- >-if (-33554432 << 2 !== -134217728) { >- testFailed('#90: -33554432 << 2 === -134217728. Actual: ' + (-33554432 << 2)); >-} >- >- >-if (-67108864 << 2 !== -268435456) { >- testFailed('#91: -67108864 << 2 === -268435456. Actual: ' + (-67108864 << 2)); >-} >- >- >-if (-134217728 << 2 !== -536870912) { >- testFailed('#92: -134217728 << 2 === -536870912. Actual: ' + (-134217728 << 2)); >-} >- >- >-if (-268435456 << 2 !== -1073741824) { >- testFailed('#93: -268435456 << 2 === -1073741824. Actual: ' + (-268435456 << 2)); >-} >- >- >-if (-536870912 << 2 !== -2147483648) { >- testFailed('#94: -536870912 << 2 === -2147483648. Actual: ' + (-536870912 << 2)); >-} >- >- >-if (-1073741824 << 2 !== 0) { >- testFailed('#95: -1073741824 << 2 === 0. Actual: ' + (-1073741824 << 2)); >-} >- >- >-if (-2147483648 << 2 !== 0) { >- testFailed('#96: -2147483648 << 2 === 0. Actual: ' + (-2147483648 << 2)); >-} >- >- >-if (-1 << 3 !== -8) { >- testFailed('#97: -1 << 3 === -8. Actual: ' + (-1 << 3)); >-} >- >- >-if (-2 << 3 !== -16) { >- testFailed('#98: -2 << 3 === -16. Actual: ' + (-2 << 3)); >-} >- >- >-if (-4 << 3 !== -32) { >- testFailed('#99: -4 << 3 === -32. Actual: ' + (-4 << 3)); >-} >- >- >-if (-8 << 3 !== -64) { >- testFailed('#100: -8 << 3 === -64. Actual: ' + (-8 << 3)); >-} >- >- >-if (-16 << 3 !== -128) { >- testFailed('#101: -16 << 3 === -128. Actual: ' + (-16 << 3)); >-} >- >- >-if (-32 << 3 !== -256) { >- testFailed('#102: -32 << 3 === -256. Actual: ' + (-32 << 3)); >-} >- >- >-if (-64 << 3 !== -512) { >- testFailed('#103: -64 << 3 === -512. Actual: ' + (-64 << 3)); >-} >- >- >-if (-128 << 3 !== -1024) { >- testFailed('#104: -128 << 3 === -1024. Actual: ' + (-128 << 3)); >-} >- >- >-if (-256 << 3 !== -2048) { >- testFailed('#105: -256 << 3 === -2048. Actual: ' + (-256 << 3)); >-} >- >- >-if (-512 << 3 !== -4096) { >- testFailed('#106: -512 << 3 === -4096. Actual: ' + (-512 << 3)); >-} >- >- >-if (-1024 << 3 !== -8192) { >- testFailed('#107: -1024 << 3 === -8192. Actual: ' + (-1024 << 3)); >-} >- >- >-if (-2048 << 3 !== -16384) { >- testFailed('#108: -2048 << 3 === -16384. Actual: ' + (-2048 << 3)); >-} >- >- >-if (-4096 << 3 !== -32768) { >- testFailed('#109: -4096 << 3 === -32768. Actual: ' + (-4096 << 3)); >-} >- >- >-if (-8192 << 3 !== -65536) { >- testFailed('#110: -8192 << 3 === -65536. Actual: ' + (-8192 << 3)); >-} >- >- >-if (-16384 << 3 !== -131072) { >- testFailed('#111: -16384 << 3 === -131072. Actual: ' + (-16384 << 3)); >-} >- >- >-if (-32768 << 3 !== -262144) { >- testFailed('#112: -32768 << 3 === -262144. Actual: ' + (-32768 << 3)); >-} >- >- >-if (-65536 << 3 !== -524288) { >- testFailed('#113: -65536 << 3 === -524288. Actual: ' + (-65536 << 3)); >-} >- >- >-if (-131072 << 3 !== -1048576) { >- testFailed('#114: -131072 << 3 === -1048576. Actual: ' + (-131072 << 3)); >-} >- >- >-if (-262144 << 3 !== -2097152) { >- testFailed('#115: -262144 << 3 === -2097152. Actual: ' + (-262144 << 3)); >-} >- >- >-if (-524288 << 3 !== -4194304) { >- testFailed('#116: -524288 << 3 === -4194304. Actual: ' + (-524288 << 3)); >-} >- >- >-if (-1048576 << 3 !== -8388608) { >- testFailed('#117: -1048576 << 3 === -8388608. Actual: ' + (-1048576 << 3)); >-} >- >- >-if (-2097152 << 3 !== -16777216) { >- testFailed('#118: -2097152 << 3 === -16777216. Actual: ' + (-2097152 << 3)); >-} >- >- >-if (-4194304 << 3 !== -33554432) { >- testFailed('#119: -4194304 << 3 === -33554432. Actual: ' + (-4194304 << 3)); >-} >- >- >-if (-8388608 << 3 !== -67108864) { >- testFailed('#120: -8388608 << 3 === -67108864. Actual: ' + (-8388608 << 3)); >-} >- >- >-if (-16777216 << 3 !== -134217728) { >- testFailed('#121: -16777216 << 3 === -134217728. Actual: ' + (-16777216 << 3)); >-} >- >- >-if (-33554432 << 3 !== -268435456) { >- testFailed('#122: -33554432 << 3 === -268435456. Actual: ' + (-33554432 << 3)); >-} >- >- >-if (-67108864 << 3 !== -536870912) { >- testFailed('#123: -67108864 << 3 === -536870912. Actual: ' + (-67108864 << 3)); >-} >- >- >-if (-134217728 << 3 !== -1073741824) { >- testFailed('#124: -134217728 << 3 === -1073741824. Actual: ' + (-134217728 << 3)); >-} >- >- >-if (-268435456 << 3 !== -2147483648) { >- testFailed('#125: -268435456 << 3 === -2147483648. Actual: ' + (-268435456 << 3)); >-} >- >- >-if (-536870912 << 3 !== 0) { >- testFailed('#126: -536870912 << 3 === 0. Actual: ' + (-536870912 << 3)); >-} >- >- >-if (-1073741824 << 3 !== 0) { >- testFailed('#127: -1073741824 << 3 === 0. Actual: ' + (-1073741824 << 3)); >-} >- >- >-if (-2147483648 << 3 !== 0) { >- testFailed('#128: -2147483648 << 3 === 0. Actual: ' + (-2147483648 << 3)); >-} >- >- >-if (-1 << 4 !== -16) { >- testFailed('#129: -1 << 4 === -16. Actual: ' + (-1 << 4)); >-} >- >- >-if (-2 << 4 !== -32) { >- testFailed('#130: -2 << 4 === -32. Actual: ' + (-2 << 4)); >-} >- >- >-if (-4 << 4 !== -64) { >- testFailed('#131: -4 << 4 === -64. Actual: ' + (-4 << 4)); >-} >- >- >-if (-8 << 4 !== -128) { >- testFailed('#132: -8 << 4 === -128. Actual: ' + (-8 << 4)); >-} >- >- >-if (-16 << 4 !== -256) { >- testFailed('#133: -16 << 4 === -256. Actual: ' + (-16 << 4)); >-} >- >- >-if (-32 << 4 !== -512) { >- testFailed('#134: -32 << 4 === -512. Actual: ' + (-32 << 4)); >-} >- >- >-if (-64 << 4 !== -1024) { >- testFailed('#135: -64 << 4 === -1024. Actual: ' + (-64 << 4)); >-} >- >- >-if (-128 << 4 !== -2048) { >- testFailed('#136: -128 << 4 === -2048. Actual: ' + (-128 << 4)); >-} >- >- >-if (-256 << 4 !== -4096) { >- testFailed('#137: -256 << 4 === -4096. Actual: ' + (-256 << 4)); >-} >- >- >-if (-512 << 4 !== -8192) { >- testFailed('#138: -512 << 4 === -8192. Actual: ' + (-512 << 4)); >-} >- >- >-if (-1024 << 4 !== -16384) { >- testFailed('#139: -1024 << 4 === -16384. Actual: ' + (-1024 << 4)); >-} >- >- >-if (-2048 << 4 !== -32768) { >- testFailed('#140: -2048 << 4 === -32768. Actual: ' + (-2048 << 4)); >-} >- >- >-if (-4096 << 4 !== -65536) { >- testFailed('#141: -4096 << 4 === -65536. Actual: ' + (-4096 << 4)); >-} >- >- >-if (-8192 << 4 !== -131072) { >- testFailed('#142: -8192 << 4 === -131072. Actual: ' + (-8192 << 4)); >-} >- >- >-if (-16384 << 4 !== -262144) { >- testFailed('#143: -16384 << 4 === -262144. Actual: ' + (-16384 << 4)); >-} >- >- >-if (-32768 << 4 !== -524288) { >- testFailed('#144: -32768 << 4 === -524288. Actual: ' + (-32768 << 4)); >-} >- >- >-if (-65536 << 4 !== -1048576) { >- testFailed('#145: -65536 << 4 === -1048576. Actual: ' + (-65536 << 4)); >-} >- >- >-if (-131072 << 4 !== -2097152) { >- testFailed('#146: -131072 << 4 === -2097152. Actual: ' + (-131072 << 4)); >-} >- >- >-if (-262144 << 4 !== -4194304) { >- testFailed('#147: -262144 << 4 === -4194304. Actual: ' + (-262144 << 4)); >-} >- >- >-if (-524288 << 4 !== -8388608) { >- testFailed('#148: -524288 << 4 === -8388608. Actual: ' + (-524288 << 4)); >-} >- >- >-if (-1048576 << 4 !== -16777216) { >- testFailed('#149: -1048576 << 4 === -16777216. Actual: ' + (-1048576 << 4)); >-} >- >- >-if (-2097152 << 4 !== -33554432) { >- testFailed('#150: -2097152 << 4 === -33554432. Actual: ' + (-2097152 << 4)); >-} >- >- >-if (-4194304 << 4 !== -67108864) { >- testFailed('#151: -4194304 << 4 === -67108864. Actual: ' + (-4194304 << 4)); >-} >- >- >-if (-8388608 << 4 !== -134217728) { >- testFailed('#152: -8388608 << 4 === -134217728. Actual: ' + (-8388608 << 4)); >-} >- >- >-if (-16777216 << 4 !== -268435456) { >- testFailed('#153: -16777216 << 4 === -268435456. Actual: ' + (-16777216 << 4)); >-} >- >- >-if (-33554432 << 4 !== -536870912) { >- testFailed('#154: -33554432 << 4 === -536870912. Actual: ' + (-33554432 << 4)); >-} >- >- >-if (-67108864 << 4 !== -1073741824) { >- testFailed('#155: -67108864 << 4 === -1073741824. Actual: ' + (-67108864 << 4)); >-} >- >- >-if (-134217728 << 4 !== -2147483648) { >- testFailed('#156: -134217728 << 4 === -2147483648. Actual: ' + (-134217728 << 4)); >-} >- >- >-if (-268435456 << 4 !== 0) { >- testFailed('#157: -268435456 << 4 === 0. Actual: ' + (-268435456 << 4)); >-} >- >- >-if (-536870912 << 4 !== 0) { >- testFailed('#158: -536870912 << 4 === 0. Actual: ' + (-536870912 << 4)); >-} >- >- >-if (-1073741824 << 4 !== 0) { >- testFailed('#159: -1073741824 << 4 === 0. Actual: ' + (-1073741824 << 4)); >-} >- >- >-if (-2147483648 << 4 !== 0) { >- testFailed('#160: -2147483648 << 4 === 0. Actual: ' + (-2147483648 << 4)); >-} >- >- >-if (-1 << 5 !== -32) { >- testFailed('#161: -1 << 5 === -32. Actual: ' + (-1 << 5)); >-} >- >- >-if (-2 << 5 !== -64) { >- testFailed('#162: -2 << 5 === -64. Actual: ' + (-2 << 5)); >-} >- >- >-if (-4 << 5 !== -128) { >- testFailed('#163: -4 << 5 === -128. Actual: ' + (-4 << 5)); >-} >- >- >-if (-8 << 5 !== -256) { >- testFailed('#164: -8 << 5 === -256. Actual: ' + (-8 << 5)); >-} >- >- >-if (-16 << 5 !== -512) { >- testFailed('#165: -16 << 5 === -512. Actual: ' + (-16 << 5)); >-} >- >- >-if (-32 << 5 !== -1024) { >- testFailed('#166: -32 << 5 === -1024. Actual: ' + (-32 << 5)); >-} >- >- >-if (-64 << 5 !== -2048) { >- testFailed('#167: -64 << 5 === -2048. Actual: ' + (-64 << 5)); >-} >- >- >-if (-128 << 5 !== -4096) { >- testFailed('#168: -128 << 5 === -4096. Actual: ' + (-128 << 5)); >-} >- >- >-if (-256 << 5 !== -8192) { >- testFailed('#169: -256 << 5 === -8192. Actual: ' + (-256 << 5)); >-} >- >- >-if (-512 << 5 !== -16384) { >- testFailed('#170: -512 << 5 === -16384. Actual: ' + (-512 << 5)); >-} >- >- >-if (-1024 << 5 !== -32768) { >- testFailed('#171: -1024 << 5 === -32768. Actual: ' + (-1024 << 5)); >-} >- >- >-if (-2048 << 5 !== -65536) { >- testFailed('#172: -2048 << 5 === -65536. Actual: ' + (-2048 << 5)); >-} >- >- >-if (-4096 << 5 !== -131072) { >- testFailed('#173: -4096 << 5 === -131072. Actual: ' + (-4096 << 5)); >-} >- >- >-if (-8192 << 5 !== -262144) { >- testFailed('#174: -8192 << 5 === -262144. Actual: ' + (-8192 << 5)); >-} >- >- >-if (-16384 << 5 !== -524288) { >- testFailed('#175: -16384 << 5 === -524288. Actual: ' + (-16384 << 5)); >-} >- >- >-if (-32768 << 5 !== -1048576) { >- testFailed('#176: -32768 << 5 === -1048576. Actual: ' + (-32768 << 5)); >-} >- >- >-if (-65536 << 5 !== -2097152) { >- testFailed('#177: -65536 << 5 === -2097152. Actual: ' + (-65536 << 5)); >-} >- >- >-if (-131072 << 5 !== -4194304) { >- testFailed('#178: -131072 << 5 === -4194304. Actual: ' + (-131072 << 5)); >-} >- >- >-if (-262144 << 5 !== -8388608) { >- testFailed('#179: -262144 << 5 === -8388608. Actual: ' + (-262144 << 5)); >-} >- >- >-if (-524288 << 5 !== -16777216) { >- testFailed('#180: -524288 << 5 === -16777216. Actual: ' + (-524288 << 5)); >-} >- >- >-if (-1048576 << 5 !== -33554432) { >- testFailed('#181: -1048576 << 5 === -33554432. Actual: ' + (-1048576 << 5)); >-} >- >- >-if (-2097152 << 5 !== -67108864) { >- testFailed('#182: -2097152 << 5 === -67108864. Actual: ' + (-2097152 << 5)); >-} >- >- >-if (-4194304 << 5 !== -134217728) { >- testFailed('#183: -4194304 << 5 === -134217728. Actual: ' + (-4194304 << 5)); >-} >- >- >-if (-8388608 << 5 !== -268435456) { >- testFailed('#184: -8388608 << 5 === -268435456. Actual: ' + (-8388608 << 5)); >-} >- >- >-if (-16777216 << 5 !== -536870912) { >- testFailed('#185: -16777216 << 5 === -536870912. Actual: ' + (-16777216 << 5)); >-} >- >- >-if (-33554432 << 5 !== -1073741824) { >- testFailed('#186: -33554432 << 5 === -1073741824. Actual: ' + (-33554432 << 5)); >-} >- >- >-if (-67108864 << 5 !== -2147483648) { >- testFailed('#187: -67108864 << 5 === -2147483648. Actual: ' + (-67108864 << 5)); >-} >- >- >-if (-134217728 << 5 !== 0) { >- testFailed('#188: -134217728 << 5 === 0. Actual: ' + (-134217728 << 5)); >-} >- >- >-if (-268435456 << 5 !== 0) { >- testFailed('#189: -268435456 << 5 === 0. Actual: ' + (-268435456 << 5)); >-} >- >- >-if (-536870912 << 5 !== 0) { >- testFailed('#190: -536870912 << 5 === 0. Actual: ' + (-536870912 << 5)); >-} >- >- >-if (-1073741824 << 5 !== 0) { >- testFailed('#191: -1073741824 << 5 === 0. Actual: ' + (-1073741824 << 5)); >-} >- >- >-if (-2147483648 << 5 !== 0) { >- testFailed('#192: -2147483648 << 5 === 0. Actual: ' + (-2147483648 << 5)); >-} >- >- >-if (-1 << 6 !== -64) { >- testFailed('#193: -1 << 6 === -64. Actual: ' + (-1 << 6)); >-} >- >- >-if (-2 << 6 !== -128) { >- testFailed('#194: -2 << 6 === -128. Actual: ' + (-2 << 6)); >-} >- >- >-if (-4 << 6 !== -256) { >- testFailed('#195: -4 << 6 === -256. Actual: ' + (-4 << 6)); >-} >- >- >-if (-8 << 6 !== -512) { >- testFailed('#196: -8 << 6 === -512. Actual: ' + (-8 << 6)); >-} >- >- >-if (-16 << 6 !== -1024) { >- testFailed('#197: -16 << 6 === -1024. Actual: ' + (-16 << 6)); >-} >- >- >-if (-32 << 6 !== -2048) { >- testFailed('#198: -32 << 6 === -2048. Actual: ' + (-32 << 6)); >-} >- >- >-if (-64 << 6 !== -4096) { >- testFailed('#199: -64 << 6 === -4096. Actual: ' + (-64 << 6)); >-} >- >- >-if (-128 << 6 !== -8192) { >- testFailed('#200: -128 << 6 === -8192. Actual: ' + (-128 << 6)); >-} >- >- >-if (-256 << 6 !== -16384) { >- testFailed('#201: -256 << 6 === -16384. Actual: ' + (-256 << 6)); >-} >- >- >-if (-512 << 6 !== -32768) { >- testFailed('#202: -512 << 6 === -32768. Actual: ' + (-512 << 6)); >-} >- >- >-if (-1024 << 6 !== -65536) { >- testFailed('#203: -1024 << 6 === -65536. Actual: ' + (-1024 << 6)); >-} >- >- >-if (-2048 << 6 !== -131072) { >- testFailed('#204: -2048 << 6 === -131072. Actual: ' + (-2048 << 6)); >-} >- >- >-if (-4096 << 6 !== -262144) { >- testFailed('#205: -4096 << 6 === -262144. Actual: ' + (-4096 << 6)); >-} >- >- >-if (-8192 << 6 !== -524288) { >- testFailed('#206: -8192 << 6 === -524288. Actual: ' + (-8192 << 6)); >-} >- >- >-if (-16384 << 6 !== -1048576) { >- testFailed('#207: -16384 << 6 === -1048576. Actual: ' + (-16384 << 6)); >-} >- >- >-if (-32768 << 6 !== -2097152) { >- testFailed('#208: -32768 << 6 === -2097152. Actual: ' + (-32768 << 6)); >-} >- >- >-if (-65536 << 6 !== -4194304) { >- testFailed('#209: -65536 << 6 === -4194304. Actual: ' + (-65536 << 6)); >-} >- >- >-if (-131072 << 6 !== -8388608) { >- testFailed('#210: -131072 << 6 === -8388608. Actual: ' + (-131072 << 6)); >-} >- >- >-if (-262144 << 6 !== -16777216) { >- testFailed('#211: -262144 << 6 === -16777216. Actual: ' + (-262144 << 6)); >-} >- >- >-if (-524288 << 6 !== -33554432) { >- testFailed('#212: -524288 << 6 === -33554432. Actual: ' + (-524288 << 6)); >-} >- >- >-if (-1048576 << 6 !== -67108864) { >- testFailed('#213: -1048576 << 6 === -67108864. Actual: ' + (-1048576 << 6)); >-} >- >- >-if (-2097152 << 6 !== -134217728) { >- testFailed('#214: -2097152 << 6 === -134217728. Actual: ' + (-2097152 << 6)); >-} >- >- >-if (-4194304 << 6 !== -268435456) { >- testFailed('#215: -4194304 << 6 === -268435456. Actual: ' + (-4194304 << 6)); >-} >- >- >-if (-8388608 << 6 !== -536870912) { >- testFailed('#216: -8388608 << 6 === -536870912. Actual: ' + (-8388608 << 6)); >-} >- >- >-if (-16777216 << 6 !== -1073741824) { >- testFailed('#217: -16777216 << 6 === -1073741824. Actual: ' + (-16777216 << 6)); >-} >- >- >-if (-33554432 << 6 !== -2147483648) { >- testFailed('#218: -33554432 << 6 === -2147483648. Actual: ' + (-33554432 << 6)); >-} >- >- >-if (-67108864 << 6 !== 0) { >- testFailed('#219: -67108864 << 6 === 0. Actual: ' + (-67108864 << 6)); >-} >- >- >-if (-134217728 << 6 !== 0) { >- testFailed('#220: -134217728 << 6 === 0. Actual: ' + (-134217728 << 6)); >-} >- >- >-if (-268435456 << 6 !== 0) { >- testFailed('#221: -268435456 << 6 === 0. Actual: ' + (-268435456 << 6)); >-} >- >- >-if (-536870912 << 6 !== 0) { >- testFailed('#222: -536870912 << 6 === 0. Actual: ' + (-536870912 << 6)); >-} >- >- >-if (-1073741824 << 6 !== 0) { >- testFailed('#223: -1073741824 << 6 === 0. Actual: ' + (-1073741824 << 6)); >-} >- >- >-if (-2147483648 << 6 !== 0) { >- testFailed('#224: -2147483648 << 6 === 0. Actual: ' + (-2147483648 << 6)); >-} >- >- >-if (-1 << 7 !== -128) { >- testFailed('#225: -1 << 7 === -128. Actual: ' + (-1 << 7)); >-} >- >- >-if (-2 << 7 !== -256) { >- testFailed('#226: -2 << 7 === -256. Actual: ' + (-2 << 7)); >-} >- >- >-if (-4 << 7 !== -512) { >- testFailed('#227: -4 << 7 === -512. Actual: ' + (-4 << 7)); >-} >- >- >-if (-8 << 7 !== -1024) { >- testFailed('#228: -8 << 7 === -1024. Actual: ' + (-8 << 7)); >-} >- >- >-if (-16 << 7 !== -2048) { >- testFailed('#229: -16 << 7 === -2048. Actual: ' + (-16 << 7)); >-} >- >- >-if (-32 << 7 !== -4096) { >- testFailed('#230: -32 << 7 === -4096. Actual: ' + (-32 << 7)); >-} >- >- >-if (-64 << 7 !== -8192) { >- testFailed('#231: -64 << 7 === -8192. Actual: ' + (-64 << 7)); >-} >- >- >-if (-128 << 7 !== -16384) { >- testFailed('#232: -128 << 7 === -16384. Actual: ' + (-128 << 7)); >-} >- >- >-if (-256 << 7 !== -32768) { >- testFailed('#233: -256 << 7 === -32768. Actual: ' + (-256 << 7)); >-} >- >- >-if (-512 << 7 !== -65536) { >- testFailed('#234: -512 << 7 === -65536. Actual: ' + (-512 << 7)); >-} >- >- >-if (-1024 << 7 !== -131072) { >- testFailed('#235: -1024 << 7 === -131072. Actual: ' + (-1024 << 7)); >-} >- >- >-if (-2048 << 7 !== -262144) { >- testFailed('#236: -2048 << 7 === -262144. Actual: ' + (-2048 << 7)); >-} >- >- >-if (-4096 << 7 !== -524288) { >- testFailed('#237: -4096 << 7 === -524288. Actual: ' + (-4096 << 7)); >-} >- >- >-if (-8192 << 7 !== -1048576) { >- testFailed('#238: -8192 << 7 === -1048576. Actual: ' + (-8192 << 7)); >-} >- >- >-if (-16384 << 7 !== -2097152) { >- testFailed('#239: -16384 << 7 === -2097152. Actual: ' + (-16384 << 7)); >-} >- >- >-if (-32768 << 7 !== -4194304) { >- testFailed('#240: -32768 << 7 === -4194304. Actual: ' + (-32768 << 7)); >-} >- >- >-if (-65536 << 7 !== -8388608) { >- testFailed('#241: -65536 << 7 === -8388608. Actual: ' + (-65536 << 7)); >-} >- >- >-if (-131072 << 7 !== -16777216) { >- testFailed('#242: -131072 << 7 === -16777216. Actual: ' + (-131072 << 7)); >-} >- >- >-if (-262144 << 7 !== -33554432) { >- testFailed('#243: -262144 << 7 === -33554432. Actual: ' + (-262144 << 7)); >-} >- >- >-if (-524288 << 7 !== -67108864) { >- testFailed('#244: -524288 << 7 === -67108864. Actual: ' + (-524288 << 7)); >-} >- >- >-if (-1048576 << 7 !== -134217728) { >- testFailed('#245: -1048576 << 7 === -134217728. Actual: ' + (-1048576 << 7)); >-} >- >- >-if (-2097152 << 7 !== -268435456) { >- testFailed('#246: -2097152 << 7 === -268435456. Actual: ' + (-2097152 << 7)); >-} >- >- >-if (-4194304 << 7 !== -536870912) { >- testFailed('#247: -4194304 << 7 === -536870912. Actual: ' + (-4194304 << 7)); >-} >- >- >-if (-8388608 << 7 !== -1073741824) { >- testFailed('#248: -8388608 << 7 === -1073741824. Actual: ' + (-8388608 << 7)); >-} >- >- >-if (-16777216 << 7 !== -2147483648) { >- testFailed('#249: -16777216 << 7 === -2147483648. Actual: ' + (-16777216 << 7)); >-} >- >- >-if (-33554432 << 7 !== 0) { >- testFailed('#250: -33554432 << 7 === 0. Actual: ' + (-33554432 << 7)); >-} >- >- >-if (-67108864 << 7 !== 0) { >- testFailed('#251: -67108864 << 7 === 0. Actual: ' + (-67108864 << 7)); >-} >- >- >-if (-134217728 << 7 !== 0) { >- testFailed('#252: -134217728 << 7 === 0. Actual: ' + (-134217728 << 7)); >-} >- >- >-if (-268435456 << 7 !== 0) { >- testFailed('#253: -268435456 << 7 === 0. Actual: ' + (-268435456 << 7)); >-} >- >- >-if (-536870912 << 7 !== 0) { >- testFailed('#254: -536870912 << 7 === 0. Actual: ' + (-536870912 << 7)); >-} >- >- >-if (-1073741824 << 7 !== 0) { >- testFailed('#255: -1073741824 << 7 === 0. Actual: ' + (-1073741824 << 7)); >-} >- >- >-if (-2147483648 << 7 !== 0) { >- testFailed('#256: -2147483648 << 7 === 0. Actual: ' + (-2147483648 << 7)); >-} >- >- >-if (-1 << 8 !== -256) { >- testFailed('#257: -1 << 8 === -256. Actual: ' + (-1 << 8)); >-} >- >- >-if (-2 << 8 !== -512) { >- testFailed('#258: -2 << 8 === -512. Actual: ' + (-2 << 8)); >-} >- >- >-if (-4 << 8 !== -1024) { >- testFailed('#259: -4 << 8 === -1024. Actual: ' + (-4 << 8)); >-} >- >- >-if (-8 << 8 !== -2048) { >- testFailed('#260: -8 << 8 === -2048. Actual: ' + (-8 << 8)); >-} >- >- >-if (-16 << 8 !== -4096) { >- testFailed('#261: -16 << 8 === -4096. Actual: ' + (-16 << 8)); >-} >- >- >-if (-32 << 8 !== -8192) { >- testFailed('#262: -32 << 8 === -8192. Actual: ' + (-32 << 8)); >-} >- >- >-if (-64 << 8 !== -16384) { >- testFailed('#263: -64 << 8 === -16384. Actual: ' + (-64 << 8)); >-} >- >- >-if (-128 << 8 !== -32768) { >- testFailed('#264: -128 << 8 === -32768. Actual: ' + (-128 << 8)); >-} >- >- >-if (-256 << 8 !== -65536) { >- testFailed('#265: -256 << 8 === -65536. Actual: ' + (-256 << 8)); >-} >- >- >-if (-512 << 8 !== -131072) { >- testFailed('#266: -512 << 8 === -131072. Actual: ' + (-512 << 8)); >-} >- >- >-if (-1024 << 8 !== -262144) { >- testFailed('#267: -1024 << 8 === -262144. Actual: ' + (-1024 << 8)); >-} >- >- >-if (-2048 << 8 !== -524288) { >- testFailed('#268: -2048 << 8 === -524288. Actual: ' + (-2048 << 8)); >-} >- >- >-if (-4096 << 8 !== -1048576) { >- testFailed('#269: -4096 << 8 === -1048576. Actual: ' + (-4096 << 8)); >-} >- >- >-if (-8192 << 8 !== -2097152) { >- testFailed('#270: -8192 << 8 === -2097152. Actual: ' + (-8192 << 8)); >-} >- >- >-if (-16384 << 8 !== -4194304) { >- testFailed('#271: -16384 << 8 === -4194304. Actual: ' + (-16384 << 8)); >-} >- >- >-if (-32768 << 8 !== -8388608) { >- testFailed('#272: -32768 << 8 === -8388608. Actual: ' + (-32768 << 8)); >-} >- >- >-if (-65536 << 8 !== -16777216) { >- testFailed('#273: -65536 << 8 === -16777216. Actual: ' + (-65536 << 8)); >-} >- >- >-if (-131072 << 8 !== -33554432) { >- testFailed('#274: -131072 << 8 === -33554432. Actual: ' + (-131072 << 8)); >-} >- >- >-if (-262144 << 8 !== -67108864) { >- testFailed('#275: -262144 << 8 === -67108864. Actual: ' + (-262144 << 8)); >-} >- >- >-if (-524288 << 8 !== -134217728) { >- testFailed('#276: -524288 << 8 === -134217728. Actual: ' + (-524288 << 8)); >-} >- >- >-if (-1048576 << 8 !== -268435456) { >- testFailed('#277: -1048576 << 8 === -268435456. Actual: ' + (-1048576 << 8)); >-} >- >- >-if (-2097152 << 8 !== -536870912) { >- testFailed('#278: -2097152 << 8 === -536870912. Actual: ' + (-2097152 << 8)); >-} >- >- >-if (-4194304 << 8 !== -1073741824) { >- testFailed('#279: -4194304 << 8 === -1073741824. Actual: ' + (-4194304 << 8)); >-} >- >- >-if (-8388608 << 8 !== -2147483648) { >- testFailed('#280: -8388608 << 8 === -2147483648. Actual: ' + (-8388608 << 8)); >-} >- >- >-if (-16777216 << 8 !== 0) { >- testFailed('#281: -16777216 << 8 === 0. Actual: ' + (-16777216 << 8)); >-} >- >- >-if (-33554432 << 8 !== 0) { >- testFailed('#282: -33554432 << 8 === 0. Actual: ' + (-33554432 << 8)); >-} >- >- >-if (-67108864 << 8 !== 0) { >- testFailed('#283: -67108864 << 8 === 0. Actual: ' + (-67108864 << 8)); >-} >- >- >-if (-134217728 << 8 !== 0) { >- testFailed('#284: -134217728 << 8 === 0. Actual: ' + (-134217728 << 8)); >-} >- >- >-if (-268435456 << 8 !== 0) { >- testFailed('#285: -268435456 << 8 === 0. Actual: ' + (-268435456 << 8)); >-} >- >- >-if (-536870912 << 8 !== 0) { >- testFailed('#286: -536870912 << 8 === 0. Actual: ' + (-536870912 << 8)); >-} >- >- >-if (-1073741824 << 8 !== 0) { >- testFailed('#287: -1073741824 << 8 === 0. Actual: ' + (-1073741824 << 8)); >-} >- >- >-if (-2147483648 << 8 !== 0) { >- testFailed('#288: -2147483648 << 8 === 0. Actual: ' + (-2147483648 << 8)); >-} >- >- >-if (-1 << 9 !== -512) { >- testFailed('#289: -1 << 9 === -512. Actual: ' + (-1 << 9)); >-} >- >- >-if (-2 << 9 !== -1024) { >- testFailed('#290: -2 << 9 === -1024. Actual: ' + (-2 << 9)); >-} >- >- >-if (-4 << 9 !== -2048) { >- testFailed('#291: -4 << 9 === -2048. Actual: ' + (-4 << 9)); >-} >- >- >-if (-8 << 9 !== -4096) { >- testFailed('#292: -8 << 9 === -4096. Actual: ' + (-8 << 9)); >-} >- >- >-if (-16 << 9 !== -8192) { >- testFailed('#293: -16 << 9 === -8192. Actual: ' + (-16 << 9)); >-} >- >- >-if (-32 << 9 !== -16384) { >- testFailed('#294: -32 << 9 === -16384. Actual: ' + (-32 << 9)); >-} >- >- >-if (-64 << 9 !== -32768) { >- testFailed('#295: -64 << 9 === -32768. Actual: ' + (-64 << 9)); >-} >- >- >-if (-128 << 9 !== -65536) { >- testFailed('#296: -128 << 9 === -65536. Actual: ' + (-128 << 9)); >-} >- >- >-if (-256 << 9 !== -131072) { >- testFailed('#297: -256 << 9 === -131072. Actual: ' + (-256 << 9)); >-} >- >- >-if (-512 << 9 !== -262144) { >- testFailed('#298: -512 << 9 === -262144. Actual: ' + (-512 << 9)); >-} >- >- >-if (-1024 << 9 !== -524288) { >- testFailed('#299: -1024 << 9 === -524288. Actual: ' + (-1024 << 9)); >-} >- >- >-if (-2048 << 9 !== -1048576) { >- testFailed('#300: -2048 << 9 === -1048576. Actual: ' + (-2048 << 9)); >-} >- >- >-if (-4096 << 9 !== -2097152) { >- testFailed('#301: -4096 << 9 === -2097152. Actual: ' + (-4096 << 9)); >-} >- >- >-if (-8192 << 9 !== -4194304) { >- testFailed('#302: -8192 << 9 === -4194304. Actual: ' + (-8192 << 9)); >-} >- >- >-if (-16384 << 9 !== -8388608) { >- testFailed('#303: -16384 << 9 === -8388608. Actual: ' + (-16384 << 9)); >-} >- >- >-if (-32768 << 9 !== -16777216) { >- testFailed('#304: -32768 << 9 === -16777216. Actual: ' + (-32768 << 9)); >-} >- >- >-if (-65536 << 9 !== -33554432) { >- testFailed('#305: -65536 << 9 === -33554432. Actual: ' + (-65536 << 9)); >-} >- >- >-if (-131072 << 9 !== -67108864) { >- testFailed('#306: -131072 << 9 === -67108864. Actual: ' + (-131072 << 9)); >-} >- >- >-if (-262144 << 9 !== -134217728) { >- testFailed('#307: -262144 << 9 === -134217728. Actual: ' + (-262144 << 9)); >-} >- >- >-if (-524288 << 9 !== -268435456) { >- testFailed('#308: -524288 << 9 === -268435456. Actual: ' + (-524288 << 9)); >-} >- >- >-if (-1048576 << 9 !== -536870912) { >- testFailed('#309: -1048576 << 9 === -536870912. Actual: ' + (-1048576 << 9)); >-} >- >- >-if (-2097152 << 9 !== -1073741824) { >- testFailed('#310: -2097152 << 9 === -1073741824. Actual: ' + (-2097152 << 9)); >-} >- >- >-if (-4194304 << 9 !== -2147483648) { >- testFailed('#311: -4194304 << 9 === -2147483648. Actual: ' + (-4194304 << 9)); >-} >- >- >-if (-8388608 << 9 !== 0) { >- testFailed('#312: -8388608 << 9 === 0. Actual: ' + (-8388608 << 9)); >-} >- >- >-if (-16777216 << 9 !== 0) { >- testFailed('#313: -16777216 << 9 === 0. Actual: ' + (-16777216 << 9)); >-} >- >- >-if (-33554432 << 9 !== 0) { >- testFailed('#314: -33554432 << 9 === 0. Actual: ' + (-33554432 << 9)); >-} >- >- >-if (-67108864 << 9 !== 0) { >- testFailed('#315: -67108864 << 9 === 0. Actual: ' + (-67108864 << 9)); >-} >- >- >-if (-134217728 << 9 !== 0) { >- testFailed('#316: -134217728 << 9 === 0. Actual: ' + (-134217728 << 9)); >-} >- >- >-if (-268435456 << 9 !== 0) { >- testFailed('#317: -268435456 << 9 === 0. Actual: ' + (-268435456 << 9)); >-} >- >- >-if (-536870912 << 9 !== 0) { >- testFailed('#318: -536870912 << 9 === 0. Actual: ' + (-536870912 << 9)); >-} >- >- >-if (-1073741824 << 9 !== 0) { >- testFailed('#319: -1073741824 << 9 === 0. Actual: ' + (-1073741824 << 9)); >-} >- >- >-if (-2147483648 << 9 !== 0) { >- testFailed('#320: -2147483648 << 9 === 0. Actual: ' + (-2147483648 << 9)); >-} >- >- >-if (-1 << 10 !== -1024) { >- testFailed('#321: -1 << 10 === -1024. Actual: ' + (-1 << 10)); >-} >- >- >-if (-2 << 10 !== -2048) { >- testFailed('#322: -2 << 10 === -2048. Actual: ' + (-2 << 10)); >-} >- >- >-if (-4 << 10 !== -4096) { >- testFailed('#323: -4 << 10 === -4096. Actual: ' + (-4 << 10)); >-} >- >- >-if (-8 << 10 !== -8192) { >- testFailed('#324: -8 << 10 === -8192. Actual: ' + (-8 << 10)); >-} >- >- >-if (-16 << 10 !== -16384) { >- testFailed('#325: -16 << 10 === -16384. Actual: ' + (-16 << 10)); >-} >- >- >-if (-32 << 10 !== -32768) { >- testFailed('#326: -32 << 10 === -32768. Actual: ' + (-32 << 10)); >-} >- >- >-if (-64 << 10 !== -65536) { >- testFailed('#327: -64 << 10 === -65536. Actual: ' + (-64 << 10)); >-} >- >- >-if (-128 << 10 !== -131072) { >- testFailed('#328: -128 << 10 === -131072. Actual: ' + (-128 << 10)); >-} >- >- >-if (-256 << 10 !== -262144) { >- testFailed('#329: -256 << 10 === -262144. Actual: ' + (-256 << 10)); >-} >- >- >-if (-512 << 10 !== -524288) { >- testFailed('#330: -512 << 10 === -524288. Actual: ' + (-512 << 10)); >-} >- >- >-if (-1024 << 10 !== -1048576) { >- testFailed('#331: -1024 << 10 === -1048576. Actual: ' + (-1024 << 10)); >-} >- >- >-if (-2048 << 10 !== -2097152) { >- testFailed('#332: -2048 << 10 === -2097152. Actual: ' + (-2048 << 10)); >-} >- >- >-if (-4096 << 10 !== -4194304) { >- testFailed('#333: -4096 << 10 === -4194304. Actual: ' + (-4096 << 10)); >-} >- >- >-if (-8192 << 10 !== -8388608) { >- testFailed('#334: -8192 << 10 === -8388608. Actual: ' + (-8192 << 10)); >-} >- >- >-if (-16384 << 10 !== -16777216) { >- testFailed('#335: -16384 << 10 === -16777216. Actual: ' + (-16384 << 10)); >-} >- >- >-if (-32768 << 10 !== -33554432) { >- testFailed('#336: -32768 << 10 === -33554432. Actual: ' + (-32768 << 10)); >-} >- >- >-if (-65536 << 10 !== -67108864) { >- testFailed('#337: -65536 << 10 === -67108864. Actual: ' + (-65536 << 10)); >-} >- >- >-if (-131072 << 10 !== -134217728) { >- testFailed('#338: -131072 << 10 === -134217728. Actual: ' + (-131072 << 10)); >-} >- >- >-if (-262144 << 10 !== -268435456) { >- testFailed('#339: -262144 << 10 === -268435456. Actual: ' + (-262144 << 10)); >-} >- >- >-if (-524288 << 10 !== -536870912) { >- testFailed('#340: -524288 << 10 === -536870912. Actual: ' + (-524288 << 10)); >-} >- >- >-if (-1048576 << 10 !== -1073741824) { >- testFailed('#341: -1048576 << 10 === -1073741824. Actual: ' + (-1048576 << 10)); >-} >- >- >-if (-2097152 << 10 !== -2147483648) { >- testFailed('#342: -2097152 << 10 === -2147483648. Actual: ' + (-2097152 << 10)); >-} >- >- >-if (-4194304 << 10 !== 0) { >- testFailed('#343: -4194304 << 10 === 0. Actual: ' + (-4194304 << 10)); >-} >- >- >-if (-8388608 << 10 !== 0) { >- testFailed('#344: -8388608 << 10 === 0. Actual: ' + (-8388608 << 10)); >-} >- >- >-if (-16777216 << 10 !== 0) { >- testFailed('#345: -16777216 << 10 === 0. Actual: ' + (-16777216 << 10)); >-} >- >- >-if (-33554432 << 10 !== 0) { >- testFailed('#346: -33554432 << 10 === 0. Actual: ' + (-33554432 << 10)); >-} >- >- >-if (-67108864 << 10 !== 0) { >- testFailed('#347: -67108864 << 10 === 0. Actual: ' + (-67108864 << 10)); >-} >- >- >-if (-134217728 << 10 !== 0) { >- testFailed('#348: -134217728 << 10 === 0. Actual: ' + (-134217728 << 10)); >-} >- >- >-if (-268435456 << 10 !== 0) { >- testFailed('#349: -268435456 << 10 === 0. Actual: ' + (-268435456 << 10)); >-} >- >- >-if (-536870912 << 10 !== 0) { >- testFailed('#350: -536870912 << 10 === 0. Actual: ' + (-536870912 << 10)); >-} >- >- >-if (-1073741824 << 10 !== 0) { >- testFailed('#351: -1073741824 << 10 === 0. Actual: ' + (-1073741824 << 10)); >-} >- >- >-if (-2147483648 << 10 !== 0) { >- testFailed('#352: -2147483648 << 10 === 0. Actual: ' + (-2147483648 << 10)); >-} >- >- >-if (-1 << 11 !== -2048) { >- testFailed('#353: -1 << 11 === -2048. Actual: ' + (-1 << 11)); >-} >- >- >-if (-2 << 11 !== -4096) { >- testFailed('#354: -2 << 11 === -4096. Actual: ' + (-2 << 11)); >-} >- >- >-if (-4 << 11 !== -8192) { >- testFailed('#355: -4 << 11 === -8192. Actual: ' + (-4 << 11)); >-} >- >- >-if (-8 << 11 !== -16384) { >- testFailed('#356: -8 << 11 === -16384. Actual: ' + (-8 << 11)); >-} >- >- >-if (-16 << 11 !== -32768) { >- testFailed('#357: -16 << 11 === -32768. Actual: ' + (-16 << 11)); >-} >- >- >-if (-32 << 11 !== -65536) { >- testFailed('#358: -32 << 11 === -65536. Actual: ' + (-32 << 11)); >-} >- >- >-if (-64 << 11 !== -131072) { >- testFailed('#359: -64 << 11 === -131072. Actual: ' + (-64 << 11)); >-} >- >- >-if (-128 << 11 !== -262144) { >- testFailed('#360: -128 << 11 === -262144. Actual: ' + (-128 << 11)); >-} >- >- >-if (-256 << 11 !== -524288) { >- testFailed('#361: -256 << 11 === -524288. Actual: ' + (-256 << 11)); >-} >- >- >-if (-512 << 11 !== -1048576) { >- testFailed('#362: -512 << 11 === -1048576. Actual: ' + (-512 << 11)); >-} >- >- >-if (-1024 << 11 !== -2097152) { >- testFailed('#363: -1024 << 11 === -2097152. Actual: ' + (-1024 << 11)); >-} >- >- >-if (-2048 << 11 !== -4194304) { >- testFailed('#364: -2048 << 11 === -4194304. Actual: ' + (-2048 << 11)); >-} >- >- >-if (-4096 << 11 !== -8388608) { >- testFailed('#365: -4096 << 11 === -8388608. Actual: ' + (-4096 << 11)); >-} >- >- >-if (-8192 << 11 !== -16777216) { >- testFailed('#366: -8192 << 11 === -16777216. Actual: ' + (-8192 << 11)); >-} >- >- >-if (-16384 << 11 !== -33554432) { >- testFailed('#367: -16384 << 11 === -33554432. Actual: ' + (-16384 << 11)); >-} >- >- >-if (-32768 << 11 !== -67108864) { >- testFailed('#368: -32768 << 11 === -67108864. Actual: ' + (-32768 << 11)); >-} >- >- >-if (-65536 << 11 !== -134217728) { >- testFailed('#369: -65536 << 11 === -134217728. Actual: ' + (-65536 << 11)); >-} >- >- >-if (-131072 << 11 !== -268435456) { >- testFailed('#370: -131072 << 11 === -268435456. Actual: ' + (-131072 << 11)); >-} >- >- >-if (-262144 << 11 !== -536870912) { >- testFailed('#371: -262144 << 11 === -536870912. Actual: ' + (-262144 << 11)); >-} >- >- >-if (-524288 << 11 !== -1073741824) { >- testFailed('#372: -524288 << 11 === -1073741824. Actual: ' + (-524288 << 11)); >-} >- >- >-if (-1048576 << 11 !== -2147483648) { >- testFailed('#373: -1048576 << 11 === -2147483648. Actual: ' + (-1048576 << 11)); >-} >- >- >-if (-2097152 << 11 !== 0) { >- testFailed('#374: -2097152 << 11 === 0. Actual: ' + (-2097152 << 11)); >-} >- >- >-if (-4194304 << 11 !== 0) { >- testFailed('#375: -4194304 << 11 === 0. Actual: ' + (-4194304 << 11)); >-} >- >- >-if (-8388608 << 11 !== 0) { >- testFailed('#376: -8388608 << 11 === 0. Actual: ' + (-8388608 << 11)); >-} >- >- >-if (-16777216 << 11 !== 0) { >- testFailed('#377: -16777216 << 11 === 0. Actual: ' + (-16777216 << 11)); >-} >- >- >-if (-33554432 << 11 !== 0) { >- testFailed('#378: -33554432 << 11 === 0. Actual: ' + (-33554432 << 11)); >-} >- >- >-if (-67108864 << 11 !== 0) { >- testFailed('#379: -67108864 << 11 === 0. Actual: ' + (-67108864 << 11)); >-} >- >- >-if (-134217728 << 11 !== 0) { >- testFailed('#380: -134217728 << 11 === 0. Actual: ' + (-134217728 << 11)); >-} >- >- >-if (-268435456 << 11 !== 0) { >- testFailed('#381: -268435456 << 11 === 0. Actual: ' + (-268435456 << 11)); >-} >- >- >-if (-536870912 << 11 !== 0) { >- testFailed('#382: -536870912 << 11 === 0. Actual: ' + (-536870912 << 11)); >-} >- >- >-if (-1073741824 << 11 !== 0) { >- testFailed('#383: -1073741824 << 11 === 0. Actual: ' + (-1073741824 << 11)); >-} >- >- >-if (-2147483648 << 11 !== 0) { >- testFailed('#384: -2147483648 << 11 === 0. Actual: ' + (-2147483648 << 11)); >-} >- >- >-if (-1 << 12 !== -4096) { >- testFailed('#385: -1 << 12 === -4096. Actual: ' + (-1 << 12)); >-} >- >- >-if (-2 << 12 !== -8192) { >- testFailed('#386: -2 << 12 === -8192. Actual: ' + (-2 << 12)); >-} >- >- >-if (-4 << 12 !== -16384) { >- testFailed('#387: -4 << 12 === -16384. Actual: ' + (-4 << 12)); >-} >- >- >-if (-8 << 12 !== -32768) { >- testFailed('#388: -8 << 12 === -32768. Actual: ' + (-8 << 12)); >-} >- >- >-if (-16 << 12 !== -65536) { >- testFailed('#389: -16 << 12 === -65536. Actual: ' + (-16 << 12)); >-} >- >- >-if (-32 << 12 !== -131072) { >- testFailed('#390: -32 << 12 === -131072. Actual: ' + (-32 << 12)); >-} >- >- >-if (-64 << 12 !== -262144) { >- testFailed('#391: -64 << 12 === -262144. Actual: ' + (-64 << 12)); >-} >- >- >-if (-128 << 12 !== -524288) { >- testFailed('#392: -128 << 12 === -524288. Actual: ' + (-128 << 12)); >-} >- >- >-if (-256 << 12 !== -1048576) { >- testFailed('#393: -256 << 12 === -1048576. Actual: ' + (-256 << 12)); >-} >- >- >-if (-512 << 12 !== -2097152) { >- testFailed('#394: -512 << 12 === -2097152. Actual: ' + (-512 << 12)); >-} >- >- >-if (-1024 << 12 !== -4194304) { >- testFailed('#395: -1024 << 12 === -4194304. Actual: ' + (-1024 << 12)); >-} >- >- >-if (-2048 << 12 !== -8388608) { >- testFailed('#396: -2048 << 12 === -8388608. Actual: ' + (-2048 << 12)); >-} >- >- >-if (-4096 << 12 !== -16777216) { >- testFailed('#397: -4096 << 12 === -16777216. Actual: ' + (-4096 << 12)); >-} >- >- >-if (-8192 << 12 !== -33554432) { >- testFailed('#398: -8192 << 12 === -33554432. Actual: ' + (-8192 << 12)); >-} >- >- >-if (-16384 << 12 !== -67108864) { >- testFailed('#399: -16384 << 12 === -67108864. Actual: ' + (-16384 << 12)); >-} >- >- >-if (-32768 << 12 !== -134217728) { >- testFailed('#400: -32768 << 12 === -134217728. Actual: ' + (-32768 << 12)); >-} >- >- >-if (-65536 << 12 !== -268435456) { >- testFailed('#401: -65536 << 12 === -268435456. Actual: ' + (-65536 << 12)); >-} >- >- >-if (-131072 << 12 !== -536870912) { >- testFailed('#402: -131072 << 12 === -536870912. Actual: ' + (-131072 << 12)); >-} >- >- >-if (-262144 << 12 !== -1073741824) { >- testFailed('#403: -262144 << 12 === -1073741824. Actual: ' + (-262144 << 12)); >-} >- >- >-if (-524288 << 12 !== -2147483648) { >- testFailed('#404: -524288 << 12 === -2147483648. Actual: ' + (-524288 << 12)); >-} >- >- >-if (-1048576 << 12 !== 0) { >- testFailed('#405: -1048576 << 12 === 0. Actual: ' + (-1048576 << 12)); >-} >- >- >-if (-2097152 << 12 !== 0) { >- testFailed('#406: -2097152 << 12 === 0. Actual: ' + (-2097152 << 12)); >-} >- >- >-if (-4194304 << 12 !== 0) { >- testFailed('#407: -4194304 << 12 === 0. Actual: ' + (-4194304 << 12)); >-} >- >- >-if (-8388608 << 12 !== 0) { >- testFailed('#408: -8388608 << 12 === 0. Actual: ' + (-8388608 << 12)); >-} >- >- >-if (-16777216 << 12 !== 0) { >- testFailed('#409: -16777216 << 12 === 0. Actual: ' + (-16777216 << 12)); >-} >- >- >-if (-33554432 << 12 !== 0) { >- testFailed('#410: -33554432 << 12 === 0. Actual: ' + (-33554432 << 12)); >-} >- >- >-if (-67108864 << 12 !== 0) { >- testFailed('#411: -67108864 << 12 === 0. Actual: ' + (-67108864 << 12)); >-} >- >- >-if (-134217728 << 12 !== 0) { >- testFailed('#412: -134217728 << 12 === 0. Actual: ' + (-134217728 << 12)); >-} >- >- >-if (-268435456 << 12 !== 0) { >- testFailed('#413: -268435456 << 12 === 0. Actual: ' + (-268435456 << 12)); >-} >- >- >-if (-536870912 << 12 !== 0) { >- testFailed('#414: -536870912 << 12 === 0. Actual: ' + (-536870912 << 12)); >-} >- >- >-if (-1073741824 << 12 !== 0) { >- testFailed('#415: -1073741824 << 12 === 0. Actual: ' + (-1073741824 << 12)); >-} >- >- >-if (-2147483648 << 12 !== 0) { >- testFailed('#416: -2147483648 << 12 === 0. Actual: ' + (-2147483648 << 12)); >-} >- >- >-if (-1 << 13 !== -8192) { >- testFailed('#417: -1 << 13 === -8192. Actual: ' + (-1 << 13)); >-} >- >- >-if (-2 << 13 !== -16384) { >- testFailed('#418: -2 << 13 === -16384. Actual: ' + (-2 << 13)); >-} >- >- >-if (-4 << 13 !== -32768) { >- testFailed('#419: -4 << 13 === -32768. Actual: ' + (-4 << 13)); >-} >- >- >-if (-8 << 13 !== -65536) { >- testFailed('#420: -8 << 13 === -65536. Actual: ' + (-8 << 13)); >-} >- >- >-if (-16 << 13 !== -131072) { >- testFailed('#421: -16 << 13 === -131072. Actual: ' + (-16 << 13)); >-} >- >- >-if (-32 << 13 !== -262144) { >- testFailed('#422: -32 << 13 === -262144. Actual: ' + (-32 << 13)); >-} >- >- >-if (-64 << 13 !== -524288) { >- testFailed('#423: -64 << 13 === -524288. Actual: ' + (-64 << 13)); >-} >- >- >-if (-128 << 13 !== -1048576) { >- testFailed('#424: -128 << 13 === -1048576. Actual: ' + (-128 << 13)); >-} >- >- >-if (-256 << 13 !== -2097152) { >- testFailed('#425: -256 << 13 === -2097152. Actual: ' + (-256 << 13)); >-} >- >- >-if (-512 << 13 !== -4194304) { >- testFailed('#426: -512 << 13 === -4194304. Actual: ' + (-512 << 13)); >-} >- >- >-if (-1024 << 13 !== -8388608) { >- testFailed('#427: -1024 << 13 === -8388608. Actual: ' + (-1024 << 13)); >-} >- >- >-if (-2048 << 13 !== -16777216) { >- testFailed('#428: -2048 << 13 === -16777216. Actual: ' + (-2048 << 13)); >-} >- >- >-if (-4096 << 13 !== -33554432) { >- testFailed('#429: -4096 << 13 === -33554432. Actual: ' + (-4096 << 13)); >-} >- >- >-if (-8192 << 13 !== -67108864) { >- testFailed('#430: -8192 << 13 === -67108864. Actual: ' + (-8192 << 13)); >-} >- >- >-if (-16384 << 13 !== -134217728) { >- testFailed('#431: -16384 << 13 === -134217728. Actual: ' + (-16384 << 13)); >-} >- >- >-if (-32768 << 13 !== -268435456) { >- testFailed('#432: -32768 << 13 === -268435456. Actual: ' + (-32768 << 13)); >-} >- >- >-if (-65536 << 13 !== -536870912) { >- testFailed('#433: -65536 << 13 === -536870912. Actual: ' + (-65536 << 13)); >-} >- >- >-if (-131072 << 13 !== -1073741824) { >- testFailed('#434: -131072 << 13 === -1073741824. Actual: ' + (-131072 << 13)); >-} >- >- >-if (-262144 << 13 !== -2147483648) { >- testFailed('#435: -262144 << 13 === -2147483648. Actual: ' + (-262144 << 13)); >-} >- >- >-if (-524288 << 13 !== 0) { >- testFailed('#436: -524288 << 13 === 0. Actual: ' + (-524288 << 13)); >-} >- >- >-if (-1048576 << 13 !== 0) { >- testFailed('#437: -1048576 << 13 === 0. Actual: ' + (-1048576 << 13)); >-} >- >- >-if (-2097152 << 13 !== 0) { >- testFailed('#438: -2097152 << 13 === 0. Actual: ' + (-2097152 << 13)); >-} >- >- >-if (-4194304 << 13 !== 0) { >- testFailed('#439: -4194304 << 13 === 0. Actual: ' + (-4194304 << 13)); >-} >- >- >-if (-8388608 << 13 !== 0) { >- testFailed('#440: -8388608 << 13 === 0. Actual: ' + (-8388608 << 13)); >-} >- >- >-if (-16777216 << 13 !== 0) { >- testFailed('#441: -16777216 << 13 === 0. Actual: ' + (-16777216 << 13)); >-} >- >- >-if (-33554432 << 13 !== 0) { >- testFailed('#442: -33554432 << 13 === 0. Actual: ' + (-33554432 << 13)); >-} >- >- >-if (-67108864 << 13 !== 0) { >- testFailed('#443: -67108864 << 13 === 0. Actual: ' + (-67108864 << 13)); >-} >- >- >-if (-134217728 << 13 !== 0) { >- testFailed('#444: -134217728 << 13 === 0. Actual: ' + (-134217728 << 13)); >-} >- >- >-if (-268435456 << 13 !== 0) { >- testFailed('#445: -268435456 << 13 === 0. Actual: ' + (-268435456 << 13)); >-} >- >- >-if (-536870912 << 13 !== 0) { >- testFailed('#446: -536870912 << 13 === 0. Actual: ' + (-536870912 << 13)); >-} >- >- >-if (-1073741824 << 13 !== 0) { >- testFailed('#447: -1073741824 << 13 === 0. Actual: ' + (-1073741824 << 13)); >-} >- >- >-if (-2147483648 << 13 !== 0) { >- testFailed('#448: -2147483648 << 13 === 0. Actual: ' + (-2147483648 << 13)); >-} >- >- >-if (-1 << 14 !== -16384) { >- testFailed('#449: -1 << 14 === -16384. Actual: ' + (-1 << 14)); >-} >- >- >-if (-2 << 14 !== -32768) { >- testFailed('#450: -2 << 14 === -32768. Actual: ' + (-2 << 14)); >-} >- >- >-if (-4 << 14 !== -65536) { >- testFailed('#451: -4 << 14 === -65536. Actual: ' + (-4 << 14)); >-} >- >- >-if (-8 << 14 !== -131072) { >- testFailed('#452: -8 << 14 === -131072. Actual: ' + (-8 << 14)); >-} >- >- >-if (-16 << 14 !== -262144) { >- testFailed('#453: -16 << 14 === -262144. Actual: ' + (-16 << 14)); >-} >- >- >-if (-32 << 14 !== -524288) { >- testFailed('#454: -32 << 14 === -524288. Actual: ' + (-32 << 14)); >-} >- >- >-if (-64 << 14 !== -1048576) { >- testFailed('#455: -64 << 14 === -1048576. Actual: ' + (-64 << 14)); >-} >- >- >-if (-128 << 14 !== -2097152) { >- testFailed('#456: -128 << 14 === -2097152. Actual: ' + (-128 << 14)); >-} >- >- >-if (-256 << 14 !== -4194304) { >- testFailed('#457: -256 << 14 === -4194304. Actual: ' + (-256 << 14)); >-} >- >- >-if (-512 << 14 !== -8388608) { >- testFailed('#458: -512 << 14 === -8388608. Actual: ' + (-512 << 14)); >-} >- >- >-if (-1024 << 14 !== -16777216) { >- testFailed('#459: -1024 << 14 === -16777216. Actual: ' + (-1024 << 14)); >-} >- >- >-if (-2048 << 14 !== -33554432) { >- testFailed('#460: -2048 << 14 === -33554432. Actual: ' + (-2048 << 14)); >-} >- >- >-if (-4096 << 14 !== -67108864) { >- testFailed('#461: -4096 << 14 === -67108864. Actual: ' + (-4096 << 14)); >-} >- >- >-if (-8192 << 14 !== -134217728) { >- testFailed('#462: -8192 << 14 === -134217728. Actual: ' + (-8192 << 14)); >-} >- >- >-if (-16384 << 14 !== -268435456) { >- testFailed('#463: -16384 << 14 === -268435456. Actual: ' + (-16384 << 14)); >-} >- >- >-if (-32768 << 14 !== -536870912) { >- testFailed('#464: -32768 << 14 === -536870912. Actual: ' + (-32768 << 14)); >-} >- >- >-if (-65536 << 14 !== -1073741824) { >- testFailed('#465: -65536 << 14 === -1073741824. Actual: ' + (-65536 << 14)); >-} >- >- >-if (-131072 << 14 !== -2147483648) { >- testFailed('#466: -131072 << 14 === -2147483648. Actual: ' + (-131072 << 14)); >-} >- >- >-if (-262144 << 14 !== 0) { >- testFailed('#467: -262144 << 14 === 0. Actual: ' + (-262144 << 14)); >-} >- >- >-if (-524288 << 14 !== 0) { >- testFailed('#468: -524288 << 14 === 0. Actual: ' + (-524288 << 14)); >-} >- >- >-if (-1048576 << 14 !== 0) { >- testFailed('#469: -1048576 << 14 === 0. Actual: ' + (-1048576 << 14)); >-} >- >- >-if (-2097152 << 14 !== 0) { >- testFailed('#470: -2097152 << 14 === 0. Actual: ' + (-2097152 << 14)); >-} >- >- >-if (-4194304 << 14 !== 0) { >- testFailed('#471: -4194304 << 14 === 0. Actual: ' + (-4194304 << 14)); >-} >- >- >-if (-8388608 << 14 !== 0) { >- testFailed('#472: -8388608 << 14 === 0. Actual: ' + (-8388608 << 14)); >-} >- >- >-if (-16777216 << 14 !== 0) { >- testFailed('#473: -16777216 << 14 === 0. Actual: ' + (-16777216 << 14)); >-} >- >- >-if (-33554432 << 14 !== 0) { >- testFailed('#474: -33554432 << 14 === 0. Actual: ' + (-33554432 << 14)); >-} >- >- >-if (-67108864 << 14 !== 0) { >- testFailed('#475: -67108864 << 14 === 0. Actual: ' + (-67108864 << 14)); >-} >- >- >-if (-134217728 << 14 !== 0) { >- testFailed('#476: -134217728 << 14 === 0. Actual: ' + (-134217728 << 14)); >-} >- >- >-if (-268435456 << 14 !== 0) { >- testFailed('#477: -268435456 << 14 === 0. Actual: ' + (-268435456 << 14)); >-} >- >- >-if (-536870912 << 14 !== 0) { >- testFailed('#478: -536870912 << 14 === 0. Actual: ' + (-536870912 << 14)); >-} >- >- >-if (-1073741824 << 14 !== 0) { >- testFailed('#479: -1073741824 << 14 === 0. Actual: ' + (-1073741824 << 14)); >-} >- >- >-if (-2147483648 << 14 !== 0) { >- testFailed('#480: -2147483648 << 14 === 0. Actual: ' + (-2147483648 << 14)); >-} >- >- >-if (-1 << 15 !== -32768) { >- testFailed('#481: -1 << 15 === -32768. Actual: ' + (-1 << 15)); >-} >- >- >-if (-2 << 15 !== -65536) { >- testFailed('#482: -2 << 15 === -65536. Actual: ' + (-2 << 15)); >-} >- >- >-if (-4 << 15 !== -131072) { >- testFailed('#483: -4 << 15 === -131072. Actual: ' + (-4 << 15)); >-} >- >- >-if (-8 << 15 !== -262144) { >- testFailed('#484: -8 << 15 === -262144. Actual: ' + (-8 << 15)); >-} >- >- >-if (-16 << 15 !== -524288) { >- testFailed('#485: -16 << 15 === -524288. Actual: ' + (-16 << 15)); >-} >- >- >-if (-32 << 15 !== -1048576) { >- testFailed('#486: -32 << 15 === -1048576. Actual: ' + (-32 << 15)); >-} >- >- >-if (-64 << 15 !== -2097152) { >- testFailed('#487: -64 << 15 === -2097152. Actual: ' + (-64 << 15)); >-} >- >- >-if (-128 << 15 !== -4194304) { >- testFailed('#488: -128 << 15 === -4194304. Actual: ' + (-128 << 15)); >-} >- >- >-if (-256 << 15 !== -8388608) { >- testFailed('#489: -256 << 15 === -8388608. Actual: ' + (-256 << 15)); >-} >- >- >-if (-512 << 15 !== -16777216) { >- testFailed('#490: -512 << 15 === -16777216. Actual: ' + (-512 << 15)); >-} >- >- >-if (-1024 << 15 !== -33554432) { >- testFailed('#491: -1024 << 15 === -33554432. Actual: ' + (-1024 << 15)); >-} >- >- >-if (-2048 << 15 !== -67108864) { >- testFailed('#492: -2048 << 15 === -67108864. Actual: ' + (-2048 << 15)); >-} >- >- >-if (-4096 << 15 !== -134217728) { >- testFailed('#493: -4096 << 15 === -134217728. Actual: ' + (-4096 << 15)); >-} >- >- >-if (-8192 << 15 !== -268435456) { >- testFailed('#494: -8192 << 15 === -268435456. Actual: ' + (-8192 << 15)); >-} >- >- >-if (-16384 << 15 !== -536870912) { >- testFailed('#495: -16384 << 15 === -536870912. Actual: ' + (-16384 << 15)); >-} >- >- >-if (-32768 << 15 !== -1073741824) { >- testFailed('#496: -32768 << 15 === -1073741824. Actual: ' + (-32768 << 15)); >-} >- >- >-if (-65536 << 15 !== -2147483648) { >- testFailed('#497: -65536 << 15 === -2147483648. Actual: ' + (-65536 << 15)); >-} >- >- >-if (-131072 << 15 !== 0) { >- testFailed('#498: -131072 << 15 === 0. Actual: ' + (-131072 << 15)); >-} >- >- >-if (-262144 << 15 !== 0) { >- testFailed('#499: -262144 << 15 === 0. Actual: ' + (-262144 << 15)); >-} >- >- >-if (-524288 << 15 !== 0) { >- testFailed('#500: -524288 << 15 === 0. Actual: ' + (-524288 << 15)); >-} >- >- >-if (-1048576 << 15 !== 0) { >- testFailed('#501: -1048576 << 15 === 0. Actual: ' + (-1048576 << 15)); >-} >- >- >-if (-2097152 << 15 !== 0) { >- testFailed('#502: -2097152 << 15 === 0. Actual: ' + (-2097152 << 15)); >-} >- >- >-if (-4194304 << 15 !== 0) { >- testFailed('#503: -4194304 << 15 === 0. Actual: ' + (-4194304 << 15)); >-} >- >- >-if (-8388608 << 15 !== 0) { >- testFailed('#504: -8388608 << 15 === 0. Actual: ' + (-8388608 << 15)); >-} >- >- >-if (-16777216 << 15 !== 0) { >- testFailed('#505: -16777216 << 15 === 0. Actual: ' + (-16777216 << 15)); >-} >- >- >-if (-33554432 << 15 !== 0) { >- testFailed('#506: -33554432 << 15 === 0. Actual: ' + (-33554432 << 15)); >-} >- >- >-if (-67108864 << 15 !== 0) { >- testFailed('#507: -67108864 << 15 === 0. Actual: ' + (-67108864 << 15)); >-} >- >- >-if (-134217728 << 15 !== 0) { >- testFailed('#508: -134217728 << 15 === 0. Actual: ' + (-134217728 << 15)); >-} >- >- >-if (-268435456 << 15 !== 0) { >- testFailed('#509: -268435456 << 15 === 0. Actual: ' + (-268435456 << 15)); >-} >- >- >-if (-536870912 << 15 !== 0) { >- testFailed('#510: -536870912 << 15 === 0. Actual: ' + (-536870912 << 15)); >-} >- >- >-if (-1073741824 << 15 !== 0) { >- testFailed('#511: -1073741824 << 15 === 0. Actual: ' + (-1073741824 << 15)); >-} >- >- >-if (-2147483648 << 15 !== 0) { >- testFailed('#512: -2147483648 << 15 === 0. Actual: ' + (-2147483648 << 15)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2-expected.txt >deleted file mode 100644 >index ea85a087dae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.html >deleted file mode 100644 >index f15f7bd13b7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.html >+++ /dev/null >@@ -1,2654 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A4_T2; >- * @section: 11.7.1; >- * @assertion: Check operator x << y in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 16...31; >- */ >- >-//CHECK >- >-if (-1 << 16 !== -65536) { >- testFailed('#513: -1 << 16 === -65536. Actual: ' + (-1 << 16)); >-} >- >- >-if (-2 << 16 !== -131072) { >- testFailed('#514: -2 << 16 === -131072. Actual: ' + (-2 << 16)); >-} >- >- >-if (-4 << 16 !== -262144) { >- testFailed('#515: -4 << 16 === -262144. Actual: ' + (-4 << 16)); >-} >- >- >-if (-8 << 16 !== -524288) { >- testFailed('#516: -8 << 16 === -524288. Actual: ' + (-8 << 16)); >-} >- >- >-if (-16 << 16 !== -1048576) { >- testFailed('#517: -16 << 16 === -1048576. Actual: ' + (-16 << 16)); >-} >- >- >-if (-32 << 16 !== -2097152) { >- testFailed('#518: -32 << 16 === -2097152. Actual: ' + (-32 << 16)); >-} >- >- >-if (-64 << 16 !== -4194304) { >- testFailed('#519: -64 << 16 === -4194304. Actual: ' + (-64 << 16)); >-} >- >- >-if (-128 << 16 !== -8388608) { >- testFailed('#520: -128 << 16 === -8388608. Actual: ' + (-128 << 16)); >-} >- >- >-if (-256 << 16 !== -16777216) { >- testFailed('#521: -256 << 16 === -16777216. Actual: ' + (-256 << 16)); >-} >- >- >-if (-512 << 16 !== -33554432) { >- testFailed('#522: -512 << 16 === -33554432. Actual: ' + (-512 << 16)); >-} >- >- >-if (-1024 << 16 !== -67108864) { >- testFailed('#523: -1024 << 16 === -67108864. Actual: ' + (-1024 << 16)); >-} >- >- >-if (-2048 << 16 !== -134217728) { >- testFailed('#524: -2048 << 16 === -134217728. Actual: ' + (-2048 << 16)); >-} >- >- >-if (-4096 << 16 !== -268435456) { >- testFailed('#525: -4096 << 16 === -268435456. Actual: ' + (-4096 << 16)); >-} >- >- >-if (-8192 << 16 !== -536870912) { >- testFailed('#526: -8192 << 16 === -536870912. Actual: ' + (-8192 << 16)); >-} >- >- >-if (-16384 << 16 !== -1073741824) { >- testFailed('#527: -16384 << 16 === -1073741824. Actual: ' + (-16384 << 16)); >-} >- >- >-if (-32768 << 16 !== -2147483648) { >- testFailed('#528: -32768 << 16 === -2147483648. Actual: ' + (-32768 << 16)); >-} >- >- >-if (-65536 << 16 !== 0) { >- testFailed('#529: -65536 << 16 === 0. Actual: ' + (-65536 << 16)); >-} >- >- >-if (-131072 << 16 !== 0) { >- testFailed('#530: -131072 << 16 === 0. Actual: ' + (-131072 << 16)); >-} >- >- >-if (-262144 << 16 !== 0) { >- testFailed('#531: -262144 << 16 === 0. Actual: ' + (-262144 << 16)); >-} >- >- >-if (-524288 << 16 !== 0) { >- testFailed('#532: -524288 << 16 === 0. Actual: ' + (-524288 << 16)); >-} >- >- >-if (-1048576 << 16 !== 0) { >- testFailed('#533: -1048576 << 16 === 0. Actual: ' + (-1048576 << 16)); >-} >- >- >-if (-2097152 << 16 !== 0) { >- testFailed('#534: -2097152 << 16 === 0. Actual: ' + (-2097152 << 16)); >-} >- >- >-if (-4194304 << 16 !== 0) { >- testFailed('#535: -4194304 << 16 === 0. Actual: ' + (-4194304 << 16)); >-} >- >- >-if (-8388608 << 16 !== 0) { >- testFailed('#536: -8388608 << 16 === 0. Actual: ' + (-8388608 << 16)); >-} >- >- >-if (-16777216 << 16 !== 0) { >- testFailed('#537: -16777216 << 16 === 0. Actual: ' + (-16777216 << 16)); >-} >- >- >-if (-33554432 << 16 !== 0) { >- testFailed('#538: -33554432 << 16 === 0. Actual: ' + (-33554432 << 16)); >-} >- >- >-if (-67108864 << 16 !== 0) { >- testFailed('#539: -67108864 << 16 === 0. Actual: ' + (-67108864 << 16)); >-} >- >- >-if (-134217728 << 16 !== 0) { >- testFailed('#540: -134217728 << 16 === 0. Actual: ' + (-134217728 << 16)); >-} >- >- >-if (-268435456 << 16 !== 0) { >- testFailed('#541: -268435456 << 16 === 0. Actual: ' + (-268435456 << 16)); >-} >- >- >-if (-536870912 << 16 !== 0) { >- testFailed('#542: -536870912 << 16 === 0. Actual: ' + (-536870912 << 16)); >-} >- >- >-if (-1073741824 << 16 !== 0) { >- testFailed('#543: -1073741824 << 16 === 0. Actual: ' + (-1073741824 << 16)); >-} >- >- >-if (-2147483648 << 16 !== 0) { >- testFailed('#544: -2147483648 << 16 === 0. Actual: ' + (-2147483648 << 16)); >-} >- >- >-if (-1 << 17 !== -131072) { >- testFailed('#545: -1 << 17 === -131072. Actual: ' + (-1 << 17)); >-} >- >- >-if (-2 << 17 !== -262144) { >- testFailed('#546: -2 << 17 === -262144. Actual: ' + (-2 << 17)); >-} >- >- >-if (-4 << 17 !== -524288) { >- testFailed('#547: -4 << 17 === -524288. Actual: ' + (-4 << 17)); >-} >- >- >-if (-8 << 17 !== -1048576) { >- testFailed('#548: -8 << 17 === -1048576. Actual: ' + (-8 << 17)); >-} >- >- >-if (-16 << 17 !== -2097152) { >- testFailed('#549: -16 << 17 === -2097152. Actual: ' + (-16 << 17)); >-} >- >- >-if (-32 << 17 !== -4194304) { >- testFailed('#550: -32 << 17 === -4194304. Actual: ' + (-32 << 17)); >-} >- >- >-if (-64 << 17 !== -8388608) { >- testFailed('#551: -64 << 17 === -8388608. Actual: ' + (-64 << 17)); >-} >- >- >-if (-128 << 17 !== -16777216) { >- testFailed('#552: -128 << 17 === -16777216. Actual: ' + (-128 << 17)); >-} >- >- >-if (-256 << 17 !== -33554432) { >- testFailed('#553: -256 << 17 === -33554432. Actual: ' + (-256 << 17)); >-} >- >- >-if (-512 << 17 !== -67108864) { >- testFailed('#554: -512 << 17 === -67108864. Actual: ' + (-512 << 17)); >-} >- >- >-if (-1024 << 17 !== -134217728) { >- testFailed('#555: -1024 << 17 === -134217728. Actual: ' + (-1024 << 17)); >-} >- >- >-if (-2048 << 17 !== -268435456) { >- testFailed('#556: -2048 << 17 === -268435456. Actual: ' + (-2048 << 17)); >-} >- >- >-if (-4096 << 17 !== -536870912) { >- testFailed('#557: -4096 << 17 === -536870912. Actual: ' + (-4096 << 17)); >-} >- >- >-if (-8192 << 17 !== -1073741824) { >- testFailed('#558: -8192 << 17 === -1073741824. Actual: ' + (-8192 << 17)); >-} >- >- >-if (-16384 << 17 !== -2147483648) { >- testFailed('#559: -16384 << 17 === -2147483648. Actual: ' + (-16384 << 17)); >-} >- >- >-if (-32768 << 17 !== 0) { >- testFailed('#560: -32768 << 17 === 0. Actual: ' + (-32768 << 17)); >-} >- >- >-if (-65536 << 17 !== 0) { >- testFailed('#561: -65536 << 17 === 0. Actual: ' + (-65536 << 17)); >-} >- >- >-if (-131072 << 17 !== 0) { >- testFailed('#562: -131072 << 17 === 0. Actual: ' + (-131072 << 17)); >-} >- >- >-if (-262144 << 17 !== 0) { >- testFailed('#563: -262144 << 17 === 0. Actual: ' + (-262144 << 17)); >-} >- >- >-if (-524288 << 17 !== 0) { >- testFailed('#564: -524288 << 17 === 0. Actual: ' + (-524288 << 17)); >-} >- >- >-if (-1048576 << 17 !== 0) { >- testFailed('#565: -1048576 << 17 === 0. Actual: ' + (-1048576 << 17)); >-} >- >- >-if (-2097152 << 17 !== 0) { >- testFailed('#566: -2097152 << 17 === 0. Actual: ' + (-2097152 << 17)); >-} >- >- >-if (-4194304 << 17 !== 0) { >- testFailed('#567: -4194304 << 17 === 0. Actual: ' + (-4194304 << 17)); >-} >- >- >-if (-8388608 << 17 !== 0) { >- testFailed('#568: -8388608 << 17 === 0. Actual: ' + (-8388608 << 17)); >-} >- >- >-if (-16777216 << 17 !== 0) { >- testFailed('#569: -16777216 << 17 === 0. Actual: ' + (-16777216 << 17)); >-} >- >- >-if (-33554432 << 17 !== 0) { >- testFailed('#570: -33554432 << 17 === 0. Actual: ' + (-33554432 << 17)); >-} >- >- >-if (-67108864 << 17 !== 0) { >- testFailed('#571: -67108864 << 17 === 0. Actual: ' + (-67108864 << 17)); >-} >- >- >-if (-134217728 << 17 !== 0) { >- testFailed('#572: -134217728 << 17 === 0. Actual: ' + (-134217728 << 17)); >-} >- >- >-if (-268435456 << 17 !== 0) { >- testFailed('#573: -268435456 << 17 === 0. Actual: ' + (-268435456 << 17)); >-} >- >- >-if (-536870912 << 17 !== 0) { >- testFailed('#574: -536870912 << 17 === 0. Actual: ' + (-536870912 << 17)); >-} >- >- >-if (-1073741824 << 17 !== 0) { >- testFailed('#575: -1073741824 << 17 === 0. Actual: ' + (-1073741824 << 17)); >-} >- >- >-if (-2147483648 << 17 !== 0) { >- testFailed('#576: -2147483648 << 17 === 0. Actual: ' + (-2147483648 << 17)); >-} >- >- >-if (-1 << 18 !== -262144) { >- testFailed('#577: -1 << 18 === -262144. Actual: ' + (-1 << 18)); >-} >- >- >-if (-2 << 18 !== -524288) { >- testFailed('#578: -2 << 18 === -524288. Actual: ' + (-2 << 18)); >-} >- >- >-if (-4 << 18 !== -1048576) { >- testFailed('#579: -4 << 18 === -1048576. Actual: ' + (-4 << 18)); >-} >- >- >-if (-8 << 18 !== -2097152) { >- testFailed('#580: -8 << 18 === -2097152. Actual: ' + (-8 << 18)); >-} >- >- >-if (-16 << 18 !== -4194304) { >- testFailed('#581: -16 << 18 === -4194304. Actual: ' + (-16 << 18)); >-} >- >- >-if (-32 << 18 !== -8388608) { >- testFailed('#582: -32 << 18 === -8388608. Actual: ' + (-32 << 18)); >-} >- >- >-if (-64 << 18 !== -16777216) { >- testFailed('#583: -64 << 18 === -16777216. Actual: ' + (-64 << 18)); >-} >- >- >-if (-128 << 18 !== -33554432) { >- testFailed('#584: -128 << 18 === -33554432. Actual: ' + (-128 << 18)); >-} >- >- >-if (-256 << 18 !== -67108864) { >- testFailed('#585: -256 << 18 === -67108864. Actual: ' + (-256 << 18)); >-} >- >- >-if (-512 << 18 !== -134217728) { >- testFailed('#586: -512 << 18 === -134217728. Actual: ' + (-512 << 18)); >-} >- >- >-if (-1024 << 18 !== -268435456) { >- testFailed('#587: -1024 << 18 === -268435456. Actual: ' + (-1024 << 18)); >-} >- >- >-if (-2048 << 18 !== -536870912) { >- testFailed('#588: -2048 << 18 === -536870912. Actual: ' + (-2048 << 18)); >-} >- >- >-if (-4096 << 18 !== -1073741824) { >- testFailed('#589: -4096 << 18 === -1073741824. Actual: ' + (-4096 << 18)); >-} >- >- >-if (-8192 << 18 !== -2147483648) { >- testFailed('#590: -8192 << 18 === -2147483648. Actual: ' + (-8192 << 18)); >-} >- >- >-if (-16384 << 18 !== 0) { >- testFailed('#591: -16384 << 18 === 0. Actual: ' + (-16384 << 18)); >-} >- >- >-if (-32768 << 18 !== 0) { >- testFailed('#592: -32768 << 18 === 0. Actual: ' + (-32768 << 18)); >-} >- >- >-if (-65536 << 18 !== 0) { >- testFailed('#593: -65536 << 18 === 0. Actual: ' + (-65536 << 18)); >-} >- >- >-if (-131072 << 18 !== 0) { >- testFailed('#594: -131072 << 18 === 0. Actual: ' + (-131072 << 18)); >-} >- >- >-if (-262144 << 18 !== 0) { >- testFailed('#595: -262144 << 18 === 0. Actual: ' + (-262144 << 18)); >-} >- >- >-if (-524288 << 18 !== 0) { >- testFailed('#596: -524288 << 18 === 0. Actual: ' + (-524288 << 18)); >-} >- >- >-if (-1048576 << 18 !== 0) { >- testFailed('#597: -1048576 << 18 === 0. Actual: ' + (-1048576 << 18)); >-} >- >- >-if (-2097152 << 18 !== 0) { >- testFailed('#598: -2097152 << 18 === 0. Actual: ' + (-2097152 << 18)); >-} >- >- >-if (-4194304 << 18 !== 0) { >- testFailed('#599: -4194304 << 18 === 0. Actual: ' + (-4194304 << 18)); >-} >- >- >-if (-8388608 << 18 !== 0) { >- testFailed('#600: -8388608 << 18 === 0. Actual: ' + (-8388608 << 18)); >-} >- >- >-if (-16777216 << 18 !== 0) { >- testFailed('#601: -16777216 << 18 === 0. Actual: ' + (-16777216 << 18)); >-} >- >- >-if (-33554432 << 18 !== 0) { >- testFailed('#602: -33554432 << 18 === 0. Actual: ' + (-33554432 << 18)); >-} >- >- >-if (-67108864 << 18 !== 0) { >- testFailed('#603: -67108864 << 18 === 0. Actual: ' + (-67108864 << 18)); >-} >- >- >-if (-134217728 << 18 !== 0) { >- testFailed('#604: -134217728 << 18 === 0. Actual: ' + (-134217728 << 18)); >-} >- >- >-if (-268435456 << 18 !== 0) { >- testFailed('#605: -268435456 << 18 === 0. Actual: ' + (-268435456 << 18)); >-} >- >- >-if (-536870912 << 18 !== 0) { >- testFailed('#606: -536870912 << 18 === 0. Actual: ' + (-536870912 << 18)); >-} >- >- >-if (-1073741824 << 18 !== 0) { >- testFailed('#607: -1073741824 << 18 === 0. Actual: ' + (-1073741824 << 18)); >-} >- >- >-if (-2147483648 << 18 !== 0) { >- testFailed('#608: -2147483648 << 18 === 0. Actual: ' + (-2147483648 << 18)); >-} >- >- >-if (-1 << 19 !== -524288) { >- testFailed('#609: -1 << 19 === -524288. Actual: ' + (-1 << 19)); >-} >- >- >-if (-2 << 19 !== -1048576) { >- testFailed('#610: -2 << 19 === -1048576. Actual: ' + (-2 << 19)); >-} >- >- >-if (-4 << 19 !== -2097152) { >- testFailed('#611: -4 << 19 === -2097152. Actual: ' + (-4 << 19)); >-} >- >- >-if (-8 << 19 !== -4194304) { >- testFailed('#612: -8 << 19 === -4194304. Actual: ' + (-8 << 19)); >-} >- >- >-if (-16 << 19 !== -8388608) { >- testFailed('#613: -16 << 19 === -8388608. Actual: ' + (-16 << 19)); >-} >- >- >-if (-32 << 19 !== -16777216) { >- testFailed('#614: -32 << 19 === -16777216. Actual: ' + (-32 << 19)); >-} >- >- >-if (-64 << 19 !== -33554432) { >- testFailed('#615: -64 << 19 === -33554432. Actual: ' + (-64 << 19)); >-} >- >- >-if (-128 << 19 !== -67108864) { >- testFailed('#616: -128 << 19 === -67108864. Actual: ' + (-128 << 19)); >-} >- >- >-if (-256 << 19 !== -134217728) { >- testFailed('#617: -256 << 19 === -134217728. Actual: ' + (-256 << 19)); >-} >- >- >-if (-512 << 19 !== -268435456) { >- testFailed('#618: -512 << 19 === -268435456. Actual: ' + (-512 << 19)); >-} >- >- >-if (-1024 << 19 !== -536870912) { >- testFailed('#619: -1024 << 19 === -536870912. Actual: ' + (-1024 << 19)); >-} >- >- >-if (-2048 << 19 !== -1073741824) { >- testFailed('#620: -2048 << 19 === -1073741824. Actual: ' + (-2048 << 19)); >-} >- >- >-if (-4096 << 19 !== -2147483648) { >- testFailed('#621: -4096 << 19 === -2147483648. Actual: ' + (-4096 << 19)); >-} >- >- >-if (-8192 << 19 !== 0) { >- testFailed('#622: -8192 << 19 === 0. Actual: ' + (-8192 << 19)); >-} >- >- >-if (-16384 << 19 !== 0) { >- testFailed('#623: -16384 << 19 === 0. Actual: ' + (-16384 << 19)); >-} >- >- >-if (-32768 << 19 !== 0) { >- testFailed('#624: -32768 << 19 === 0. Actual: ' + (-32768 << 19)); >-} >- >- >-if (-65536 << 19 !== 0) { >- testFailed('#625: -65536 << 19 === 0. Actual: ' + (-65536 << 19)); >-} >- >- >-if (-131072 << 19 !== 0) { >- testFailed('#626: -131072 << 19 === 0. Actual: ' + (-131072 << 19)); >-} >- >- >-if (-262144 << 19 !== 0) { >- testFailed('#627: -262144 << 19 === 0. Actual: ' + (-262144 << 19)); >-} >- >- >-if (-524288 << 19 !== 0) { >- testFailed('#628: -524288 << 19 === 0. Actual: ' + (-524288 << 19)); >-} >- >- >-if (-1048576 << 19 !== 0) { >- testFailed('#629: -1048576 << 19 === 0. Actual: ' + (-1048576 << 19)); >-} >- >- >-if (-2097152 << 19 !== 0) { >- testFailed('#630: -2097152 << 19 === 0. Actual: ' + (-2097152 << 19)); >-} >- >- >-if (-4194304 << 19 !== 0) { >- testFailed('#631: -4194304 << 19 === 0. Actual: ' + (-4194304 << 19)); >-} >- >- >-if (-8388608 << 19 !== 0) { >- testFailed('#632: -8388608 << 19 === 0. Actual: ' + (-8388608 << 19)); >-} >- >- >-if (-16777216 << 19 !== 0) { >- testFailed('#633: -16777216 << 19 === 0. Actual: ' + (-16777216 << 19)); >-} >- >- >-if (-33554432 << 19 !== 0) { >- testFailed('#634: -33554432 << 19 === 0. Actual: ' + (-33554432 << 19)); >-} >- >- >-if (-67108864 << 19 !== 0) { >- testFailed('#635: -67108864 << 19 === 0. Actual: ' + (-67108864 << 19)); >-} >- >- >-if (-134217728 << 19 !== 0) { >- testFailed('#636: -134217728 << 19 === 0. Actual: ' + (-134217728 << 19)); >-} >- >- >-if (-268435456 << 19 !== 0) { >- testFailed('#637: -268435456 << 19 === 0. Actual: ' + (-268435456 << 19)); >-} >- >- >-if (-536870912 << 19 !== 0) { >- testFailed('#638: -536870912 << 19 === 0. Actual: ' + (-536870912 << 19)); >-} >- >- >-if (-1073741824 << 19 !== 0) { >- testFailed('#639: -1073741824 << 19 === 0. Actual: ' + (-1073741824 << 19)); >-} >- >- >-if (-2147483648 << 19 !== 0) { >- testFailed('#640: -2147483648 << 19 === 0. Actual: ' + (-2147483648 << 19)); >-} >- >- >-if (-1 << 20 !== -1048576) { >- testFailed('#641: -1 << 20 === -1048576. Actual: ' + (-1 << 20)); >-} >- >- >-if (-2 << 20 !== -2097152) { >- testFailed('#642: -2 << 20 === -2097152. Actual: ' + (-2 << 20)); >-} >- >- >-if (-4 << 20 !== -4194304) { >- testFailed('#643: -4 << 20 === -4194304. Actual: ' + (-4 << 20)); >-} >- >- >-if (-8 << 20 !== -8388608) { >- testFailed('#644: -8 << 20 === -8388608. Actual: ' + (-8 << 20)); >-} >- >- >-if (-16 << 20 !== -16777216) { >- testFailed('#645: -16 << 20 === -16777216. Actual: ' + (-16 << 20)); >-} >- >- >-if (-32 << 20 !== -33554432) { >- testFailed('#646: -32 << 20 === -33554432. Actual: ' + (-32 << 20)); >-} >- >- >-if (-64 << 20 !== -67108864) { >- testFailed('#647: -64 << 20 === -67108864. Actual: ' + (-64 << 20)); >-} >- >- >-if (-128 << 20 !== -134217728) { >- testFailed('#648: -128 << 20 === -134217728. Actual: ' + (-128 << 20)); >-} >- >- >-if (-256 << 20 !== -268435456) { >- testFailed('#649: -256 << 20 === -268435456. Actual: ' + (-256 << 20)); >-} >- >- >-if (-512 << 20 !== -536870912) { >- testFailed('#650: -512 << 20 === -536870912. Actual: ' + (-512 << 20)); >-} >- >- >-if (-1024 << 20 !== -1073741824) { >- testFailed('#651: -1024 << 20 === -1073741824. Actual: ' + (-1024 << 20)); >-} >- >- >-if (-2048 << 20 !== -2147483648) { >- testFailed('#652: -2048 << 20 === -2147483648. Actual: ' + (-2048 << 20)); >-} >- >- >-if (-4096 << 20 !== 0) { >- testFailed('#653: -4096 << 20 === 0. Actual: ' + (-4096 << 20)); >-} >- >- >-if (-8192 << 20 !== 0) { >- testFailed('#654: -8192 << 20 === 0. Actual: ' + (-8192 << 20)); >-} >- >- >-if (-16384 << 20 !== 0) { >- testFailed('#655: -16384 << 20 === 0. Actual: ' + (-16384 << 20)); >-} >- >- >-if (-32768 << 20 !== 0) { >- testFailed('#656: -32768 << 20 === 0. Actual: ' + (-32768 << 20)); >-} >- >- >-if (-65536 << 20 !== 0) { >- testFailed('#657: -65536 << 20 === 0. Actual: ' + (-65536 << 20)); >-} >- >- >-if (-131072 << 20 !== 0) { >- testFailed('#658: -131072 << 20 === 0. Actual: ' + (-131072 << 20)); >-} >- >- >-if (-262144 << 20 !== 0) { >- testFailed('#659: -262144 << 20 === 0. Actual: ' + (-262144 << 20)); >-} >- >- >-if (-524288 << 20 !== 0) { >- testFailed('#660: -524288 << 20 === 0. Actual: ' + (-524288 << 20)); >-} >- >- >-if (-1048576 << 20 !== 0) { >- testFailed('#661: -1048576 << 20 === 0. Actual: ' + (-1048576 << 20)); >-} >- >- >-if (-2097152 << 20 !== 0) { >- testFailed('#662: -2097152 << 20 === 0. Actual: ' + (-2097152 << 20)); >-} >- >- >-if (-4194304 << 20 !== 0) { >- testFailed('#663: -4194304 << 20 === 0. Actual: ' + (-4194304 << 20)); >-} >- >- >-if (-8388608 << 20 !== 0) { >- testFailed('#664: -8388608 << 20 === 0. Actual: ' + (-8388608 << 20)); >-} >- >- >-if (-16777216 << 20 !== 0) { >- testFailed('#665: -16777216 << 20 === 0. Actual: ' + (-16777216 << 20)); >-} >- >- >-if (-33554432 << 20 !== 0) { >- testFailed('#666: -33554432 << 20 === 0. Actual: ' + (-33554432 << 20)); >-} >- >- >-if (-67108864 << 20 !== 0) { >- testFailed('#667: -67108864 << 20 === 0. Actual: ' + (-67108864 << 20)); >-} >- >- >-if (-134217728 << 20 !== 0) { >- testFailed('#668: -134217728 << 20 === 0. Actual: ' + (-134217728 << 20)); >-} >- >- >-if (-268435456 << 20 !== 0) { >- testFailed('#669: -268435456 << 20 === 0. Actual: ' + (-268435456 << 20)); >-} >- >- >-if (-536870912 << 20 !== 0) { >- testFailed('#670: -536870912 << 20 === 0. Actual: ' + (-536870912 << 20)); >-} >- >- >-if (-1073741824 << 20 !== 0) { >- testFailed('#671: -1073741824 << 20 === 0. Actual: ' + (-1073741824 << 20)); >-} >- >- >-if (-2147483648 << 20 !== 0) { >- testFailed('#672: -2147483648 << 20 === 0. Actual: ' + (-2147483648 << 20)); >-} >- >- >-if (-1 << 21 !== -2097152) { >- testFailed('#673: -1 << 21 === -2097152. Actual: ' + (-1 << 21)); >-} >- >- >-if (-2 << 21 !== -4194304) { >- testFailed('#674: -2 << 21 === -4194304. Actual: ' + (-2 << 21)); >-} >- >- >-if (-4 << 21 !== -8388608) { >- testFailed('#675: -4 << 21 === -8388608. Actual: ' + (-4 << 21)); >-} >- >- >-if (-8 << 21 !== -16777216) { >- testFailed('#676: -8 << 21 === -16777216. Actual: ' + (-8 << 21)); >-} >- >- >-if (-16 << 21 !== -33554432) { >- testFailed('#677: -16 << 21 === -33554432. Actual: ' + (-16 << 21)); >-} >- >- >-if (-32 << 21 !== -67108864) { >- testFailed('#678: -32 << 21 === -67108864. Actual: ' + (-32 << 21)); >-} >- >- >-if (-64 << 21 !== -134217728) { >- testFailed('#679: -64 << 21 === -134217728. Actual: ' + (-64 << 21)); >-} >- >- >-if (-128 << 21 !== -268435456) { >- testFailed('#680: -128 << 21 === -268435456. Actual: ' + (-128 << 21)); >-} >- >- >-if (-256 << 21 !== -536870912) { >- testFailed('#681: -256 << 21 === -536870912. Actual: ' + (-256 << 21)); >-} >- >- >-if (-512 << 21 !== -1073741824) { >- testFailed('#682: -512 << 21 === -1073741824. Actual: ' + (-512 << 21)); >-} >- >- >-if (-1024 << 21 !== -2147483648) { >- testFailed('#683: -1024 << 21 === -2147483648. Actual: ' + (-1024 << 21)); >-} >- >- >-if (-2048 << 21 !== 0) { >- testFailed('#684: -2048 << 21 === 0. Actual: ' + (-2048 << 21)); >-} >- >- >-if (-4096 << 21 !== 0) { >- testFailed('#685: -4096 << 21 === 0. Actual: ' + (-4096 << 21)); >-} >- >- >-if (-8192 << 21 !== 0) { >- testFailed('#686: -8192 << 21 === 0. Actual: ' + (-8192 << 21)); >-} >- >- >-if (-16384 << 21 !== 0) { >- testFailed('#687: -16384 << 21 === 0. Actual: ' + (-16384 << 21)); >-} >- >- >-if (-32768 << 21 !== 0) { >- testFailed('#688: -32768 << 21 === 0. Actual: ' + (-32768 << 21)); >-} >- >- >-if (-65536 << 21 !== 0) { >- testFailed('#689: -65536 << 21 === 0. Actual: ' + (-65536 << 21)); >-} >- >- >-if (-131072 << 21 !== 0) { >- testFailed('#690: -131072 << 21 === 0. Actual: ' + (-131072 << 21)); >-} >- >- >-if (-262144 << 21 !== 0) { >- testFailed('#691: -262144 << 21 === 0. Actual: ' + (-262144 << 21)); >-} >- >- >-if (-524288 << 21 !== 0) { >- testFailed('#692: -524288 << 21 === 0. Actual: ' + (-524288 << 21)); >-} >- >- >-if (-1048576 << 21 !== 0) { >- testFailed('#693: -1048576 << 21 === 0. Actual: ' + (-1048576 << 21)); >-} >- >- >-if (-2097152 << 21 !== 0) { >- testFailed('#694: -2097152 << 21 === 0. Actual: ' + (-2097152 << 21)); >-} >- >- >-if (-4194304 << 21 !== 0) { >- testFailed('#695: -4194304 << 21 === 0. Actual: ' + (-4194304 << 21)); >-} >- >- >-if (-8388608 << 21 !== 0) { >- testFailed('#696: -8388608 << 21 === 0. Actual: ' + (-8388608 << 21)); >-} >- >- >-if (-16777216 << 21 !== 0) { >- testFailed('#697: -16777216 << 21 === 0. Actual: ' + (-16777216 << 21)); >-} >- >- >-if (-33554432 << 21 !== 0) { >- testFailed('#698: -33554432 << 21 === 0. Actual: ' + (-33554432 << 21)); >-} >- >- >-if (-67108864 << 21 !== 0) { >- testFailed('#699: -67108864 << 21 === 0. Actual: ' + (-67108864 << 21)); >-} >- >- >-if (-134217728 << 21 !== 0) { >- testFailed('#700: -134217728 << 21 === 0. Actual: ' + (-134217728 << 21)); >-} >- >- >-if (-268435456 << 21 !== 0) { >- testFailed('#701: -268435456 << 21 === 0. Actual: ' + (-268435456 << 21)); >-} >- >- >-if (-536870912 << 21 !== 0) { >- testFailed('#702: -536870912 << 21 === 0. Actual: ' + (-536870912 << 21)); >-} >- >- >-if (-1073741824 << 21 !== 0) { >- testFailed('#703: -1073741824 << 21 === 0. Actual: ' + (-1073741824 << 21)); >-} >- >- >-if (-2147483648 << 21 !== 0) { >- testFailed('#704: -2147483648 << 21 === 0. Actual: ' + (-2147483648 << 21)); >-} >- >- >-if (-1 << 22 !== -4194304) { >- testFailed('#705: -1 << 22 === -4194304. Actual: ' + (-1 << 22)); >-} >- >- >-if (-2 << 22 !== -8388608) { >- testFailed('#706: -2 << 22 === -8388608. Actual: ' + (-2 << 22)); >-} >- >- >-if (-4 << 22 !== -16777216) { >- testFailed('#707: -4 << 22 === -16777216. Actual: ' + (-4 << 22)); >-} >- >- >-if (-8 << 22 !== -33554432) { >- testFailed('#708: -8 << 22 === -33554432. Actual: ' + (-8 << 22)); >-} >- >- >-if (-16 << 22 !== -67108864) { >- testFailed('#709: -16 << 22 === -67108864. Actual: ' + (-16 << 22)); >-} >- >- >-if (-32 << 22 !== -134217728) { >- testFailed('#710: -32 << 22 === -134217728. Actual: ' + (-32 << 22)); >-} >- >- >-if (-64 << 22 !== -268435456) { >- testFailed('#711: -64 << 22 === -268435456. Actual: ' + (-64 << 22)); >-} >- >- >-if (-128 << 22 !== -536870912) { >- testFailed('#712: -128 << 22 === -536870912. Actual: ' + (-128 << 22)); >-} >- >- >-if (-256 << 22 !== -1073741824) { >- testFailed('#713: -256 << 22 === -1073741824. Actual: ' + (-256 << 22)); >-} >- >- >-if (-512 << 22 !== -2147483648) { >- testFailed('#714: -512 << 22 === -2147483648. Actual: ' + (-512 << 22)); >-} >- >- >-if (-1024 << 22 !== 0) { >- testFailed('#715: -1024 << 22 === 0. Actual: ' + (-1024 << 22)); >-} >- >- >-if (-2048 << 22 !== 0) { >- testFailed('#716: -2048 << 22 === 0. Actual: ' + (-2048 << 22)); >-} >- >- >-if (-4096 << 22 !== 0) { >- testFailed('#717: -4096 << 22 === 0. Actual: ' + (-4096 << 22)); >-} >- >- >-if (-8192 << 22 !== 0) { >- testFailed('#718: -8192 << 22 === 0. Actual: ' + (-8192 << 22)); >-} >- >- >-if (-16384 << 22 !== 0) { >- testFailed('#719: -16384 << 22 === 0. Actual: ' + (-16384 << 22)); >-} >- >- >-if (-32768 << 22 !== 0) { >- testFailed('#720: -32768 << 22 === 0. Actual: ' + (-32768 << 22)); >-} >- >- >-if (-65536 << 22 !== 0) { >- testFailed('#721: -65536 << 22 === 0. Actual: ' + (-65536 << 22)); >-} >- >- >-if (-131072 << 22 !== 0) { >- testFailed('#722: -131072 << 22 === 0. Actual: ' + (-131072 << 22)); >-} >- >- >-if (-262144 << 22 !== 0) { >- testFailed('#723: -262144 << 22 === 0. Actual: ' + (-262144 << 22)); >-} >- >- >-if (-524288 << 22 !== 0) { >- testFailed('#724: -524288 << 22 === 0. Actual: ' + (-524288 << 22)); >-} >- >- >-if (-1048576 << 22 !== 0) { >- testFailed('#725: -1048576 << 22 === 0. Actual: ' + (-1048576 << 22)); >-} >- >- >-if (-2097152 << 22 !== 0) { >- testFailed('#726: -2097152 << 22 === 0. Actual: ' + (-2097152 << 22)); >-} >- >- >-if (-4194304 << 22 !== 0) { >- testFailed('#727: -4194304 << 22 === 0. Actual: ' + (-4194304 << 22)); >-} >- >- >-if (-8388608 << 22 !== 0) { >- testFailed('#728: -8388608 << 22 === 0. Actual: ' + (-8388608 << 22)); >-} >- >- >-if (-16777216 << 22 !== 0) { >- testFailed('#729: -16777216 << 22 === 0. Actual: ' + (-16777216 << 22)); >-} >- >- >-if (-33554432 << 22 !== 0) { >- testFailed('#730: -33554432 << 22 === 0. Actual: ' + (-33554432 << 22)); >-} >- >- >-if (-67108864 << 22 !== 0) { >- testFailed('#731: -67108864 << 22 === 0. Actual: ' + (-67108864 << 22)); >-} >- >- >-if (-134217728 << 22 !== 0) { >- testFailed('#732: -134217728 << 22 === 0. Actual: ' + (-134217728 << 22)); >-} >- >- >-if (-268435456 << 22 !== 0) { >- testFailed('#733: -268435456 << 22 === 0. Actual: ' + (-268435456 << 22)); >-} >- >- >-if (-536870912 << 22 !== 0) { >- testFailed('#734: -536870912 << 22 === 0. Actual: ' + (-536870912 << 22)); >-} >- >- >-if (-1073741824 << 22 !== 0) { >- testFailed('#735: -1073741824 << 22 === 0. Actual: ' + (-1073741824 << 22)); >-} >- >- >-if (-2147483648 << 22 !== 0) { >- testFailed('#736: -2147483648 << 22 === 0. Actual: ' + (-2147483648 << 22)); >-} >- >- >-if (-1 << 23 !== -8388608) { >- testFailed('#737: -1 << 23 === -8388608. Actual: ' + (-1 << 23)); >-} >- >- >-if (-2 << 23 !== -16777216) { >- testFailed('#738: -2 << 23 === -16777216. Actual: ' + (-2 << 23)); >-} >- >- >-if (-4 << 23 !== -33554432) { >- testFailed('#739: -4 << 23 === -33554432. Actual: ' + (-4 << 23)); >-} >- >- >-if (-8 << 23 !== -67108864) { >- testFailed('#740: -8 << 23 === -67108864. Actual: ' + (-8 << 23)); >-} >- >- >-if (-16 << 23 !== -134217728) { >- testFailed('#741: -16 << 23 === -134217728. Actual: ' + (-16 << 23)); >-} >- >- >-if (-32 << 23 !== -268435456) { >- testFailed('#742: -32 << 23 === -268435456. Actual: ' + (-32 << 23)); >-} >- >- >-if (-64 << 23 !== -536870912) { >- testFailed('#743: -64 << 23 === -536870912. Actual: ' + (-64 << 23)); >-} >- >- >-if (-128 << 23 !== -1073741824) { >- testFailed('#744: -128 << 23 === -1073741824. Actual: ' + (-128 << 23)); >-} >- >- >-if (-256 << 23 !== -2147483648) { >- testFailed('#745: -256 << 23 === -2147483648. Actual: ' + (-256 << 23)); >-} >- >- >-if (-512 << 23 !== 0) { >- testFailed('#746: -512 << 23 === 0. Actual: ' + (-512 << 23)); >-} >- >- >-if (-1024 << 23 !== 0) { >- testFailed('#747: -1024 << 23 === 0. Actual: ' + (-1024 << 23)); >-} >- >- >-if (-2048 << 23 !== 0) { >- testFailed('#748: -2048 << 23 === 0. Actual: ' + (-2048 << 23)); >-} >- >- >-if (-4096 << 23 !== 0) { >- testFailed('#749: -4096 << 23 === 0. Actual: ' + (-4096 << 23)); >-} >- >- >-if (-8192 << 23 !== 0) { >- testFailed('#750: -8192 << 23 === 0. Actual: ' + (-8192 << 23)); >-} >- >- >-if (-16384 << 23 !== 0) { >- testFailed('#751: -16384 << 23 === 0. Actual: ' + (-16384 << 23)); >-} >- >- >-if (-32768 << 23 !== 0) { >- testFailed('#752: -32768 << 23 === 0. Actual: ' + (-32768 << 23)); >-} >- >- >-if (-65536 << 23 !== 0) { >- testFailed('#753: -65536 << 23 === 0. Actual: ' + (-65536 << 23)); >-} >- >- >-if (-131072 << 23 !== 0) { >- testFailed('#754: -131072 << 23 === 0. Actual: ' + (-131072 << 23)); >-} >- >- >-if (-262144 << 23 !== 0) { >- testFailed('#755: -262144 << 23 === 0. Actual: ' + (-262144 << 23)); >-} >- >- >-if (-524288 << 23 !== 0) { >- testFailed('#756: -524288 << 23 === 0. Actual: ' + (-524288 << 23)); >-} >- >- >-if (-1048576 << 23 !== 0) { >- testFailed('#757: -1048576 << 23 === 0. Actual: ' + (-1048576 << 23)); >-} >- >- >-if (-2097152 << 23 !== 0) { >- testFailed('#758: -2097152 << 23 === 0. Actual: ' + (-2097152 << 23)); >-} >- >- >-if (-4194304 << 23 !== 0) { >- testFailed('#759: -4194304 << 23 === 0. Actual: ' + (-4194304 << 23)); >-} >- >- >-if (-8388608 << 23 !== 0) { >- testFailed('#760: -8388608 << 23 === 0. Actual: ' + (-8388608 << 23)); >-} >- >- >-if (-16777216 << 23 !== 0) { >- testFailed('#761: -16777216 << 23 === 0. Actual: ' + (-16777216 << 23)); >-} >- >- >-if (-33554432 << 23 !== 0) { >- testFailed('#762: -33554432 << 23 === 0. Actual: ' + (-33554432 << 23)); >-} >- >- >-if (-67108864 << 23 !== 0) { >- testFailed('#763: -67108864 << 23 === 0. Actual: ' + (-67108864 << 23)); >-} >- >- >-if (-134217728 << 23 !== 0) { >- testFailed('#764: -134217728 << 23 === 0. Actual: ' + (-134217728 << 23)); >-} >- >- >-if (-268435456 << 23 !== 0) { >- testFailed('#765: -268435456 << 23 === 0. Actual: ' + (-268435456 << 23)); >-} >- >- >-if (-536870912 << 23 !== 0) { >- testFailed('#766: -536870912 << 23 === 0. Actual: ' + (-536870912 << 23)); >-} >- >- >-if (-1073741824 << 23 !== 0) { >- testFailed('#767: -1073741824 << 23 === 0. Actual: ' + (-1073741824 << 23)); >-} >- >- >-if (-2147483648 << 23 !== 0) { >- testFailed('#768: -2147483648 << 23 === 0. Actual: ' + (-2147483648 << 23)); >-} >- >- >-if (-1 << 24 !== -16777216) { >- testFailed('#769: -1 << 24 === -16777216. Actual: ' + (-1 << 24)); >-} >- >- >-if (-2 << 24 !== -33554432) { >- testFailed('#770: -2 << 24 === -33554432. Actual: ' + (-2 << 24)); >-} >- >- >-if (-4 << 24 !== -67108864) { >- testFailed('#771: -4 << 24 === -67108864. Actual: ' + (-4 << 24)); >-} >- >- >-if (-8 << 24 !== -134217728) { >- testFailed('#772: -8 << 24 === -134217728. Actual: ' + (-8 << 24)); >-} >- >- >-if (-16 << 24 !== -268435456) { >- testFailed('#773: -16 << 24 === -268435456. Actual: ' + (-16 << 24)); >-} >- >- >-if (-32 << 24 !== -536870912) { >- testFailed('#774: -32 << 24 === -536870912. Actual: ' + (-32 << 24)); >-} >- >- >-if (-64 << 24 !== -1073741824) { >- testFailed('#775: -64 << 24 === -1073741824. Actual: ' + (-64 << 24)); >-} >- >- >-if (-128 << 24 !== -2147483648) { >- testFailed('#776: -128 << 24 === -2147483648. Actual: ' + (-128 << 24)); >-} >- >- >-if (-256 << 24 !== 0) { >- testFailed('#777: -256 << 24 === 0. Actual: ' + (-256 << 24)); >-} >- >- >-if (-512 << 24 !== 0) { >- testFailed('#778: -512 << 24 === 0. Actual: ' + (-512 << 24)); >-} >- >- >-if (-1024 << 24 !== 0) { >- testFailed('#779: -1024 << 24 === 0. Actual: ' + (-1024 << 24)); >-} >- >- >-if (-2048 << 24 !== 0) { >- testFailed('#780: -2048 << 24 === 0. Actual: ' + (-2048 << 24)); >-} >- >- >-if (-4096 << 24 !== 0) { >- testFailed('#781: -4096 << 24 === 0. Actual: ' + (-4096 << 24)); >-} >- >- >-if (-8192 << 24 !== 0) { >- testFailed('#782: -8192 << 24 === 0. Actual: ' + (-8192 << 24)); >-} >- >- >-if (-16384 << 24 !== 0) { >- testFailed('#783: -16384 << 24 === 0. Actual: ' + (-16384 << 24)); >-} >- >- >-if (-32768 << 24 !== 0) { >- testFailed('#784: -32768 << 24 === 0. Actual: ' + (-32768 << 24)); >-} >- >- >-if (-65536 << 24 !== 0) { >- testFailed('#785: -65536 << 24 === 0. Actual: ' + (-65536 << 24)); >-} >- >- >-if (-131072 << 24 !== 0) { >- testFailed('#786: -131072 << 24 === 0. Actual: ' + (-131072 << 24)); >-} >- >- >-if (-262144 << 24 !== 0) { >- testFailed('#787: -262144 << 24 === 0. Actual: ' + (-262144 << 24)); >-} >- >- >-if (-524288 << 24 !== 0) { >- testFailed('#788: -524288 << 24 === 0. Actual: ' + (-524288 << 24)); >-} >- >- >-if (-1048576 << 24 !== 0) { >- testFailed('#789: -1048576 << 24 === 0. Actual: ' + (-1048576 << 24)); >-} >- >- >-if (-2097152 << 24 !== 0) { >- testFailed('#790: -2097152 << 24 === 0. Actual: ' + (-2097152 << 24)); >-} >- >- >-if (-4194304 << 24 !== 0) { >- testFailed('#791: -4194304 << 24 === 0. Actual: ' + (-4194304 << 24)); >-} >- >- >-if (-8388608 << 24 !== 0) { >- testFailed('#792: -8388608 << 24 === 0. Actual: ' + (-8388608 << 24)); >-} >- >- >-if (-16777216 << 24 !== 0) { >- testFailed('#793: -16777216 << 24 === 0. Actual: ' + (-16777216 << 24)); >-} >- >- >-if (-33554432 << 24 !== 0) { >- testFailed('#794: -33554432 << 24 === 0. Actual: ' + (-33554432 << 24)); >-} >- >- >-if (-67108864 << 24 !== 0) { >- testFailed('#795: -67108864 << 24 === 0. Actual: ' + (-67108864 << 24)); >-} >- >- >-if (-134217728 << 24 !== 0) { >- testFailed('#796: -134217728 << 24 === 0. Actual: ' + (-134217728 << 24)); >-} >- >- >-if (-268435456 << 24 !== 0) { >- testFailed('#797: -268435456 << 24 === 0. Actual: ' + (-268435456 << 24)); >-} >- >- >-if (-536870912 << 24 !== 0) { >- testFailed('#798: -536870912 << 24 === 0. Actual: ' + (-536870912 << 24)); >-} >- >- >-if (-1073741824 << 24 !== 0) { >- testFailed('#799: -1073741824 << 24 === 0. Actual: ' + (-1073741824 << 24)); >-} >- >- >-if (-2147483648 << 24 !== 0) { >- testFailed('#800: -2147483648 << 24 === 0. Actual: ' + (-2147483648 << 24)); >-} >- >- >-if (-1 << 25 !== -33554432) { >- testFailed('#801: -1 << 25 === -33554432. Actual: ' + (-1 << 25)); >-} >- >- >-if (-2 << 25 !== -67108864) { >- testFailed('#802: -2 << 25 === -67108864. Actual: ' + (-2 << 25)); >-} >- >- >-if (-4 << 25 !== -134217728) { >- testFailed('#803: -4 << 25 === -134217728. Actual: ' + (-4 << 25)); >-} >- >- >-if (-8 << 25 !== -268435456) { >- testFailed('#804: -8 << 25 === -268435456. Actual: ' + (-8 << 25)); >-} >- >- >-if (-16 << 25 !== -536870912) { >- testFailed('#805: -16 << 25 === -536870912. Actual: ' + (-16 << 25)); >-} >- >- >-if (-32 << 25 !== -1073741824) { >- testFailed('#806: -32 << 25 === -1073741824. Actual: ' + (-32 << 25)); >-} >- >- >-if (-64 << 25 !== -2147483648) { >- testFailed('#807: -64 << 25 === -2147483648. Actual: ' + (-64 << 25)); >-} >- >- >-if (-128 << 25 !== 0) { >- testFailed('#808: -128 << 25 === 0. Actual: ' + (-128 << 25)); >-} >- >- >-if (-256 << 25 !== 0) { >- testFailed('#809: -256 << 25 === 0. Actual: ' + (-256 << 25)); >-} >- >- >-if (-512 << 25 !== 0) { >- testFailed('#810: -512 << 25 === 0. Actual: ' + (-512 << 25)); >-} >- >- >-if (-1024 << 25 !== 0) { >- testFailed('#811: -1024 << 25 === 0. Actual: ' + (-1024 << 25)); >-} >- >- >-if (-2048 << 25 !== 0) { >- testFailed('#812: -2048 << 25 === 0. Actual: ' + (-2048 << 25)); >-} >- >- >-if (-4096 << 25 !== 0) { >- testFailed('#813: -4096 << 25 === 0. Actual: ' + (-4096 << 25)); >-} >- >- >-if (-8192 << 25 !== 0) { >- testFailed('#814: -8192 << 25 === 0. Actual: ' + (-8192 << 25)); >-} >- >- >-if (-16384 << 25 !== 0) { >- testFailed('#815: -16384 << 25 === 0. Actual: ' + (-16384 << 25)); >-} >- >- >-if (-32768 << 25 !== 0) { >- testFailed('#816: -32768 << 25 === 0. Actual: ' + (-32768 << 25)); >-} >- >- >-if (-65536 << 25 !== 0) { >- testFailed('#817: -65536 << 25 === 0. Actual: ' + (-65536 << 25)); >-} >- >- >-if (-131072 << 25 !== 0) { >- testFailed('#818: -131072 << 25 === 0. Actual: ' + (-131072 << 25)); >-} >- >- >-if (-262144 << 25 !== 0) { >- testFailed('#819: -262144 << 25 === 0. Actual: ' + (-262144 << 25)); >-} >- >- >-if (-524288 << 25 !== 0) { >- testFailed('#820: -524288 << 25 === 0. Actual: ' + (-524288 << 25)); >-} >- >- >-if (-1048576 << 25 !== 0) { >- testFailed('#821: -1048576 << 25 === 0. Actual: ' + (-1048576 << 25)); >-} >- >- >-if (-2097152 << 25 !== 0) { >- testFailed('#822: -2097152 << 25 === 0. Actual: ' + (-2097152 << 25)); >-} >- >- >-if (-4194304 << 25 !== 0) { >- testFailed('#823: -4194304 << 25 === 0. Actual: ' + (-4194304 << 25)); >-} >- >- >-if (-8388608 << 25 !== 0) { >- testFailed('#824: -8388608 << 25 === 0. Actual: ' + (-8388608 << 25)); >-} >- >- >-if (-16777216 << 25 !== 0) { >- testFailed('#825: -16777216 << 25 === 0. Actual: ' + (-16777216 << 25)); >-} >- >- >-if (-33554432 << 25 !== 0) { >- testFailed('#826: -33554432 << 25 === 0. Actual: ' + (-33554432 << 25)); >-} >- >- >-if (-67108864 << 25 !== 0) { >- testFailed('#827: -67108864 << 25 === 0. Actual: ' + (-67108864 << 25)); >-} >- >- >-if (-134217728 << 25 !== 0) { >- testFailed('#828: -134217728 << 25 === 0. Actual: ' + (-134217728 << 25)); >-} >- >- >-if (-268435456 << 25 !== 0) { >- testFailed('#829: -268435456 << 25 === 0. Actual: ' + (-268435456 << 25)); >-} >- >- >-if (-536870912 << 25 !== 0) { >- testFailed('#830: -536870912 << 25 === 0. Actual: ' + (-536870912 << 25)); >-} >- >- >-if (-1073741824 << 25 !== 0) { >- testFailed('#831: -1073741824 << 25 === 0. Actual: ' + (-1073741824 << 25)); >-} >- >- >-if (-2147483648 << 25 !== 0) { >- testFailed('#832: -2147483648 << 25 === 0. Actual: ' + (-2147483648 << 25)); >-} >- >- >-if (-1 << 26 !== -67108864) { >- testFailed('#833: -1 << 26 === -67108864. Actual: ' + (-1 << 26)); >-} >- >- >-if (-2 << 26 !== -134217728) { >- testFailed('#834: -2 << 26 === -134217728. Actual: ' + (-2 << 26)); >-} >- >- >-if (-4 << 26 !== -268435456) { >- testFailed('#835: -4 << 26 === -268435456. Actual: ' + (-4 << 26)); >-} >- >- >-if (-8 << 26 !== -536870912) { >- testFailed('#836: -8 << 26 === -536870912. Actual: ' + (-8 << 26)); >-} >- >- >-if (-16 << 26 !== -1073741824) { >- testFailed('#837: -16 << 26 === -1073741824. Actual: ' + (-16 << 26)); >-} >- >- >-if (-32 << 26 !== -2147483648) { >- testFailed('#838: -32 << 26 === -2147483648. Actual: ' + (-32 << 26)); >-} >- >- >-if (-64 << 26 !== 0) { >- testFailed('#839: -64 << 26 === 0. Actual: ' + (-64 << 26)); >-} >- >- >-if (-128 << 26 !== 0) { >- testFailed('#840: -128 << 26 === 0. Actual: ' + (-128 << 26)); >-} >- >- >-if (-256 << 26 !== 0) { >- testFailed('#841: -256 << 26 === 0. Actual: ' + (-256 << 26)); >-} >- >- >-if (-512 << 26 !== 0) { >- testFailed('#842: -512 << 26 === 0. Actual: ' + (-512 << 26)); >-} >- >- >-if (-1024 << 26 !== 0) { >- testFailed('#843: -1024 << 26 === 0. Actual: ' + (-1024 << 26)); >-} >- >- >-if (-2048 << 26 !== 0) { >- testFailed('#844: -2048 << 26 === 0. Actual: ' + (-2048 << 26)); >-} >- >- >-if (-4096 << 26 !== 0) { >- testFailed('#845: -4096 << 26 === 0. Actual: ' + (-4096 << 26)); >-} >- >- >-if (-8192 << 26 !== 0) { >- testFailed('#846: -8192 << 26 === 0. Actual: ' + (-8192 << 26)); >-} >- >- >-if (-16384 << 26 !== 0) { >- testFailed('#847: -16384 << 26 === 0. Actual: ' + (-16384 << 26)); >-} >- >- >-if (-32768 << 26 !== 0) { >- testFailed('#848: -32768 << 26 === 0. Actual: ' + (-32768 << 26)); >-} >- >- >-if (-65536 << 26 !== 0) { >- testFailed('#849: -65536 << 26 === 0. Actual: ' + (-65536 << 26)); >-} >- >- >-if (-131072 << 26 !== 0) { >- testFailed('#850: -131072 << 26 === 0. Actual: ' + (-131072 << 26)); >-} >- >- >-if (-262144 << 26 !== 0) { >- testFailed('#851: -262144 << 26 === 0. Actual: ' + (-262144 << 26)); >-} >- >- >-if (-524288 << 26 !== 0) { >- testFailed('#852: -524288 << 26 === 0. Actual: ' + (-524288 << 26)); >-} >- >- >-if (-1048576 << 26 !== 0) { >- testFailed('#853: -1048576 << 26 === 0. Actual: ' + (-1048576 << 26)); >-} >- >- >-if (-2097152 << 26 !== 0) { >- testFailed('#854: -2097152 << 26 === 0. Actual: ' + (-2097152 << 26)); >-} >- >- >-if (-4194304 << 26 !== 0) { >- testFailed('#855: -4194304 << 26 === 0. Actual: ' + (-4194304 << 26)); >-} >- >- >-if (-8388608 << 26 !== 0) { >- testFailed('#856: -8388608 << 26 === 0. Actual: ' + (-8388608 << 26)); >-} >- >- >-if (-16777216 << 26 !== 0) { >- testFailed('#857: -16777216 << 26 === 0. Actual: ' + (-16777216 << 26)); >-} >- >- >-if (-33554432 << 26 !== 0) { >- testFailed('#858: -33554432 << 26 === 0. Actual: ' + (-33554432 << 26)); >-} >- >- >-if (-67108864 << 26 !== 0) { >- testFailed('#859: -67108864 << 26 === 0. Actual: ' + (-67108864 << 26)); >-} >- >- >-if (-134217728 << 26 !== 0) { >- testFailed('#860: -134217728 << 26 === 0. Actual: ' + (-134217728 << 26)); >-} >- >- >-if (-268435456 << 26 !== 0) { >- testFailed('#861: -268435456 << 26 === 0. Actual: ' + (-268435456 << 26)); >-} >- >- >-if (-536870912 << 26 !== 0) { >- testFailed('#862: -536870912 << 26 === 0. Actual: ' + (-536870912 << 26)); >-} >- >- >-if (-1073741824 << 26 !== 0) { >- testFailed('#863: -1073741824 << 26 === 0. Actual: ' + (-1073741824 << 26)); >-} >- >- >-if (-2147483648 << 26 !== 0) { >- testFailed('#864: -2147483648 << 26 === 0. Actual: ' + (-2147483648 << 26)); >-} >- >- >-if (-1 << 27 !== -134217728) { >- testFailed('#865: -1 << 27 === -134217728. Actual: ' + (-1 << 27)); >-} >- >- >-if (-2 << 27 !== -268435456) { >- testFailed('#866: -2 << 27 === -268435456. Actual: ' + (-2 << 27)); >-} >- >- >-if (-4 << 27 !== -536870912) { >- testFailed('#867: -4 << 27 === -536870912. Actual: ' + (-4 << 27)); >-} >- >- >-if (-8 << 27 !== -1073741824) { >- testFailed('#868: -8 << 27 === -1073741824. Actual: ' + (-8 << 27)); >-} >- >- >-if (-16 << 27 !== -2147483648) { >- testFailed('#869: -16 << 27 === -2147483648. Actual: ' + (-16 << 27)); >-} >- >- >-if (-32 << 27 !== 0) { >- testFailed('#870: -32 << 27 === 0. Actual: ' + (-32 << 27)); >-} >- >- >-if (-64 << 27 !== 0) { >- testFailed('#871: -64 << 27 === 0. Actual: ' + (-64 << 27)); >-} >- >- >-if (-128 << 27 !== 0) { >- testFailed('#872: -128 << 27 === 0. Actual: ' + (-128 << 27)); >-} >- >- >-if (-256 << 27 !== 0) { >- testFailed('#873: -256 << 27 === 0. Actual: ' + (-256 << 27)); >-} >- >- >-if (-512 << 27 !== 0) { >- testFailed('#874: -512 << 27 === 0. Actual: ' + (-512 << 27)); >-} >- >- >-if (-1024 << 27 !== 0) { >- testFailed('#875: -1024 << 27 === 0. Actual: ' + (-1024 << 27)); >-} >- >- >-if (-2048 << 27 !== 0) { >- testFailed('#876: -2048 << 27 === 0. Actual: ' + (-2048 << 27)); >-} >- >- >-if (-4096 << 27 !== 0) { >- testFailed('#877: -4096 << 27 === 0. Actual: ' + (-4096 << 27)); >-} >- >- >-if (-8192 << 27 !== 0) { >- testFailed('#878: -8192 << 27 === 0. Actual: ' + (-8192 << 27)); >-} >- >- >-if (-16384 << 27 !== 0) { >- testFailed('#879: -16384 << 27 === 0. Actual: ' + (-16384 << 27)); >-} >- >- >-if (-32768 << 27 !== 0) { >- testFailed('#880: -32768 << 27 === 0. Actual: ' + (-32768 << 27)); >-} >- >- >-if (-65536 << 27 !== 0) { >- testFailed('#881: -65536 << 27 === 0. Actual: ' + (-65536 << 27)); >-} >- >- >-if (-131072 << 27 !== 0) { >- testFailed('#882: -131072 << 27 === 0. Actual: ' + (-131072 << 27)); >-} >- >- >-if (-262144 << 27 !== 0) { >- testFailed('#883: -262144 << 27 === 0. Actual: ' + (-262144 << 27)); >-} >- >- >-if (-524288 << 27 !== 0) { >- testFailed('#884: -524288 << 27 === 0. Actual: ' + (-524288 << 27)); >-} >- >- >-if (-1048576 << 27 !== 0) { >- testFailed('#885: -1048576 << 27 === 0. Actual: ' + (-1048576 << 27)); >-} >- >- >-if (-2097152 << 27 !== 0) { >- testFailed('#886: -2097152 << 27 === 0. Actual: ' + (-2097152 << 27)); >-} >- >- >-if (-4194304 << 27 !== 0) { >- testFailed('#887: -4194304 << 27 === 0. Actual: ' + (-4194304 << 27)); >-} >- >- >-if (-8388608 << 27 !== 0) { >- testFailed('#888: -8388608 << 27 === 0. Actual: ' + (-8388608 << 27)); >-} >- >- >-if (-16777216 << 27 !== 0) { >- testFailed('#889: -16777216 << 27 === 0. Actual: ' + (-16777216 << 27)); >-} >- >- >-if (-33554432 << 27 !== 0) { >- testFailed('#890: -33554432 << 27 === 0. Actual: ' + (-33554432 << 27)); >-} >- >- >-if (-67108864 << 27 !== 0) { >- testFailed('#891: -67108864 << 27 === 0. Actual: ' + (-67108864 << 27)); >-} >- >- >-if (-134217728 << 27 !== 0) { >- testFailed('#892: -134217728 << 27 === 0. Actual: ' + (-134217728 << 27)); >-} >- >- >-if (-268435456 << 27 !== 0) { >- testFailed('#893: -268435456 << 27 === 0. Actual: ' + (-268435456 << 27)); >-} >- >- >-if (-536870912 << 27 !== 0) { >- testFailed('#894: -536870912 << 27 === 0. Actual: ' + (-536870912 << 27)); >-} >- >- >-if (-1073741824 << 27 !== 0) { >- testFailed('#895: -1073741824 << 27 === 0. Actual: ' + (-1073741824 << 27)); >-} >- >- >-if (-2147483648 << 27 !== 0) { >- testFailed('#896: -2147483648 << 27 === 0. Actual: ' + (-2147483648 << 27)); >-} >- >- >-if (-1 << 28 !== -268435456) { >- testFailed('#897: -1 << 28 === -268435456. Actual: ' + (-1 << 28)); >-} >- >- >-if (-2 << 28 !== -536870912) { >- testFailed('#898: -2 << 28 === -536870912. Actual: ' + (-2 << 28)); >-} >- >- >-if (-4 << 28 !== -1073741824) { >- testFailed('#899: -4 << 28 === -1073741824. Actual: ' + (-4 << 28)); >-} >- >- >-if (-8 << 28 !== -2147483648) { >- testFailed('#900: -8 << 28 === -2147483648. Actual: ' + (-8 << 28)); >-} >- >- >-if (-16 << 28 !== 0) { >- testFailed('#901: -16 << 28 === 0. Actual: ' + (-16 << 28)); >-} >- >- >-if (-32 << 28 !== 0) { >- testFailed('#902: -32 << 28 === 0. Actual: ' + (-32 << 28)); >-} >- >- >-if (-64 << 28 !== 0) { >- testFailed('#903: -64 << 28 === 0. Actual: ' + (-64 << 28)); >-} >- >- >-if (-128 << 28 !== 0) { >- testFailed('#904: -128 << 28 === 0. Actual: ' + (-128 << 28)); >-} >- >- >-if (-256 << 28 !== 0) { >- testFailed('#905: -256 << 28 === 0. Actual: ' + (-256 << 28)); >-} >- >- >-if (-512 << 28 !== 0) { >- testFailed('#906: -512 << 28 === 0. Actual: ' + (-512 << 28)); >-} >- >- >-if (-1024 << 28 !== 0) { >- testFailed('#907: -1024 << 28 === 0. Actual: ' + (-1024 << 28)); >-} >- >- >-if (-2048 << 28 !== 0) { >- testFailed('#908: -2048 << 28 === 0. Actual: ' + (-2048 << 28)); >-} >- >- >-if (-4096 << 28 !== 0) { >- testFailed('#909: -4096 << 28 === 0. Actual: ' + (-4096 << 28)); >-} >- >- >-if (-8192 << 28 !== 0) { >- testFailed('#910: -8192 << 28 === 0. Actual: ' + (-8192 << 28)); >-} >- >- >-if (-16384 << 28 !== 0) { >- testFailed('#911: -16384 << 28 === 0. Actual: ' + (-16384 << 28)); >-} >- >- >-if (-32768 << 28 !== 0) { >- testFailed('#912: -32768 << 28 === 0. Actual: ' + (-32768 << 28)); >-} >- >- >-if (-65536 << 28 !== 0) { >- testFailed('#913: -65536 << 28 === 0. Actual: ' + (-65536 << 28)); >-} >- >- >-if (-131072 << 28 !== 0) { >- testFailed('#914: -131072 << 28 === 0. Actual: ' + (-131072 << 28)); >-} >- >- >-if (-262144 << 28 !== 0) { >- testFailed('#915: -262144 << 28 === 0. Actual: ' + (-262144 << 28)); >-} >- >- >-if (-524288 << 28 !== 0) { >- testFailed('#916: -524288 << 28 === 0. Actual: ' + (-524288 << 28)); >-} >- >- >-if (-1048576 << 28 !== 0) { >- testFailed('#917: -1048576 << 28 === 0. Actual: ' + (-1048576 << 28)); >-} >- >- >-if (-2097152 << 28 !== 0) { >- testFailed('#918: -2097152 << 28 === 0. Actual: ' + (-2097152 << 28)); >-} >- >- >-if (-4194304 << 28 !== 0) { >- testFailed('#919: -4194304 << 28 === 0. Actual: ' + (-4194304 << 28)); >-} >- >- >-if (-8388608 << 28 !== 0) { >- testFailed('#920: -8388608 << 28 === 0. Actual: ' + (-8388608 << 28)); >-} >- >- >-if (-16777216 << 28 !== 0) { >- testFailed('#921: -16777216 << 28 === 0. Actual: ' + (-16777216 << 28)); >-} >- >- >-if (-33554432 << 28 !== 0) { >- testFailed('#922: -33554432 << 28 === 0. Actual: ' + (-33554432 << 28)); >-} >- >- >-if (-67108864 << 28 !== 0) { >- testFailed('#923: -67108864 << 28 === 0. Actual: ' + (-67108864 << 28)); >-} >- >- >-if (-134217728 << 28 !== 0) { >- testFailed('#924: -134217728 << 28 === 0. Actual: ' + (-134217728 << 28)); >-} >- >- >-if (-268435456 << 28 !== 0) { >- testFailed('#925: -268435456 << 28 === 0. Actual: ' + (-268435456 << 28)); >-} >- >- >-if (-536870912 << 28 !== 0) { >- testFailed('#926: -536870912 << 28 === 0. Actual: ' + (-536870912 << 28)); >-} >- >- >-if (-1073741824 << 28 !== 0) { >- testFailed('#927: -1073741824 << 28 === 0. Actual: ' + (-1073741824 << 28)); >-} >- >- >-if (-2147483648 << 28 !== 0) { >- testFailed('#928: -2147483648 << 28 === 0. Actual: ' + (-2147483648 << 28)); >-} >- >- >-if (-1 << 29 !== -536870912) { >- testFailed('#929: -1 << 29 === -536870912. Actual: ' + (-1 << 29)); >-} >- >- >-if (-2 << 29 !== -1073741824) { >- testFailed('#930: -2 << 29 === -1073741824. Actual: ' + (-2 << 29)); >-} >- >- >-if (-4 << 29 !== -2147483648) { >- testFailed('#931: -4 << 29 === -2147483648. Actual: ' + (-4 << 29)); >-} >- >- >-if (-8 << 29 !== 0) { >- testFailed('#932: -8 << 29 === 0. Actual: ' + (-8 << 29)); >-} >- >- >-if (-16 << 29 !== 0) { >- testFailed('#933: -16 << 29 === 0. Actual: ' + (-16 << 29)); >-} >- >- >-if (-32 << 29 !== 0) { >- testFailed('#934: -32 << 29 === 0. Actual: ' + (-32 << 29)); >-} >- >- >-if (-64 << 29 !== 0) { >- testFailed('#935: -64 << 29 === 0. Actual: ' + (-64 << 29)); >-} >- >- >-if (-128 << 29 !== 0) { >- testFailed('#936: -128 << 29 === 0. Actual: ' + (-128 << 29)); >-} >- >- >-if (-256 << 29 !== 0) { >- testFailed('#937: -256 << 29 === 0. Actual: ' + (-256 << 29)); >-} >- >- >-if (-512 << 29 !== 0) { >- testFailed('#938: -512 << 29 === 0. Actual: ' + (-512 << 29)); >-} >- >- >-if (-1024 << 29 !== 0) { >- testFailed('#939: -1024 << 29 === 0. Actual: ' + (-1024 << 29)); >-} >- >- >-if (-2048 << 29 !== 0) { >- testFailed('#940: -2048 << 29 === 0. Actual: ' + (-2048 << 29)); >-} >- >- >-if (-4096 << 29 !== 0) { >- testFailed('#941: -4096 << 29 === 0. Actual: ' + (-4096 << 29)); >-} >- >- >-if (-8192 << 29 !== 0) { >- testFailed('#942: -8192 << 29 === 0. Actual: ' + (-8192 << 29)); >-} >- >- >-if (-16384 << 29 !== 0) { >- testFailed('#943: -16384 << 29 === 0. Actual: ' + (-16384 << 29)); >-} >- >- >-if (-32768 << 29 !== 0) { >- testFailed('#944: -32768 << 29 === 0. Actual: ' + (-32768 << 29)); >-} >- >- >-if (-65536 << 29 !== 0) { >- testFailed('#945: -65536 << 29 === 0. Actual: ' + (-65536 << 29)); >-} >- >- >-if (-131072 << 29 !== 0) { >- testFailed('#946: -131072 << 29 === 0. Actual: ' + (-131072 << 29)); >-} >- >- >-if (-262144 << 29 !== 0) { >- testFailed('#947: -262144 << 29 === 0. Actual: ' + (-262144 << 29)); >-} >- >- >-if (-524288 << 29 !== 0) { >- testFailed('#948: -524288 << 29 === 0. Actual: ' + (-524288 << 29)); >-} >- >- >-if (-1048576 << 29 !== 0) { >- testFailed('#949: -1048576 << 29 === 0. Actual: ' + (-1048576 << 29)); >-} >- >- >-if (-2097152 << 29 !== 0) { >- testFailed('#950: -2097152 << 29 === 0. Actual: ' + (-2097152 << 29)); >-} >- >- >-if (-4194304 << 29 !== 0) { >- testFailed('#951: -4194304 << 29 === 0. Actual: ' + (-4194304 << 29)); >-} >- >- >-if (-8388608 << 29 !== 0) { >- testFailed('#952: -8388608 << 29 === 0. Actual: ' + (-8388608 << 29)); >-} >- >- >-if (-16777216 << 29 !== 0) { >- testFailed('#953: -16777216 << 29 === 0. Actual: ' + (-16777216 << 29)); >-} >- >- >-if (-33554432 << 29 !== 0) { >- testFailed('#954: -33554432 << 29 === 0. Actual: ' + (-33554432 << 29)); >-} >- >- >-if (-67108864 << 29 !== 0) { >- testFailed('#955: -67108864 << 29 === 0. Actual: ' + (-67108864 << 29)); >-} >- >- >-if (-134217728 << 29 !== 0) { >- testFailed('#956: -134217728 << 29 === 0. Actual: ' + (-134217728 << 29)); >-} >- >- >-if (-268435456 << 29 !== 0) { >- testFailed('#957: -268435456 << 29 === 0. Actual: ' + (-268435456 << 29)); >-} >- >- >-if (-536870912 << 29 !== 0) { >- testFailed('#958: -536870912 << 29 === 0. Actual: ' + (-536870912 << 29)); >-} >- >- >-if (-1073741824 << 29 !== 0) { >- testFailed('#959: -1073741824 << 29 === 0. Actual: ' + (-1073741824 << 29)); >-} >- >- >-if (-2147483648 << 29 !== 0) { >- testFailed('#960: -2147483648 << 29 === 0. Actual: ' + (-2147483648 << 29)); >-} >- >- >-if (-1 << 30 !== -1073741824) { >- testFailed('#961: -1 << 30 === -1073741824. Actual: ' + (-1 << 30)); >-} >- >- >-if (-2 << 30 !== -2147483648) { >- testFailed('#962: -2 << 30 === -2147483648. Actual: ' + (-2 << 30)); >-} >- >- >-if (-4 << 30 !== 0) { >- testFailed('#963: -4 << 30 === 0. Actual: ' + (-4 << 30)); >-} >- >- >-if (-8 << 30 !== 0) { >- testFailed('#964: -8 << 30 === 0. Actual: ' + (-8 << 30)); >-} >- >- >-if (-16 << 30 !== 0) { >- testFailed('#965: -16 << 30 === 0. Actual: ' + (-16 << 30)); >-} >- >- >-if (-32 << 30 !== 0) { >- testFailed('#966: -32 << 30 === 0. Actual: ' + (-32 << 30)); >-} >- >- >-if (-64 << 30 !== 0) { >- testFailed('#967: -64 << 30 === 0. Actual: ' + (-64 << 30)); >-} >- >- >-if (-128 << 30 !== 0) { >- testFailed('#968: -128 << 30 === 0. Actual: ' + (-128 << 30)); >-} >- >- >-if (-256 << 30 !== 0) { >- testFailed('#969: -256 << 30 === 0. Actual: ' + (-256 << 30)); >-} >- >- >-if (-512 << 30 !== 0) { >- testFailed('#970: -512 << 30 === 0. Actual: ' + (-512 << 30)); >-} >- >- >-if (-1024 << 30 !== 0) { >- testFailed('#971: -1024 << 30 === 0. Actual: ' + (-1024 << 30)); >-} >- >- >-if (-2048 << 30 !== 0) { >- testFailed('#972: -2048 << 30 === 0. Actual: ' + (-2048 << 30)); >-} >- >- >-if (-4096 << 30 !== 0) { >- testFailed('#973: -4096 << 30 === 0. Actual: ' + (-4096 << 30)); >-} >- >- >-if (-8192 << 30 !== 0) { >- testFailed('#974: -8192 << 30 === 0. Actual: ' + (-8192 << 30)); >-} >- >- >-if (-16384 << 30 !== 0) { >- testFailed('#975: -16384 << 30 === 0. Actual: ' + (-16384 << 30)); >-} >- >- >-if (-32768 << 30 !== 0) { >- testFailed('#976: -32768 << 30 === 0. Actual: ' + (-32768 << 30)); >-} >- >- >-if (-65536 << 30 !== 0) { >- testFailed('#977: -65536 << 30 === 0. Actual: ' + (-65536 << 30)); >-} >- >- >-if (-131072 << 30 !== 0) { >- testFailed('#978: -131072 << 30 === 0. Actual: ' + (-131072 << 30)); >-} >- >- >-if (-262144 << 30 !== 0) { >- testFailed('#979: -262144 << 30 === 0. Actual: ' + (-262144 << 30)); >-} >- >- >-if (-524288 << 30 !== 0) { >- testFailed('#980: -524288 << 30 === 0. Actual: ' + (-524288 << 30)); >-} >- >- >-if (-1048576 << 30 !== 0) { >- testFailed('#981: -1048576 << 30 === 0. Actual: ' + (-1048576 << 30)); >-} >- >- >-if (-2097152 << 30 !== 0) { >- testFailed('#982: -2097152 << 30 === 0. Actual: ' + (-2097152 << 30)); >-} >- >- >-if (-4194304 << 30 !== 0) { >- testFailed('#983: -4194304 << 30 === 0. Actual: ' + (-4194304 << 30)); >-} >- >- >-if (-8388608 << 30 !== 0) { >- testFailed('#984: -8388608 << 30 === 0. Actual: ' + (-8388608 << 30)); >-} >- >- >-if (-16777216 << 30 !== 0) { >- testFailed('#985: -16777216 << 30 === 0. Actual: ' + (-16777216 << 30)); >-} >- >- >-if (-33554432 << 30 !== 0) { >- testFailed('#986: -33554432 << 30 === 0. Actual: ' + (-33554432 << 30)); >-} >- >- >-if (-67108864 << 30 !== 0) { >- testFailed('#987: -67108864 << 30 === 0. Actual: ' + (-67108864 << 30)); >-} >- >- >-if (-134217728 << 30 !== 0) { >- testFailed('#988: -134217728 << 30 === 0. Actual: ' + (-134217728 << 30)); >-} >- >- >-if (-268435456 << 30 !== 0) { >- testFailed('#989: -268435456 << 30 === 0. Actual: ' + (-268435456 << 30)); >-} >- >- >-if (-536870912 << 30 !== 0) { >- testFailed('#990: -536870912 << 30 === 0. Actual: ' + (-536870912 << 30)); >-} >- >- >-if (-1073741824 << 30 !== 0) { >- testFailed('#991: -1073741824 << 30 === 0. Actual: ' + (-1073741824 << 30)); >-} >- >- >-if (-2147483648 << 30 !== 0) { >- testFailed('#992: -2147483648 << 30 === 0. Actual: ' + (-2147483648 << 30)); >-} >- >- >-if (-1 << 31 !== -2147483648) { >- testFailed('#993: -1 << 31 === -2147483648. Actual: ' + (-1 << 31)); >-} >- >- >-if (-2 << 31 !== 0) { >- testFailed('#994: -2 << 31 === 0. Actual: ' + (-2 << 31)); >-} >- >- >-if (-4 << 31 !== 0) { >- testFailed('#995: -4 << 31 === 0. Actual: ' + (-4 << 31)); >-} >- >- >-if (-8 << 31 !== 0) { >- testFailed('#996: -8 << 31 === 0. Actual: ' + (-8 << 31)); >-} >- >- >-if (-16 << 31 !== 0) { >- testFailed('#997: -16 << 31 === 0. Actual: ' + (-16 << 31)); >-} >- >- >-if (-32 << 31 !== 0) { >- testFailed('#998: -32 << 31 === 0. Actual: ' + (-32 << 31)); >-} >- >- >-if (-64 << 31 !== 0) { >- testFailed('#999: -64 << 31 === 0. Actual: ' + (-64 << 31)); >-} >- >- >-if (-128 << 31 !== 0) { >- testFailed('#1000: -128 << 31 === 0. Actual: ' + (-128 << 31)); >-} >- >- >-if (-256 << 31 !== 0) { >- testFailed('#1001: -256 << 31 === 0. Actual: ' + (-256 << 31)); >-} >- >- >-if (-512 << 31 !== 0) { >- testFailed('#1002: -512 << 31 === 0. Actual: ' + (-512 << 31)); >-} >- >- >-if (-1024 << 31 !== 0) { >- testFailed('#1003: -1024 << 31 === 0. Actual: ' + (-1024 << 31)); >-} >- >- >-if (-2048 << 31 !== 0) { >- testFailed('#1004: -2048 << 31 === 0. Actual: ' + (-2048 << 31)); >-} >- >- >-if (-4096 << 31 !== 0) { >- testFailed('#1005: -4096 << 31 === 0. Actual: ' + (-4096 << 31)); >-} >- >- >-if (-8192 << 31 !== 0) { >- testFailed('#1006: -8192 << 31 === 0. Actual: ' + (-8192 << 31)); >-} >- >- >-if (-16384 << 31 !== 0) { >- testFailed('#1007: -16384 << 31 === 0. Actual: ' + (-16384 << 31)); >-} >- >- >-if (-32768 << 31 !== 0) { >- testFailed('#1008: -32768 << 31 === 0. Actual: ' + (-32768 << 31)); >-} >- >- >-if (-65536 << 31 !== 0) { >- testFailed('#1009: -65536 << 31 === 0. Actual: ' + (-65536 << 31)); >-} >- >- >-if (-131072 << 31 !== 0) { >- testFailed('#1010: -131072 << 31 === 0. Actual: ' + (-131072 << 31)); >-} >- >- >-if (-262144 << 31 !== 0) { >- testFailed('#1011: -262144 << 31 === 0. Actual: ' + (-262144 << 31)); >-} >- >- >-if (-524288 << 31 !== 0) { >- testFailed('#1012: -524288 << 31 === 0. Actual: ' + (-524288 << 31)); >-} >- >- >-if (-1048576 << 31 !== 0) { >- testFailed('#1013: -1048576 << 31 === 0. Actual: ' + (-1048576 << 31)); >-} >- >- >-if (-2097152 << 31 !== 0) { >- testFailed('#1014: -2097152 << 31 === 0. Actual: ' + (-2097152 << 31)); >-} >- >- >-if (-4194304 << 31 !== 0) { >- testFailed('#1015: -4194304 << 31 === 0. Actual: ' + (-4194304 << 31)); >-} >- >- >-if (-8388608 << 31 !== 0) { >- testFailed('#1016: -8388608 << 31 === 0. Actual: ' + (-8388608 << 31)); >-} >- >- >-if (-16777216 << 31 !== 0) { >- testFailed('#1017: -16777216 << 31 === 0. Actual: ' + (-16777216 << 31)); >-} >- >- >-if (-33554432 << 31 !== 0) { >- testFailed('#1018: -33554432 << 31 === 0. Actual: ' + (-33554432 << 31)); >-} >- >- >-if (-67108864 << 31 !== 0) { >- testFailed('#1019: -67108864 << 31 === 0. Actual: ' + (-67108864 << 31)); >-} >- >- >-if (-134217728 << 31 !== 0) { >- testFailed('#1020: -134217728 << 31 === 0. Actual: ' + (-134217728 << 31)); >-} >- >- >-if (-268435456 << 31 !== 0) { >- testFailed('#1021: -268435456 << 31 === 0. Actual: ' + (-268435456 << 31)); >-} >- >- >-if (-536870912 << 31 !== 0) { >- testFailed('#1022: -536870912 << 31 === 0. Actual: ' + (-536870912 << 31)); >-} >- >- >-if (-1073741824 << 31 !== 0) { >- testFailed('#1023: -1073741824 << 31 === 0. Actual: ' + (-1073741824 << 31)); >-} >- >- >-if (-2147483648 << 31 !== 0) { >- testFailed('#1024: -2147483648 << 31 === 0. Actual: ' + (-2147483648 << 31)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3-expected.txt >deleted file mode 100644 >index c1035ec83c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.html >deleted file mode 100644 >index cf60c16ccae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.html >+++ /dev/null >@@ -1,2653 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A4_T3; >- * @section: 11.7.1; >- * @assertion: Check operator x << y in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 0...15; >- */ >- >-//CHECK >- >-if (0 << 0 !== 0) { >- testFailed('#1: 0 << 0 === 0. Actual: ' + (0 << 0)); >-} >- >- >-if (1 << 0 !== 1) { >- testFailed('#2: 1 << 0 === 1. Actual: ' + (1 << 0)); >-} >- >- >-if (3 << 0 !== 3) { >- testFailed('#3: 3 << 0 === 3. Actual: ' + (3 << 0)); >-} >- >- >-if (7 << 0 !== 7) { >- testFailed('#4: 7 << 0 === 7. Actual: ' + (7 << 0)); >-} >- >- >-if (15 << 0 !== 15) { >- testFailed('#5: 15 << 0 === 15. Actual: ' + (15 << 0)); >-} >- >- >-if (31 << 0 !== 31) { >- testFailed('#6: 31 << 0 === 31. Actual: ' + (31 << 0)); >-} >- >- >-if (63 << 0 !== 63) { >- testFailed('#7: 63 << 0 === 63. Actual: ' + (63 << 0)); >-} >- >- >-if (127 << 0 !== 127) { >- testFailed('#8: 127 << 0 === 127. Actual: ' + (127 << 0)); >-} >- >- >-if (255 << 0 !== 255) { >- testFailed('#9: 255 << 0 === 255. Actual: ' + (255 << 0)); >-} >- >- >-if (511 << 0 !== 511) { >- testFailed('#10: 511 << 0 === 511. Actual: ' + (511 << 0)); >-} >- >- >-if (1023 << 0 !== 1023) { >- testFailed('#11: 1023 << 0 === 1023. Actual: ' + (1023 << 0)); >-} >- >- >-if (2047 << 0 !== 2047) { >- testFailed('#12: 2047 << 0 === 2047. Actual: ' + (2047 << 0)); >-} >- >- >-if (4095 << 0 !== 4095) { >- testFailed('#13: 4095 << 0 === 4095. Actual: ' + (4095 << 0)); >-} >- >- >-if (8191 << 0 !== 8191) { >- testFailed('#14: 8191 << 0 === 8191. Actual: ' + (8191 << 0)); >-} >- >- >-if (16383 << 0 !== 16383) { >- testFailed('#15: 16383 << 0 === 16383. Actual: ' + (16383 << 0)); >-} >- >- >-if (32767 << 0 !== 32767) { >- testFailed('#16: 32767 << 0 === 32767. Actual: ' + (32767 << 0)); >-} >- >- >-if (65535 << 0 !== 65535) { >- testFailed('#17: 65535 << 0 === 65535. Actual: ' + (65535 << 0)); >-} >- >- >-if (131071 << 0 !== 131071) { >- testFailed('#18: 131071 << 0 === 131071. Actual: ' + (131071 << 0)); >-} >- >- >-if (262143 << 0 !== 262143) { >- testFailed('#19: 262143 << 0 === 262143. Actual: ' + (262143 << 0)); >-} >- >- >-if (524287 << 0 !== 524287) { >- testFailed('#20: 524287 << 0 === 524287. Actual: ' + (524287 << 0)); >-} >- >- >-if (1048575 << 0 !== 1048575) { >- testFailed('#21: 1048575 << 0 === 1048575. Actual: ' + (1048575 << 0)); >-} >- >- >-if (2097151 << 0 !== 2097151) { >- testFailed('#22: 2097151 << 0 === 2097151. Actual: ' + (2097151 << 0)); >-} >- >- >-if (4194303 << 0 !== 4194303) { >- testFailed('#23: 4194303 << 0 === 4194303. Actual: ' + (4194303 << 0)); >-} >- >- >-if (8388607 << 0 !== 8388607) { >- testFailed('#24: 8388607 << 0 === 8388607. Actual: ' + (8388607 << 0)); >-} >- >- >-if (16777215 << 0 !== 16777215) { >- testFailed('#25: 16777215 << 0 === 16777215. Actual: ' + (16777215 << 0)); >-} >- >- >-if (33554431 << 0 !== 33554431) { >- testFailed('#26: 33554431 << 0 === 33554431. Actual: ' + (33554431 << 0)); >-} >- >- >-if (67108863 << 0 !== 67108863) { >- testFailed('#27: 67108863 << 0 === 67108863. Actual: ' + (67108863 << 0)); >-} >- >- >-if (134217727 << 0 !== 134217727) { >- testFailed('#28: 134217727 << 0 === 134217727. Actual: ' + (134217727 << 0)); >-} >- >- >-if (268435455 << 0 !== 268435455) { >- testFailed('#29: 268435455 << 0 === 268435455. Actual: ' + (268435455 << 0)); >-} >- >- >-if (536870911 << 0 !== 536870911) { >- testFailed('#30: 536870911 << 0 === 536870911. Actual: ' + (536870911 << 0)); >-} >- >- >-if (1073741823 << 0 !== 1073741823) { >- testFailed('#31: 1073741823 << 0 === 1073741823. Actual: ' + (1073741823 << 0)); >-} >- >- >-if (2147483647 << 0 !== 2147483647) { >- testFailed('#32: 2147483647 << 0 === 2147483647. Actual: ' + (2147483647 << 0)); >-} >- >- >-if (0 << 1 !== 0) { >- testFailed('#33: 0 << 1 === 0. Actual: ' + (0 << 1)); >-} >- >- >-if (1 << 1 !== 2) { >- testFailed('#34: 1 << 1 === 2. Actual: ' + (1 << 1)); >-} >- >- >-if (3 << 1 !== 6) { >- testFailed('#35: 3 << 1 === 6. Actual: ' + (3 << 1)); >-} >- >- >-if (7 << 1 !== 14) { >- testFailed('#36: 7 << 1 === 14. Actual: ' + (7 << 1)); >-} >- >- >-if (15 << 1 !== 30) { >- testFailed('#37: 15 << 1 === 30. Actual: ' + (15 << 1)); >-} >- >- >-if (31 << 1 !== 62) { >- testFailed('#38: 31 << 1 === 62. Actual: ' + (31 << 1)); >-} >- >- >-if (63 << 1 !== 126) { >- testFailed('#39: 63 << 1 === 126. Actual: ' + (63 << 1)); >-} >- >- >-if (127 << 1 !== 254) { >- testFailed('#40: 127 << 1 === 254. Actual: ' + (127 << 1)); >-} >- >- >-if (255 << 1 !== 510) { >- testFailed('#41: 255 << 1 === 510. Actual: ' + (255 << 1)); >-} >- >- >-if (511 << 1 !== 1022) { >- testFailed('#42: 511 << 1 === 1022. Actual: ' + (511 << 1)); >-} >- >- >-if (1023 << 1 !== 2046) { >- testFailed('#43: 1023 << 1 === 2046. Actual: ' + (1023 << 1)); >-} >- >- >-if (2047 << 1 !== 4094) { >- testFailed('#44: 2047 << 1 === 4094. Actual: ' + (2047 << 1)); >-} >- >- >-if (4095 << 1 !== 8190) { >- testFailed('#45: 4095 << 1 === 8190. Actual: ' + (4095 << 1)); >-} >- >- >-if (8191 << 1 !== 16382) { >- testFailed('#46: 8191 << 1 === 16382. Actual: ' + (8191 << 1)); >-} >- >- >-if (16383 << 1 !== 32766) { >- testFailed('#47: 16383 << 1 === 32766. Actual: ' + (16383 << 1)); >-} >- >- >-if (32767 << 1 !== 65534) { >- testFailed('#48: 32767 << 1 === 65534. Actual: ' + (32767 << 1)); >-} >- >- >-if (65535 << 1 !== 131070) { >- testFailed('#49: 65535 << 1 === 131070. Actual: ' + (65535 << 1)); >-} >- >- >-if (131071 << 1 !== 262142) { >- testFailed('#50: 131071 << 1 === 262142. Actual: ' + (131071 << 1)); >-} >- >- >-if (262143 << 1 !== 524286) { >- testFailed('#51: 262143 << 1 === 524286. Actual: ' + (262143 << 1)); >-} >- >- >-if (524287 << 1 !== 1048574) { >- testFailed('#52: 524287 << 1 === 1048574. Actual: ' + (524287 << 1)); >-} >- >- >-if (1048575 << 1 !== 2097150) { >- testFailed('#53: 1048575 << 1 === 2097150. Actual: ' + (1048575 << 1)); >-} >- >- >-if (2097151 << 1 !== 4194302) { >- testFailed('#54: 2097151 << 1 === 4194302. Actual: ' + (2097151 << 1)); >-} >- >- >-if (4194303 << 1 !== 8388606) { >- testFailed('#55: 4194303 << 1 === 8388606. Actual: ' + (4194303 << 1)); >-} >- >- >-if (8388607 << 1 !== 16777214) { >- testFailed('#56: 8388607 << 1 === 16777214. Actual: ' + (8388607 << 1)); >-} >- >- >-if (16777215 << 1 !== 33554430) { >- testFailed('#57: 16777215 << 1 === 33554430. Actual: ' + (16777215 << 1)); >-} >- >- >-if (33554431 << 1 !== 67108862) { >- testFailed('#58: 33554431 << 1 === 67108862. Actual: ' + (33554431 << 1)); >-} >- >- >-if (67108863 << 1 !== 134217726) { >- testFailed('#59: 67108863 << 1 === 134217726. Actual: ' + (67108863 << 1)); >-} >- >- >-if (134217727 << 1 !== 268435454) { >- testFailed('#60: 134217727 << 1 === 268435454. Actual: ' + (134217727 << 1)); >-} >- >- >-if (268435455 << 1 !== 536870910) { >- testFailed('#61: 268435455 << 1 === 536870910. Actual: ' + (268435455 << 1)); >-} >- >- >-if (536870911 << 1 !== 1073741822) { >- testFailed('#62: 536870911 << 1 === 1073741822. Actual: ' + (536870911 << 1)); >-} >- >- >-if (1073741823 << 1 !== 2147483646) { >- testFailed('#63: 1073741823 << 1 === 2147483646. Actual: ' + (1073741823 << 1)); >-} >- >- >-if (2147483647 << 1 !== -2) { >- testFailed('#64: 2147483647 << 1 === -2. Actual: ' + (2147483647 << 1)); >-} >- >- >-if (0 << 2 !== 0) { >- testFailed('#65: 0 << 2 === 0. Actual: ' + (0 << 2)); >-} >- >- >-if (1 << 2 !== 4) { >- testFailed('#66: 1 << 2 === 4. Actual: ' + (1 << 2)); >-} >- >- >-if (3 << 2 !== 12) { >- testFailed('#67: 3 << 2 === 12. Actual: ' + (3 << 2)); >-} >- >- >-if (7 << 2 !== 28) { >- testFailed('#68: 7 << 2 === 28. Actual: ' + (7 << 2)); >-} >- >- >-if (15 << 2 !== 60) { >- testFailed('#69: 15 << 2 === 60. Actual: ' + (15 << 2)); >-} >- >- >-if (31 << 2 !== 124) { >- testFailed('#70: 31 << 2 === 124. Actual: ' + (31 << 2)); >-} >- >- >-if (63 << 2 !== 252) { >- testFailed('#71: 63 << 2 === 252. Actual: ' + (63 << 2)); >-} >- >- >-if (127 << 2 !== 508) { >- testFailed('#72: 127 << 2 === 508. Actual: ' + (127 << 2)); >-} >- >- >-if (255 << 2 !== 1020) { >- testFailed('#73: 255 << 2 === 1020. Actual: ' + (255 << 2)); >-} >- >- >-if (511 << 2 !== 2044) { >- testFailed('#74: 511 << 2 === 2044. Actual: ' + (511 << 2)); >-} >- >- >-if (1023 << 2 !== 4092) { >- testFailed('#75: 1023 << 2 === 4092. Actual: ' + (1023 << 2)); >-} >- >- >-if (2047 << 2 !== 8188) { >- testFailed('#76: 2047 << 2 === 8188. Actual: ' + (2047 << 2)); >-} >- >- >-if (4095 << 2 !== 16380) { >- testFailed('#77: 4095 << 2 === 16380. Actual: ' + (4095 << 2)); >-} >- >- >-if (8191 << 2 !== 32764) { >- testFailed('#78: 8191 << 2 === 32764. Actual: ' + (8191 << 2)); >-} >- >- >-if (16383 << 2 !== 65532) { >- testFailed('#79: 16383 << 2 === 65532. Actual: ' + (16383 << 2)); >-} >- >- >-if (32767 << 2 !== 131068) { >- testFailed('#80: 32767 << 2 === 131068. Actual: ' + (32767 << 2)); >-} >- >- >-if (65535 << 2 !== 262140) { >- testFailed('#81: 65535 << 2 === 262140. Actual: ' + (65535 << 2)); >-} >- >- >-if (131071 << 2 !== 524284) { >- testFailed('#82: 131071 << 2 === 524284. Actual: ' + (131071 << 2)); >-} >- >- >-if (262143 << 2 !== 1048572) { >- testFailed('#83: 262143 << 2 === 1048572. Actual: ' + (262143 << 2)); >-} >- >- >-if (524287 << 2 !== 2097148) { >- testFailed('#84: 524287 << 2 === 2097148. Actual: ' + (524287 << 2)); >-} >- >- >-if (1048575 << 2 !== 4194300) { >- testFailed('#85: 1048575 << 2 === 4194300. Actual: ' + (1048575 << 2)); >-} >- >- >-if (2097151 << 2 !== 8388604) { >- testFailed('#86: 2097151 << 2 === 8388604. Actual: ' + (2097151 << 2)); >-} >- >- >-if (4194303 << 2 !== 16777212) { >- testFailed('#87: 4194303 << 2 === 16777212. Actual: ' + (4194303 << 2)); >-} >- >- >-if (8388607 << 2 !== 33554428) { >- testFailed('#88: 8388607 << 2 === 33554428. Actual: ' + (8388607 << 2)); >-} >- >- >-if (16777215 << 2 !== 67108860) { >- testFailed('#89: 16777215 << 2 === 67108860. Actual: ' + (16777215 << 2)); >-} >- >- >-if (33554431 << 2 !== 134217724) { >- testFailed('#90: 33554431 << 2 === 134217724. Actual: ' + (33554431 << 2)); >-} >- >- >-if (67108863 << 2 !== 268435452) { >- testFailed('#91: 67108863 << 2 === 268435452. Actual: ' + (67108863 << 2)); >-} >- >- >-if (134217727 << 2 !== 536870908) { >- testFailed('#92: 134217727 << 2 === 536870908. Actual: ' + (134217727 << 2)); >-} >- >- >-if (268435455 << 2 !== 1073741820) { >- testFailed('#93: 268435455 << 2 === 1073741820. Actual: ' + (268435455 << 2)); >-} >- >- >-if (536870911 << 2 !== 2147483644) { >- testFailed('#94: 536870911 << 2 === 2147483644. Actual: ' + (536870911 << 2)); >-} >- >- >-if (1073741823 << 2 !== -4) { >- testFailed('#95: 1073741823 << 2 === -4. Actual: ' + (1073741823 << 2)); >-} >- >- >-if (2147483647 << 2 !== -4) { >- testFailed('#96: 2147483647 << 2 === -4. Actual: ' + (2147483647 << 2)); >-} >- >- >-if (0 << 3 !== 0) { >- testFailed('#97: 0 << 3 === 0. Actual: ' + (0 << 3)); >-} >- >- >-if (1 << 3 !== 8) { >- testFailed('#98: 1 << 3 === 8. Actual: ' + (1 << 3)); >-} >- >- >-if (3 << 3 !== 24) { >- testFailed('#99: 3 << 3 === 24. Actual: ' + (3 << 3)); >-} >- >- >-if (7 << 3 !== 56) { >- testFailed('#100: 7 << 3 === 56. Actual: ' + (7 << 3)); >-} >- >- >-if (15 << 3 !== 120) { >- testFailed('#101: 15 << 3 === 120. Actual: ' + (15 << 3)); >-} >- >- >-if (31 << 3 !== 248) { >- testFailed('#102: 31 << 3 === 248. Actual: ' + (31 << 3)); >-} >- >- >-if (63 << 3 !== 504) { >- testFailed('#103: 63 << 3 === 504. Actual: ' + (63 << 3)); >-} >- >- >-if (127 << 3 !== 1016) { >- testFailed('#104: 127 << 3 === 1016. Actual: ' + (127 << 3)); >-} >- >- >-if (255 << 3 !== 2040) { >- testFailed('#105: 255 << 3 === 2040. Actual: ' + (255 << 3)); >-} >- >- >-if (511 << 3 !== 4088) { >- testFailed('#106: 511 << 3 === 4088. Actual: ' + (511 << 3)); >-} >- >- >-if (1023 << 3 !== 8184) { >- testFailed('#107: 1023 << 3 === 8184. Actual: ' + (1023 << 3)); >-} >- >- >-if (2047 << 3 !== 16376) { >- testFailed('#108: 2047 << 3 === 16376. Actual: ' + (2047 << 3)); >-} >- >- >-if (4095 << 3 !== 32760) { >- testFailed('#109: 4095 << 3 === 32760. Actual: ' + (4095 << 3)); >-} >- >- >-if (8191 << 3 !== 65528) { >- testFailed('#110: 8191 << 3 === 65528. Actual: ' + (8191 << 3)); >-} >- >- >-if (16383 << 3 !== 131064) { >- testFailed('#111: 16383 << 3 === 131064. Actual: ' + (16383 << 3)); >-} >- >- >-if (32767 << 3 !== 262136) { >- testFailed('#112: 32767 << 3 === 262136. Actual: ' + (32767 << 3)); >-} >- >- >-if (65535 << 3 !== 524280) { >- testFailed('#113: 65535 << 3 === 524280. Actual: ' + (65535 << 3)); >-} >- >- >-if (131071 << 3 !== 1048568) { >- testFailed('#114: 131071 << 3 === 1048568. Actual: ' + (131071 << 3)); >-} >- >- >-if (262143 << 3 !== 2097144) { >- testFailed('#115: 262143 << 3 === 2097144. Actual: ' + (262143 << 3)); >-} >- >- >-if (524287 << 3 !== 4194296) { >- testFailed('#116: 524287 << 3 === 4194296. Actual: ' + (524287 << 3)); >-} >- >- >-if (1048575 << 3 !== 8388600) { >- testFailed('#117: 1048575 << 3 === 8388600. Actual: ' + (1048575 << 3)); >-} >- >- >-if (2097151 << 3 !== 16777208) { >- testFailed('#118: 2097151 << 3 === 16777208. Actual: ' + (2097151 << 3)); >-} >- >- >-if (4194303 << 3 !== 33554424) { >- testFailed('#119: 4194303 << 3 === 33554424. Actual: ' + (4194303 << 3)); >-} >- >- >-if (8388607 << 3 !== 67108856) { >- testFailed('#120: 8388607 << 3 === 67108856. Actual: ' + (8388607 << 3)); >-} >- >- >-if (16777215 << 3 !== 134217720) { >- testFailed('#121: 16777215 << 3 === 134217720. Actual: ' + (16777215 << 3)); >-} >- >- >-if (33554431 << 3 !== 268435448) { >- testFailed('#122: 33554431 << 3 === 268435448. Actual: ' + (33554431 << 3)); >-} >- >- >-if (67108863 << 3 !== 536870904) { >- testFailed('#123: 67108863 << 3 === 536870904. Actual: ' + (67108863 << 3)); >-} >- >- >-if (134217727 << 3 !== 1073741816) { >- testFailed('#124: 134217727 << 3 === 1073741816. Actual: ' + (134217727 << 3)); >-} >- >- >-if (268435455 << 3 !== 2147483640) { >- testFailed('#125: 268435455 << 3 === 2147483640. Actual: ' + (268435455 << 3)); >-} >- >- >-if (536870911 << 3 !== -8) { >- testFailed('#126: 536870911 << 3 === -8. Actual: ' + (536870911 << 3)); >-} >- >- >-if (1073741823 << 3 !== -8) { >- testFailed('#127: 1073741823 << 3 === -8. Actual: ' + (1073741823 << 3)); >-} >- >- >-if (2147483647 << 3 !== -8) { >- testFailed('#128: 2147483647 << 3 === -8. Actual: ' + (2147483647 << 3)); >-} >- >- >-if (0 << 4 !== 0) { >- testFailed('#129: 0 << 4 === 0. Actual: ' + (0 << 4)); >-} >- >- >-if (1 << 4 !== 16) { >- testFailed('#130: 1 << 4 === 16. Actual: ' + (1 << 4)); >-} >- >- >-if (3 << 4 !== 48) { >- testFailed('#131: 3 << 4 === 48. Actual: ' + (3 << 4)); >-} >- >- >-if (7 << 4 !== 112) { >- testFailed('#132: 7 << 4 === 112. Actual: ' + (7 << 4)); >-} >- >- >-if (15 << 4 !== 240) { >- testFailed('#133: 15 << 4 === 240. Actual: ' + (15 << 4)); >-} >- >- >-if (31 << 4 !== 496) { >- testFailed('#134: 31 << 4 === 496. Actual: ' + (31 << 4)); >-} >- >- >-if (63 << 4 !== 1008) { >- testFailed('#135: 63 << 4 === 1008. Actual: ' + (63 << 4)); >-} >- >- >-if (127 << 4 !== 2032) { >- testFailed('#136: 127 << 4 === 2032. Actual: ' + (127 << 4)); >-} >- >- >-if (255 << 4 !== 4080) { >- testFailed('#137: 255 << 4 === 4080. Actual: ' + (255 << 4)); >-} >- >- >-if (511 << 4 !== 8176) { >- testFailed('#138: 511 << 4 === 8176. Actual: ' + (511 << 4)); >-} >- >- >-if (1023 << 4 !== 16368) { >- testFailed('#139: 1023 << 4 === 16368. Actual: ' + (1023 << 4)); >-} >- >- >-if (2047 << 4 !== 32752) { >- testFailed('#140: 2047 << 4 === 32752. Actual: ' + (2047 << 4)); >-} >- >- >-if (4095 << 4 !== 65520) { >- testFailed('#141: 4095 << 4 === 65520. Actual: ' + (4095 << 4)); >-} >- >- >-if (8191 << 4 !== 131056) { >- testFailed('#142: 8191 << 4 === 131056. Actual: ' + (8191 << 4)); >-} >- >- >-if (16383 << 4 !== 262128) { >- testFailed('#143: 16383 << 4 === 262128. Actual: ' + (16383 << 4)); >-} >- >- >-if (32767 << 4 !== 524272) { >- testFailed('#144: 32767 << 4 === 524272. Actual: ' + (32767 << 4)); >-} >- >- >-if (65535 << 4 !== 1048560) { >- testFailed('#145: 65535 << 4 === 1048560. Actual: ' + (65535 << 4)); >-} >- >- >-if (131071 << 4 !== 2097136) { >- testFailed('#146: 131071 << 4 === 2097136. Actual: ' + (131071 << 4)); >-} >- >- >-if (262143 << 4 !== 4194288) { >- testFailed('#147: 262143 << 4 === 4194288. Actual: ' + (262143 << 4)); >-} >- >- >-if (524287 << 4 !== 8388592) { >- testFailed('#148: 524287 << 4 === 8388592. Actual: ' + (524287 << 4)); >-} >- >- >-if (1048575 << 4 !== 16777200) { >- testFailed('#149: 1048575 << 4 === 16777200. Actual: ' + (1048575 << 4)); >-} >- >- >-if (2097151 << 4 !== 33554416) { >- testFailed('#150: 2097151 << 4 === 33554416. Actual: ' + (2097151 << 4)); >-} >- >- >-if (4194303 << 4 !== 67108848) { >- testFailed('#151: 4194303 << 4 === 67108848. Actual: ' + (4194303 << 4)); >-} >- >- >-if (8388607 << 4 !== 134217712) { >- testFailed('#152: 8388607 << 4 === 134217712. Actual: ' + (8388607 << 4)); >-} >- >- >-if (16777215 << 4 !== 268435440) { >- testFailed('#153: 16777215 << 4 === 268435440. Actual: ' + (16777215 << 4)); >-} >- >- >-if (33554431 << 4 !== 536870896) { >- testFailed('#154: 33554431 << 4 === 536870896. Actual: ' + (33554431 << 4)); >-} >- >- >-if (67108863 << 4 !== 1073741808) { >- testFailed('#155: 67108863 << 4 === 1073741808. Actual: ' + (67108863 << 4)); >-} >- >- >-if (134217727 << 4 !== 2147483632) { >- testFailed('#156: 134217727 << 4 === 2147483632. Actual: ' + (134217727 << 4)); >-} >- >- >-if (268435455 << 4 !== -16) { >- testFailed('#157: 268435455 << 4 === -16. Actual: ' + (268435455 << 4)); >-} >- >- >-if (536870911 << 4 !== -16) { >- testFailed('#158: 536870911 << 4 === -16. Actual: ' + (536870911 << 4)); >-} >- >- >-if (1073741823 << 4 !== -16) { >- testFailed('#159: 1073741823 << 4 === -16. Actual: ' + (1073741823 << 4)); >-} >- >- >-if (2147483647 << 4 !== -16) { >- testFailed('#160: 2147483647 << 4 === -16. Actual: ' + (2147483647 << 4)); >-} >- >- >-if (0 << 5 !== 0) { >- testFailed('#161: 0 << 5 === 0. Actual: ' + (0 << 5)); >-} >- >- >-if (1 << 5 !== 32) { >- testFailed('#162: 1 << 5 === 32. Actual: ' + (1 << 5)); >-} >- >- >-if (3 << 5 !== 96) { >- testFailed('#163: 3 << 5 === 96. Actual: ' + (3 << 5)); >-} >- >- >-if (7 << 5 !== 224) { >- testFailed('#164: 7 << 5 === 224. Actual: ' + (7 << 5)); >-} >- >- >-if (15 << 5 !== 480) { >- testFailed('#165: 15 << 5 === 480. Actual: ' + (15 << 5)); >-} >- >- >-if (31 << 5 !== 992) { >- testFailed('#166: 31 << 5 === 992. Actual: ' + (31 << 5)); >-} >- >- >-if (63 << 5 !== 2016) { >- testFailed('#167: 63 << 5 === 2016. Actual: ' + (63 << 5)); >-} >- >- >-if (127 << 5 !== 4064) { >- testFailed('#168: 127 << 5 === 4064. Actual: ' + (127 << 5)); >-} >- >- >-if (255 << 5 !== 8160) { >- testFailed('#169: 255 << 5 === 8160. Actual: ' + (255 << 5)); >-} >- >- >-if (511 << 5 !== 16352) { >- testFailed('#170: 511 << 5 === 16352. Actual: ' + (511 << 5)); >-} >- >- >-if (1023 << 5 !== 32736) { >- testFailed('#171: 1023 << 5 === 32736. Actual: ' + (1023 << 5)); >-} >- >- >-if (2047 << 5 !== 65504) { >- testFailed('#172: 2047 << 5 === 65504. Actual: ' + (2047 << 5)); >-} >- >- >-if (4095 << 5 !== 131040) { >- testFailed('#173: 4095 << 5 === 131040. Actual: ' + (4095 << 5)); >-} >- >- >-if (8191 << 5 !== 262112) { >- testFailed('#174: 8191 << 5 === 262112. Actual: ' + (8191 << 5)); >-} >- >- >-if (16383 << 5 !== 524256) { >- testFailed('#175: 16383 << 5 === 524256. Actual: ' + (16383 << 5)); >-} >- >- >-if (32767 << 5 !== 1048544) { >- testFailed('#176: 32767 << 5 === 1048544. Actual: ' + (32767 << 5)); >-} >- >- >-if (65535 << 5 !== 2097120) { >- testFailed('#177: 65535 << 5 === 2097120. Actual: ' + (65535 << 5)); >-} >- >- >-if (131071 << 5 !== 4194272) { >- testFailed('#178: 131071 << 5 === 4194272. Actual: ' + (131071 << 5)); >-} >- >- >-if (262143 << 5 !== 8388576) { >- testFailed('#179: 262143 << 5 === 8388576. Actual: ' + (262143 << 5)); >-} >- >- >-if (524287 << 5 !== 16777184) { >- testFailed('#180: 524287 << 5 === 16777184. Actual: ' + (524287 << 5)); >-} >- >- >-if (1048575 << 5 !== 33554400) { >- testFailed('#181: 1048575 << 5 === 33554400. Actual: ' + (1048575 << 5)); >-} >- >- >-if (2097151 << 5 !== 67108832) { >- testFailed('#182: 2097151 << 5 === 67108832. Actual: ' + (2097151 << 5)); >-} >- >- >-if (4194303 << 5 !== 134217696) { >- testFailed('#183: 4194303 << 5 === 134217696. Actual: ' + (4194303 << 5)); >-} >- >- >-if (8388607 << 5 !== 268435424) { >- testFailed('#184: 8388607 << 5 === 268435424. Actual: ' + (8388607 << 5)); >-} >- >- >-if (16777215 << 5 !== 536870880) { >- testFailed('#185: 16777215 << 5 === 536870880. Actual: ' + (16777215 << 5)); >-} >- >- >-if (33554431 << 5 !== 1073741792) { >- testFailed('#186: 33554431 << 5 === 1073741792. Actual: ' + (33554431 << 5)); >-} >- >- >-if (67108863 << 5 !== 2147483616) { >- testFailed('#187: 67108863 << 5 === 2147483616. Actual: ' + (67108863 << 5)); >-} >- >- >-if (134217727 << 5 !== -32) { >- testFailed('#188: 134217727 << 5 === -32. Actual: ' + (134217727 << 5)); >-} >- >- >-if (268435455 << 5 !== -32) { >- testFailed('#189: 268435455 << 5 === -32. Actual: ' + (268435455 << 5)); >-} >- >- >-if (536870911 << 5 !== -32) { >- testFailed('#190: 536870911 << 5 === -32. Actual: ' + (536870911 << 5)); >-} >- >- >-if (1073741823 << 5 !== -32) { >- testFailed('#191: 1073741823 << 5 === -32. Actual: ' + (1073741823 << 5)); >-} >- >- >-if (2147483647 << 5 !== -32) { >- testFailed('#192: 2147483647 << 5 === -32. Actual: ' + (2147483647 << 5)); >-} >- >- >-if (0 << 6 !== 0) { >- testFailed('#193: 0 << 6 === 0. Actual: ' + (0 << 6)); >-} >- >- >-if (1 << 6 !== 64) { >- testFailed('#194: 1 << 6 === 64. Actual: ' + (1 << 6)); >-} >- >- >-if (3 << 6 !== 192) { >- testFailed('#195: 3 << 6 === 192. Actual: ' + (3 << 6)); >-} >- >- >-if (7 << 6 !== 448) { >- testFailed('#196: 7 << 6 === 448. Actual: ' + (7 << 6)); >-} >- >- >-if (15 << 6 !== 960) { >- testFailed('#197: 15 << 6 === 960. Actual: ' + (15 << 6)); >-} >- >- >-if (31 << 6 !== 1984) { >- testFailed('#198: 31 << 6 === 1984. Actual: ' + (31 << 6)); >-} >- >- >-if (63 << 6 !== 4032) { >- testFailed('#199: 63 << 6 === 4032. Actual: ' + (63 << 6)); >-} >- >- >-if (127 << 6 !== 8128) { >- testFailed('#200: 127 << 6 === 8128. Actual: ' + (127 << 6)); >-} >- >- >-if (255 << 6 !== 16320) { >- testFailed('#201: 255 << 6 === 16320. Actual: ' + (255 << 6)); >-} >- >- >-if (511 << 6 !== 32704) { >- testFailed('#202: 511 << 6 === 32704. Actual: ' + (511 << 6)); >-} >- >- >-if (1023 << 6 !== 65472) { >- testFailed('#203: 1023 << 6 === 65472. Actual: ' + (1023 << 6)); >-} >- >- >-if (2047 << 6 !== 131008) { >- testFailed('#204: 2047 << 6 === 131008. Actual: ' + (2047 << 6)); >-} >- >- >-if (4095 << 6 !== 262080) { >- testFailed('#205: 4095 << 6 === 262080. Actual: ' + (4095 << 6)); >-} >- >- >-if (8191 << 6 !== 524224) { >- testFailed('#206: 8191 << 6 === 524224. Actual: ' + (8191 << 6)); >-} >- >- >-if (16383 << 6 !== 1048512) { >- testFailed('#207: 16383 << 6 === 1048512. Actual: ' + (16383 << 6)); >-} >- >- >-if (32767 << 6 !== 2097088) { >- testFailed('#208: 32767 << 6 === 2097088. Actual: ' + (32767 << 6)); >-} >- >- >-if (65535 << 6 !== 4194240) { >- testFailed('#209: 65535 << 6 === 4194240. Actual: ' + (65535 << 6)); >-} >- >- >-if (131071 << 6 !== 8388544) { >- testFailed('#210: 131071 << 6 === 8388544. Actual: ' + (131071 << 6)); >-} >- >- >-if (262143 << 6 !== 16777152) { >- testFailed('#211: 262143 << 6 === 16777152. Actual: ' + (262143 << 6)); >-} >- >- >-if (524287 << 6 !== 33554368) { >- testFailed('#212: 524287 << 6 === 33554368. Actual: ' + (524287 << 6)); >-} >- >- >-if (1048575 << 6 !== 67108800) { >- testFailed('#213: 1048575 << 6 === 67108800. Actual: ' + (1048575 << 6)); >-} >- >- >-if (2097151 << 6 !== 134217664) { >- testFailed('#214: 2097151 << 6 === 134217664. Actual: ' + (2097151 << 6)); >-} >- >- >-if (4194303 << 6 !== 268435392) { >- testFailed('#215: 4194303 << 6 === 268435392. Actual: ' + (4194303 << 6)); >-} >- >- >-if (8388607 << 6 !== 536870848) { >- testFailed('#216: 8388607 << 6 === 536870848. Actual: ' + (8388607 << 6)); >-} >- >- >-if (16777215 << 6 !== 1073741760) { >- testFailed('#217: 16777215 << 6 === 1073741760. Actual: ' + (16777215 << 6)); >-} >- >- >-if (33554431 << 6 !== 2147483584) { >- testFailed('#218: 33554431 << 6 === 2147483584. Actual: ' + (33554431 << 6)); >-} >- >- >-if (67108863 << 6 !== -64) { >- testFailed('#219: 67108863 << 6 === -64. Actual: ' + (67108863 << 6)); >-} >- >- >-if (134217727 << 6 !== -64) { >- testFailed('#220: 134217727 << 6 === -64. Actual: ' + (134217727 << 6)); >-} >- >- >-if (268435455 << 6 !== -64) { >- testFailed('#221: 268435455 << 6 === -64. Actual: ' + (268435455 << 6)); >-} >- >- >-if (536870911 << 6 !== -64) { >- testFailed('#222: 536870911 << 6 === -64. Actual: ' + (536870911 << 6)); >-} >- >- >-if (1073741823 << 6 !== -64) { >- testFailed('#223: 1073741823 << 6 === -64. Actual: ' + (1073741823 << 6)); >-} >- >- >-if (2147483647 << 6 !== -64) { >- testFailed('#224: 2147483647 << 6 === -64. Actual: ' + (2147483647 << 6)); >-} >- >- >-if (0 << 7 !== 0) { >- testFailed('#225: 0 << 7 === 0. Actual: ' + (0 << 7)); >-} >- >- >-if (1 << 7 !== 128) { >- testFailed('#226: 1 << 7 === 128. Actual: ' + (1 << 7)); >-} >- >- >-if (3 << 7 !== 384) { >- testFailed('#227: 3 << 7 === 384. Actual: ' + (3 << 7)); >-} >- >- >-if (7 << 7 !== 896) { >- testFailed('#228: 7 << 7 === 896. Actual: ' + (7 << 7)); >-} >- >- >-if (15 << 7 !== 1920) { >- testFailed('#229: 15 << 7 === 1920. Actual: ' + (15 << 7)); >-} >- >- >-if (31 << 7 !== 3968) { >- testFailed('#230: 31 << 7 === 3968. Actual: ' + (31 << 7)); >-} >- >- >-if (63 << 7 !== 8064) { >- testFailed('#231: 63 << 7 === 8064. Actual: ' + (63 << 7)); >-} >- >- >-if (127 << 7 !== 16256) { >- testFailed('#232: 127 << 7 === 16256. Actual: ' + (127 << 7)); >-} >- >- >-if (255 << 7 !== 32640) { >- testFailed('#233: 255 << 7 === 32640. Actual: ' + (255 << 7)); >-} >- >- >-if (511 << 7 !== 65408) { >- testFailed('#234: 511 << 7 === 65408. Actual: ' + (511 << 7)); >-} >- >- >-if (1023 << 7 !== 130944) { >- testFailed('#235: 1023 << 7 === 130944. Actual: ' + (1023 << 7)); >-} >- >- >-if (2047 << 7 !== 262016) { >- testFailed('#236: 2047 << 7 === 262016. Actual: ' + (2047 << 7)); >-} >- >- >-if (4095 << 7 !== 524160) { >- testFailed('#237: 4095 << 7 === 524160. Actual: ' + (4095 << 7)); >-} >- >- >-if (8191 << 7 !== 1048448) { >- testFailed('#238: 8191 << 7 === 1048448. Actual: ' + (8191 << 7)); >-} >- >- >-if (16383 << 7 !== 2097024) { >- testFailed('#239: 16383 << 7 === 2097024. Actual: ' + (16383 << 7)); >-} >- >- >-if (32767 << 7 !== 4194176) { >- testFailed('#240: 32767 << 7 === 4194176. Actual: ' + (32767 << 7)); >-} >- >- >-if (65535 << 7 !== 8388480) { >- testFailed('#241: 65535 << 7 === 8388480. Actual: ' + (65535 << 7)); >-} >- >- >-if (131071 << 7 !== 16777088) { >- testFailed('#242: 131071 << 7 === 16777088. Actual: ' + (131071 << 7)); >-} >- >- >-if (262143 << 7 !== 33554304) { >- testFailed('#243: 262143 << 7 === 33554304. Actual: ' + (262143 << 7)); >-} >- >- >-if (524287 << 7 !== 67108736) { >- testFailed('#244: 524287 << 7 === 67108736. Actual: ' + (524287 << 7)); >-} >- >- >-if (1048575 << 7 !== 134217600) { >- testFailed('#245: 1048575 << 7 === 134217600. Actual: ' + (1048575 << 7)); >-} >- >- >-if (2097151 << 7 !== 268435328) { >- testFailed('#246: 2097151 << 7 === 268435328. Actual: ' + (2097151 << 7)); >-} >- >- >-if (4194303 << 7 !== 536870784) { >- testFailed('#247: 4194303 << 7 === 536870784. Actual: ' + (4194303 << 7)); >-} >- >- >-if (8388607 << 7 !== 1073741696) { >- testFailed('#248: 8388607 << 7 === 1073741696. Actual: ' + (8388607 << 7)); >-} >- >- >-if (16777215 << 7 !== 2147483520) { >- testFailed('#249: 16777215 << 7 === 2147483520. Actual: ' + (16777215 << 7)); >-} >- >- >-if (33554431 << 7 !== -128) { >- testFailed('#250: 33554431 << 7 === -128. Actual: ' + (33554431 << 7)); >-} >- >- >-if (67108863 << 7 !== -128) { >- testFailed('#251: 67108863 << 7 === -128. Actual: ' + (67108863 << 7)); >-} >- >- >-if (134217727 << 7 !== -128) { >- testFailed('#252: 134217727 << 7 === -128. Actual: ' + (134217727 << 7)); >-} >- >- >-if (268435455 << 7 !== -128) { >- testFailed('#253: 268435455 << 7 === -128. Actual: ' + (268435455 << 7)); >-} >- >- >-if (536870911 << 7 !== -128) { >- testFailed('#254: 536870911 << 7 === -128. Actual: ' + (536870911 << 7)); >-} >- >- >-if (1073741823 << 7 !== -128) { >- testFailed('#255: 1073741823 << 7 === -128. Actual: ' + (1073741823 << 7)); >-} >- >- >-if (2147483647 << 7 !== -128) { >- testFailed('#256: 2147483647 << 7 === -128. Actual: ' + (2147483647 << 7)); >-} >- >- >-if (0 << 8 !== 0) { >- testFailed('#257: 0 << 8 === 0. Actual: ' + (0 << 8)); >-} >- >- >-if (1 << 8 !== 256) { >- testFailed('#258: 1 << 8 === 256. Actual: ' + (1 << 8)); >-} >- >- >-if (3 << 8 !== 768) { >- testFailed('#259: 3 << 8 === 768. Actual: ' + (3 << 8)); >-} >- >- >-if (7 << 8 !== 1792) { >- testFailed('#260: 7 << 8 === 1792. Actual: ' + (7 << 8)); >-} >- >- >-if (15 << 8 !== 3840) { >- testFailed('#261: 15 << 8 === 3840. Actual: ' + (15 << 8)); >-} >- >- >-if (31 << 8 !== 7936) { >- testFailed('#262: 31 << 8 === 7936. Actual: ' + (31 << 8)); >-} >- >- >-if (63 << 8 !== 16128) { >- testFailed('#263: 63 << 8 === 16128. Actual: ' + (63 << 8)); >-} >- >- >-if (127 << 8 !== 32512) { >- testFailed('#264: 127 << 8 === 32512. Actual: ' + (127 << 8)); >-} >- >- >-if (255 << 8 !== 65280) { >- testFailed('#265: 255 << 8 === 65280. Actual: ' + (255 << 8)); >-} >- >- >-if (511 << 8 !== 130816) { >- testFailed('#266: 511 << 8 === 130816. Actual: ' + (511 << 8)); >-} >- >- >-if (1023 << 8 !== 261888) { >- testFailed('#267: 1023 << 8 === 261888. Actual: ' + (1023 << 8)); >-} >- >- >-if (2047 << 8 !== 524032) { >- testFailed('#268: 2047 << 8 === 524032. Actual: ' + (2047 << 8)); >-} >- >- >-if (4095 << 8 !== 1048320) { >- testFailed('#269: 4095 << 8 === 1048320. Actual: ' + (4095 << 8)); >-} >- >- >-if (8191 << 8 !== 2096896) { >- testFailed('#270: 8191 << 8 === 2096896. Actual: ' + (8191 << 8)); >-} >- >- >-if (16383 << 8 !== 4194048) { >- testFailed('#271: 16383 << 8 === 4194048. Actual: ' + (16383 << 8)); >-} >- >- >-if (32767 << 8 !== 8388352) { >- testFailed('#272: 32767 << 8 === 8388352. Actual: ' + (32767 << 8)); >-} >- >- >-if (65535 << 8 !== 16776960) { >- testFailed('#273: 65535 << 8 === 16776960. Actual: ' + (65535 << 8)); >-} >- >- >-if (131071 << 8 !== 33554176) { >- testFailed('#274: 131071 << 8 === 33554176. Actual: ' + (131071 << 8)); >-} >- >- >-if (262143 << 8 !== 67108608) { >- testFailed('#275: 262143 << 8 === 67108608. Actual: ' + (262143 << 8)); >-} >- >- >-if (524287 << 8 !== 134217472) { >- testFailed('#276: 524287 << 8 === 134217472. Actual: ' + (524287 << 8)); >-} >- >- >-if (1048575 << 8 !== 268435200) { >- testFailed('#277: 1048575 << 8 === 268435200. Actual: ' + (1048575 << 8)); >-} >- >- >-if (2097151 << 8 !== 536870656) { >- testFailed('#278: 2097151 << 8 === 536870656. Actual: ' + (2097151 << 8)); >-} >- >- >-if (4194303 << 8 !== 1073741568) { >- testFailed('#279: 4194303 << 8 === 1073741568. Actual: ' + (4194303 << 8)); >-} >- >- >-if (8388607 << 8 !== 2147483392) { >- testFailed('#280: 8388607 << 8 === 2147483392. Actual: ' + (8388607 << 8)); >-} >- >- >-if (16777215 << 8 !== -256) { >- testFailed('#281: 16777215 << 8 === -256. Actual: ' + (16777215 << 8)); >-} >- >- >-if (33554431 << 8 !== -256) { >- testFailed('#282: 33554431 << 8 === -256. Actual: ' + (33554431 << 8)); >-} >- >- >-if (67108863 << 8 !== -256) { >- testFailed('#283: 67108863 << 8 === -256. Actual: ' + (67108863 << 8)); >-} >- >- >-if (134217727 << 8 !== -256) { >- testFailed('#284: 134217727 << 8 === -256. Actual: ' + (134217727 << 8)); >-} >- >- >-if (268435455 << 8 !== -256) { >- testFailed('#285: 268435455 << 8 === -256. Actual: ' + (268435455 << 8)); >-} >- >- >-if (536870911 << 8 !== -256) { >- testFailed('#286: 536870911 << 8 === -256. Actual: ' + (536870911 << 8)); >-} >- >- >-if (1073741823 << 8 !== -256) { >- testFailed('#287: 1073741823 << 8 === -256. Actual: ' + (1073741823 << 8)); >-} >- >- >-if (2147483647 << 8 !== -256) { >- testFailed('#288: 2147483647 << 8 === -256. Actual: ' + (2147483647 << 8)); >-} >- >- >-if (0 << 9 !== 0) { >- testFailed('#289: 0 << 9 === 0. Actual: ' + (0 << 9)); >-} >- >- >-if (1 << 9 !== 512) { >- testFailed('#290: 1 << 9 === 512. Actual: ' + (1 << 9)); >-} >- >- >-if (3 << 9 !== 1536) { >- testFailed('#291: 3 << 9 === 1536. Actual: ' + (3 << 9)); >-} >- >- >-if (7 << 9 !== 3584) { >- testFailed('#292: 7 << 9 === 3584. Actual: ' + (7 << 9)); >-} >- >- >-if (15 << 9 !== 7680) { >- testFailed('#293: 15 << 9 === 7680. Actual: ' + (15 << 9)); >-} >- >- >-if (31 << 9 !== 15872) { >- testFailed('#294: 31 << 9 === 15872. Actual: ' + (31 << 9)); >-} >- >- >-if (63 << 9 !== 32256) { >- testFailed('#295: 63 << 9 === 32256. Actual: ' + (63 << 9)); >-} >- >- >-if (127 << 9 !== 65024) { >- testFailed('#296: 127 << 9 === 65024. Actual: ' + (127 << 9)); >-} >- >- >-if (255 << 9 !== 130560) { >- testFailed('#297: 255 << 9 === 130560. Actual: ' + (255 << 9)); >-} >- >- >-if (511 << 9 !== 261632) { >- testFailed('#298: 511 << 9 === 261632. Actual: ' + (511 << 9)); >-} >- >- >-if (1023 << 9 !== 523776) { >- testFailed('#299: 1023 << 9 === 523776. Actual: ' + (1023 << 9)); >-} >- >- >-if (2047 << 9 !== 1048064) { >- testFailed('#300: 2047 << 9 === 1048064. Actual: ' + (2047 << 9)); >-} >- >- >-if (4095 << 9 !== 2096640) { >- testFailed('#301: 4095 << 9 === 2096640. Actual: ' + (4095 << 9)); >-} >- >- >-if (8191 << 9 !== 4193792) { >- testFailed('#302: 8191 << 9 === 4193792. Actual: ' + (8191 << 9)); >-} >- >- >-if (16383 << 9 !== 8388096) { >- testFailed('#303: 16383 << 9 === 8388096. Actual: ' + (16383 << 9)); >-} >- >- >-if (32767 << 9 !== 16776704) { >- testFailed('#304: 32767 << 9 === 16776704. Actual: ' + (32767 << 9)); >-} >- >- >-if (65535 << 9 !== 33553920) { >- testFailed('#305: 65535 << 9 === 33553920. Actual: ' + (65535 << 9)); >-} >- >- >-if (131071 << 9 !== 67108352) { >- testFailed('#306: 131071 << 9 === 67108352. Actual: ' + (131071 << 9)); >-} >- >- >-if (262143 << 9 !== 134217216) { >- testFailed('#307: 262143 << 9 === 134217216. Actual: ' + (262143 << 9)); >-} >- >- >-if (524287 << 9 !== 268434944) { >- testFailed('#308: 524287 << 9 === 268434944. Actual: ' + (524287 << 9)); >-} >- >- >-if (1048575 << 9 !== 536870400) { >- testFailed('#309: 1048575 << 9 === 536870400. Actual: ' + (1048575 << 9)); >-} >- >- >-if (2097151 << 9 !== 1073741312) { >- testFailed('#310: 2097151 << 9 === 1073741312. Actual: ' + (2097151 << 9)); >-} >- >- >-if (4194303 << 9 !== 2147483136) { >- testFailed('#311: 4194303 << 9 === 2147483136. Actual: ' + (4194303 << 9)); >-} >- >- >-if (8388607 << 9 !== -512) { >- testFailed('#312: 8388607 << 9 === -512. Actual: ' + (8388607 << 9)); >-} >- >- >-if (16777215 << 9 !== -512) { >- testFailed('#313: 16777215 << 9 === -512. Actual: ' + (16777215 << 9)); >-} >- >- >-if (33554431 << 9 !== -512) { >- testFailed('#314: 33554431 << 9 === -512. Actual: ' + (33554431 << 9)); >-} >- >- >-if (67108863 << 9 !== -512) { >- testFailed('#315: 67108863 << 9 === -512. Actual: ' + (67108863 << 9)); >-} >- >- >-if (134217727 << 9 !== -512) { >- testFailed('#316: 134217727 << 9 === -512. Actual: ' + (134217727 << 9)); >-} >- >- >-if (268435455 << 9 !== -512) { >- testFailed('#317: 268435455 << 9 === -512. Actual: ' + (268435455 << 9)); >-} >- >- >-if (536870911 << 9 !== -512) { >- testFailed('#318: 536870911 << 9 === -512. Actual: ' + (536870911 << 9)); >-} >- >- >-if (1073741823 << 9 !== -512) { >- testFailed('#319: 1073741823 << 9 === -512. Actual: ' + (1073741823 << 9)); >-} >- >- >-if (2147483647 << 9 !== -512) { >- testFailed('#320: 2147483647 << 9 === -512. Actual: ' + (2147483647 << 9)); >-} >- >- >-if (0 << 10 !== 0) { >- testFailed('#321: 0 << 10 === 0. Actual: ' + (0 << 10)); >-} >- >- >-if (1 << 10 !== 1024) { >- testFailed('#322: 1 << 10 === 1024. Actual: ' + (1 << 10)); >-} >- >- >-if (3 << 10 !== 3072) { >- testFailed('#323: 3 << 10 === 3072. Actual: ' + (3 << 10)); >-} >- >- >-if (7 << 10 !== 7168) { >- testFailed('#324: 7 << 10 === 7168. Actual: ' + (7 << 10)); >-} >- >- >-if (15 << 10 !== 15360) { >- testFailed('#325: 15 << 10 === 15360. Actual: ' + (15 << 10)); >-} >- >- >-if (31 << 10 !== 31744) { >- testFailed('#326: 31 << 10 === 31744. Actual: ' + (31 << 10)); >-} >- >- >-if (63 << 10 !== 64512) { >- testFailed('#327: 63 << 10 === 64512. Actual: ' + (63 << 10)); >-} >- >- >-if (127 << 10 !== 130048) { >- testFailed('#328: 127 << 10 === 130048. Actual: ' + (127 << 10)); >-} >- >- >-if (255 << 10 !== 261120) { >- testFailed('#329: 255 << 10 === 261120. Actual: ' + (255 << 10)); >-} >- >- >-if (511 << 10 !== 523264) { >- testFailed('#330: 511 << 10 === 523264. Actual: ' + (511 << 10)); >-} >- >- >-if (1023 << 10 !== 1047552) { >- testFailed('#331: 1023 << 10 === 1047552. Actual: ' + (1023 << 10)); >-} >- >- >-if (2047 << 10 !== 2096128) { >- testFailed('#332: 2047 << 10 === 2096128. Actual: ' + (2047 << 10)); >-} >- >- >-if (4095 << 10 !== 4193280) { >- testFailed('#333: 4095 << 10 === 4193280. Actual: ' + (4095 << 10)); >-} >- >- >-if (8191 << 10 !== 8387584) { >- testFailed('#334: 8191 << 10 === 8387584. Actual: ' + (8191 << 10)); >-} >- >- >-if (16383 << 10 !== 16776192) { >- testFailed('#335: 16383 << 10 === 16776192. Actual: ' + (16383 << 10)); >-} >- >- >-if (32767 << 10 !== 33553408) { >- testFailed('#336: 32767 << 10 === 33553408. Actual: ' + (32767 << 10)); >-} >- >- >-if (65535 << 10 !== 67107840) { >- testFailed('#337: 65535 << 10 === 67107840. Actual: ' + (65535 << 10)); >-} >- >- >-if (131071 << 10 !== 134216704) { >- testFailed('#338: 131071 << 10 === 134216704. Actual: ' + (131071 << 10)); >-} >- >- >-if (262143 << 10 !== 268434432) { >- testFailed('#339: 262143 << 10 === 268434432. Actual: ' + (262143 << 10)); >-} >- >- >-if (524287 << 10 !== 536869888) { >- testFailed('#340: 524287 << 10 === 536869888. Actual: ' + (524287 << 10)); >-} >- >- >-if (1048575 << 10 !== 1073740800) { >- testFailed('#341: 1048575 << 10 === 1073740800. Actual: ' + (1048575 << 10)); >-} >- >- >-if (2097151 << 10 !== 2147482624) { >- testFailed('#342: 2097151 << 10 === 2147482624. Actual: ' + (2097151 << 10)); >-} >- >- >-if (4194303 << 10 !== -1024) { >- testFailed('#343: 4194303 << 10 === -1024. Actual: ' + (4194303 << 10)); >-} >- >- >-if (8388607 << 10 !== -1024) { >- testFailed('#344: 8388607 << 10 === -1024. Actual: ' + (8388607 << 10)); >-} >- >- >-if (16777215 << 10 !== -1024) { >- testFailed('#345: 16777215 << 10 === -1024. Actual: ' + (16777215 << 10)); >-} >- >- >-if (33554431 << 10 !== -1024) { >- testFailed('#346: 33554431 << 10 === -1024. Actual: ' + (33554431 << 10)); >-} >- >- >-if (67108863 << 10 !== -1024) { >- testFailed('#347: 67108863 << 10 === -1024. Actual: ' + (67108863 << 10)); >-} >- >- >-if (134217727 << 10 !== -1024) { >- testFailed('#348: 134217727 << 10 === -1024. Actual: ' + (134217727 << 10)); >-} >- >- >-if (268435455 << 10 !== -1024) { >- testFailed('#349: 268435455 << 10 === -1024. Actual: ' + (268435455 << 10)); >-} >- >- >-if (536870911 << 10 !== -1024) { >- testFailed('#350: 536870911 << 10 === -1024. Actual: ' + (536870911 << 10)); >-} >- >- >-if (1073741823 << 10 !== -1024) { >- testFailed('#351: 1073741823 << 10 === -1024. Actual: ' + (1073741823 << 10)); >-} >- >- >-if (2147483647 << 10 !== -1024) { >- testFailed('#352: 2147483647 << 10 === -1024. Actual: ' + (2147483647 << 10)); >-} >- >- >-if (0 << 11 !== 0) { >- testFailed('#353: 0 << 11 === 0. Actual: ' + (0 << 11)); >-} >- >- >-if (1 << 11 !== 2048) { >- testFailed('#354: 1 << 11 === 2048. Actual: ' + (1 << 11)); >-} >- >- >-if (3 << 11 !== 6144) { >- testFailed('#355: 3 << 11 === 6144. Actual: ' + (3 << 11)); >-} >- >- >-if (7 << 11 !== 14336) { >- testFailed('#356: 7 << 11 === 14336. Actual: ' + (7 << 11)); >-} >- >- >-if (15 << 11 !== 30720) { >- testFailed('#357: 15 << 11 === 30720. Actual: ' + (15 << 11)); >-} >- >- >-if (31 << 11 !== 63488) { >- testFailed('#358: 31 << 11 === 63488. Actual: ' + (31 << 11)); >-} >- >- >-if (63 << 11 !== 129024) { >- testFailed('#359: 63 << 11 === 129024. Actual: ' + (63 << 11)); >-} >- >- >-if (127 << 11 !== 260096) { >- testFailed('#360: 127 << 11 === 260096. Actual: ' + (127 << 11)); >-} >- >- >-if (255 << 11 !== 522240) { >- testFailed('#361: 255 << 11 === 522240. Actual: ' + (255 << 11)); >-} >- >- >-if (511 << 11 !== 1046528) { >- testFailed('#362: 511 << 11 === 1046528. Actual: ' + (511 << 11)); >-} >- >- >-if (1023 << 11 !== 2095104) { >- testFailed('#363: 1023 << 11 === 2095104. Actual: ' + (1023 << 11)); >-} >- >- >-if (2047 << 11 !== 4192256) { >- testFailed('#364: 2047 << 11 === 4192256. Actual: ' + (2047 << 11)); >-} >- >- >-if (4095 << 11 !== 8386560) { >- testFailed('#365: 4095 << 11 === 8386560. Actual: ' + (4095 << 11)); >-} >- >- >-if (8191 << 11 !== 16775168) { >- testFailed('#366: 8191 << 11 === 16775168. Actual: ' + (8191 << 11)); >-} >- >- >-if (16383 << 11 !== 33552384) { >- testFailed('#367: 16383 << 11 === 33552384. Actual: ' + (16383 << 11)); >-} >- >- >-if (32767 << 11 !== 67106816) { >- testFailed('#368: 32767 << 11 === 67106816. Actual: ' + (32767 << 11)); >-} >- >- >-if (65535 << 11 !== 134215680) { >- testFailed('#369: 65535 << 11 === 134215680. Actual: ' + (65535 << 11)); >-} >- >- >-if (131071 << 11 !== 268433408) { >- testFailed('#370: 131071 << 11 === 268433408. Actual: ' + (131071 << 11)); >-} >- >- >-if (262143 << 11 !== 536868864) { >- testFailed('#371: 262143 << 11 === 536868864. Actual: ' + (262143 << 11)); >-} >- >- >-if (524287 << 11 !== 1073739776) { >- testFailed('#372: 524287 << 11 === 1073739776. Actual: ' + (524287 << 11)); >-} >- >- >-if (1048575 << 11 !== 2147481600) { >- testFailed('#373: 1048575 << 11 === 2147481600. Actual: ' + (1048575 << 11)); >-} >- >- >-if (2097151 << 11 !== -2048) { >- testFailed('#374: 2097151 << 11 === -2048. Actual: ' + (2097151 << 11)); >-} >- >- >-if (4194303 << 11 !== -2048) { >- testFailed('#375: 4194303 << 11 === -2048. Actual: ' + (4194303 << 11)); >-} >- >- >-if (8388607 << 11 !== -2048) { >- testFailed('#376: 8388607 << 11 === -2048. Actual: ' + (8388607 << 11)); >-} >- >- >-if (16777215 << 11 !== -2048) { >- testFailed('#377: 16777215 << 11 === -2048. Actual: ' + (16777215 << 11)); >-} >- >- >-if (33554431 << 11 !== -2048) { >- testFailed('#378: 33554431 << 11 === -2048. Actual: ' + (33554431 << 11)); >-} >- >- >-if (67108863 << 11 !== -2048) { >- testFailed('#379: 67108863 << 11 === -2048. Actual: ' + (67108863 << 11)); >-} >- >- >-if (134217727 << 11 !== -2048) { >- testFailed('#380: 134217727 << 11 === -2048. Actual: ' + (134217727 << 11)); >-} >- >- >-if (268435455 << 11 !== -2048) { >- testFailed('#381: 268435455 << 11 === -2048. Actual: ' + (268435455 << 11)); >-} >- >- >-if (536870911 << 11 !== -2048) { >- testFailed('#382: 536870911 << 11 === -2048. Actual: ' + (536870911 << 11)); >-} >- >- >-if (1073741823 << 11 !== -2048) { >- testFailed('#383: 1073741823 << 11 === -2048. Actual: ' + (1073741823 << 11)); >-} >- >- >-if (2147483647 << 11 !== -2048) { >- testFailed('#384: 2147483647 << 11 === -2048. Actual: ' + (2147483647 << 11)); >-} >- >- >-if (0 << 12 !== 0) { >- testFailed('#385: 0 << 12 === 0. Actual: ' + (0 << 12)); >-} >- >- >-if (1 << 12 !== 4096) { >- testFailed('#386: 1 << 12 === 4096. Actual: ' + (1 << 12)); >-} >- >- >-if (3 << 12 !== 12288) { >- testFailed('#387: 3 << 12 === 12288. Actual: ' + (3 << 12)); >-} >- >- >-if (7 << 12 !== 28672) { >- testFailed('#388: 7 << 12 === 28672. Actual: ' + (7 << 12)); >-} >- >- >-if (15 << 12 !== 61440) { >- testFailed('#389: 15 << 12 === 61440. Actual: ' + (15 << 12)); >-} >- >- >-if (31 << 12 !== 126976) { >- testFailed('#390: 31 << 12 === 126976. Actual: ' + (31 << 12)); >-} >- >- >-if (63 << 12 !== 258048) { >- testFailed('#391: 63 << 12 === 258048. Actual: ' + (63 << 12)); >-} >- >- >-if (127 << 12 !== 520192) { >- testFailed('#392: 127 << 12 === 520192. Actual: ' + (127 << 12)); >-} >- >- >-if (255 << 12 !== 1044480) { >- testFailed('#393: 255 << 12 === 1044480. Actual: ' + (255 << 12)); >-} >- >- >-if (511 << 12 !== 2093056) { >- testFailed('#394: 511 << 12 === 2093056. Actual: ' + (511 << 12)); >-} >- >- >-if (1023 << 12 !== 4190208) { >- testFailed('#395: 1023 << 12 === 4190208. Actual: ' + (1023 << 12)); >-} >- >- >-if (2047 << 12 !== 8384512) { >- testFailed('#396: 2047 << 12 === 8384512. Actual: ' + (2047 << 12)); >-} >- >- >-if (4095 << 12 !== 16773120) { >- testFailed('#397: 4095 << 12 === 16773120. Actual: ' + (4095 << 12)); >-} >- >- >-if (8191 << 12 !== 33550336) { >- testFailed('#398: 8191 << 12 === 33550336. Actual: ' + (8191 << 12)); >-} >- >- >-if (16383 << 12 !== 67104768) { >- testFailed('#399: 16383 << 12 === 67104768. Actual: ' + (16383 << 12)); >-} >- >- >-if (32767 << 12 !== 134213632) { >- testFailed('#400: 32767 << 12 === 134213632. Actual: ' + (32767 << 12)); >-} >- >- >-if (65535 << 12 !== 268431360) { >- testFailed('#401: 65535 << 12 === 268431360. Actual: ' + (65535 << 12)); >-} >- >- >-if (131071 << 12 !== 536866816) { >- testFailed('#402: 131071 << 12 === 536866816. Actual: ' + (131071 << 12)); >-} >- >- >-if (262143 << 12 !== 1073737728) { >- testFailed('#403: 262143 << 12 === 1073737728. Actual: ' + (262143 << 12)); >-} >- >- >-if (524287 << 12 !== 2147479552) { >- testFailed('#404: 524287 << 12 === 2147479552. Actual: ' + (524287 << 12)); >-} >- >- >-if (1048575 << 12 !== -4096) { >- testFailed('#405: 1048575 << 12 === -4096. Actual: ' + (1048575 << 12)); >-} >- >- >-if (2097151 << 12 !== -4096) { >- testFailed('#406: 2097151 << 12 === -4096. Actual: ' + (2097151 << 12)); >-} >- >- >-if (4194303 << 12 !== -4096) { >- testFailed('#407: 4194303 << 12 === -4096. Actual: ' + (4194303 << 12)); >-} >- >- >-if (8388607 << 12 !== -4096) { >- testFailed('#408: 8388607 << 12 === -4096. Actual: ' + (8388607 << 12)); >-} >- >- >-if (16777215 << 12 !== -4096) { >- testFailed('#409: 16777215 << 12 === -4096. Actual: ' + (16777215 << 12)); >-} >- >- >-if (33554431 << 12 !== -4096) { >- testFailed('#410: 33554431 << 12 === -4096. Actual: ' + (33554431 << 12)); >-} >- >- >-if (67108863 << 12 !== -4096) { >- testFailed('#411: 67108863 << 12 === -4096. Actual: ' + (67108863 << 12)); >-} >- >- >-if (134217727 << 12 !== -4096) { >- testFailed('#412: 134217727 << 12 === -4096. Actual: ' + (134217727 << 12)); >-} >- >- >-if (268435455 << 12 !== -4096) { >- testFailed('#413: 268435455 << 12 === -4096. Actual: ' + (268435455 << 12)); >-} >- >- >-if (536870911 << 12 !== -4096) { >- testFailed('#414: 536870911 << 12 === -4096. Actual: ' + (536870911 << 12)); >-} >- >- >-if (1073741823 << 12 !== -4096) { >- testFailed('#415: 1073741823 << 12 === -4096. Actual: ' + (1073741823 << 12)); >-} >- >- >-if (2147483647 << 12 !== -4096) { >- testFailed('#416: 2147483647 << 12 === -4096. Actual: ' + (2147483647 << 12)); >-} >- >- >-if (0 << 13 !== 0) { >- testFailed('#417: 0 << 13 === 0. Actual: ' + (0 << 13)); >-} >- >- >-if (1 << 13 !== 8192) { >- testFailed('#418: 1 << 13 === 8192. Actual: ' + (1 << 13)); >-} >- >- >-if (3 << 13 !== 24576) { >- testFailed('#419: 3 << 13 === 24576. Actual: ' + (3 << 13)); >-} >- >- >-if (7 << 13 !== 57344) { >- testFailed('#420: 7 << 13 === 57344. Actual: ' + (7 << 13)); >-} >- >- >-if (15 << 13 !== 122880) { >- testFailed('#421: 15 << 13 === 122880. Actual: ' + (15 << 13)); >-} >- >- >-if (31 << 13 !== 253952) { >- testFailed('#422: 31 << 13 === 253952. Actual: ' + (31 << 13)); >-} >- >- >-if (63 << 13 !== 516096) { >- testFailed('#423: 63 << 13 === 516096. Actual: ' + (63 << 13)); >-} >- >- >-if (127 << 13 !== 1040384) { >- testFailed('#424: 127 << 13 === 1040384. Actual: ' + (127 << 13)); >-} >- >- >-if (255 << 13 !== 2088960) { >- testFailed('#425: 255 << 13 === 2088960. Actual: ' + (255 << 13)); >-} >- >- >-if (511 << 13 !== 4186112) { >- testFailed('#426: 511 << 13 === 4186112. Actual: ' + (511 << 13)); >-} >- >- >-if (1023 << 13 !== 8380416) { >- testFailed('#427: 1023 << 13 === 8380416. Actual: ' + (1023 << 13)); >-} >- >- >-if (2047 << 13 !== 16769024) { >- testFailed('#428: 2047 << 13 === 16769024. Actual: ' + (2047 << 13)); >-} >- >- >-if (4095 << 13 !== 33546240) { >- testFailed('#429: 4095 << 13 === 33546240. Actual: ' + (4095 << 13)); >-} >- >- >-if (8191 << 13 !== 67100672) { >- testFailed('#430: 8191 << 13 === 67100672. Actual: ' + (8191 << 13)); >-} >- >- >-if (16383 << 13 !== 134209536) { >- testFailed('#431: 16383 << 13 === 134209536. Actual: ' + (16383 << 13)); >-} >- >- >-if (32767 << 13 !== 268427264) { >- testFailed('#432: 32767 << 13 === 268427264. Actual: ' + (32767 << 13)); >-} >- >- >-if (65535 << 13 !== 536862720) { >- testFailed('#433: 65535 << 13 === 536862720. Actual: ' + (65535 << 13)); >-} >- >- >-if (131071 << 13 !== 1073733632) { >- testFailed('#434: 131071 << 13 === 1073733632. Actual: ' + (131071 << 13)); >-} >- >- >-if (262143 << 13 !== 2147475456) { >- testFailed('#435: 262143 << 13 === 2147475456. Actual: ' + (262143 << 13)); >-} >- >- >-if (524287 << 13 !== -8192) { >- testFailed('#436: 524287 << 13 === -8192. Actual: ' + (524287 << 13)); >-} >- >- >-if (1048575 << 13 !== -8192) { >- testFailed('#437: 1048575 << 13 === -8192. Actual: ' + (1048575 << 13)); >-} >- >- >-if (2097151 << 13 !== -8192) { >- testFailed('#438: 2097151 << 13 === -8192. Actual: ' + (2097151 << 13)); >-} >- >- >-if (4194303 << 13 !== -8192) { >- testFailed('#439: 4194303 << 13 === -8192. Actual: ' + (4194303 << 13)); >-} >- >- >-if (8388607 << 13 !== -8192) { >- testFailed('#440: 8388607 << 13 === -8192. Actual: ' + (8388607 << 13)); >-} >- >- >-if (16777215 << 13 !== -8192) { >- testFailed('#441: 16777215 << 13 === -8192. Actual: ' + (16777215 << 13)); >-} >- >- >-if (33554431 << 13 !== -8192) { >- testFailed('#442: 33554431 << 13 === -8192. Actual: ' + (33554431 << 13)); >-} >- >- >-if (67108863 << 13 !== -8192) { >- testFailed('#443: 67108863 << 13 === -8192. Actual: ' + (67108863 << 13)); >-} >- >- >-if (134217727 << 13 !== -8192) { >- testFailed('#444: 134217727 << 13 === -8192. Actual: ' + (134217727 << 13)); >-} >- >- >-if (268435455 << 13 !== -8192) { >- testFailed('#445: 268435455 << 13 === -8192. Actual: ' + (268435455 << 13)); >-} >- >- >-if (536870911 << 13 !== -8192) { >- testFailed('#446: 536870911 << 13 === -8192. Actual: ' + (536870911 << 13)); >-} >- >- >-if (1073741823 << 13 !== -8192) { >- testFailed('#447: 1073741823 << 13 === -8192. Actual: ' + (1073741823 << 13)); >-} >- >- >-if (2147483647 << 13 !== -8192) { >- testFailed('#448: 2147483647 << 13 === -8192. Actual: ' + (2147483647 << 13)); >-} >- >- >-if (0 << 14 !== 0) { >- testFailed('#449: 0 << 14 === 0. Actual: ' + (0 << 14)); >-} >- >- >-if (1 << 14 !== 16384) { >- testFailed('#450: 1 << 14 === 16384. Actual: ' + (1 << 14)); >-} >- >- >-if (3 << 14 !== 49152) { >- testFailed('#451: 3 << 14 === 49152. Actual: ' + (3 << 14)); >-} >- >- >-if (7 << 14 !== 114688) { >- testFailed('#452: 7 << 14 === 114688. Actual: ' + (7 << 14)); >-} >- >- >-if (15 << 14 !== 245760) { >- testFailed('#453: 15 << 14 === 245760. Actual: ' + (15 << 14)); >-} >- >- >-if (31 << 14 !== 507904) { >- testFailed('#454: 31 << 14 === 507904. Actual: ' + (31 << 14)); >-} >- >- >-if (63 << 14 !== 1032192) { >- testFailed('#455: 63 << 14 === 1032192. Actual: ' + (63 << 14)); >-} >- >- >-if (127 << 14 !== 2080768) { >- testFailed('#456: 127 << 14 === 2080768. Actual: ' + (127 << 14)); >-} >- >- >-if (255 << 14 !== 4177920) { >- testFailed('#457: 255 << 14 === 4177920. Actual: ' + (255 << 14)); >-} >- >- >-if (511 << 14 !== 8372224) { >- testFailed('#458: 511 << 14 === 8372224. Actual: ' + (511 << 14)); >-} >- >- >-if (1023 << 14 !== 16760832) { >- testFailed('#459: 1023 << 14 === 16760832. Actual: ' + (1023 << 14)); >-} >- >- >-if (2047 << 14 !== 33538048) { >- testFailed('#460: 2047 << 14 === 33538048. Actual: ' + (2047 << 14)); >-} >- >- >-if (4095 << 14 !== 67092480) { >- testFailed('#461: 4095 << 14 === 67092480. Actual: ' + (4095 << 14)); >-} >- >- >-if (8191 << 14 !== 134201344) { >- testFailed('#462: 8191 << 14 === 134201344. Actual: ' + (8191 << 14)); >-} >- >- >-if (16383 << 14 !== 268419072) { >- testFailed('#463: 16383 << 14 === 268419072. Actual: ' + (16383 << 14)); >-} >- >- >-if (32767 << 14 !== 536854528) { >- testFailed('#464: 32767 << 14 === 536854528. Actual: ' + (32767 << 14)); >-} >- >- >-if (65535 << 14 !== 1073725440) { >- testFailed('#465: 65535 << 14 === 1073725440. Actual: ' + (65535 << 14)); >-} >- >- >-if (131071 << 14 !== 2147467264) { >- testFailed('#466: 131071 << 14 === 2147467264. Actual: ' + (131071 << 14)); >-} >- >- >-if (262143 << 14 !== -16384) { >- testFailed('#467: 262143 << 14 === -16384. Actual: ' + (262143 << 14)); >-} >- >- >-if (524287 << 14 !== -16384) { >- testFailed('#468: 524287 << 14 === -16384. Actual: ' + (524287 << 14)); >-} >- >- >-if (1048575 << 14 !== -16384) { >- testFailed('#469: 1048575 << 14 === -16384. Actual: ' + (1048575 << 14)); >-} >- >- >-if (2097151 << 14 !== -16384) { >- testFailed('#470: 2097151 << 14 === -16384. Actual: ' + (2097151 << 14)); >-} >- >- >-if (4194303 << 14 !== -16384) { >- testFailed('#471: 4194303 << 14 === -16384. Actual: ' + (4194303 << 14)); >-} >- >- >-if (8388607 << 14 !== -16384) { >- testFailed('#472: 8388607 << 14 === -16384. Actual: ' + (8388607 << 14)); >-} >- >- >-if (16777215 << 14 !== -16384) { >- testFailed('#473: 16777215 << 14 === -16384. Actual: ' + (16777215 << 14)); >-} >- >- >-if (33554431 << 14 !== -16384) { >- testFailed('#474: 33554431 << 14 === -16384. Actual: ' + (33554431 << 14)); >-} >- >- >-if (67108863 << 14 !== -16384) { >- testFailed('#475: 67108863 << 14 === -16384. Actual: ' + (67108863 << 14)); >-} >- >- >-if (134217727 << 14 !== -16384) { >- testFailed('#476: 134217727 << 14 === -16384. Actual: ' + (134217727 << 14)); >-} >- >- >-if (268435455 << 14 !== -16384) { >- testFailed('#477: 268435455 << 14 === -16384. Actual: ' + (268435455 << 14)); >-} >- >- >-if (536870911 << 14 !== -16384) { >- testFailed('#478: 536870911 << 14 === -16384. Actual: ' + (536870911 << 14)); >-} >- >- >-if (1073741823 << 14 !== -16384) { >- testFailed('#479: 1073741823 << 14 === -16384. Actual: ' + (1073741823 << 14)); >-} >- >- >-if (2147483647 << 14 !== -16384) { >- testFailed('#480: 2147483647 << 14 === -16384. Actual: ' + (2147483647 << 14)); >-} >- >- >-if (0 << 15 !== 0) { >- testFailed('#481: 0 << 15 === 0. Actual: ' + (0 << 15)); >-} >- >- >-if (1 << 15 !== 32768) { >- testFailed('#482: 1 << 15 === 32768. Actual: ' + (1 << 15)); >-} >- >- >-if (3 << 15 !== 98304) { >- testFailed('#483: 3 << 15 === 98304. Actual: ' + (3 << 15)); >-} >- >- >-if (7 << 15 !== 229376) { >- testFailed('#484: 7 << 15 === 229376. Actual: ' + (7 << 15)); >-} >- >- >-if (15 << 15 !== 491520) { >- testFailed('#485: 15 << 15 === 491520. Actual: ' + (15 << 15)); >-} >- >- >-if (31 << 15 !== 1015808) { >- testFailed('#486: 31 << 15 === 1015808. Actual: ' + (31 << 15)); >-} >- >- >-if (63 << 15 !== 2064384) { >- testFailed('#487: 63 << 15 === 2064384. Actual: ' + (63 << 15)); >-} >- >- >-if (127 << 15 !== 4161536) { >- testFailed('#488: 127 << 15 === 4161536. Actual: ' + (127 << 15)); >-} >- >- >-if (255 << 15 !== 8355840) { >- testFailed('#489: 255 << 15 === 8355840. Actual: ' + (255 << 15)); >-} >- >- >-if (511 << 15 !== 16744448) { >- testFailed('#490: 511 << 15 === 16744448. Actual: ' + (511 << 15)); >-} >- >- >-if (1023 << 15 !== 33521664) { >- testFailed('#491: 1023 << 15 === 33521664. Actual: ' + (1023 << 15)); >-} >- >- >-if (2047 << 15 !== 67076096) { >- testFailed('#492: 2047 << 15 === 67076096. Actual: ' + (2047 << 15)); >-} >- >- >-if (4095 << 15 !== 134184960) { >- testFailed('#493: 4095 << 15 === 134184960. Actual: ' + (4095 << 15)); >-} >- >- >-if (8191 << 15 !== 268402688) { >- testFailed('#494: 8191 << 15 === 268402688. Actual: ' + (8191 << 15)); >-} >- >- >-if (16383 << 15 !== 536838144) { >- testFailed('#495: 16383 << 15 === 536838144. Actual: ' + (16383 << 15)); >-} >- >- >-if (32767 << 15 !== 1073709056) { >- testFailed('#496: 32767 << 15 === 1073709056. Actual: ' + (32767 << 15)); >-} >- >- >-if (65535 << 15 !== 2147450880) { >- testFailed('#497: 65535 << 15 === 2147450880. Actual: ' + (65535 << 15)); >-} >- >- >-if (131071 << 15 !== -32768) { >- testFailed('#498: 131071 << 15 === -32768. Actual: ' + (131071 << 15)); >-} >- >- >-if (262143 << 15 !== -32768) { >- testFailed('#499: 262143 << 15 === -32768. Actual: ' + (262143 << 15)); >-} >- >- >-if (524287 << 15 !== -32768) { >- testFailed('#500: 524287 << 15 === -32768. Actual: ' + (524287 << 15)); >-} >- >- >-if (1048575 << 15 !== -32768) { >- testFailed('#501: 1048575 << 15 === -32768. Actual: ' + (1048575 << 15)); >-} >- >- >-if (2097151 << 15 !== -32768) { >- testFailed('#502: 2097151 << 15 === -32768. Actual: ' + (2097151 << 15)); >-} >- >- >-if (4194303 << 15 !== -32768) { >- testFailed('#503: 4194303 << 15 === -32768. Actual: ' + (4194303 << 15)); >-} >- >- >-if (8388607 << 15 !== -32768) { >- testFailed('#504: 8388607 << 15 === -32768. Actual: ' + (8388607 << 15)); >-} >- >- >-if (16777215 << 15 !== -32768) { >- testFailed('#505: 16777215 << 15 === -32768. Actual: ' + (16777215 << 15)); >-} >- >- >-if (33554431 << 15 !== -32768) { >- testFailed('#506: 33554431 << 15 === -32768. Actual: ' + (33554431 << 15)); >-} >- >- >-if (67108863 << 15 !== -32768) { >- testFailed('#507: 67108863 << 15 === -32768. Actual: ' + (67108863 << 15)); >-} >- >- >-if (134217727 << 15 !== -32768) { >- testFailed('#508: 134217727 << 15 === -32768. Actual: ' + (134217727 << 15)); >-} >- >- >-if (268435455 << 15 !== -32768) { >- testFailed('#509: 268435455 << 15 === -32768. Actual: ' + (268435455 << 15)); >-} >- >- >-if (536870911 << 15 !== -32768) { >- testFailed('#510: 536870911 << 15 === -32768. Actual: ' + (536870911 << 15)); >-} >- >- >-if (1073741823 << 15 !== -32768) { >- testFailed('#511: 1073741823 << 15 === -32768. Actual: ' + (1073741823 << 15)); >-} >- >- >-if (2147483647 << 15 !== -32768) { >- testFailed('#512: 2147483647 << 15 === -32768. Actual: ' + (2147483647 << 15)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4-expected.txt >deleted file mode 100644 >index c2a4728fb66..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.html >deleted file mode 100644 >index 545e0493c6f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.html >+++ /dev/null >@@ -1,2653 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A4_T4; >- * @section: 11.7.1; >- * @assertion: Check operator x << y in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 16...31; >- */ >- >-//CHECK >- >-if (0 << 16 !== 0) { >- testFailed('#513: 0 << 16 === 0. Actual: ' + (0 << 16)); >-} >- >- >-if (1 << 16 !== 65536) { >- testFailed('#514: 1 << 16 === 65536. Actual: ' + (1 << 16)); >-} >- >- >-if (3 << 16 !== 196608) { >- testFailed('#515: 3 << 16 === 196608. Actual: ' + (3 << 16)); >-} >- >- >-if (7 << 16 !== 458752) { >- testFailed('#516: 7 << 16 === 458752. Actual: ' + (7 << 16)); >-} >- >- >-if (15 << 16 !== 983040) { >- testFailed('#517: 15 << 16 === 983040. Actual: ' + (15 << 16)); >-} >- >- >-if (31 << 16 !== 2031616) { >- testFailed('#518: 31 << 16 === 2031616. Actual: ' + (31 << 16)); >-} >- >- >-if (63 << 16 !== 4128768) { >- testFailed('#519: 63 << 16 === 4128768. Actual: ' + (63 << 16)); >-} >- >- >-if (127 << 16 !== 8323072) { >- testFailed('#520: 127 << 16 === 8323072. Actual: ' + (127 << 16)); >-} >- >- >-if (255 << 16 !== 16711680) { >- testFailed('#521: 255 << 16 === 16711680. Actual: ' + (255 << 16)); >-} >- >- >-if (511 << 16 !== 33488896) { >- testFailed('#522: 511 << 16 === 33488896. Actual: ' + (511 << 16)); >-} >- >- >-if (1023 << 16 !== 67043328) { >- testFailed('#523: 1023 << 16 === 67043328. Actual: ' + (1023 << 16)); >-} >- >- >-if (2047 << 16 !== 134152192) { >- testFailed('#524: 2047 << 16 === 134152192. Actual: ' + (2047 << 16)); >-} >- >- >-if (4095 << 16 !== 268369920) { >- testFailed('#525: 4095 << 16 === 268369920. Actual: ' + (4095 << 16)); >-} >- >- >-if (8191 << 16 !== 536805376) { >- testFailed('#526: 8191 << 16 === 536805376. Actual: ' + (8191 << 16)); >-} >- >- >-if (16383 << 16 !== 1073676288) { >- testFailed('#527: 16383 << 16 === 1073676288. Actual: ' + (16383 << 16)); >-} >- >- >-if (32767 << 16 !== 2147418112) { >- testFailed('#528: 32767 << 16 === 2147418112. Actual: ' + (32767 << 16)); >-} >- >- >-if (65535 << 16 !== -65536) { >- testFailed('#529: 65535 << 16 === -65536. Actual: ' + (65535 << 16)); >-} >- >- >-if (131071 << 16 !== -65536) { >- testFailed('#530: 131071 << 16 === -65536. Actual: ' + (131071 << 16)); >-} >- >- >-if (262143 << 16 !== -65536) { >- testFailed('#531: 262143 << 16 === -65536. Actual: ' + (262143 << 16)); >-} >- >- >-if (524287 << 16 !== -65536) { >- testFailed('#532: 524287 << 16 === -65536. Actual: ' + (524287 << 16)); >-} >- >- >-if (1048575 << 16 !== -65536) { >- testFailed('#533: 1048575 << 16 === -65536. Actual: ' + (1048575 << 16)); >-} >- >- >-if (2097151 << 16 !== -65536) { >- testFailed('#534: 2097151 << 16 === -65536. Actual: ' + (2097151 << 16)); >-} >- >- >-if (4194303 << 16 !== -65536) { >- testFailed('#535: 4194303 << 16 === -65536. Actual: ' + (4194303 << 16)); >-} >- >- >-if (8388607 << 16 !== -65536) { >- testFailed('#536: 8388607 << 16 === -65536. Actual: ' + (8388607 << 16)); >-} >- >- >-if (16777215 << 16 !== -65536) { >- testFailed('#537: 16777215 << 16 === -65536. Actual: ' + (16777215 << 16)); >-} >- >- >-if (33554431 << 16 !== -65536) { >- testFailed('#538: 33554431 << 16 === -65536. Actual: ' + (33554431 << 16)); >-} >- >- >-if (67108863 << 16 !== -65536) { >- testFailed('#539: 67108863 << 16 === -65536. Actual: ' + (67108863 << 16)); >-} >- >- >-if (134217727 << 16 !== -65536) { >- testFailed('#540: 134217727 << 16 === -65536. Actual: ' + (134217727 << 16)); >-} >- >- >-if (268435455 << 16 !== -65536) { >- testFailed('#541: 268435455 << 16 === -65536. Actual: ' + (268435455 << 16)); >-} >- >- >-if (536870911 << 16 !== -65536) { >- testFailed('#542: 536870911 << 16 === -65536. Actual: ' + (536870911 << 16)); >-} >- >- >-if (1073741823 << 16 !== -65536) { >- testFailed('#543: 1073741823 << 16 === -65536. Actual: ' + (1073741823 << 16)); >-} >- >- >-if (2147483647 << 16 !== -65536) { >- testFailed('#544: 2147483647 << 16 === -65536. Actual: ' + (2147483647 << 16)); >-} >- >- >-if (0 << 17 !== 0) { >- testFailed('#545: 0 << 17 === 0. Actual: ' + (0 << 17)); >-} >- >- >-if (1 << 17 !== 131072) { >- testFailed('#546: 1 << 17 === 131072. Actual: ' + (1 << 17)); >-} >- >- >-if (3 << 17 !== 393216) { >- testFailed('#547: 3 << 17 === 393216. Actual: ' + (3 << 17)); >-} >- >- >-if (7 << 17 !== 917504) { >- testFailed('#548: 7 << 17 === 917504. Actual: ' + (7 << 17)); >-} >- >- >-if (15 << 17 !== 1966080) { >- testFailed('#549: 15 << 17 === 1966080. Actual: ' + (15 << 17)); >-} >- >- >-if (31 << 17 !== 4063232) { >- testFailed('#550: 31 << 17 === 4063232. Actual: ' + (31 << 17)); >-} >- >- >-if (63 << 17 !== 8257536) { >- testFailed('#551: 63 << 17 === 8257536. Actual: ' + (63 << 17)); >-} >- >- >-if (127 << 17 !== 16646144) { >- testFailed('#552: 127 << 17 === 16646144. Actual: ' + (127 << 17)); >-} >- >- >-if (255 << 17 !== 33423360) { >- testFailed('#553: 255 << 17 === 33423360. Actual: ' + (255 << 17)); >-} >- >- >-if (511 << 17 !== 66977792) { >- testFailed('#554: 511 << 17 === 66977792. Actual: ' + (511 << 17)); >-} >- >- >-if (1023 << 17 !== 134086656) { >- testFailed('#555: 1023 << 17 === 134086656. Actual: ' + (1023 << 17)); >-} >- >- >-if (2047 << 17 !== 268304384) { >- testFailed('#556: 2047 << 17 === 268304384. Actual: ' + (2047 << 17)); >-} >- >- >-if (4095 << 17 !== 536739840) { >- testFailed('#557: 4095 << 17 === 536739840. Actual: ' + (4095 << 17)); >-} >- >- >-if (8191 << 17 !== 1073610752) { >- testFailed('#558: 8191 << 17 === 1073610752. Actual: ' + (8191 << 17)); >-} >- >- >-if (16383 << 17 !== 2147352576) { >- testFailed('#559: 16383 << 17 === 2147352576. Actual: ' + (16383 << 17)); >-} >- >- >-if (32767 << 17 !== -131072) { >- testFailed('#560: 32767 << 17 === -131072. Actual: ' + (32767 << 17)); >-} >- >- >-if (65535 << 17 !== -131072) { >- testFailed('#561: 65535 << 17 === -131072. Actual: ' + (65535 << 17)); >-} >- >- >-if (131071 << 17 !== -131072) { >- testFailed('#562: 131071 << 17 === -131072. Actual: ' + (131071 << 17)); >-} >- >- >-if (262143 << 17 !== -131072) { >- testFailed('#563: 262143 << 17 === -131072. Actual: ' + (262143 << 17)); >-} >- >- >-if (524287 << 17 !== -131072) { >- testFailed('#564: 524287 << 17 === -131072. Actual: ' + (524287 << 17)); >-} >- >- >-if (1048575 << 17 !== -131072) { >- testFailed('#565: 1048575 << 17 === -131072. Actual: ' + (1048575 << 17)); >-} >- >- >-if (2097151 << 17 !== -131072) { >- testFailed('#566: 2097151 << 17 === -131072. Actual: ' + (2097151 << 17)); >-} >- >- >-if (4194303 << 17 !== -131072) { >- testFailed('#567: 4194303 << 17 === -131072. Actual: ' + (4194303 << 17)); >-} >- >- >-if (8388607 << 17 !== -131072) { >- testFailed('#568: 8388607 << 17 === -131072. Actual: ' + (8388607 << 17)); >-} >- >- >-if (16777215 << 17 !== -131072) { >- testFailed('#569: 16777215 << 17 === -131072. Actual: ' + (16777215 << 17)); >-} >- >- >-if (33554431 << 17 !== -131072) { >- testFailed('#570: 33554431 << 17 === -131072. Actual: ' + (33554431 << 17)); >-} >- >- >-if (67108863 << 17 !== -131072) { >- testFailed('#571: 67108863 << 17 === -131072. Actual: ' + (67108863 << 17)); >-} >- >- >-if (134217727 << 17 !== -131072) { >- testFailed('#572: 134217727 << 17 === -131072. Actual: ' + (134217727 << 17)); >-} >- >- >-if (268435455 << 17 !== -131072) { >- testFailed('#573: 268435455 << 17 === -131072. Actual: ' + (268435455 << 17)); >-} >- >- >-if (536870911 << 17 !== -131072) { >- testFailed('#574: 536870911 << 17 === -131072. Actual: ' + (536870911 << 17)); >-} >- >- >-if (1073741823 << 17 !== -131072) { >- testFailed('#575: 1073741823 << 17 === -131072. Actual: ' + (1073741823 << 17)); >-} >- >- >-if (2147483647 << 17 !== -131072) { >- testFailed('#576: 2147483647 << 17 === -131072. Actual: ' + (2147483647 << 17)); >-} >- >- >-if (0 << 18 !== 0) { >- testFailed('#577: 0 << 18 === 0. Actual: ' + (0 << 18)); >-} >- >- >-if (1 << 18 !== 262144) { >- testFailed('#578: 1 << 18 === 262144. Actual: ' + (1 << 18)); >-} >- >- >-if (3 << 18 !== 786432) { >- testFailed('#579: 3 << 18 === 786432. Actual: ' + (3 << 18)); >-} >- >- >-if (7 << 18 !== 1835008) { >- testFailed('#580: 7 << 18 === 1835008. Actual: ' + (7 << 18)); >-} >- >- >-if (15 << 18 !== 3932160) { >- testFailed('#581: 15 << 18 === 3932160. Actual: ' + (15 << 18)); >-} >- >- >-if (31 << 18 !== 8126464) { >- testFailed('#582: 31 << 18 === 8126464. Actual: ' + (31 << 18)); >-} >- >- >-if (63 << 18 !== 16515072) { >- testFailed('#583: 63 << 18 === 16515072. Actual: ' + (63 << 18)); >-} >- >- >-if (127 << 18 !== 33292288) { >- testFailed('#584: 127 << 18 === 33292288. Actual: ' + (127 << 18)); >-} >- >- >-if (255 << 18 !== 66846720) { >- testFailed('#585: 255 << 18 === 66846720. Actual: ' + (255 << 18)); >-} >- >- >-if (511 << 18 !== 133955584) { >- testFailed('#586: 511 << 18 === 133955584. Actual: ' + (511 << 18)); >-} >- >- >-if (1023 << 18 !== 268173312) { >- testFailed('#587: 1023 << 18 === 268173312. Actual: ' + (1023 << 18)); >-} >- >- >-if (2047 << 18 !== 536608768) { >- testFailed('#588: 2047 << 18 === 536608768. Actual: ' + (2047 << 18)); >-} >- >- >-if (4095 << 18 !== 1073479680) { >- testFailed('#589: 4095 << 18 === 1073479680. Actual: ' + (4095 << 18)); >-} >- >- >-if (8191 << 18 !== 2147221504) { >- testFailed('#590: 8191 << 18 === 2147221504. Actual: ' + (8191 << 18)); >-} >- >- >-if (16383 << 18 !== -262144) { >- testFailed('#591: 16383 << 18 === -262144. Actual: ' + (16383 << 18)); >-} >- >- >-if (32767 << 18 !== -262144) { >- testFailed('#592: 32767 << 18 === -262144. Actual: ' + (32767 << 18)); >-} >- >- >-if (65535 << 18 !== -262144) { >- testFailed('#593: 65535 << 18 === -262144. Actual: ' + (65535 << 18)); >-} >- >- >-if (131071 << 18 !== -262144) { >- testFailed('#594: 131071 << 18 === -262144. Actual: ' + (131071 << 18)); >-} >- >- >-if (262143 << 18 !== -262144) { >- testFailed('#595: 262143 << 18 === -262144. Actual: ' + (262143 << 18)); >-} >- >- >-if (524287 << 18 !== -262144) { >- testFailed('#596: 524287 << 18 === -262144. Actual: ' + (524287 << 18)); >-} >- >- >-if (1048575 << 18 !== -262144) { >- testFailed('#597: 1048575 << 18 === -262144. Actual: ' + (1048575 << 18)); >-} >- >- >-if (2097151 << 18 !== -262144) { >- testFailed('#598: 2097151 << 18 === -262144. Actual: ' + (2097151 << 18)); >-} >- >- >-if (4194303 << 18 !== -262144) { >- testFailed('#599: 4194303 << 18 === -262144. Actual: ' + (4194303 << 18)); >-} >- >- >-if (8388607 << 18 !== -262144) { >- testFailed('#600: 8388607 << 18 === -262144. Actual: ' + (8388607 << 18)); >-} >- >- >-if (16777215 << 18 !== -262144) { >- testFailed('#601: 16777215 << 18 === -262144. Actual: ' + (16777215 << 18)); >-} >- >- >-if (33554431 << 18 !== -262144) { >- testFailed('#602: 33554431 << 18 === -262144. Actual: ' + (33554431 << 18)); >-} >- >- >-if (67108863 << 18 !== -262144) { >- testFailed('#603: 67108863 << 18 === -262144. Actual: ' + (67108863 << 18)); >-} >- >- >-if (134217727 << 18 !== -262144) { >- testFailed('#604: 134217727 << 18 === -262144. Actual: ' + (134217727 << 18)); >-} >- >- >-if (268435455 << 18 !== -262144) { >- testFailed('#605: 268435455 << 18 === -262144. Actual: ' + (268435455 << 18)); >-} >- >- >-if (536870911 << 18 !== -262144) { >- testFailed('#606: 536870911 << 18 === -262144. Actual: ' + (536870911 << 18)); >-} >- >- >-if (1073741823 << 18 !== -262144) { >- testFailed('#607: 1073741823 << 18 === -262144. Actual: ' + (1073741823 << 18)); >-} >- >- >-if (2147483647 << 18 !== -262144) { >- testFailed('#608: 2147483647 << 18 === -262144. Actual: ' + (2147483647 << 18)); >-} >- >- >-if (0 << 19 !== 0) { >- testFailed('#609: 0 << 19 === 0. Actual: ' + (0 << 19)); >-} >- >- >-if (1 << 19 !== 524288) { >- testFailed('#610: 1 << 19 === 524288. Actual: ' + (1 << 19)); >-} >- >- >-if (3 << 19 !== 1572864) { >- testFailed('#611: 3 << 19 === 1572864. Actual: ' + (3 << 19)); >-} >- >- >-if (7 << 19 !== 3670016) { >- testFailed('#612: 7 << 19 === 3670016. Actual: ' + (7 << 19)); >-} >- >- >-if (15 << 19 !== 7864320) { >- testFailed('#613: 15 << 19 === 7864320. Actual: ' + (15 << 19)); >-} >- >- >-if (31 << 19 !== 16252928) { >- testFailed('#614: 31 << 19 === 16252928. Actual: ' + (31 << 19)); >-} >- >- >-if (63 << 19 !== 33030144) { >- testFailed('#615: 63 << 19 === 33030144. Actual: ' + (63 << 19)); >-} >- >- >-if (127 << 19 !== 66584576) { >- testFailed('#616: 127 << 19 === 66584576. Actual: ' + (127 << 19)); >-} >- >- >-if (255 << 19 !== 133693440) { >- testFailed('#617: 255 << 19 === 133693440. Actual: ' + (255 << 19)); >-} >- >- >-if (511 << 19 !== 267911168) { >- testFailed('#618: 511 << 19 === 267911168. Actual: ' + (511 << 19)); >-} >- >- >-if (1023 << 19 !== 536346624) { >- testFailed('#619: 1023 << 19 === 536346624. Actual: ' + (1023 << 19)); >-} >- >- >-if (2047 << 19 !== 1073217536) { >- testFailed('#620: 2047 << 19 === 1073217536. Actual: ' + (2047 << 19)); >-} >- >- >-if (4095 << 19 !== 2146959360) { >- testFailed('#621: 4095 << 19 === 2146959360. Actual: ' + (4095 << 19)); >-} >- >- >-if (8191 << 19 !== -524288) { >- testFailed('#622: 8191 << 19 === -524288. Actual: ' + (8191 << 19)); >-} >- >- >-if (16383 << 19 !== -524288) { >- testFailed('#623: 16383 << 19 === -524288. Actual: ' + (16383 << 19)); >-} >- >- >-if (32767 << 19 !== -524288) { >- testFailed('#624: 32767 << 19 === -524288. Actual: ' + (32767 << 19)); >-} >- >- >-if (65535 << 19 !== -524288) { >- testFailed('#625: 65535 << 19 === -524288. Actual: ' + (65535 << 19)); >-} >- >- >-if (131071 << 19 !== -524288) { >- testFailed('#626: 131071 << 19 === -524288. Actual: ' + (131071 << 19)); >-} >- >- >-if (262143 << 19 !== -524288) { >- testFailed('#627: 262143 << 19 === -524288. Actual: ' + (262143 << 19)); >-} >- >- >-if (524287 << 19 !== -524288) { >- testFailed('#628: 524287 << 19 === -524288. Actual: ' + (524287 << 19)); >-} >- >- >-if (1048575 << 19 !== -524288) { >- testFailed('#629: 1048575 << 19 === -524288. Actual: ' + (1048575 << 19)); >-} >- >- >-if (2097151 << 19 !== -524288) { >- testFailed('#630: 2097151 << 19 === -524288. Actual: ' + (2097151 << 19)); >-} >- >- >-if (4194303 << 19 !== -524288) { >- testFailed('#631: 4194303 << 19 === -524288. Actual: ' + (4194303 << 19)); >-} >- >- >-if (8388607 << 19 !== -524288) { >- testFailed('#632: 8388607 << 19 === -524288. Actual: ' + (8388607 << 19)); >-} >- >- >-if (16777215 << 19 !== -524288) { >- testFailed('#633: 16777215 << 19 === -524288. Actual: ' + (16777215 << 19)); >-} >- >- >-if (33554431 << 19 !== -524288) { >- testFailed('#634: 33554431 << 19 === -524288. Actual: ' + (33554431 << 19)); >-} >- >- >-if (67108863 << 19 !== -524288) { >- testFailed('#635: 67108863 << 19 === -524288. Actual: ' + (67108863 << 19)); >-} >- >- >-if (134217727 << 19 !== -524288) { >- testFailed('#636: 134217727 << 19 === -524288. Actual: ' + (134217727 << 19)); >-} >- >- >-if (268435455 << 19 !== -524288) { >- testFailed('#637: 268435455 << 19 === -524288. Actual: ' + (268435455 << 19)); >-} >- >- >-if (536870911 << 19 !== -524288) { >- testFailed('#638: 536870911 << 19 === -524288. Actual: ' + (536870911 << 19)); >-} >- >- >-if (1073741823 << 19 !== -524288) { >- testFailed('#639: 1073741823 << 19 === -524288. Actual: ' + (1073741823 << 19)); >-} >- >- >-if (2147483647 << 19 !== -524288) { >- testFailed('#640: 2147483647 << 19 === -524288. Actual: ' + (2147483647 << 19)); >-} >- >- >-if (0 << 20 !== 0) { >- testFailed('#641: 0 << 20 === 0. Actual: ' + (0 << 20)); >-} >- >- >-if (1 << 20 !== 1048576) { >- testFailed('#642: 1 << 20 === 1048576. Actual: ' + (1 << 20)); >-} >- >- >-if (3 << 20 !== 3145728) { >- testFailed('#643: 3 << 20 === 3145728. Actual: ' + (3 << 20)); >-} >- >- >-if (7 << 20 !== 7340032) { >- testFailed('#644: 7 << 20 === 7340032. Actual: ' + (7 << 20)); >-} >- >- >-if (15 << 20 !== 15728640) { >- testFailed('#645: 15 << 20 === 15728640. Actual: ' + (15 << 20)); >-} >- >- >-if (31 << 20 !== 32505856) { >- testFailed('#646: 31 << 20 === 32505856. Actual: ' + (31 << 20)); >-} >- >- >-if (63 << 20 !== 66060288) { >- testFailed('#647: 63 << 20 === 66060288. Actual: ' + (63 << 20)); >-} >- >- >-if (127 << 20 !== 133169152) { >- testFailed('#648: 127 << 20 === 133169152. Actual: ' + (127 << 20)); >-} >- >- >-if (255 << 20 !== 267386880) { >- testFailed('#649: 255 << 20 === 267386880. Actual: ' + (255 << 20)); >-} >- >- >-if (511 << 20 !== 535822336) { >- testFailed('#650: 511 << 20 === 535822336. Actual: ' + (511 << 20)); >-} >- >- >-if (1023 << 20 !== 1072693248) { >- testFailed('#651: 1023 << 20 === 1072693248. Actual: ' + (1023 << 20)); >-} >- >- >-if (2047 << 20 !== 2146435072) { >- testFailed('#652: 2047 << 20 === 2146435072. Actual: ' + (2047 << 20)); >-} >- >- >-if (4095 << 20 !== -1048576) { >- testFailed('#653: 4095 << 20 === -1048576. Actual: ' + (4095 << 20)); >-} >- >- >-if (8191 << 20 !== -1048576) { >- testFailed('#654: 8191 << 20 === -1048576. Actual: ' + (8191 << 20)); >-} >- >- >-if (16383 << 20 !== -1048576) { >- testFailed('#655: 16383 << 20 === -1048576. Actual: ' + (16383 << 20)); >-} >- >- >-if (32767 << 20 !== -1048576) { >- testFailed('#656: 32767 << 20 === -1048576. Actual: ' + (32767 << 20)); >-} >- >- >-if (65535 << 20 !== -1048576) { >- testFailed('#657: 65535 << 20 === -1048576. Actual: ' + (65535 << 20)); >-} >- >- >-if (131071 << 20 !== -1048576) { >- testFailed('#658: 131071 << 20 === -1048576. Actual: ' + (131071 << 20)); >-} >- >- >-if (262143 << 20 !== -1048576) { >- testFailed('#659: 262143 << 20 === -1048576. Actual: ' + (262143 << 20)); >-} >- >- >-if (524287 << 20 !== -1048576) { >- testFailed('#660: 524287 << 20 === -1048576. Actual: ' + (524287 << 20)); >-} >- >- >-if (1048575 << 20 !== -1048576) { >- testFailed('#661: 1048575 << 20 === -1048576. Actual: ' + (1048575 << 20)); >-} >- >- >-if (2097151 << 20 !== -1048576) { >- testFailed('#662: 2097151 << 20 === -1048576. Actual: ' + (2097151 << 20)); >-} >- >- >-if (4194303 << 20 !== -1048576) { >- testFailed('#663: 4194303 << 20 === -1048576. Actual: ' + (4194303 << 20)); >-} >- >- >-if (8388607 << 20 !== -1048576) { >- testFailed('#664: 8388607 << 20 === -1048576. Actual: ' + (8388607 << 20)); >-} >- >- >-if (16777215 << 20 !== -1048576) { >- testFailed('#665: 16777215 << 20 === -1048576. Actual: ' + (16777215 << 20)); >-} >- >- >-if (33554431 << 20 !== -1048576) { >- testFailed('#666: 33554431 << 20 === -1048576. Actual: ' + (33554431 << 20)); >-} >- >- >-if (67108863 << 20 !== -1048576) { >- testFailed('#667: 67108863 << 20 === -1048576. Actual: ' + (67108863 << 20)); >-} >- >- >-if (134217727 << 20 !== -1048576) { >- testFailed('#668: 134217727 << 20 === -1048576. Actual: ' + (134217727 << 20)); >-} >- >- >-if (268435455 << 20 !== -1048576) { >- testFailed('#669: 268435455 << 20 === -1048576. Actual: ' + (268435455 << 20)); >-} >- >- >-if (536870911 << 20 !== -1048576) { >- testFailed('#670: 536870911 << 20 === -1048576. Actual: ' + (536870911 << 20)); >-} >- >- >-if (1073741823 << 20 !== -1048576) { >- testFailed('#671: 1073741823 << 20 === -1048576. Actual: ' + (1073741823 << 20)); >-} >- >- >-if (2147483647 << 20 !== -1048576) { >- testFailed('#672: 2147483647 << 20 === -1048576. Actual: ' + (2147483647 << 20)); >-} >- >- >-if (0 << 21 !== 0) { >- testFailed('#673: 0 << 21 === 0. Actual: ' + (0 << 21)); >-} >- >- >-if (1 << 21 !== 2097152) { >- testFailed('#674: 1 << 21 === 2097152. Actual: ' + (1 << 21)); >-} >- >- >-if (3 << 21 !== 6291456) { >- testFailed('#675: 3 << 21 === 6291456. Actual: ' + (3 << 21)); >-} >- >- >-if (7 << 21 !== 14680064) { >- testFailed('#676: 7 << 21 === 14680064. Actual: ' + (7 << 21)); >-} >- >- >-if (15 << 21 !== 31457280) { >- testFailed('#677: 15 << 21 === 31457280. Actual: ' + (15 << 21)); >-} >- >- >-if (31 << 21 !== 65011712) { >- testFailed('#678: 31 << 21 === 65011712. Actual: ' + (31 << 21)); >-} >- >- >-if (63 << 21 !== 132120576) { >- testFailed('#679: 63 << 21 === 132120576. Actual: ' + (63 << 21)); >-} >- >- >-if (127 << 21 !== 266338304) { >- testFailed('#680: 127 << 21 === 266338304. Actual: ' + (127 << 21)); >-} >- >- >-if (255 << 21 !== 534773760) { >- testFailed('#681: 255 << 21 === 534773760. Actual: ' + (255 << 21)); >-} >- >- >-if (511 << 21 !== 1071644672) { >- testFailed('#682: 511 << 21 === 1071644672. Actual: ' + (511 << 21)); >-} >- >- >-if (1023 << 21 !== 2145386496) { >- testFailed('#683: 1023 << 21 === 2145386496. Actual: ' + (1023 << 21)); >-} >- >- >-if (2047 << 21 !== -2097152) { >- testFailed('#684: 2047 << 21 === -2097152. Actual: ' + (2047 << 21)); >-} >- >- >-if (4095 << 21 !== -2097152) { >- testFailed('#685: 4095 << 21 === -2097152. Actual: ' + (4095 << 21)); >-} >- >- >-if (8191 << 21 !== -2097152) { >- testFailed('#686: 8191 << 21 === -2097152. Actual: ' + (8191 << 21)); >-} >- >- >-if (16383 << 21 !== -2097152) { >- testFailed('#687: 16383 << 21 === -2097152. Actual: ' + (16383 << 21)); >-} >- >- >-if (32767 << 21 !== -2097152) { >- testFailed('#688: 32767 << 21 === -2097152. Actual: ' + (32767 << 21)); >-} >- >- >-if (65535 << 21 !== -2097152) { >- testFailed('#689: 65535 << 21 === -2097152. Actual: ' + (65535 << 21)); >-} >- >- >-if (131071 << 21 !== -2097152) { >- testFailed('#690: 131071 << 21 === -2097152. Actual: ' + (131071 << 21)); >-} >- >- >-if (262143 << 21 !== -2097152) { >- testFailed('#691: 262143 << 21 === -2097152. Actual: ' + (262143 << 21)); >-} >- >- >-if (524287 << 21 !== -2097152) { >- testFailed('#692: 524287 << 21 === -2097152. Actual: ' + (524287 << 21)); >-} >- >- >-if (1048575 << 21 !== -2097152) { >- testFailed('#693: 1048575 << 21 === -2097152. Actual: ' + (1048575 << 21)); >-} >- >- >-if (2097151 << 21 !== -2097152) { >- testFailed('#694: 2097151 << 21 === -2097152. Actual: ' + (2097151 << 21)); >-} >- >- >-if (4194303 << 21 !== -2097152) { >- testFailed('#695: 4194303 << 21 === -2097152. Actual: ' + (4194303 << 21)); >-} >- >- >-if (8388607 << 21 !== -2097152) { >- testFailed('#696: 8388607 << 21 === -2097152. Actual: ' + (8388607 << 21)); >-} >- >- >-if (16777215 << 21 !== -2097152) { >- testFailed('#697: 16777215 << 21 === -2097152. Actual: ' + (16777215 << 21)); >-} >- >- >-if (33554431 << 21 !== -2097152) { >- testFailed('#698: 33554431 << 21 === -2097152. Actual: ' + (33554431 << 21)); >-} >- >- >-if (67108863 << 21 !== -2097152) { >- testFailed('#699: 67108863 << 21 === -2097152. Actual: ' + (67108863 << 21)); >-} >- >- >-if (134217727 << 21 !== -2097152) { >- testFailed('#700: 134217727 << 21 === -2097152. Actual: ' + (134217727 << 21)); >-} >- >- >-if (268435455 << 21 !== -2097152) { >- testFailed('#701: 268435455 << 21 === -2097152. Actual: ' + (268435455 << 21)); >-} >- >- >-if (536870911 << 21 !== -2097152) { >- testFailed('#702: 536870911 << 21 === -2097152. Actual: ' + (536870911 << 21)); >-} >- >- >-if (1073741823 << 21 !== -2097152) { >- testFailed('#703: 1073741823 << 21 === -2097152. Actual: ' + (1073741823 << 21)); >-} >- >- >-if (2147483647 << 21 !== -2097152) { >- testFailed('#704: 2147483647 << 21 === -2097152. Actual: ' + (2147483647 << 21)); >-} >- >- >-if (0 << 22 !== 0) { >- testFailed('#705: 0 << 22 === 0. Actual: ' + (0 << 22)); >-} >- >- >-if (1 << 22 !== 4194304) { >- testFailed('#706: 1 << 22 === 4194304. Actual: ' + (1 << 22)); >-} >- >- >-if (3 << 22 !== 12582912) { >- testFailed('#707: 3 << 22 === 12582912. Actual: ' + (3 << 22)); >-} >- >- >-if (7 << 22 !== 29360128) { >- testFailed('#708: 7 << 22 === 29360128. Actual: ' + (7 << 22)); >-} >- >- >-if (15 << 22 !== 62914560) { >- testFailed('#709: 15 << 22 === 62914560. Actual: ' + (15 << 22)); >-} >- >- >-if (31 << 22 !== 130023424) { >- testFailed('#710: 31 << 22 === 130023424. Actual: ' + (31 << 22)); >-} >- >- >-if (63 << 22 !== 264241152) { >- testFailed('#711: 63 << 22 === 264241152. Actual: ' + (63 << 22)); >-} >- >- >-if (127 << 22 !== 532676608) { >- testFailed('#712: 127 << 22 === 532676608. Actual: ' + (127 << 22)); >-} >- >- >-if (255 << 22 !== 1069547520) { >- testFailed('#713: 255 << 22 === 1069547520. Actual: ' + (255 << 22)); >-} >- >- >-if (511 << 22 !== 2143289344) { >- testFailed('#714: 511 << 22 === 2143289344. Actual: ' + (511 << 22)); >-} >- >- >-if (1023 << 22 !== -4194304) { >- testFailed('#715: 1023 << 22 === -4194304. Actual: ' + (1023 << 22)); >-} >- >- >-if (2047 << 22 !== -4194304) { >- testFailed('#716: 2047 << 22 === -4194304. Actual: ' + (2047 << 22)); >-} >- >- >-if (4095 << 22 !== -4194304) { >- testFailed('#717: 4095 << 22 === -4194304. Actual: ' + (4095 << 22)); >-} >- >- >-if (8191 << 22 !== -4194304) { >- testFailed('#718: 8191 << 22 === -4194304. Actual: ' + (8191 << 22)); >-} >- >- >-if (16383 << 22 !== -4194304) { >- testFailed('#719: 16383 << 22 === -4194304. Actual: ' + (16383 << 22)); >-} >- >- >-if (32767 << 22 !== -4194304) { >- testFailed('#720: 32767 << 22 === -4194304. Actual: ' + (32767 << 22)); >-} >- >- >-if (65535 << 22 !== -4194304) { >- testFailed('#721: 65535 << 22 === -4194304. Actual: ' + (65535 << 22)); >-} >- >- >-if (131071 << 22 !== -4194304) { >- testFailed('#722: 131071 << 22 === -4194304. Actual: ' + (131071 << 22)); >-} >- >- >-if (262143 << 22 !== -4194304) { >- testFailed('#723: 262143 << 22 === -4194304. Actual: ' + (262143 << 22)); >-} >- >- >-if (524287 << 22 !== -4194304) { >- testFailed('#724: 524287 << 22 === -4194304. Actual: ' + (524287 << 22)); >-} >- >- >-if (1048575 << 22 !== -4194304) { >- testFailed('#725: 1048575 << 22 === -4194304. Actual: ' + (1048575 << 22)); >-} >- >- >-if (2097151 << 22 !== -4194304) { >- testFailed('#726: 2097151 << 22 === -4194304. Actual: ' + (2097151 << 22)); >-} >- >- >-if (4194303 << 22 !== -4194304) { >- testFailed('#727: 4194303 << 22 === -4194304. Actual: ' + (4194303 << 22)); >-} >- >- >-if (8388607 << 22 !== -4194304) { >- testFailed('#728: 8388607 << 22 === -4194304. Actual: ' + (8388607 << 22)); >-} >- >- >-if (16777215 << 22 !== -4194304) { >- testFailed('#729: 16777215 << 22 === -4194304. Actual: ' + (16777215 << 22)); >-} >- >- >-if (33554431 << 22 !== -4194304) { >- testFailed('#730: 33554431 << 22 === -4194304. Actual: ' + (33554431 << 22)); >-} >- >- >-if (67108863 << 22 !== -4194304) { >- testFailed('#731: 67108863 << 22 === -4194304. Actual: ' + (67108863 << 22)); >-} >- >- >-if (134217727 << 22 !== -4194304) { >- testFailed('#732: 134217727 << 22 === -4194304. Actual: ' + (134217727 << 22)); >-} >- >- >-if (268435455 << 22 !== -4194304) { >- testFailed('#733: 268435455 << 22 === -4194304. Actual: ' + (268435455 << 22)); >-} >- >- >-if (536870911 << 22 !== -4194304) { >- testFailed('#734: 536870911 << 22 === -4194304. Actual: ' + (536870911 << 22)); >-} >- >- >-if (1073741823 << 22 !== -4194304) { >- testFailed('#735: 1073741823 << 22 === -4194304. Actual: ' + (1073741823 << 22)); >-} >- >- >-if (2147483647 << 22 !== -4194304) { >- testFailed('#736: 2147483647 << 22 === -4194304. Actual: ' + (2147483647 << 22)); >-} >- >- >-if (0 << 23 !== 0) { >- testFailed('#737: 0 << 23 === 0. Actual: ' + (0 << 23)); >-} >- >- >-if (1 << 23 !== 8388608) { >- testFailed('#738: 1 << 23 === 8388608. Actual: ' + (1 << 23)); >-} >- >- >-if (3 << 23 !== 25165824) { >- testFailed('#739: 3 << 23 === 25165824. Actual: ' + (3 << 23)); >-} >- >- >-if (7 << 23 !== 58720256) { >- testFailed('#740: 7 << 23 === 58720256. Actual: ' + (7 << 23)); >-} >- >- >-if (15 << 23 !== 125829120) { >- testFailed('#741: 15 << 23 === 125829120. Actual: ' + (15 << 23)); >-} >- >- >-if (31 << 23 !== 260046848) { >- testFailed('#742: 31 << 23 === 260046848. Actual: ' + (31 << 23)); >-} >- >- >-if (63 << 23 !== 528482304) { >- testFailed('#743: 63 << 23 === 528482304. Actual: ' + (63 << 23)); >-} >- >- >-if (127 << 23 !== 1065353216) { >- testFailed('#744: 127 << 23 === 1065353216. Actual: ' + (127 << 23)); >-} >- >- >-if (255 << 23 !== 2139095040) { >- testFailed('#745: 255 << 23 === 2139095040. Actual: ' + (255 << 23)); >-} >- >- >-if (511 << 23 !== -8388608) { >- testFailed('#746: 511 << 23 === -8388608. Actual: ' + (511 << 23)); >-} >- >- >-if (1023 << 23 !== -8388608) { >- testFailed('#747: 1023 << 23 === -8388608. Actual: ' + (1023 << 23)); >-} >- >- >-if (2047 << 23 !== -8388608) { >- testFailed('#748: 2047 << 23 === -8388608. Actual: ' + (2047 << 23)); >-} >- >- >-if (4095 << 23 !== -8388608) { >- testFailed('#749: 4095 << 23 === -8388608. Actual: ' + (4095 << 23)); >-} >- >- >-if (8191 << 23 !== -8388608) { >- testFailed('#750: 8191 << 23 === -8388608. Actual: ' + (8191 << 23)); >-} >- >- >-if (16383 << 23 !== -8388608) { >- testFailed('#751: 16383 << 23 === -8388608. Actual: ' + (16383 << 23)); >-} >- >- >-if (32767 << 23 !== -8388608) { >- testFailed('#752: 32767 << 23 === -8388608. Actual: ' + (32767 << 23)); >-} >- >- >-if (65535 << 23 !== -8388608) { >- testFailed('#753: 65535 << 23 === -8388608. Actual: ' + (65535 << 23)); >-} >- >- >-if (131071 << 23 !== -8388608) { >- testFailed('#754: 131071 << 23 === -8388608. Actual: ' + (131071 << 23)); >-} >- >- >-if (262143 << 23 !== -8388608) { >- testFailed('#755: 262143 << 23 === -8388608. Actual: ' + (262143 << 23)); >-} >- >- >-if (524287 << 23 !== -8388608) { >- testFailed('#756: 524287 << 23 === -8388608. Actual: ' + (524287 << 23)); >-} >- >- >-if (1048575 << 23 !== -8388608) { >- testFailed('#757: 1048575 << 23 === -8388608. Actual: ' + (1048575 << 23)); >-} >- >- >-if (2097151 << 23 !== -8388608) { >- testFailed('#758: 2097151 << 23 === -8388608. Actual: ' + (2097151 << 23)); >-} >- >- >-if (4194303 << 23 !== -8388608) { >- testFailed('#759: 4194303 << 23 === -8388608. Actual: ' + (4194303 << 23)); >-} >- >- >-if (8388607 << 23 !== -8388608) { >- testFailed('#760: 8388607 << 23 === -8388608. Actual: ' + (8388607 << 23)); >-} >- >- >-if (16777215 << 23 !== -8388608) { >- testFailed('#761: 16777215 << 23 === -8388608. Actual: ' + (16777215 << 23)); >-} >- >- >-if (33554431 << 23 !== -8388608) { >- testFailed('#762: 33554431 << 23 === -8388608. Actual: ' + (33554431 << 23)); >-} >- >- >-if (67108863 << 23 !== -8388608) { >- testFailed('#763: 67108863 << 23 === -8388608. Actual: ' + (67108863 << 23)); >-} >- >- >-if (134217727 << 23 !== -8388608) { >- testFailed('#764: 134217727 << 23 === -8388608. Actual: ' + (134217727 << 23)); >-} >- >- >-if (268435455 << 23 !== -8388608) { >- testFailed('#765: 268435455 << 23 === -8388608. Actual: ' + (268435455 << 23)); >-} >- >- >-if (536870911 << 23 !== -8388608) { >- testFailed('#766: 536870911 << 23 === -8388608. Actual: ' + (536870911 << 23)); >-} >- >- >-if (1073741823 << 23 !== -8388608) { >- testFailed('#767: 1073741823 << 23 === -8388608. Actual: ' + (1073741823 << 23)); >-} >- >- >-if (2147483647 << 23 !== -8388608) { >- testFailed('#768: 2147483647 << 23 === -8388608. Actual: ' + (2147483647 << 23)); >-} >- >- >-if (0 << 24 !== 0) { >- testFailed('#769: 0 << 24 === 0. Actual: ' + (0 << 24)); >-} >- >- >-if (1 << 24 !== 16777216) { >- testFailed('#770: 1 << 24 === 16777216. Actual: ' + (1 << 24)); >-} >- >- >-if (3 << 24 !== 50331648) { >- testFailed('#771: 3 << 24 === 50331648. Actual: ' + (3 << 24)); >-} >- >- >-if (7 << 24 !== 117440512) { >- testFailed('#772: 7 << 24 === 117440512. Actual: ' + (7 << 24)); >-} >- >- >-if (15 << 24 !== 251658240) { >- testFailed('#773: 15 << 24 === 251658240. Actual: ' + (15 << 24)); >-} >- >- >-if (31 << 24 !== 520093696) { >- testFailed('#774: 31 << 24 === 520093696. Actual: ' + (31 << 24)); >-} >- >- >-if (63 << 24 !== 1056964608) { >- testFailed('#775: 63 << 24 === 1056964608. Actual: ' + (63 << 24)); >-} >- >- >-if (127 << 24 !== 2130706432) { >- testFailed('#776: 127 << 24 === 2130706432. Actual: ' + (127 << 24)); >-} >- >- >-if (255 << 24 !== -16777216) { >- testFailed('#777: 255 << 24 === -16777216. Actual: ' + (255 << 24)); >-} >- >- >-if (511 << 24 !== -16777216) { >- testFailed('#778: 511 << 24 === -16777216. Actual: ' + (511 << 24)); >-} >- >- >-if (1023 << 24 !== -16777216) { >- testFailed('#779: 1023 << 24 === -16777216. Actual: ' + (1023 << 24)); >-} >- >- >-if (2047 << 24 !== -16777216) { >- testFailed('#780: 2047 << 24 === -16777216. Actual: ' + (2047 << 24)); >-} >- >- >-if (4095 << 24 !== -16777216) { >- testFailed('#781: 4095 << 24 === -16777216. Actual: ' + (4095 << 24)); >-} >- >- >-if (8191 << 24 !== -16777216) { >- testFailed('#782: 8191 << 24 === -16777216. Actual: ' + (8191 << 24)); >-} >- >- >-if (16383 << 24 !== -16777216) { >- testFailed('#783: 16383 << 24 === -16777216. Actual: ' + (16383 << 24)); >-} >- >- >-if (32767 << 24 !== -16777216) { >- testFailed('#784: 32767 << 24 === -16777216. Actual: ' + (32767 << 24)); >-} >- >- >-if (65535 << 24 !== -16777216) { >- testFailed('#785: 65535 << 24 === -16777216. Actual: ' + (65535 << 24)); >-} >- >- >-if (131071 << 24 !== -16777216) { >- testFailed('#786: 131071 << 24 === -16777216. Actual: ' + (131071 << 24)); >-} >- >- >-if (262143 << 24 !== -16777216) { >- testFailed('#787: 262143 << 24 === -16777216. Actual: ' + (262143 << 24)); >-} >- >- >-if (524287 << 24 !== -16777216) { >- testFailed('#788: 524287 << 24 === -16777216. Actual: ' + (524287 << 24)); >-} >- >- >-if (1048575 << 24 !== -16777216) { >- testFailed('#789: 1048575 << 24 === -16777216. Actual: ' + (1048575 << 24)); >-} >- >- >-if (2097151 << 24 !== -16777216) { >- testFailed('#790: 2097151 << 24 === -16777216. Actual: ' + (2097151 << 24)); >-} >- >- >-if (4194303 << 24 !== -16777216) { >- testFailed('#791: 4194303 << 24 === -16777216. Actual: ' + (4194303 << 24)); >-} >- >- >-if (8388607 << 24 !== -16777216) { >- testFailed('#792: 8388607 << 24 === -16777216. Actual: ' + (8388607 << 24)); >-} >- >- >-if (16777215 << 24 !== -16777216) { >- testFailed('#793: 16777215 << 24 === -16777216. Actual: ' + (16777215 << 24)); >-} >- >- >-if (33554431 << 24 !== -16777216) { >- testFailed('#794: 33554431 << 24 === -16777216. Actual: ' + (33554431 << 24)); >-} >- >- >-if (67108863 << 24 !== -16777216) { >- testFailed('#795: 67108863 << 24 === -16777216. Actual: ' + (67108863 << 24)); >-} >- >- >-if (134217727 << 24 !== -16777216) { >- testFailed('#796: 134217727 << 24 === -16777216. Actual: ' + (134217727 << 24)); >-} >- >- >-if (268435455 << 24 !== -16777216) { >- testFailed('#797: 268435455 << 24 === -16777216. Actual: ' + (268435455 << 24)); >-} >- >- >-if (536870911 << 24 !== -16777216) { >- testFailed('#798: 536870911 << 24 === -16777216. Actual: ' + (536870911 << 24)); >-} >- >- >-if (1073741823 << 24 !== -16777216) { >- testFailed('#799: 1073741823 << 24 === -16777216. Actual: ' + (1073741823 << 24)); >-} >- >- >-if (2147483647 << 24 !== -16777216) { >- testFailed('#800: 2147483647 << 24 === -16777216. Actual: ' + (2147483647 << 24)); >-} >- >- >-if (0 << 25 !== 0) { >- testFailed('#801: 0 << 25 === 0. Actual: ' + (0 << 25)); >-} >- >- >-if (1 << 25 !== 33554432) { >- testFailed('#802: 1 << 25 === 33554432. Actual: ' + (1 << 25)); >-} >- >- >-if (3 << 25 !== 100663296) { >- testFailed('#803: 3 << 25 === 100663296. Actual: ' + (3 << 25)); >-} >- >- >-if (7 << 25 !== 234881024) { >- testFailed('#804: 7 << 25 === 234881024. Actual: ' + (7 << 25)); >-} >- >- >-if (15 << 25 !== 503316480) { >- testFailed('#805: 15 << 25 === 503316480. Actual: ' + (15 << 25)); >-} >- >- >-if (31 << 25 !== 1040187392) { >- testFailed('#806: 31 << 25 === 1040187392. Actual: ' + (31 << 25)); >-} >- >- >-if (63 << 25 !== 2113929216) { >- testFailed('#807: 63 << 25 === 2113929216. Actual: ' + (63 << 25)); >-} >- >- >-if (127 << 25 !== -33554432) { >- testFailed('#808: 127 << 25 === -33554432. Actual: ' + (127 << 25)); >-} >- >- >-if (255 << 25 !== -33554432) { >- testFailed('#809: 255 << 25 === -33554432. Actual: ' + (255 << 25)); >-} >- >- >-if (511 << 25 !== -33554432) { >- testFailed('#810: 511 << 25 === -33554432. Actual: ' + (511 << 25)); >-} >- >- >-if (1023 << 25 !== -33554432) { >- testFailed('#811: 1023 << 25 === -33554432. Actual: ' + (1023 << 25)); >-} >- >- >-if (2047 << 25 !== -33554432) { >- testFailed('#812: 2047 << 25 === -33554432. Actual: ' + (2047 << 25)); >-} >- >- >-if (4095 << 25 !== -33554432) { >- testFailed('#813: 4095 << 25 === -33554432. Actual: ' + (4095 << 25)); >-} >- >- >-if (8191 << 25 !== -33554432) { >- testFailed('#814: 8191 << 25 === -33554432. Actual: ' + (8191 << 25)); >-} >- >- >-if (16383 << 25 !== -33554432) { >- testFailed('#815: 16383 << 25 === -33554432. Actual: ' + (16383 << 25)); >-} >- >- >-if (32767 << 25 !== -33554432) { >- testFailed('#816: 32767 << 25 === -33554432. Actual: ' + (32767 << 25)); >-} >- >- >-if (65535 << 25 !== -33554432) { >- testFailed('#817: 65535 << 25 === -33554432. Actual: ' + (65535 << 25)); >-} >- >- >-if (131071 << 25 !== -33554432) { >- testFailed('#818: 131071 << 25 === -33554432. Actual: ' + (131071 << 25)); >-} >- >- >-if (262143 << 25 !== -33554432) { >- testFailed('#819: 262143 << 25 === -33554432. Actual: ' + (262143 << 25)); >-} >- >- >-if (524287 << 25 !== -33554432) { >- testFailed('#820: 524287 << 25 === -33554432. Actual: ' + (524287 << 25)); >-} >- >- >-if (1048575 << 25 !== -33554432) { >- testFailed('#821: 1048575 << 25 === -33554432. Actual: ' + (1048575 << 25)); >-} >- >- >-if (2097151 << 25 !== -33554432) { >- testFailed('#822: 2097151 << 25 === -33554432. Actual: ' + (2097151 << 25)); >-} >- >- >-if (4194303 << 25 !== -33554432) { >- testFailed('#823: 4194303 << 25 === -33554432. Actual: ' + (4194303 << 25)); >-} >- >- >-if (8388607 << 25 !== -33554432) { >- testFailed('#824: 8388607 << 25 === -33554432. Actual: ' + (8388607 << 25)); >-} >- >- >-if (16777215 << 25 !== -33554432) { >- testFailed('#825: 16777215 << 25 === -33554432. Actual: ' + (16777215 << 25)); >-} >- >- >-if (33554431 << 25 !== -33554432) { >- testFailed('#826: 33554431 << 25 === -33554432. Actual: ' + (33554431 << 25)); >-} >- >- >-if (67108863 << 25 !== -33554432) { >- testFailed('#827: 67108863 << 25 === -33554432. Actual: ' + (67108863 << 25)); >-} >- >- >-if (134217727 << 25 !== -33554432) { >- testFailed('#828: 134217727 << 25 === -33554432. Actual: ' + (134217727 << 25)); >-} >- >- >-if (268435455 << 25 !== -33554432) { >- testFailed('#829: 268435455 << 25 === -33554432. Actual: ' + (268435455 << 25)); >-} >- >- >-if (536870911 << 25 !== -33554432) { >- testFailed('#830: 536870911 << 25 === -33554432. Actual: ' + (536870911 << 25)); >-} >- >- >-if (1073741823 << 25 !== -33554432) { >- testFailed('#831: 1073741823 << 25 === -33554432. Actual: ' + (1073741823 << 25)); >-} >- >- >-if (2147483647 << 25 !== -33554432) { >- testFailed('#832: 2147483647 << 25 === -33554432. Actual: ' + (2147483647 << 25)); >-} >- >- >-if (0 << 26 !== 0) { >- testFailed('#833: 0 << 26 === 0. Actual: ' + (0 << 26)); >-} >- >- >-if (1 << 26 !== 67108864) { >- testFailed('#834: 1 << 26 === 67108864. Actual: ' + (1 << 26)); >-} >- >- >-if (3 << 26 !== 201326592) { >- testFailed('#835: 3 << 26 === 201326592. Actual: ' + (3 << 26)); >-} >- >- >-if (7 << 26 !== 469762048) { >- testFailed('#836: 7 << 26 === 469762048. Actual: ' + (7 << 26)); >-} >- >- >-if (15 << 26 !== 1006632960) { >- testFailed('#837: 15 << 26 === 1006632960. Actual: ' + (15 << 26)); >-} >- >- >-if (31 << 26 !== 2080374784) { >- testFailed('#838: 31 << 26 === 2080374784. Actual: ' + (31 << 26)); >-} >- >- >-if (63 << 26 !== -67108864) { >- testFailed('#839: 63 << 26 === -67108864. Actual: ' + (63 << 26)); >-} >- >- >-if (127 << 26 !== -67108864) { >- testFailed('#840: 127 << 26 === -67108864. Actual: ' + (127 << 26)); >-} >- >- >-if (255 << 26 !== -67108864) { >- testFailed('#841: 255 << 26 === -67108864. Actual: ' + (255 << 26)); >-} >- >- >-if (511 << 26 !== -67108864) { >- testFailed('#842: 511 << 26 === -67108864. Actual: ' + (511 << 26)); >-} >- >- >-if (1023 << 26 !== -67108864) { >- testFailed('#843: 1023 << 26 === -67108864. Actual: ' + (1023 << 26)); >-} >- >- >-if (2047 << 26 !== -67108864) { >- testFailed('#844: 2047 << 26 === -67108864. Actual: ' + (2047 << 26)); >-} >- >- >-if (4095 << 26 !== -67108864) { >- testFailed('#845: 4095 << 26 === -67108864. Actual: ' + (4095 << 26)); >-} >- >- >-if (8191 << 26 !== -67108864) { >- testFailed('#846: 8191 << 26 === -67108864. Actual: ' + (8191 << 26)); >-} >- >- >-if (16383 << 26 !== -67108864) { >- testFailed('#847: 16383 << 26 === -67108864. Actual: ' + (16383 << 26)); >-} >- >- >-if (32767 << 26 !== -67108864) { >- testFailed('#848: 32767 << 26 === -67108864. Actual: ' + (32767 << 26)); >-} >- >- >-if (65535 << 26 !== -67108864) { >- testFailed('#849: 65535 << 26 === -67108864. Actual: ' + (65535 << 26)); >-} >- >- >-if (131071 << 26 !== -67108864) { >- testFailed('#850: 131071 << 26 === -67108864. Actual: ' + (131071 << 26)); >-} >- >- >-if (262143 << 26 !== -67108864) { >- testFailed('#851: 262143 << 26 === -67108864. Actual: ' + (262143 << 26)); >-} >- >- >-if (524287 << 26 !== -67108864) { >- testFailed('#852: 524287 << 26 === -67108864. Actual: ' + (524287 << 26)); >-} >- >- >-if (1048575 << 26 !== -67108864) { >- testFailed('#853: 1048575 << 26 === -67108864. Actual: ' + (1048575 << 26)); >-} >- >- >-if (2097151 << 26 !== -67108864) { >- testFailed('#854: 2097151 << 26 === -67108864. Actual: ' + (2097151 << 26)); >-} >- >- >-if (4194303 << 26 !== -67108864) { >- testFailed('#855: 4194303 << 26 === -67108864. Actual: ' + (4194303 << 26)); >-} >- >- >-if (8388607 << 26 !== -67108864) { >- testFailed('#856: 8388607 << 26 === -67108864. Actual: ' + (8388607 << 26)); >-} >- >- >-if (16777215 << 26 !== -67108864) { >- testFailed('#857: 16777215 << 26 === -67108864. Actual: ' + (16777215 << 26)); >-} >- >- >-if (33554431 << 26 !== -67108864) { >- testFailed('#858: 33554431 << 26 === -67108864. Actual: ' + (33554431 << 26)); >-} >- >- >-if (67108863 << 26 !== -67108864) { >- testFailed('#859: 67108863 << 26 === -67108864. Actual: ' + (67108863 << 26)); >-} >- >- >-if (134217727 << 26 !== -67108864) { >- testFailed('#860: 134217727 << 26 === -67108864. Actual: ' + (134217727 << 26)); >-} >- >- >-if (268435455 << 26 !== -67108864) { >- testFailed('#861: 268435455 << 26 === -67108864. Actual: ' + (268435455 << 26)); >-} >- >- >-if (536870911 << 26 !== -67108864) { >- testFailed('#862: 536870911 << 26 === -67108864. Actual: ' + (536870911 << 26)); >-} >- >- >-if (1073741823 << 26 !== -67108864) { >- testFailed('#863: 1073741823 << 26 === -67108864. Actual: ' + (1073741823 << 26)); >-} >- >- >-if (2147483647 << 26 !== -67108864) { >- testFailed('#864: 2147483647 << 26 === -67108864. Actual: ' + (2147483647 << 26)); >-} >- >- >-if (0 << 27 !== 0) { >- testFailed('#865: 0 << 27 === 0. Actual: ' + (0 << 27)); >-} >- >- >-if (1 << 27 !== 134217728) { >- testFailed('#866: 1 << 27 === 134217728. Actual: ' + (1 << 27)); >-} >- >- >-if (3 << 27 !== 402653184) { >- testFailed('#867: 3 << 27 === 402653184. Actual: ' + (3 << 27)); >-} >- >- >-if (7 << 27 !== 939524096) { >- testFailed('#868: 7 << 27 === 939524096. Actual: ' + (7 << 27)); >-} >- >- >-if (15 << 27 !== 2013265920) { >- testFailed('#869: 15 << 27 === 2013265920. Actual: ' + (15 << 27)); >-} >- >- >-if (31 << 27 !== -134217728) { >- testFailed('#870: 31 << 27 === -134217728. Actual: ' + (31 << 27)); >-} >- >- >-if (63 << 27 !== -134217728) { >- testFailed('#871: 63 << 27 === -134217728. Actual: ' + (63 << 27)); >-} >- >- >-if (127 << 27 !== -134217728) { >- testFailed('#872: 127 << 27 === -134217728. Actual: ' + (127 << 27)); >-} >- >- >-if (255 << 27 !== -134217728) { >- testFailed('#873: 255 << 27 === -134217728. Actual: ' + (255 << 27)); >-} >- >- >-if (511 << 27 !== -134217728) { >- testFailed('#874: 511 << 27 === -134217728. Actual: ' + (511 << 27)); >-} >- >- >-if (1023 << 27 !== -134217728) { >- testFailed('#875: 1023 << 27 === -134217728. Actual: ' + (1023 << 27)); >-} >- >- >-if (2047 << 27 !== -134217728) { >- testFailed('#876: 2047 << 27 === -134217728. Actual: ' + (2047 << 27)); >-} >- >- >-if (4095 << 27 !== -134217728) { >- testFailed('#877: 4095 << 27 === -134217728. Actual: ' + (4095 << 27)); >-} >- >- >-if (8191 << 27 !== -134217728) { >- testFailed('#878: 8191 << 27 === -134217728. Actual: ' + (8191 << 27)); >-} >- >- >-if (16383 << 27 !== -134217728) { >- testFailed('#879: 16383 << 27 === -134217728. Actual: ' + (16383 << 27)); >-} >- >- >-if (32767 << 27 !== -134217728) { >- testFailed('#880: 32767 << 27 === -134217728. Actual: ' + (32767 << 27)); >-} >- >- >-if (65535 << 27 !== -134217728) { >- testFailed('#881: 65535 << 27 === -134217728. Actual: ' + (65535 << 27)); >-} >- >- >-if (131071 << 27 !== -134217728) { >- testFailed('#882: 131071 << 27 === -134217728. Actual: ' + (131071 << 27)); >-} >- >- >-if (262143 << 27 !== -134217728) { >- testFailed('#883: 262143 << 27 === -134217728. Actual: ' + (262143 << 27)); >-} >- >- >-if (524287 << 27 !== -134217728) { >- testFailed('#884: 524287 << 27 === -134217728. Actual: ' + (524287 << 27)); >-} >- >- >-if (1048575 << 27 !== -134217728) { >- testFailed('#885: 1048575 << 27 === -134217728. Actual: ' + (1048575 << 27)); >-} >- >- >-if (2097151 << 27 !== -134217728) { >- testFailed('#886: 2097151 << 27 === -134217728. Actual: ' + (2097151 << 27)); >-} >- >- >-if (4194303 << 27 !== -134217728) { >- testFailed('#887: 4194303 << 27 === -134217728. Actual: ' + (4194303 << 27)); >-} >- >- >-if (8388607 << 27 !== -134217728) { >- testFailed('#888: 8388607 << 27 === -134217728. Actual: ' + (8388607 << 27)); >-} >- >- >-if (16777215 << 27 !== -134217728) { >- testFailed('#889: 16777215 << 27 === -134217728. Actual: ' + (16777215 << 27)); >-} >- >- >-if (33554431 << 27 !== -134217728) { >- testFailed('#890: 33554431 << 27 === -134217728. Actual: ' + (33554431 << 27)); >-} >- >- >-if (67108863 << 27 !== -134217728) { >- testFailed('#891: 67108863 << 27 === -134217728. Actual: ' + (67108863 << 27)); >-} >- >- >-if (134217727 << 27 !== -134217728) { >- testFailed('#892: 134217727 << 27 === -134217728. Actual: ' + (134217727 << 27)); >-} >- >- >-if (268435455 << 27 !== -134217728) { >- testFailed('#893: 268435455 << 27 === -134217728. Actual: ' + (268435455 << 27)); >-} >- >- >-if (536870911 << 27 !== -134217728) { >- testFailed('#894: 536870911 << 27 === -134217728. Actual: ' + (536870911 << 27)); >-} >- >- >-if (1073741823 << 27 !== -134217728) { >- testFailed('#895: 1073741823 << 27 === -134217728. Actual: ' + (1073741823 << 27)); >-} >- >- >-if (2147483647 << 27 !== -134217728) { >- testFailed('#896: 2147483647 << 27 === -134217728. Actual: ' + (2147483647 << 27)); >-} >- >- >-if (0 << 28 !== 0) { >- testFailed('#897: 0 << 28 === 0. Actual: ' + (0 << 28)); >-} >- >- >-if (1 << 28 !== 268435456) { >- testFailed('#898: 1 << 28 === 268435456. Actual: ' + (1 << 28)); >-} >- >- >-if (3 << 28 !== 805306368) { >- testFailed('#899: 3 << 28 === 805306368. Actual: ' + (3 << 28)); >-} >- >- >-if (7 << 28 !== 1879048192) { >- testFailed('#900: 7 << 28 === 1879048192. Actual: ' + (7 << 28)); >-} >- >- >-if (15 << 28 !== -268435456) { >- testFailed('#901: 15 << 28 === -268435456. Actual: ' + (15 << 28)); >-} >- >- >-if (31 << 28 !== -268435456) { >- testFailed('#902: 31 << 28 === -268435456. Actual: ' + (31 << 28)); >-} >- >- >-if (63 << 28 !== -268435456) { >- testFailed('#903: 63 << 28 === -268435456. Actual: ' + (63 << 28)); >-} >- >- >-if (127 << 28 !== -268435456) { >- testFailed('#904: 127 << 28 === -268435456. Actual: ' + (127 << 28)); >-} >- >- >-if (255 << 28 !== -268435456) { >- testFailed('#905: 255 << 28 === -268435456. Actual: ' + (255 << 28)); >-} >- >- >-if (511 << 28 !== -268435456) { >- testFailed('#906: 511 << 28 === -268435456. Actual: ' + (511 << 28)); >-} >- >- >-if (1023 << 28 !== -268435456) { >- testFailed('#907: 1023 << 28 === -268435456. Actual: ' + (1023 << 28)); >-} >- >- >-if (2047 << 28 !== -268435456) { >- testFailed('#908: 2047 << 28 === -268435456. Actual: ' + (2047 << 28)); >-} >- >- >-if (4095 << 28 !== -268435456) { >- testFailed('#909: 4095 << 28 === -268435456. Actual: ' + (4095 << 28)); >-} >- >- >-if (8191 << 28 !== -268435456) { >- testFailed('#910: 8191 << 28 === -268435456. Actual: ' + (8191 << 28)); >-} >- >- >-if (16383 << 28 !== -268435456) { >- testFailed('#911: 16383 << 28 === -268435456. Actual: ' + (16383 << 28)); >-} >- >- >-if (32767 << 28 !== -268435456) { >- testFailed('#912: 32767 << 28 === -268435456. Actual: ' + (32767 << 28)); >-} >- >- >-if (65535 << 28 !== -268435456) { >- testFailed('#913: 65535 << 28 === -268435456. Actual: ' + (65535 << 28)); >-} >- >- >-if (131071 << 28 !== -268435456) { >- testFailed('#914: 131071 << 28 === -268435456. Actual: ' + (131071 << 28)); >-} >- >- >-if (262143 << 28 !== -268435456) { >- testFailed('#915: 262143 << 28 === -268435456. Actual: ' + (262143 << 28)); >-} >- >- >-if (524287 << 28 !== -268435456) { >- testFailed('#916: 524287 << 28 === -268435456. Actual: ' + (524287 << 28)); >-} >- >- >-if (1048575 << 28 !== -268435456) { >- testFailed('#917: 1048575 << 28 === -268435456. Actual: ' + (1048575 << 28)); >-} >- >- >-if (2097151 << 28 !== -268435456) { >- testFailed('#918: 2097151 << 28 === -268435456. Actual: ' + (2097151 << 28)); >-} >- >- >-if (4194303 << 28 !== -268435456) { >- testFailed('#919: 4194303 << 28 === -268435456. Actual: ' + (4194303 << 28)); >-} >- >- >-if (8388607 << 28 !== -268435456) { >- testFailed('#920: 8388607 << 28 === -268435456. Actual: ' + (8388607 << 28)); >-} >- >- >-if (16777215 << 28 !== -268435456) { >- testFailed('#921: 16777215 << 28 === -268435456. Actual: ' + (16777215 << 28)); >-} >- >- >-if (33554431 << 28 !== -268435456) { >- testFailed('#922: 33554431 << 28 === -268435456. Actual: ' + (33554431 << 28)); >-} >- >- >-if (67108863 << 28 !== -268435456) { >- testFailed('#923: 67108863 << 28 === -268435456. Actual: ' + (67108863 << 28)); >-} >- >- >-if (134217727 << 28 !== -268435456) { >- testFailed('#924: 134217727 << 28 === -268435456. Actual: ' + (134217727 << 28)); >-} >- >- >-if (268435455 << 28 !== -268435456) { >- testFailed('#925: 268435455 << 28 === -268435456. Actual: ' + (268435455 << 28)); >-} >- >- >-if (536870911 << 28 !== -268435456) { >- testFailed('#926: 536870911 << 28 === -268435456. Actual: ' + (536870911 << 28)); >-} >- >- >-if (1073741823 << 28 !== -268435456) { >- testFailed('#927: 1073741823 << 28 === -268435456. Actual: ' + (1073741823 << 28)); >-} >- >- >-if (2147483647 << 28 !== -268435456) { >- testFailed('#928: 2147483647 << 28 === -268435456. Actual: ' + (2147483647 << 28)); >-} >- >- >-if (0 << 29 !== 0) { >- testFailed('#929: 0 << 29 === 0. Actual: ' + (0 << 29)); >-} >- >- >-if (1 << 29 !== 536870912) { >- testFailed('#930: 1 << 29 === 536870912. Actual: ' + (1 << 29)); >-} >- >- >-if (3 << 29 !== 1610612736) { >- testFailed('#931: 3 << 29 === 1610612736. Actual: ' + (3 << 29)); >-} >- >- >-if (7 << 29 !== -536870912) { >- testFailed('#932: 7 << 29 === -536870912. Actual: ' + (7 << 29)); >-} >- >- >-if (15 << 29 !== -536870912) { >- testFailed('#933: 15 << 29 === -536870912. Actual: ' + (15 << 29)); >-} >- >- >-if (31 << 29 !== -536870912) { >- testFailed('#934: 31 << 29 === -536870912. Actual: ' + (31 << 29)); >-} >- >- >-if (63 << 29 !== -536870912) { >- testFailed('#935: 63 << 29 === -536870912. Actual: ' + (63 << 29)); >-} >- >- >-if (127 << 29 !== -536870912) { >- testFailed('#936: 127 << 29 === -536870912. Actual: ' + (127 << 29)); >-} >- >- >-if (255 << 29 !== -536870912) { >- testFailed('#937: 255 << 29 === -536870912. Actual: ' + (255 << 29)); >-} >- >- >-if (511 << 29 !== -536870912) { >- testFailed('#938: 511 << 29 === -536870912. Actual: ' + (511 << 29)); >-} >- >- >-if (1023 << 29 !== -536870912) { >- testFailed('#939: 1023 << 29 === -536870912. Actual: ' + (1023 << 29)); >-} >- >- >-if (2047 << 29 !== -536870912) { >- testFailed('#940: 2047 << 29 === -536870912. Actual: ' + (2047 << 29)); >-} >- >- >-if (4095 << 29 !== -536870912) { >- testFailed('#941: 4095 << 29 === -536870912. Actual: ' + (4095 << 29)); >-} >- >- >-if (8191 << 29 !== -536870912) { >- testFailed('#942: 8191 << 29 === -536870912. Actual: ' + (8191 << 29)); >-} >- >- >-if (16383 << 29 !== -536870912) { >- testFailed('#943: 16383 << 29 === -536870912. Actual: ' + (16383 << 29)); >-} >- >- >-if (32767 << 29 !== -536870912) { >- testFailed('#944: 32767 << 29 === -536870912. Actual: ' + (32767 << 29)); >-} >- >- >-if (65535 << 29 !== -536870912) { >- testFailed('#945: 65535 << 29 === -536870912. Actual: ' + (65535 << 29)); >-} >- >- >-if (131071 << 29 !== -536870912) { >- testFailed('#946: 131071 << 29 === -536870912. Actual: ' + (131071 << 29)); >-} >- >- >-if (262143 << 29 !== -536870912) { >- testFailed('#947: 262143 << 29 === -536870912. Actual: ' + (262143 << 29)); >-} >- >- >-if (524287 << 29 !== -536870912) { >- testFailed('#948: 524287 << 29 === -536870912. Actual: ' + (524287 << 29)); >-} >- >- >-if (1048575 << 29 !== -536870912) { >- testFailed('#949: 1048575 << 29 === -536870912. Actual: ' + (1048575 << 29)); >-} >- >- >-if (2097151 << 29 !== -536870912) { >- testFailed('#950: 2097151 << 29 === -536870912. Actual: ' + (2097151 << 29)); >-} >- >- >-if (4194303 << 29 !== -536870912) { >- testFailed('#951: 4194303 << 29 === -536870912. Actual: ' + (4194303 << 29)); >-} >- >- >-if (8388607 << 29 !== -536870912) { >- testFailed('#952: 8388607 << 29 === -536870912. Actual: ' + (8388607 << 29)); >-} >- >- >-if (16777215 << 29 !== -536870912) { >- testFailed('#953: 16777215 << 29 === -536870912. Actual: ' + (16777215 << 29)); >-} >- >- >-if (33554431 << 29 !== -536870912) { >- testFailed('#954: 33554431 << 29 === -536870912. Actual: ' + (33554431 << 29)); >-} >- >- >-if (67108863 << 29 !== -536870912) { >- testFailed('#955: 67108863 << 29 === -536870912. Actual: ' + (67108863 << 29)); >-} >- >- >-if (134217727 << 29 !== -536870912) { >- testFailed('#956: 134217727 << 29 === -536870912. Actual: ' + (134217727 << 29)); >-} >- >- >-if (268435455 << 29 !== -536870912) { >- testFailed('#957: 268435455 << 29 === -536870912. Actual: ' + (268435455 << 29)); >-} >- >- >-if (536870911 << 29 !== -536870912) { >- testFailed('#958: 536870911 << 29 === -536870912. Actual: ' + (536870911 << 29)); >-} >- >- >-if (1073741823 << 29 !== -536870912) { >- testFailed('#959: 1073741823 << 29 === -536870912. Actual: ' + (1073741823 << 29)); >-} >- >- >-if (2147483647 << 29 !== -536870912) { >- testFailed('#960: 2147483647 << 29 === -536870912. Actual: ' + (2147483647 << 29)); >-} >- >- >-if (0 << 30 !== 0) { >- testFailed('#961: 0 << 30 === 0. Actual: ' + (0 << 30)); >-} >- >- >-if (1 << 30 !== 1073741824) { >- testFailed('#962: 1 << 30 === 1073741824. Actual: ' + (1 << 30)); >-} >- >- >-if (3 << 30 !== -1073741824) { >- testFailed('#963: 3 << 30 === -1073741824. Actual: ' + (3 << 30)); >-} >- >- >-if (7 << 30 !== -1073741824) { >- testFailed('#964: 7 << 30 === -1073741824. Actual: ' + (7 << 30)); >-} >- >- >-if (15 << 30 !== -1073741824) { >- testFailed('#965: 15 << 30 === -1073741824. Actual: ' + (15 << 30)); >-} >- >- >-if (31 << 30 !== -1073741824) { >- testFailed('#966: 31 << 30 === -1073741824. Actual: ' + (31 << 30)); >-} >- >- >-if (63 << 30 !== -1073741824) { >- testFailed('#967: 63 << 30 === -1073741824. Actual: ' + (63 << 30)); >-} >- >- >-if (127 << 30 !== -1073741824) { >- testFailed('#968: 127 << 30 === -1073741824. Actual: ' + (127 << 30)); >-} >- >- >-if (255 << 30 !== -1073741824) { >- testFailed('#969: 255 << 30 === -1073741824. Actual: ' + (255 << 30)); >-} >- >- >-if (511 << 30 !== -1073741824) { >- testFailed('#970: 511 << 30 === -1073741824. Actual: ' + (511 << 30)); >-} >- >- >-if (1023 << 30 !== -1073741824) { >- testFailed('#971: 1023 << 30 === -1073741824. Actual: ' + (1023 << 30)); >-} >- >- >-if (2047 << 30 !== -1073741824) { >- testFailed('#972: 2047 << 30 === -1073741824. Actual: ' + (2047 << 30)); >-} >- >- >-if (4095 << 30 !== -1073741824) { >- testFailed('#973: 4095 << 30 === -1073741824. Actual: ' + (4095 << 30)); >-} >- >- >-if (8191 << 30 !== -1073741824) { >- testFailed('#974: 8191 << 30 === -1073741824. Actual: ' + (8191 << 30)); >-} >- >- >-if (16383 << 30 !== -1073741824) { >- testFailed('#975: 16383 << 30 === -1073741824. Actual: ' + (16383 << 30)); >-} >- >- >-if (32767 << 30 !== -1073741824) { >- testFailed('#976: 32767 << 30 === -1073741824. Actual: ' + (32767 << 30)); >-} >- >- >-if (65535 << 30 !== -1073741824) { >- testFailed('#977: 65535 << 30 === -1073741824. Actual: ' + (65535 << 30)); >-} >- >- >-if (131071 << 30 !== -1073741824) { >- testFailed('#978: 131071 << 30 === -1073741824. Actual: ' + (131071 << 30)); >-} >- >- >-if (262143 << 30 !== -1073741824) { >- testFailed('#979: 262143 << 30 === -1073741824. Actual: ' + (262143 << 30)); >-} >- >- >-if (524287 << 30 !== -1073741824) { >- testFailed('#980: 524287 << 30 === -1073741824. Actual: ' + (524287 << 30)); >-} >- >- >-if (1048575 << 30 !== -1073741824) { >- testFailed('#981: 1048575 << 30 === -1073741824. Actual: ' + (1048575 << 30)); >-} >- >- >-if (2097151 << 30 !== -1073741824) { >- testFailed('#982: 2097151 << 30 === -1073741824. Actual: ' + (2097151 << 30)); >-} >- >- >-if (4194303 << 30 !== -1073741824) { >- testFailed('#983: 4194303 << 30 === -1073741824. Actual: ' + (4194303 << 30)); >-} >- >- >-if (8388607 << 30 !== -1073741824) { >- testFailed('#984: 8388607 << 30 === -1073741824. Actual: ' + (8388607 << 30)); >-} >- >- >-if (16777215 << 30 !== -1073741824) { >- testFailed('#985: 16777215 << 30 === -1073741824. Actual: ' + (16777215 << 30)); >-} >- >- >-if (33554431 << 30 !== -1073741824) { >- testFailed('#986: 33554431 << 30 === -1073741824. Actual: ' + (33554431 << 30)); >-} >- >- >-if (67108863 << 30 !== -1073741824) { >- testFailed('#987: 67108863 << 30 === -1073741824. Actual: ' + (67108863 << 30)); >-} >- >- >-if (134217727 << 30 !== -1073741824) { >- testFailed('#988: 134217727 << 30 === -1073741824. Actual: ' + (134217727 << 30)); >-} >- >- >-if (268435455 << 30 !== -1073741824) { >- testFailed('#989: 268435455 << 30 === -1073741824. Actual: ' + (268435455 << 30)); >-} >- >- >-if (536870911 << 30 !== -1073741824) { >- testFailed('#990: 536870911 << 30 === -1073741824. Actual: ' + (536870911 << 30)); >-} >- >- >-if (1073741823 << 30 !== -1073741824) { >- testFailed('#991: 1073741823 << 30 === -1073741824. Actual: ' + (1073741823 << 30)); >-} >- >- >-if (2147483647 << 30 !== -1073741824) { >- testFailed('#992: 2147483647 << 30 === -1073741824. Actual: ' + (2147483647 << 30)); >-} >- >- >-if (0 << 31 !== 0) { >- testFailed('#993: 0 << 31 === 0. Actual: ' + (0 << 31)); >-} >- >- >-if (1 << 31 !== -2147483648) { >- testFailed('#994: 1 << 31 === -2147483648. Actual: ' + (1 << 31)); >-} >- >- >-if (3 << 31 !== -2147483648) { >- testFailed('#995: 3 << 31 === -2147483648. Actual: ' + (3 << 31)); >-} >- >- >-if (7 << 31 !== -2147483648) { >- testFailed('#996: 7 << 31 === -2147483648. Actual: ' + (7 << 31)); >-} >- >- >-if (15 << 31 !== -2147483648) { >- testFailed('#997: 15 << 31 === -2147483648. Actual: ' + (15 << 31)); >-} >- >- >-if (31 << 31 !== -2147483648) { >- testFailed('#998: 31 << 31 === -2147483648. Actual: ' + (31 << 31)); >-} >- >- >-if (63 << 31 !== -2147483648) { >- testFailed('#999: 63 << 31 === -2147483648. Actual: ' + (63 << 31)); >-} >- >- >-if (127 << 31 !== -2147483648) { >- testFailed('#1000: 127 << 31 === -2147483648. Actual: ' + (127 << 31)); >-} >- >- >-if (255 << 31 !== -2147483648) { >- testFailed('#1001: 255 << 31 === -2147483648. Actual: ' + (255 << 31)); >-} >- >- >-if (511 << 31 !== -2147483648) { >- testFailed('#1002: 511 << 31 === -2147483648. Actual: ' + (511 << 31)); >-} >- >- >-if (1023 << 31 !== -2147483648) { >- testFailed('#1003: 1023 << 31 === -2147483648. Actual: ' + (1023 << 31)); >-} >- >- >-if (2047 << 31 !== -2147483648) { >- testFailed('#1004: 2047 << 31 === -2147483648. Actual: ' + (2047 << 31)); >-} >- >- >-if (4095 << 31 !== -2147483648) { >- testFailed('#1005: 4095 << 31 === -2147483648. Actual: ' + (4095 << 31)); >-} >- >- >-if (8191 << 31 !== -2147483648) { >- testFailed('#1006: 8191 << 31 === -2147483648. Actual: ' + (8191 << 31)); >-} >- >- >-if (16383 << 31 !== -2147483648) { >- testFailed('#1007: 16383 << 31 === -2147483648. Actual: ' + (16383 << 31)); >-} >- >- >-if (32767 << 31 !== -2147483648) { >- testFailed('#1008: 32767 << 31 === -2147483648. Actual: ' + (32767 << 31)); >-} >- >- >-if (65535 << 31 !== -2147483648) { >- testFailed('#1009: 65535 << 31 === -2147483648. Actual: ' + (65535 << 31)); >-} >- >- >-if (131071 << 31 !== -2147483648) { >- testFailed('#1010: 131071 << 31 === -2147483648. Actual: ' + (131071 << 31)); >-} >- >- >-if (262143 << 31 !== -2147483648) { >- testFailed('#1011: 262143 << 31 === -2147483648. Actual: ' + (262143 << 31)); >-} >- >- >-if (524287 << 31 !== -2147483648) { >- testFailed('#1012: 524287 << 31 === -2147483648. Actual: ' + (524287 << 31)); >-} >- >- >-if (1048575 << 31 !== -2147483648) { >- testFailed('#1013: 1048575 << 31 === -2147483648. Actual: ' + (1048575 << 31)); >-} >- >- >-if (2097151 << 31 !== -2147483648) { >- testFailed('#1014: 2097151 << 31 === -2147483648. Actual: ' + (2097151 << 31)); >-} >- >- >-if (4194303 << 31 !== -2147483648) { >- testFailed('#1015: 4194303 << 31 === -2147483648. Actual: ' + (4194303 << 31)); >-} >- >- >-if (8388607 << 31 !== -2147483648) { >- testFailed('#1016: 8388607 << 31 === -2147483648. Actual: ' + (8388607 << 31)); >-} >- >- >-if (16777215 << 31 !== -2147483648) { >- testFailed('#1017: 16777215 << 31 === -2147483648. Actual: ' + (16777215 << 31)); >-} >- >- >-if (33554431 << 31 !== -2147483648) { >- testFailed('#1018: 33554431 << 31 === -2147483648. Actual: ' + (33554431 << 31)); >-} >- >- >-if (67108863 << 31 !== -2147483648) { >- testFailed('#1019: 67108863 << 31 === -2147483648. Actual: ' + (67108863 << 31)); >-} >- >- >-if (134217727 << 31 !== -2147483648) { >- testFailed('#1020: 134217727 << 31 === -2147483648. Actual: ' + (134217727 << 31)); >-} >- >- >-if (268435455 << 31 !== -2147483648) { >- testFailed('#1021: 268435455 << 31 === -2147483648. Actual: ' + (268435455 << 31)); >-} >- >- >-if (536870911 << 31 !== -2147483648) { >- testFailed('#1022: 536870911 << 31 === -2147483648. Actual: ' + (536870911 << 31)); >-} >- >- >-if (1073741823 << 31 !== -2147483648) { >- testFailed('#1023: 1073741823 << 31 === -2147483648. Actual: ' + (1073741823 << 31)); >-} >- >- >-if (2147483647 << 31 !== -2147483648) { >- testFailed('#1024: 2147483647 << 31 === -2147483648. Actual: ' + (2147483647 << 31)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1-expected.txt >deleted file mode 100644 >index a520c190905..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.html >deleted file mode 100644 >index 8c416c7e366..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A5.1_T1; >- * @section: 11.7.1, 9.5; >- * @assertion: Operator x << y uses ToInt32(ShiftExpression); >- * @description: Checking boundary points; >- */ >- >-//CHECK#1 >-if (2147483648.1 << 0 !== -2147483648) { >- testFailed('#1: 2147483648.1 << 0 === -2147483648. Actual: ' + (2147483648.1 << 0)); >-} >- >-//CHECK#2 >-if (4294967296.1 << 0 !== 0) { >- testFailed('#2: 4294967296.1 << 0 === 0. Actual: ' + (4294967296.1 << 0)); >-} >- >-//CHECK#3 >-if (6442450944.1 << 0 !== -2147483648) { >- testFailed('#3: 6442450944.1 << 0 === -2147483648. Actual: ' + (6442450944.1 << 0)); >-} >- >-//CHECK#4 >-if (4294967295.1 << 0 !== -1) { >- testFailed('#4: 4294967295.1 << 0 === -1. Actual: ' + (4294967295.1 << 0)); >-} >- >-//CHECK#5 >-if (6442450943.1 << 0 !== 2147483647) { >- testFailed('#5: 6442450943.1 << 0 === 2147483647. Actual: ' + (6442450943.1 << 0)); >-} >- >-//CHECK#6 >-if (-2147483649.1 << 0 !== 2147483647) { >- testFailed('#6: -2147483649.1 << 0 === 2147483647. Actual: ' + (-2147483649.1 << 0)); >-} >- >-//CHECK#7 >-if (-4294967297.1 << 0 !== -1) { >- testFailed('#7: -4294967297.1 << 0 === -1. Actual: ' + (-4294967297.1 << 0)); >-} >- >-//CHECK#8 >-if (-6442450945.1 << 0 !== 2147483647) { >- testFailed('#8: -6442450945.1 << 0 === 2147483647. Actual: ' + (-6442450945.1 << 0)); >-} >- >-//CHECK#9 >-if (-4294967296.1 << 0 !== 0) { >- testFailed('#9: -4294967296.1 << 0 === 0 . Actual: ' + (-4294967296.1 << 0)); >-} >- >-//CHECK#10 >-if (-6442450944.1 << 0 !== -2147483648) { >- testFailed('#10: -6442450944.1 << 0 === -2147483648. Actual: ' + (-6442450944.1 << 0)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1-expected.txt >deleted file mode 100644 >index 4d87730b2e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.1_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.html >deleted file mode 100644 >index 270905e3c14..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.html >+++ /dev/null >@@ -1,412 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.1_A5.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.1_A5.2_T1; >- * @section: 11.7.1, 9.5; >- * @assertion: Operator x << y uses ToUint32(AdditiveExpression) & 31; >- * @description: Checking distinct points; >- */ >- >-//CHECK#1 >-if (1 << -32.1 !== 1) { >- testFailed('#1: 1 << -32.1 === 1. Actual: ' + (1 << -32.1)); >-} >- >-//CHECK#2 >-if (1 << -31.1 !== 2) { >- testFailed('#2: 1 << -31.1 === 2. Actual: ' + (1 << -31.1)); >-} >- >-//CHECK#3 >-if (1 << -30.1 !== 4) { >- testFailed('#3: 1 << -30.1 === 4. Actual: ' + (1 << -30.1)); >-} >- >-//CHECK#4 >-if (1 << -29.1 !== 8) { >- testFailed('#4: 1 << -29.1 === 8. Actual: ' + (1 << -29.1)); >-} >- >-//CHECK#5 >-if (1 << -28.1 !== 16) { >- testFailed('#5: 1 << -28.1 === 16. Actual: ' + (1 << -28.1)); >-} >- >-//CHECK#6 >-if (1 << -27.1 !== 32) { >- testFailed('#6: 1 << -27.1 === 32. Actual: ' + (1 << -27.1)); >-} >- >-//CHECK#7 >-if (1 << -26.1 !== 64) { >- testFailed('#7: 1 << -26.1 === 64. Actual: ' + (1 << -26.1)); >-} >- >-//CHECK#8 >-if (1 << -25.1 !== 128) { >- testFailed('#8: 1 << -25.1 === 128. Actual: ' + (1 << -25.1)); >-} >- >-//CHECK#9 >-if (1 << -24.1 !== 256) { >- testFailed('#9: 1 << -24.1 === 256. Actual: ' + (1 << -24.1)); >-} >- >-//CHECK#10 >-if (1 << -23.1 !== 512) { >- testFailed('#10: 1 << -23.1 === 512. Actual: ' + (1 << -23.1)); >-} >- >-//CHECK#11 >-if (1 << -22.1 !== 1024) { >- testFailed('#11: 1 << -22.1 === 1024. Actual: ' + (1 << -22.1)); >-} >- >-//CHECK#12 >-if (1 << -21.1 !== 2048) { >- testFailed('#12: 1 << -21.1 === 2048. Actual: ' + (1 << -21.1)); >-} >- >-//CHECK#13 >-if (1 << -20.1 !== 4096) { >- testFailed('#13: 1 << -20.1 === 4096. Actual: ' + (1 << -20.1)); >-} >- >-//CHECK#14 >-if (1 << -19.1 !== 8192) { >- testFailed('#14: 1 << -19.1 === 8192. Actual: ' + (1 << -19.1)); >-} >- >-//CHECK#15 >-if (1 << -18.1 !== 16384) { >- testFailed('#15: 1 << -18.1 === 16384. Actual: ' + (1 << -18.1)); >-} >- >-//CHECK#16 >-if (1 << -17.1 !== 32768) { >- testFailed('#16: 1 << -17.1 === 32768. Actual: ' + (1 << -17.1)); >-} >- >-//CHECK#17 >-if (1 << -16.1 !== 65536) { >- testFailed('#17: 1 << -16.1 === 65536. Actual: ' + (1 << -16.1)); >-} >- >-//CHECK#18 >-if (1 << -15.1 !== 131072) { >- testFailed('#18: 1 << -15.1 === 131072. Actual: ' + (1 << -15.1)); >-} >- >-//CHECK#19 >-if (1 << -14.1 !== 262144) { >- testFailed('#19: 1 << -14.1 === 262144. Actual: ' + (1 << -14.1)); >-} >- >-//CHECK#20 >-if (1 << -13.1 !== 524288) { >- testFailed('#20: 1 << -13.1 === 524288. Actual: ' + (1 << -13.1)); >-} >- >-//CHECK#21 >-if (1 << -12.1 !== 1048576) { >- testFailed('#21: 1 << -12.1 === 1048576. Actual: ' + (1 << -12.1)); >-} >- >-//CHECK#22 >-if (1 << -11.1 !== 2097152) { >- testFailed('#22: 1 << -11.1 === 2097152. Actual: ' + (1 << -11.1)); >-} >- >-//CHECK#23 >-if (1 << -10.1 !== 4194304) { >- testFailed('#23: 1 << -10.1 === 4194304. Actual: ' + (1 << -10.1)); >-} >- >-//CHECK#24 >-if (1 << -9.1 !== 8388608) { >- testFailed('#24: 1 << -9.1 === 8388608. Actual: ' + (1 << -9.1)); >-} >- >-//CHECK#25 >-if (1 << -8.1 !== 16777216) { >- testFailed('#25: 1 << -8.1 === 16777216. Actual: ' + (1 << -8.1)); >-} >- >-//CHECK#26 >-if (1 << -7.1 !== 33554432) { >- testFailed('#26: 1 << -7.1 === 33554432. Actual: ' + (1 << -7.1)); >-} >- >-//CHECK#27 >-if (1 << -6.1 !== 67108864) { >- testFailed('#27: 1 << -6.1 === 67108864. Actual: ' + (1 << -6.1)); >-} >- >-//CHECK#28 >-if (1 << -5.1 !== 134217728) { >- testFailed('#28: 1 << -5.1 === 134217728. Actual: ' + (1 << -5.1)); >-} >- >-//CHECK#29 >-if (1 << -4.1 !== 268435456) { >- testFailed('#29: 1 << -4.1 === 268435456. Actual: ' + (1 << -4.1)); >-} >- >-//CHECK#30 >-if (1 << -3.1 !== 536870912) { >- testFailed('#30: 1 << -3.1 === 536870912. Actual: ' + (1 << -3.1)); >-} >- >-//CHECK#31 >-if (1 << -2.1 !== 1073741824) { >- testFailed('#31: 1 << -2.1 === 1073741824. Actual: ' + (1 << -2.1)); >-} >- >-//CHECK#32 >-if (1 << -1.1 !== -2147483648) { >- testFailed('#32: 1 << -1.1 === -2147483648. Actual: ' + (1 << -1.1)); >-} >- >-//CHECK#33 >-if (1 << 32.1 !== 1) { >- testFailed('#33: 1 << 32.1 === 1. Actual: ' + (1 << 32.1)); >-} >- >-//CHECK#34 >-if (1 << 33.1 !== 2) { >- testFailed('#34: 1 << 33.1 === 2. Actual: ' + (1 << 33.1)); >-} >- >-//CHECK#35 >-if (1 << 34.1 !== 4) { >- testFailed('#35: 1 << 34.1 === 4. Actual: ' + (1 << 34.1)); >-} >- >-//CHECK#36 >-if (1 << 35.1 !== 8) { >- testFailed('#36: 1 << 35.1 === 8. Actual: ' + (1 << 35.1)); >-} >- >-//CHECK#37 >-if (1 << 36.1 !== 16) { >- testFailed('#37: 1 << 36.1 === 16. Actual: ' + (1 << 36.1)); >-} >- >-//CHECK#38 >-if (1 << 37.1 !== 32) { >- testFailed('#38: 1 << 37.1 === 32. Actual: ' + (1 << 37.1)); >-} >- >-//CHECK#39 >-if (1 << 38.1 !== 64) { >- testFailed('#39: 1 << 38.1 === 64. Actual: ' + (1 << 38.1)); >-} >- >-//CHECK#40 >-if (1 << 39.1 !== 128) { >- testFailed('#40: 1 << 39.1 === 128. Actual: ' + (1 << 39.1)); >-} >- >-//CHECK#41 >-if (1 << 40.1 !== 256) { >- testFailed('#41: 1 << 40.1 === 256. Actual: ' + (1 << 40.1)); >-} >- >-//CHECK#42 >-if (1 << 41.1 !== 512) { >- testFailed('#42: 1 << 41.1 === 512. Actual: ' + (1 << 41.1)); >-} >- >-//CHECK#43 >-if (1 << 42.1 !== 1024) { >- testFailed('#43: 1 << 42.1 === 1024. Actual: ' + (1 << 42.1)); >-} >- >-//CHECK#44 >-if (1 << 43.1 !== 2048) { >- testFailed('#44: 1 << 43.1 === 2048. Actual: ' + (1 << 43.1)); >-} >- >-//CHECK#45 >-if (1 << 44.1 !== 4096) { >- testFailed('#45: 1 << 44.1 === 4096. Actual: ' + (1 << 44.1)); >-} >- >-//CHECK#46 >-if (1 << 45.1 !== 8192) { >- testFailed('#46: 1 << 45.1 === 8192. Actual: ' + (1 << 45.1)); >-} >- >-//CHECK#47 >-if (1 << 46.1 !== 16384) { >- testFailed('#47: 1 << 46.1 === 16384. Actual: ' + (1 << 46.1)); >-} >- >-//CHECK#48 >-if (1 << 47.1 !== 32768) { >- testFailed('#48: 1 << 47.1 === 32768. Actual: ' + (1 << 47.1)); >-} >- >-//CHECK#49 >-if (1 << 48.1 !== 65536) { >- testFailed('#49: 1 << 48.1 === 65536. Actual: ' + (1 << 48.1)); >-} >- >-//CHECK#50 >-if (1 << 49.1 !== 131072) { >- testFailed('#50: 1 << 49.1 === 131072. Actual: ' + (1 << 49.1)); >-} >- >-//CHECK#51 >-if (1 << 50.1 !== 262144) { >- testFailed('#51: 1 << 50.1 === 262144. Actual: ' + (1 << 50.1)); >-} >- >-//CHECK#52 >-if (1 << 51.1 !== 524288) { >- testFailed('#52: 1 << 51.1 === 524288. Actual: ' + (1 << 51.1)); >-} >- >-//CHECK#53 >-if (1 << 52.1 !== 1048576) { >- testFailed('#53: 1 << 52.1 === 1048576. Actual: ' + (1 << 52.1)); >-} >- >-//CHECK#54 >-if (1 << 53.1 !== 2097152) { >- testFailed('#54: 1 << 53.1 === 2097152. Actual: ' + (1 << 53.1)); >-} >- >-//CHECK#55 >-if (1 << 54.1 !== 4194304) { >- testFailed('#55: 1 << 54.1 === 4194304. Actual: ' + (1 << 54.1)); >-} >- >-//CHECK#56 >-if (1 << 55.1 !== 8388608) { >- testFailed('#56: 1 << 55.1 === 8388608. Actual: ' + (1 << 55.1)); >-} >- >-//CHECK#57 >-if (1 << 56.1 !== 16777216) { >- testFailed('#57: 1 << 56.1 === 16777216. Actual: ' + (1 << 56.1)); >-} >- >-//CHECK#58 >-if (1 << 57.1 !== 33554432) { >- testFailed('#58: 1 << 57.1 === 33554432. Actual: ' + (1 << 57.1)); >-} >- >-//CHECK#59 >-if (1 << 58.1 !== 67108864) { >- testFailed('#59: 1 << 58.1 === 67108864. Actual: ' + (1 << 58.1)); >-} >- >-//CHECK#60 >-if (1 << 59.1 !== 134217728) { >- testFailed('#60: 1 << 59.1 === 134217728. Actual: ' + (1 << 59.1)); >-} >- >-//CHECK#61 >-if (1 << 60.1 !== 268435456) { >- testFailed('#61: 1 << 60.1 === 268435456. Actual: ' + (1 << 60.1)); >-} >- >-//CHECK#62 >-if (1 << 61.1 !== 536870912) { >- testFailed('#62: 1 << 61.1 === 536870912. Actual: ' + (1 << 61.1)); >-} >- >-//CHECK#63 >-if (1 << 62.1 !== 1073741824) { >- testFailed('#63: 1 << 62.1 === 1073741824. Actual: ' + (1 << 62.1)); >-} >- >-//CHECK#64 >-if (1 << 63.1 !== -2147483648) { >- testFailed('#64: 1 << 63.1 === -2147483648. Actual: ' + (1 << 63.1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1-expected.txt >deleted file mode 100644 >index 0651dfba4c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.html >deleted file mode 100644 >index be9252d2eb2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.7.2_A1; >-* @section: 11.7.2, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between ShiftExpression and ">>" or between ">>" and AdditiveExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("-4\u0009>>\u00091") !== -2) { >- testFailed('#1: -4\\u0009>>\\u00091 === -2'); >-} >- >-//CHECK#2 >-if (eval("-4\u000B>>\u000B1") !== -2) { >- testFailed('#2: -4\\u000B>>\\u000B1 === -2'); >-} >- >-//CHECK#3 >-if (eval("-4\u000C>>\u000C1") !== -2) { >- testFailed('#3: -4\\u000C>>\\u000C1 === -2'); >-} >- >-//CHECK#4 >-if (eval("-4\u0020>>\u00201") !== -2) { >- testFailed('#4: -4\\u0020>>\\u00201 === -2'); >-} >- >-//CHECK#5 >-if (eval("-4\u00A0>>\u00A01") !== -2) { >- testFailed('#5: -4\\u00A0>>\\u00A01 === -2'); >-} >- >-//CHECK#6 >-if (eval("-4\u000A>>\u000A1") !== -2) { >- testFailed('#6: -4\\u000A>>\\u000A1 === -2'); >-} >- >-//CHECK#7 >-if (eval("-4\u000D>>\u000D1") !== -2) { >- testFailed('#7: -4\\u000D>>\\u000D1 === -2'); >-} >- >-//CHECK#8 >-if (eval("-4\u2028>>\u20281") !== -2) { >- testFailed('#8: -4\\u2028>>\\u20281 === -2'); >-} >- >-//CHECK#9 >-if (eval("-4\u2029>>\u20291") !== -2) { >- testFailed('#9: -4\\u2029>>\\u20291 === -2'); >-} >- >-//CHECK#10 >-if (eval("-4\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== -2) { >- testFailed('#10: -4\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === -2'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1-expected.txt >deleted file mode 100644 >index 273bbd4963c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1.html >deleted file mode 100644 >index 72f36ec269e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.7.2_A2.1_T1; >-* @section: 11.7.2; >-* @assertion: Operator x >> y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (-4 >> 1 !== -2) { >- testFailed('#1: -4 >> 1 === -2. Actual: ' + (-4 >> 1)); >-} >- >-//CHECK#2 >-var x = -4; >-if (x >> 1 !== -2) { >- testFailed('#2: var x = -4; x >> 1 === -2. Actual: ' + (x >> 1)); >-} >- >-//CHECK#3 >-var y = 1; >-if (-4 >> y !== -2) { >- testFailed('#3: var y = 1; -4 >> y === -2. Actual: ' + (-4 >> y)); >-} >- >-//CHECK#4 >-var x = -4; >-var y = 1; >-if (x >> y !== -2) { >- testFailed('#4: var x = -4; var y = 1; x >> y === -2. Actual: ' + (x >> y)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = -4; >-objecty.prop = 1; >-if (objectx.prop >> objecty.prop !== -2) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = -4; objecty.prop = 1; objectx.prop >> objecty.prop === -2. Actual: ' + (objectx.prop >> objecty.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2-expected.txt >deleted file mode 100644 >index e108f526512..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2.html >deleted file mode 100644 >index 6d278dd25e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A2.1_T2; >- * @section: 11.7.2; >- * @assertion: Operator x >> y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x >> 1; >- testFailed('#1.1: x >> 1 throw ReferenceError. Actual: ' + (x >> 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x >> 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3-expected.txt >deleted file mode 100644 >index 5eaa1f253dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3.html >deleted file mode 100644 >index 16d2834bb58..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A2.1_T3; >- * @section: 11.7.2; >- * @assertion: Operator x >> y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 >> y; >- testFailed('#1.1: 1 >> y throw ReferenceError. Actual: ' + (1 >> y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 >> y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1-expected.txt >deleted file mode 100644 >index 18687a9f080..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1.html >deleted file mode 100644 >index dd92cba21d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A2.2_T1; >- * @section: 11.7.2, 8.6.2.6; >- * @assertion: Operator x >> y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return -4}} >> 1 !== -2) { >- testFailed('#1: {valueOf: function() {return -4}} >> 1 === -2. Actual: ' + ({valueOf: function() {return -4}} >> 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return -4}, toString: function() {return 0}} >> 1 !== -2) { >- testFailed('#2: {valueOf: function() {return -4}, toString: function() {return 0}} >> 1 === -2. Actual: ' + ({valueOf: function() {return -4}, toString: function() {return 0}} >> 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return -4}, toString: function() {return {}}} >> 1 !== -2) { >- testFailed('#3: {valueOf: function() {return -4}, toString: function() {return {}}} >> 1 === -2. Actual: ' + ({valueOf: function() {return -4}, toString: function() {return {}}} >> 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1 !== -2) { >- testFailed('#4.1: {valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1 === -2. Actual: ' + ({valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return -4}, toString: function() {throw "error"}} >> 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (-4 >> {toString: function() {return 1}} !== -2) { >- testFailed('#5: -4 >> {toString: function() {return 1}} === -2. Actual: ' + (-4 >> {toString: function() {return 1}})); >-} >- >-//CHECK#6 >-if (-4 >> {valueOf: function() {return {}}, toString: function() {return 1}} !== -2) { >- testFailed('#6: -4 >> {valueOf: function() {return {}}, toString: function() {return 1}} === -2. Actual: ' + (-4 >> {valueOf: function() {return {}}, toString: function() {return 1}})); >-} >- >-//CHECK#7 >-try { >- -4 >> {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: -4 >> {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (-4 >> {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: -4 >> {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- -4 >> {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: -4 >> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (-4 >> {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: -4 >> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1-expected.txt >deleted file mode 100644 >index d6b57ae945c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1.html >deleted file mode 100644 >index 11ce1e241da..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A2.3_T1; >- * @section: 11.7.2; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x >> y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >> y throw "x". Actual: ' + (x >> y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >> y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1-expected.txt >deleted file mode 100644 >index 17151f099f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1.html >deleted file mode 100644 >index ad8c2f0f1d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A2.4_T1; >- * @section: 11.7.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) >> x !== 0) { >- testFailed('#1: var x = 0; (x = 1) >> x === 0. Actual: ' + ((x = 1) >> x)); >-} >- >-//CHECK#2 >-var x = -4; >-if (x >> (x = 1) !== -2) { >- testFailed('#2: var x = -4; x >> (x = 1) === -2. Actual: ' + (x >> (x = 1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2-expected.txt >deleted file mode 100644 >index ecf714d5d09..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2.html >deleted file mode 100644 >index c35da05d2aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A2.4_T2; >- * @section: 11.7.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() >> y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >> y() throw "x". Actual: ' + (x() >> y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >> y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3-expected.txt >deleted file mode 100644 >index a301a10cbfd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3.html >deleted file mode 100644 >index d1aa1998899..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A2.4_T3; >- * @section: 11.7.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x >> (x = 1); >- testFailed('#1.1: x >> (x = 1) throw ReferenceError. Actual: ' + (x >> (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x >> (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) >> y !== 0) { >- testFailed('#2: (y = 1) >> y === 0. Actual: ' + ((y = 1) >> y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1-expected.txt >deleted file mode 100644 >index 8cb3f084d29..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1.html >deleted file mode 100644 >index 918a8dbb162..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T1.1; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true >> true !== 0) { >- testFailed('#1: true >> true === 0. Actual: ' + (true >> true)); >-} >- >-//CHECK#2 >-if (new Boolean(true) >> true !== 0) { >- testFailed('#2: new Boolean(true) >> true === 0. Actual: ' + (new Boolean(true) >> true)); >-} >- >-//CHECK#3 >-if (true >> new Boolean(true) !== 0) { >- testFailed('#3: true >> new Boolean(true) === 0. Actual: ' + (true >> new Boolean(true))); >-} >- >-//CHECK#4 >-if (new Boolean(true) >> new Boolean(true) !== 0) { >- testFailed('#4: new Boolean(true) >> new Boolean(true) === 0. Actual: ' + (new Boolean(true) >> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2-expected.txt >deleted file mode 100644 >index 815fde752b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2.html >deleted file mode 100644 >index 22093038153..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T1.2; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 >> 1 !== 0) { >- testFailed('#1: 1 >> 1 === 0. Actual: ' + (1 >> 1)); >-} >- >-//CHECK#2 >-if (new Number(1) >> 1 !== 0) { >- testFailed('#2: new Number(1) >> 1 === 0. Actual: ' + (new Number(1) >> 1)); >-} >- >-//CHECK#3 >-if (1 >> new Number(1) !== 0) { >- testFailed('#3: 1 >> new Number(1) === 0. Actual: ' + (1 >> new Number(1))); >-} >- >-//CHECK#4 >-if (new Number(1) >> new Number(1) !== 0) { >- testFailed('#4: new Number(1) >> new Number(1) === 0. Actual: ' + (new Number(1) >> new Number(1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3-expected.txt >deleted file mode 100644 >index 4fa982e46e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3.html >deleted file mode 100644 >index e857dd6f0f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T1.3; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" >> "1" !== 0) { >- testFailed('#1: "1" >> "1" === 0. Actual: ' + ("1" >> "1")); >-} >- >-//CHECK#2 >-if (new String("1") >> "1" !== 0) { >- testFailed('#2: new String("1") >> "1" === 0. Actual: ' + (new String("1") >> "1")); >-} >- >-//CHECK#3 >-if ("1" >> new String("1") !== 0) { >- testFailed('#3: "1" >> new String("1") === 0. Actual: ' + ("1" >> new String("1"))); >-} >- >-//CHECK#4 >-if (new String("1") >> new String("1") !== 0) { >- testFailed('#4: new String("1") >> new String("1") === 0. Actual: ' + (new String("1") >> new String("1"))); >-} >- >-//CHECK#5 >-if ("x" >> "1" !== 0) { >- testFailed('#5: "x" >> "1" === 0. Actual: ' + ("x" >> "1")); >-} >- >-//CHECK#6 >-if ("1" >> "x" !== 1) { >- testFailed('#6: "1" >> "x" === 1. Actual: ' + ("1" >> "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4-expected.txt >deleted file mode 100644 >index 0c1fc8268e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4.html >deleted file mode 100644 >index 7c81eb9129e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T1.4; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (null >> undefined !== 0) { >- testFailed('#1: null >> undefined === 0. Actual: ' + (null >> undefined)); >-} >- >-//CHECK#2 >-if (undefined >> null !== 0) { >- testFailed('#2: undefined >> null === 0. Actual: ' + (undefined >> null)); >-} >- >-//CHECK#3 >-if (undefined >> undefined !== 0) { >- testFailed('#3: undefined >> undefined === 0. Actual: ' + (undefined >> undefined)); >-} >- >-//CHECK#4 >-if (null >> null !== 0) { >- testFailed('#4: null >> null === 0. Actual: ' + (null >> null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5-expected.txt >deleted file mode 100644 >index eb091d89268..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5.html >deleted file mode 100644 >index 7ea4cc507db..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T1.5.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T1.5; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) and Type(y) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} >> function(){return 1}) !== 0) { >- testFailed('#1: ({} >> function(){return 1}) === 0. Actual: ' + (({} >> function(){return 1}))); >-} >- >-//CHECK#2 >-if ((function(){return 1} >> {}) !== 0) { >- testFailed('#2: (function(){return 1} >> {}) === 0. Actual: ' + ((function(){return 1} >> {}))); >-} >- >-//CHECK#3 >-if ((function(){return 1} >> function(){return 1}) !== 0) { >- testFailed('#3: (function(){return 1} >> function(){return 1}) === 0. Actual: ' + ((function(){return 1} >> function(){return 1}))); >-} >- >-//CHECK#4 >-if (({} >> {}) !== 0) { >- testFailed('#4: ({} >> {}) === 0. Actual: ' + (({} >> {}))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1-expected.txt >deleted file mode 100644 >index 87e9d2f7e68..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1.html >deleted file mode 100644 >index 3d32283a126..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.1; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true >> 1 !== 0) { >- testFailed('#1: true >> 1 === 0. Actual: ' + (true >> 1)); >-} >- >-//CHECK#2 >-if (1 >> true !== 0) { >- testFailed('#2: 1 >> true === 0. Actual: ' + (1 >> true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) >> 1 !== 0) { >- testFailed('#3: new Boolean(true) >> 1 === 0. Actual: ' + (new Boolean(true) >> 1)); >-} >- >-//CHECK#4 >-if (1 >> new Boolean(true) !== 0) { >- testFailed('#4: 1 >> new Boolean(true) === 0. Actual: ' + (1 >> new Boolean(true))); >-} >- >-//CHECK#5 >-if (true >> new Number(1) !== 0) { >- testFailed('#5: true >> new Number(1) === 0. Actual: ' + (true >> new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) >> true !== 0) { >- testFailed('#6: new Number(1) >> true === 0. Actual: ' + (new Number(1) >> true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) >> new Number(1) !== 0) { >- testFailed('#7: new Boolean(true) >> new Number(1) === 0. Actual: ' + (new Boolean(true) >> new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) >> new Boolean(true) !== 0) { >- testFailed('#8: new Number(1) >> new Boolean(true) === 0. Actual: ' + (new Number(1) >> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2-expected.txt >deleted file mode 100644 >index cd945b462eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2.html >deleted file mode 100644 >index f50bdb9288c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.2; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" >> 1 !== 0) { >- testFailed('#1: "1" >> 1 === 0. Actual: ' + ("1" >> 1)); >-} >- >-//CHECK#2 >-if (1 >> "1" !== 0) { >- testFailed('#2: 1 >> "1" === 0. Actual: ' + (1 >> "1")); >-} >- >-//CHECK#3 >-if (new String("1") >> 1 !== 0) { >- testFailed('#3: new String("1") >> 1 === 0. Actual: ' + (new String("1") >> 1)); >-} >- >-//CHECK#4 >-if (1 >> new String("1") !== 0) { >- testFailed('#4: 1 >> new String("1") === 0. Actual: ' + (1 >> new String("1"))); >-} >- >-//CHECK#5 >-if ("1" >> new Number(1) !== 0) { >- testFailed('#5: "1" >> new Number(1) === 0. Actual: ' + ("1" >> new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) >> "1" !== 0) { >- testFailed('#6: new Number(1) >> "1" === 0. Actual: ' + (new Number(1) >> "1")); >-} >- >-//CHECK#7 >-if (new String("1") >> new Number(1) !== 0) { >- testFailed('#7: new String("1") >> new Number(1) === 0. Actual: ' + (new String("1") >> new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) >> new String("1") !== 0) { >- testFailed('#8: new Number(1) >> new String("1") === 0. Actual: ' + (new Number(1) >> new String("1"))); >-} >- >-//CHECK#9 >-if ("x" >> 1 !== 0) { >- testFailed('#9: "x" >> 1 === 0. Actual: ' + ("x" >> 1)); >-} >- >-//CHECK#10 >-if (1 >> "x" !== 1) { >- testFailed('#10: 1 >> "x" === 1. Actual: ' + (1 >> "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3-expected.txt >deleted file mode 100644 >index 49dbb34a1c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3.html >deleted file mode 100644 >index 59b3d6dc58f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.3; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 >> null !== 1) { >- testFailed('#1: 1 >> null === 1. Actual: ' + (1 >> null)); >-} >- >-//CHECK#2 >-if (null >> 1 !== 0) { >- testFailed('#2: null >> 1 === 0. Actual: ' + (null >> 1)); >-} >- >-//CHECK#3 >-if (new Number(1) >> null !== 1) { >- testFailed('#3: new Number(1) >> null === 1. Actual: ' + (new Number(1) >> null)); >-} >- >-//CHECK#4 >-if (null >> new Number(1) !== 0) { >- testFailed('#4: null >> new Number(1) === 0. Actual: ' + (null >> new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4-expected.txt >deleted file mode 100644 >index 09654948b65..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4.html >deleted file mode 100644 >index 7d9baf340eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.4; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (1 >> undefined !== 1) { >- testFailed('#1: 1 >> undefined === 1. Actual: ' + (1 >> undefined)); >-} >- >-//CHECK#2 >-if (undefined >> 1 !== 0) { >- testFailed('#2: undefined >> 1 === 0. Actual: ' + (undefined >> 1)); >-} >- >-//CHECK#3 >-if (new Number(1) >> undefined !== 1) { >- testFailed('#3: new Number(1) >> undefined === 1. Actual: ' + (new Number(1) >> undefined)); >-} >- >-//CHECK#4 >-if (undefined >> new Number(1) !== 0) { >- testFailed('#4: undefined >> new Number(1) === 0. Actual: ' + (undefined >> new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5-expected.txt >deleted file mode 100644 >index c733d1e7a8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5.html >deleted file mode 100644 >index 3289e8ed55e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.5; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true >> "1" !== 0) { >- testFailed('#1: true >> "1" === 0. Actual: ' + (true >> "1")); >-} >- >-//CHECK#2 >-if ("1" >> true !== 0) { >- testFailed('#2: "1" >> true === 0. Actual: ' + ("1" >> true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) >> "1" !== 0) { >- testFailed('#3: new Boolean(true) >> "1" === 0. Actual: ' + (new Boolean(true) >> "1")); >-} >- >-//CHECK#4 >-if ("1" >> new Boolean(true) !== 0) { >- testFailed('#4: "1" >> new Boolean(true) === 0. Actual: ' + ("1" >> new Boolean(true))); >-} >- >-//CHECK#5 >-if (true >> new String("1") !== 0) { >- testFailed('#5: true >> new String("1") === 0. Actual: ' + (true >> new String("1"))); >-} >- >-//CHECK#6 >-if (new String("1") >> true !== 0) { >- testFailed('#6: new String("1") >> true === 0. Actual: ' + (new String("1") >> true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) >> new String("1") !== 0) { >- testFailed('#7: new Boolean(true) >> new String("1") === 0. Actual: ' + (new Boolean(true) >> new String("1"))); >-} >- >-//CHECK#8 >-if (new String("1") >> new Boolean(true) !== 0) { >- testFailed('#8: new String("1") >> new Boolean(true) === 0. Actual: ' + (new String("1") >> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6-expected.txt >deleted file mode 100644 >index b638a0a7139..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6.html >deleted file mode 100644 >index 760b8db1f01..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.6; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ("1" >> undefined !== 1) { >- testFailed('#1: "1" >> undefined === 1. Actual: ' + ("1" >> undefined)); >-} >- >-//CHECK#2 >-if (undefined >> "1" !== 0) { >- testFailed('#2: undefined >> "1" === 0. Actual: ' + (undefined >> "1")); >-} >- >-//CHECK#3 >-if (new String("1") >> undefined !== 1) { >- testFailed('#3: new String("1") >> undefined === 1. Actual: ' + (new String("1") >> undefined)); >-} >- >-//CHECK#4 >-if (undefined >> new String("1") !== 0) { >- testFailed('#4: undefined >> new String("1") === 0. Actual: ' + (undefined >> new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7-expected.txt >deleted file mode 100644 >index efb4c127e73..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7.html >deleted file mode 100644 >index 7544431da65..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.7; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" >> null !== 1) { >- testFailed('#1: "1" >> null === 1. Actual: ' + ("1" >> null)); >-} >- >-//CHECK#2 >-if (null >> "1" !== 0) { >- testFailed('#2: null >> "1" === 0. Actual: ' + (null >> "1")); >-} >- >-//CHECK#3 >-if (new String("1") >> null !== 1) { >- testFailed('#3: new String("1") >> null === 1. Actual: ' + (new String("1") >> null)); >-} >- >-//CHECK#4 >-if (null >> new String("1") !== 0) { >- testFailed('#4: null >> new String("1") === 0. Actual: ' + (null >> new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8-expected.txt >deleted file mode 100644 >index de573756f2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8.html >deleted file mode 100644 >index f0f1357522a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.8; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (true >> undefined !== 1) { >- testFailed('#1: true >> undefined === 1. Actual: ' + (true >> undefined)); >-} >- >-//CHECK#2 >-if (undefined >> true !== 0) { >- testFailed('#2: undefined >> true === 0. Actual: ' + (undefined >> true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) >> undefined !== 1) { >- testFailed('#3: new Boolean(true) >> undefined === 1. Actual: ' + (new Boolean(true) >> undefined)); >-} >- >-//CHECK#4 >-if (undefined >> new Boolean(true) !== 0) { >- testFailed('#4: undefined >> new Boolean(true) === 0. Actual: ' + (undefined >> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9-expected.txt >deleted file mode 100644 >index 153c07517b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9.html >deleted file mode 100644 >index 802263ecca1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A3_T2.9; >- * @section: 11.7.2; >- * @assertion: Operator x >> y returns ToNumber(x) >> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true >> null !== 1) { >- testFailed('#1: true >> null === 1. Actual: ' + (true >> null)); >-} >- >-//CHECK#2 >-if (null >> true !== 0) { >- testFailed('#2: null >> true === 0. Actual: ' + (null >> true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) >> null !== 1) { >- testFailed('#3: new Boolean(true) >> null === 1. Actual: ' + (new Boolean(true) >> null)); >-} >- >-//CHECK#4 >-if (null >> new Boolean(true) !== 0) { >- testFailed('#4: null >> new Boolean(true) === 0. Actual: ' + (null >> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1-expected.txt >deleted file mode 100644 >index 68a0a3c983e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.html >deleted file mode 100644 >index 580414c5409..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.html >+++ /dev/null >@@ -1,2653 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A4_T1; >- * @section: 11.7.2; >- * @assertion: Check x >> y operator in distinct points; >- * @description: ShiftExpression = -2^n, n = 0...15; >- */ >- >-//CHECK >- >-if (-1 >> 0 !== -1) { >- testFailed('#1: -1 >> 0 === -1. Actual: ' + (-1 >> 0)); >-} >- >- >-if (-2 >> 0 !== -2) { >- testFailed('#2: -2 >> 0 === -2. Actual: ' + (-2 >> 0)); >-} >- >- >-if (-4 >> 0 !== -4) { >- testFailed('#3: -4 >> 0 === -4. Actual: ' + (-4 >> 0)); >-} >- >- >-if (-8 >> 0 !== -8) { >- testFailed('#4: -8 >> 0 === -8. Actual: ' + (-8 >> 0)); >-} >- >- >-if (-16 >> 0 !== -16) { >- testFailed('#5: -16 >> 0 === -16. Actual: ' + (-16 >> 0)); >-} >- >- >-if (-32 >> 0 !== -32) { >- testFailed('#6: -32 >> 0 === -32. Actual: ' + (-32 >> 0)); >-} >- >- >-if (-64 >> 0 !== -64) { >- testFailed('#7: -64 >> 0 === -64. Actual: ' + (-64 >> 0)); >-} >- >- >-if (-128 >> 0 !== -128) { >- testFailed('#8: -128 >> 0 === -128. Actual: ' + (-128 >> 0)); >-} >- >- >-if (-256 >> 0 !== -256) { >- testFailed('#9: -256 >> 0 === -256. Actual: ' + (-256 >> 0)); >-} >- >- >-if (-512 >> 0 !== -512) { >- testFailed('#10: -512 >> 0 === -512. Actual: ' + (-512 >> 0)); >-} >- >- >-if (-1024 >> 0 !== -1024) { >- testFailed('#11: -1024 >> 0 === -1024. Actual: ' + (-1024 >> 0)); >-} >- >- >-if (-2048 >> 0 !== -2048) { >- testFailed('#12: -2048 >> 0 === -2048. Actual: ' + (-2048 >> 0)); >-} >- >- >-if (-4096 >> 0 !== -4096) { >- testFailed('#13: -4096 >> 0 === -4096. Actual: ' + (-4096 >> 0)); >-} >- >- >-if (-8192 >> 0 !== -8192) { >- testFailed('#14: -8192 >> 0 === -8192. Actual: ' + (-8192 >> 0)); >-} >- >- >-if (-16384 >> 0 !== -16384) { >- testFailed('#15: -16384 >> 0 === -16384. Actual: ' + (-16384 >> 0)); >-} >- >- >-if (-32768 >> 0 !== -32768) { >- testFailed('#16: -32768 >> 0 === -32768. Actual: ' + (-32768 >> 0)); >-} >- >- >-if (-65536 >> 0 !== -65536) { >- testFailed('#17: -65536 >> 0 === -65536. Actual: ' + (-65536 >> 0)); >-} >- >- >-if (-131072 >> 0 !== -131072) { >- testFailed('#18: -131072 >> 0 === -131072. Actual: ' + (-131072 >> 0)); >-} >- >- >-if (-262144 >> 0 !== -262144) { >- testFailed('#19: -262144 >> 0 === -262144. Actual: ' + (-262144 >> 0)); >-} >- >- >-if (-524288 >> 0 !== -524288) { >- testFailed('#20: -524288 >> 0 === -524288. Actual: ' + (-524288 >> 0)); >-} >- >- >-if (-1048576 >> 0 !== -1048576) { >- testFailed('#21: -1048576 >> 0 === -1048576. Actual: ' + (-1048576 >> 0)); >-} >- >- >-if (-2097152 >> 0 !== -2097152) { >- testFailed('#22: -2097152 >> 0 === -2097152. Actual: ' + (-2097152 >> 0)); >-} >- >- >-if (-4194304 >> 0 !== -4194304) { >- testFailed('#23: -4194304 >> 0 === -4194304. Actual: ' + (-4194304 >> 0)); >-} >- >- >-if (-8388608 >> 0 !== -8388608) { >- testFailed('#24: -8388608 >> 0 === -8388608. Actual: ' + (-8388608 >> 0)); >-} >- >- >-if (-16777216 >> 0 !== -16777216) { >- testFailed('#25: -16777216 >> 0 === -16777216. Actual: ' + (-16777216 >> 0)); >-} >- >- >-if (-33554432 >> 0 !== -33554432) { >- testFailed('#26: -33554432 >> 0 === -33554432. Actual: ' + (-33554432 >> 0)); >-} >- >- >-if (-67108864 >> 0 !== -67108864) { >- testFailed('#27: -67108864 >> 0 === -67108864. Actual: ' + (-67108864 >> 0)); >-} >- >- >-if (-134217728 >> 0 !== -134217728) { >- testFailed('#28: -134217728 >> 0 === -134217728. Actual: ' + (-134217728 >> 0)); >-} >- >- >-if (-268435456 >> 0 !== -268435456) { >- testFailed('#29: -268435456 >> 0 === -268435456. Actual: ' + (-268435456 >> 0)); >-} >- >- >-if (-536870912 >> 0 !== -536870912) { >- testFailed('#30: -536870912 >> 0 === -536870912. Actual: ' + (-536870912 >> 0)); >-} >- >- >-if (-1073741824 >> 0 !== -1073741824) { >- testFailed('#31: -1073741824 >> 0 === -1073741824. Actual: ' + (-1073741824 >> 0)); >-} >- >- >-if (-2147483648 >> 0 !== -2147483648) { >- testFailed('#32: -2147483648 >> 0 === -2147483648. Actual: ' + (-2147483648 >> 0)); >-} >- >- >-if (-1 >> 1 !== -1) { >- testFailed('#33: -1 >> 1 === -1. Actual: ' + (-1 >> 1)); >-} >- >- >-if (-2 >> 1 !== -1) { >- testFailed('#34: -2 >> 1 === -1. Actual: ' + (-2 >> 1)); >-} >- >- >-if (-4 >> 1 !== -2) { >- testFailed('#35: -4 >> 1 === -2. Actual: ' + (-4 >> 1)); >-} >- >- >-if (-8 >> 1 !== -4) { >- testFailed('#36: -8 >> 1 === -4. Actual: ' + (-8 >> 1)); >-} >- >- >-if (-16 >> 1 !== -8) { >- testFailed('#37: -16 >> 1 === -8. Actual: ' + (-16 >> 1)); >-} >- >- >-if (-32 >> 1 !== -16) { >- testFailed('#38: -32 >> 1 === -16. Actual: ' + (-32 >> 1)); >-} >- >- >-if (-64 >> 1 !== -32) { >- testFailed('#39: -64 >> 1 === -32. Actual: ' + (-64 >> 1)); >-} >- >- >-if (-128 >> 1 !== -64) { >- testFailed('#40: -128 >> 1 === -64. Actual: ' + (-128 >> 1)); >-} >- >- >-if (-256 >> 1 !== -128) { >- testFailed('#41: -256 >> 1 === -128. Actual: ' + (-256 >> 1)); >-} >- >- >-if (-512 >> 1 !== -256) { >- testFailed('#42: -512 >> 1 === -256. Actual: ' + (-512 >> 1)); >-} >- >- >-if (-1024 >> 1 !== -512) { >- testFailed('#43: -1024 >> 1 === -512. Actual: ' + (-1024 >> 1)); >-} >- >- >-if (-2048 >> 1 !== -1024) { >- testFailed('#44: -2048 >> 1 === -1024. Actual: ' + (-2048 >> 1)); >-} >- >- >-if (-4096 >> 1 !== -2048) { >- testFailed('#45: -4096 >> 1 === -2048. Actual: ' + (-4096 >> 1)); >-} >- >- >-if (-8192 >> 1 !== -4096) { >- testFailed('#46: -8192 >> 1 === -4096. Actual: ' + (-8192 >> 1)); >-} >- >- >-if (-16384 >> 1 !== -8192) { >- testFailed('#47: -16384 >> 1 === -8192. Actual: ' + (-16384 >> 1)); >-} >- >- >-if (-32768 >> 1 !== -16384) { >- testFailed('#48: -32768 >> 1 === -16384. Actual: ' + (-32768 >> 1)); >-} >- >- >-if (-65536 >> 1 !== -32768) { >- testFailed('#49: -65536 >> 1 === -32768. Actual: ' + (-65536 >> 1)); >-} >- >- >-if (-131072 >> 1 !== -65536) { >- testFailed('#50: -131072 >> 1 === -65536. Actual: ' + (-131072 >> 1)); >-} >- >- >-if (-262144 >> 1 !== -131072) { >- testFailed('#51: -262144 >> 1 === -131072. Actual: ' + (-262144 >> 1)); >-} >- >- >-if (-524288 >> 1 !== -262144) { >- testFailed('#52: -524288 >> 1 === -262144. Actual: ' + (-524288 >> 1)); >-} >- >- >-if (-1048576 >> 1 !== -524288) { >- testFailed('#53: -1048576 >> 1 === -524288. Actual: ' + (-1048576 >> 1)); >-} >- >- >-if (-2097152 >> 1 !== -1048576) { >- testFailed('#54: -2097152 >> 1 === -1048576. Actual: ' + (-2097152 >> 1)); >-} >- >- >-if (-4194304 >> 1 !== -2097152) { >- testFailed('#55: -4194304 >> 1 === -2097152. Actual: ' + (-4194304 >> 1)); >-} >- >- >-if (-8388608 >> 1 !== -4194304) { >- testFailed('#56: -8388608 >> 1 === -4194304. Actual: ' + (-8388608 >> 1)); >-} >- >- >-if (-16777216 >> 1 !== -8388608) { >- testFailed('#57: -16777216 >> 1 === -8388608. Actual: ' + (-16777216 >> 1)); >-} >- >- >-if (-33554432 >> 1 !== -16777216) { >- testFailed('#58: -33554432 >> 1 === -16777216. Actual: ' + (-33554432 >> 1)); >-} >- >- >-if (-67108864 >> 1 !== -33554432) { >- testFailed('#59: -67108864 >> 1 === -33554432. Actual: ' + (-67108864 >> 1)); >-} >- >- >-if (-134217728 >> 1 !== -67108864) { >- testFailed('#60: -134217728 >> 1 === -67108864. Actual: ' + (-134217728 >> 1)); >-} >- >- >-if (-268435456 >> 1 !== -134217728) { >- testFailed('#61: -268435456 >> 1 === -134217728. Actual: ' + (-268435456 >> 1)); >-} >- >- >-if (-536870912 >> 1 !== -268435456) { >- testFailed('#62: -536870912 >> 1 === -268435456. Actual: ' + (-536870912 >> 1)); >-} >- >- >-if (-1073741824 >> 1 !== -536870912) { >- testFailed('#63: -1073741824 >> 1 === -536870912. Actual: ' + (-1073741824 >> 1)); >-} >- >- >-if (-2147483648 >> 1 !== -1073741824) { >- testFailed('#64: -2147483648 >> 1 === -1073741824. Actual: ' + (-2147483648 >> 1)); >-} >- >- >-if (-1 >> 2 !== -1) { >- testFailed('#65: -1 >> 2 === -1. Actual: ' + (-1 >> 2)); >-} >- >- >-if (-2 >> 2 !== -1) { >- testFailed('#66: -2 >> 2 === -1. Actual: ' + (-2 >> 2)); >-} >- >- >-if (-4 >> 2 !== -1) { >- testFailed('#67: -4 >> 2 === -1. Actual: ' + (-4 >> 2)); >-} >- >- >-if (-8 >> 2 !== -2) { >- testFailed('#68: -8 >> 2 === -2. Actual: ' + (-8 >> 2)); >-} >- >- >-if (-16 >> 2 !== -4) { >- testFailed('#69: -16 >> 2 === -4. Actual: ' + (-16 >> 2)); >-} >- >- >-if (-32 >> 2 !== -8) { >- testFailed('#70: -32 >> 2 === -8. Actual: ' + (-32 >> 2)); >-} >- >- >-if (-64 >> 2 !== -16) { >- testFailed('#71: -64 >> 2 === -16. Actual: ' + (-64 >> 2)); >-} >- >- >-if (-128 >> 2 !== -32) { >- testFailed('#72: -128 >> 2 === -32. Actual: ' + (-128 >> 2)); >-} >- >- >-if (-256 >> 2 !== -64) { >- testFailed('#73: -256 >> 2 === -64. Actual: ' + (-256 >> 2)); >-} >- >- >-if (-512 >> 2 !== -128) { >- testFailed('#74: -512 >> 2 === -128. Actual: ' + (-512 >> 2)); >-} >- >- >-if (-1024 >> 2 !== -256) { >- testFailed('#75: -1024 >> 2 === -256. Actual: ' + (-1024 >> 2)); >-} >- >- >-if (-2048 >> 2 !== -512) { >- testFailed('#76: -2048 >> 2 === -512. Actual: ' + (-2048 >> 2)); >-} >- >- >-if (-4096 >> 2 !== -1024) { >- testFailed('#77: -4096 >> 2 === -1024. Actual: ' + (-4096 >> 2)); >-} >- >- >-if (-8192 >> 2 !== -2048) { >- testFailed('#78: -8192 >> 2 === -2048. Actual: ' + (-8192 >> 2)); >-} >- >- >-if (-16384 >> 2 !== -4096) { >- testFailed('#79: -16384 >> 2 === -4096. Actual: ' + (-16384 >> 2)); >-} >- >- >-if (-32768 >> 2 !== -8192) { >- testFailed('#80: -32768 >> 2 === -8192. Actual: ' + (-32768 >> 2)); >-} >- >- >-if (-65536 >> 2 !== -16384) { >- testFailed('#81: -65536 >> 2 === -16384. Actual: ' + (-65536 >> 2)); >-} >- >- >-if (-131072 >> 2 !== -32768) { >- testFailed('#82: -131072 >> 2 === -32768. Actual: ' + (-131072 >> 2)); >-} >- >- >-if (-262144 >> 2 !== -65536) { >- testFailed('#83: -262144 >> 2 === -65536. Actual: ' + (-262144 >> 2)); >-} >- >- >-if (-524288 >> 2 !== -131072) { >- testFailed('#84: -524288 >> 2 === -131072. Actual: ' + (-524288 >> 2)); >-} >- >- >-if (-1048576 >> 2 !== -262144) { >- testFailed('#85: -1048576 >> 2 === -262144. Actual: ' + (-1048576 >> 2)); >-} >- >- >-if (-2097152 >> 2 !== -524288) { >- testFailed('#86: -2097152 >> 2 === -524288. Actual: ' + (-2097152 >> 2)); >-} >- >- >-if (-4194304 >> 2 !== -1048576) { >- testFailed('#87: -4194304 >> 2 === -1048576. Actual: ' + (-4194304 >> 2)); >-} >- >- >-if (-8388608 >> 2 !== -2097152) { >- testFailed('#88: -8388608 >> 2 === -2097152. Actual: ' + (-8388608 >> 2)); >-} >- >- >-if (-16777216 >> 2 !== -4194304) { >- testFailed('#89: -16777216 >> 2 === -4194304. Actual: ' + (-16777216 >> 2)); >-} >- >- >-if (-33554432 >> 2 !== -8388608) { >- testFailed('#90: -33554432 >> 2 === -8388608. Actual: ' + (-33554432 >> 2)); >-} >- >- >-if (-67108864 >> 2 !== -16777216) { >- testFailed('#91: -67108864 >> 2 === -16777216. Actual: ' + (-67108864 >> 2)); >-} >- >- >-if (-134217728 >> 2 !== -33554432) { >- testFailed('#92: -134217728 >> 2 === -33554432. Actual: ' + (-134217728 >> 2)); >-} >- >- >-if (-268435456 >> 2 !== -67108864) { >- testFailed('#93: -268435456 >> 2 === -67108864. Actual: ' + (-268435456 >> 2)); >-} >- >- >-if (-536870912 >> 2 !== -134217728) { >- testFailed('#94: -536870912 >> 2 === -134217728. Actual: ' + (-536870912 >> 2)); >-} >- >- >-if (-1073741824 >> 2 !== -268435456) { >- testFailed('#95: -1073741824 >> 2 === -268435456. Actual: ' + (-1073741824 >> 2)); >-} >- >- >-if (-2147483648 >> 2 !== -536870912) { >- testFailed('#96: -2147483648 >> 2 === -536870912. Actual: ' + (-2147483648 >> 2)); >-} >- >- >-if (-1 >> 3 !== -1) { >- testFailed('#97: -1 >> 3 === -1. Actual: ' + (-1 >> 3)); >-} >- >- >-if (-2 >> 3 !== -1) { >- testFailed('#98: -2 >> 3 === -1. Actual: ' + (-2 >> 3)); >-} >- >- >-if (-4 >> 3 !== -1) { >- testFailed('#99: -4 >> 3 === -1. Actual: ' + (-4 >> 3)); >-} >- >- >-if (-8 >> 3 !== -1) { >- testFailed('#100: -8 >> 3 === -1. Actual: ' + (-8 >> 3)); >-} >- >- >-if (-16 >> 3 !== -2) { >- testFailed('#101: -16 >> 3 === -2. Actual: ' + (-16 >> 3)); >-} >- >- >-if (-32 >> 3 !== -4) { >- testFailed('#102: -32 >> 3 === -4. Actual: ' + (-32 >> 3)); >-} >- >- >-if (-64 >> 3 !== -8) { >- testFailed('#103: -64 >> 3 === -8. Actual: ' + (-64 >> 3)); >-} >- >- >-if (-128 >> 3 !== -16) { >- testFailed('#104: -128 >> 3 === -16. Actual: ' + (-128 >> 3)); >-} >- >- >-if (-256 >> 3 !== -32) { >- testFailed('#105: -256 >> 3 === -32. Actual: ' + (-256 >> 3)); >-} >- >- >-if (-512 >> 3 !== -64) { >- testFailed('#106: -512 >> 3 === -64. Actual: ' + (-512 >> 3)); >-} >- >- >-if (-1024 >> 3 !== -128) { >- testFailed('#107: -1024 >> 3 === -128. Actual: ' + (-1024 >> 3)); >-} >- >- >-if (-2048 >> 3 !== -256) { >- testFailed('#108: -2048 >> 3 === -256. Actual: ' + (-2048 >> 3)); >-} >- >- >-if (-4096 >> 3 !== -512) { >- testFailed('#109: -4096 >> 3 === -512. Actual: ' + (-4096 >> 3)); >-} >- >- >-if (-8192 >> 3 !== -1024) { >- testFailed('#110: -8192 >> 3 === -1024. Actual: ' + (-8192 >> 3)); >-} >- >- >-if (-16384 >> 3 !== -2048) { >- testFailed('#111: -16384 >> 3 === -2048. Actual: ' + (-16384 >> 3)); >-} >- >- >-if (-32768 >> 3 !== -4096) { >- testFailed('#112: -32768 >> 3 === -4096. Actual: ' + (-32768 >> 3)); >-} >- >- >-if (-65536 >> 3 !== -8192) { >- testFailed('#113: -65536 >> 3 === -8192. Actual: ' + (-65536 >> 3)); >-} >- >- >-if (-131072 >> 3 !== -16384) { >- testFailed('#114: -131072 >> 3 === -16384. Actual: ' + (-131072 >> 3)); >-} >- >- >-if (-262144 >> 3 !== -32768) { >- testFailed('#115: -262144 >> 3 === -32768. Actual: ' + (-262144 >> 3)); >-} >- >- >-if (-524288 >> 3 !== -65536) { >- testFailed('#116: -524288 >> 3 === -65536. Actual: ' + (-524288 >> 3)); >-} >- >- >-if (-1048576 >> 3 !== -131072) { >- testFailed('#117: -1048576 >> 3 === -131072. Actual: ' + (-1048576 >> 3)); >-} >- >- >-if (-2097152 >> 3 !== -262144) { >- testFailed('#118: -2097152 >> 3 === -262144. Actual: ' + (-2097152 >> 3)); >-} >- >- >-if (-4194304 >> 3 !== -524288) { >- testFailed('#119: -4194304 >> 3 === -524288. Actual: ' + (-4194304 >> 3)); >-} >- >- >-if (-8388608 >> 3 !== -1048576) { >- testFailed('#120: -8388608 >> 3 === -1048576. Actual: ' + (-8388608 >> 3)); >-} >- >- >-if (-16777216 >> 3 !== -2097152) { >- testFailed('#121: -16777216 >> 3 === -2097152. Actual: ' + (-16777216 >> 3)); >-} >- >- >-if (-33554432 >> 3 !== -4194304) { >- testFailed('#122: -33554432 >> 3 === -4194304. Actual: ' + (-33554432 >> 3)); >-} >- >- >-if (-67108864 >> 3 !== -8388608) { >- testFailed('#123: -67108864 >> 3 === -8388608. Actual: ' + (-67108864 >> 3)); >-} >- >- >-if (-134217728 >> 3 !== -16777216) { >- testFailed('#124: -134217728 >> 3 === -16777216. Actual: ' + (-134217728 >> 3)); >-} >- >- >-if (-268435456 >> 3 !== -33554432) { >- testFailed('#125: -268435456 >> 3 === -33554432. Actual: ' + (-268435456 >> 3)); >-} >- >- >-if (-536870912 >> 3 !== -67108864) { >- testFailed('#126: -536870912 >> 3 === -67108864. Actual: ' + (-536870912 >> 3)); >-} >- >- >-if (-1073741824 >> 3 !== -134217728) { >- testFailed('#127: -1073741824 >> 3 === -134217728. Actual: ' + (-1073741824 >> 3)); >-} >- >- >-if (-2147483648 >> 3 !== -268435456) { >- testFailed('#128: -2147483648 >> 3 === -268435456. Actual: ' + (-2147483648 >> 3)); >-} >- >- >-if (-1 >> 4 !== -1) { >- testFailed('#129: -1 >> 4 === -1. Actual: ' + (-1 >> 4)); >-} >- >- >-if (-2 >> 4 !== -1) { >- testFailed('#130: -2 >> 4 === -1. Actual: ' + (-2 >> 4)); >-} >- >- >-if (-4 >> 4 !== -1) { >- testFailed('#131: -4 >> 4 === -1. Actual: ' + (-4 >> 4)); >-} >- >- >-if (-8 >> 4 !== -1) { >- testFailed('#132: -8 >> 4 === -1. Actual: ' + (-8 >> 4)); >-} >- >- >-if (-16 >> 4 !== -1) { >- testFailed('#133: -16 >> 4 === -1. Actual: ' + (-16 >> 4)); >-} >- >- >-if (-32 >> 4 !== -2) { >- testFailed('#134: -32 >> 4 === -2. Actual: ' + (-32 >> 4)); >-} >- >- >-if (-64 >> 4 !== -4) { >- testFailed('#135: -64 >> 4 === -4. Actual: ' + (-64 >> 4)); >-} >- >- >-if (-128 >> 4 !== -8) { >- testFailed('#136: -128 >> 4 === -8. Actual: ' + (-128 >> 4)); >-} >- >- >-if (-256 >> 4 !== -16) { >- testFailed('#137: -256 >> 4 === -16. Actual: ' + (-256 >> 4)); >-} >- >- >-if (-512 >> 4 !== -32) { >- testFailed('#138: -512 >> 4 === -32. Actual: ' + (-512 >> 4)); >-} >- >- >-if (-1024 >> 4 !== -64) { >- testFailed('#139: -1024 >> 4 === -64. Actual: ' + (-1024 >> 4)); >-} >- >- >-if (-2048 >> 4 !== -128) { >- testFailed('#140: -2048 >> 4 === -128. Actual: ' + (-2048 >> 4)); >-} >- >- >-if (-4096 >> 4 !== -256) { >- testFailed('#141: -4096 >> 4 === -256. Actual: ' + (-4096 >> 4)); >-} >- >- >-if (-8192 >> 4 !== -512) { >- testFailed('#142: -8192 >> 4 === -512. Actual: ' + (-8192 >> 4)); >-} >- >- >-if (-16384 >> 4 !== -1024) { >- testFailed('#143: -16384 >> 4 === -1024. Actual: ' + (-16384 >> 4)); >-} >- >- >-if (-32768 >> 4 !== -2048) { >- testFailed('#144: -32768 >> 4 === -2048. Actual: ' + (-32768 >> 4)); >-} >- >- >-if (-65536 >> 4 !== -4096) { >- testFailed('#145: -65536 >> 4 === -4096. Actual: ' + (-65536 >> 4)); >-} >- >- >-if (-131072 >> 4 !== -8192) { >- testFailed('#146: -131072 >> 4 === -8192. Actual: ' + (-131072 >> 4)); >-} >- >- >-if (-262144 >> 4 !== -16384) { >- testFailed('#147: -262144 >> 4 === -16384. Actual: ' + (-262144 >> 4)); >-} >- >- >-if (-524288 >> 4 !== -32768) { >- testFailed('#148: -524288 >> 4 === -32768. Actual: ' + (-524288 >> 4)); >-} >- >- >-if (-1048576 >> 4 !== -65536) { >- testFailed('#149: -1048576 >> 4 === -65536. Actual: ' + (-1048576 >> 4)); >-} >- >- >-if (-2097152 >> 4 !== -131072) { >- testFailed('#150: -2097152 >> 4 === -131072. Actual: ' + (-2097152 >> 4)); >-} >- >- >-if (-4194304 >> 4 !== -262144) { >- testFailed('#151: -4194304 >> 4 === -262144. Actual: ' + (-4194304 >> 4)); >-} >- >- >-if (-8388608 >> 4 !== -524288) { >- testFailed('#152: -8388608 >> 4 === -524288. Actual: ' + (-8388608 >> 4)); >-} >- >- >-if (-16777216 >> 4 !== -1048576) { >- testFailed('#153: -16777216 >> 4 === -1048576. Actual: ' + (-16777216 >> 4)); >-} >- >- >-if (-33554432 >> 4 !== -2097152) { >- testFailed('#154: -33554432 >> 4 === -2097152. Actual: ' + (-33554432 >> 4)); >-} >- >- >-if (-67108864 >> 4 !== -4194304) { >- testFailed('#155: -67108864 >> 4 === -4194304. Actual: ' + (-67108864 >> 4)); >-} >- >- >-if (-134217728 >> 4 !== -8388608) { >- testFailed('#156: -134217728 >> 4 === -8388608. Actual: ' + (-134217728 >> 4)); >-} >- >- >-if (-268435456 >> 4 !== -16777216) { >- testFailed('#157: -268435456 >> 4 === -16777216. Actual: ' + (-268435456 >> 4)); >-} >- >- >-if (-536870912 >> 4 !== -33554432) { >- testFailed('#158: -536870912 >> 4 === -33554432. Actual: ' + (-536870912 >> 4)); >-} >- >- >-if (-1073741824 >> 4 !== -67108864) { >- testFailed('#159: -1073741824 >> 4 === -67108864. Actual: ' + (-1073741824 >> 4)); >-} >- >- >-if (-2147483648 >> 4 !== -134217728) { >- testFailed('#160: -2147483648 >> 4 === -134217728. Actual: ' + (-2147483648 >> 4)); >-} >- >- >-if (-1 >> 5 !== -1) { >- testFailed('#161: -1 >> 5 === -1. Actual: ' + (-1 >> 5)); >-} >- >- >-if (-2 >> 5 !== -1) { >- testFailed('#162: -2 >> 5 === -1. Actual: ' + (-2 >> 5)); >-} >- >- >-if (-4 >> 5 !== -1) { >- testFailed('#163: -4 >> 5 === -1. Actual: ' + (-4 >> 5)); >-} >- >- >-if (-8 >> 5 !== -1) { >- testFailed('#164: -8 >> 5 === -1. Actual: ' + (-8 >> 5)); >-} >- >- >-if (-16 >> 5 !== -1) { >- testFailed('#165: -16 >> 5 === -1. Actual: ' + (-16 >> 5)); >-} >- >- >-if (-32 >> 5 !== -1) { >- testFailed('#166: -32 >> 5 === -1. Actual: ' + (-32 >> 5)); >-} >- >- >-if (-64 >> 5 !== -2) { >- testFailed('#167: -64 >> 5 === -2. Actual: ' + (-64 >> 5)); >-} >- >- >-if (-128 >> 5 !== -4) { >- testFailed('#168: -128 >> 5 === -4. Actual: ' + (-128 >> 5)); >-} >- >- >-if (-256 >> 5 !== -8) { >- testFailed('#169: -256 >> 5 === -8. Actual: ' + (-256 >> 5)); >-} >- >- >-if (-512 >> 5 !== -16) { >- testFailed('#170: -512 >> 5 === -16. Actual: ' + (-512 >> 5)); >-} >- >- >-if (-1024 >> 5 !== -32) { >- testFailed('#171: -1024 >> 5 === -32. Actual: ' + (-1024 >> 5)); >-} >- >- >-if (-2048 >> 5 !== -64) { >- testFailed('#172: -2048 >> 5 === -64. Actual: ' + (-2048 >> 5)); >-} >- >- >-if (-4096 >> 5 !== -128) { >- testFailed('#173: -4096 >> 5 === -128. Actual: ' + (-4096 >> 5)); >-} >- >- >-if (-8192 >> 5 !== -256) { >- testFailed('#174: -8192 >> 5 === -256. Actual: ' + (-8192 >> 5)); >-} >- >- >-if (-16384 >> 5 !== -512) { >- testFailed('#175: -16384 >> 5 === -512. Actual: ' + (-16384 >> 5)); >-} >- >- >-if (-32768 >> 5 !== -1024) { >- testFailed('#176: -32768 >> 5 === -1024. Actual: ' + (-32768 >> 5)); >-} >- >- >-if (-65536 >> 5 !== -2048) { >- testFailed('#177: -65536 >> 5 === -2048. Actual: ' + (-65536 >> 5)); >-} >- >- >-if (-131072 >> 5 !== -4096) { >- testFailed('#178: -131072 >> 5 === -4096. Actual: ' + (-131072 >> 5)); >-} >- >- >-if (-262144 >> 5 !== -8192) { >- testFailed('#179: -262144 >> 5 === -8192. Actual: ' + (-262144 >> 5)); >-} >- >- >-if (-524288 >> 5 !== -16384) { >- testFailed('#180: -524288 >> 5 === -16384. Actual: ' + (-524288 >> 5)); >-} >- >- >-if (-1048576 >> 5 !== -32768) { >- testFailed('#181: -1048576 >> 5 === -32768. Actual: ' + (-1048576 >> 5)); >-} >- >- >-if (-2097152 >> 5 !== -65536) { >- testFailed('#182: -2097152 >> 5 === -65536. Actual: ' + (-2097152 >> 5)); >-} >- >- >-if (-4194304 >> 5 !== -131072) { >- testFailed('#183: -4194304 >> 5 === -131072. Actual: ' + (-4194304 >> 5)); >-} >- >- >-if (-8388608 >> 5 !== -262144) { >- testFailed('#184: -8388608 >> 5 === -262144. Actual: ' + (-8388608 >> 5)); >-} >- >- >-if (-16777216 >> 5 !== -524288) { >- testFailed('#185: -16777216 >> 5 === -524288. Actual: ' + (-16777216 >> 5)); >-} >- >- >-if (-33554432 >> 5 !== -1048576) { >- testFailed('#186: -33554432 >> 5 === -1048576. Actual: ' + (-33554432 >> 5)); >-} >- >- >-if (-67108864 >> 5 !== -2097152) { >- testFailed('#187: -67108864 >> 5 === -2097152. Actual: ' + (-67108864 >> 5)); >-} >- >- >-if (-134217728 >> 5 !== -4194304) { >- testFailed('#188: -134217728 >> 5 === -4194304. Actual: ' + (-134217728 >> 5)); >-} >- >- >-if (-268435456 >> 5 !== -8388608) { >- testFailed('#189: -268435456 >> 5 === -8388608. Actual: ' + (-268435456 >> 5)); >-} >- >- >-if (-536870912 >> 5 !== -16777216) { >- testFailed('#190: -536870912 >> 5 === -16777216. Actual: ' + (-536870912 >> 5)); >-} >- >- >-if (-1073741824 >> 5 !== -33554432) { >- testFailed('#191: -1073741824 >> 5 === -33554432. Actual: ' + (-1073741824 >> 5)); >-} >- >- >-if (-2147483648 >> 5 !== -67108864) { >- testFailed('#192: -2147483648 >> 5 === -67108864. Actual: ' + (-2147483648 >> 5)); >-} >- >- >-if (-1 >> 6 !== -1) { >- testFailed('#193: -1 >> 6 === -1. Actual: ' + (-1 >> 6)); >-} >- >- >-if (-2 >> 6 !== -1) { >- testFailed('#194: -2 >> 6 === -1. Actual: ' + (-2 >> 6)); >-} >- >- >-if (-4 >> 6 !== -1) { >- testFailed('#195: -4 >> 6 === -1. Actual: ' + (-4 >> 6)); >-} >- >- >-if (-8 >> 6 !== -1) { >- testFailed('#196: -8 >> 6 === -1. Actual: ' + (-8 >> 6)); >-} >- >- >-if (-16 >> 6 !== -1) { >- testFailed('#197: -16 >> 6 === -1. Actual: ' + (-16 >> 6)); >-} >- >- >-if (-32 >> 6 !== -1) { >- testFailed('#198: -32 >> 6 === -1. Actual: ' + (-32 >> 6)); >-} >- >- >-if (-64 >> 6 !== -1) { >- testFailed('#199: -64 >> 6 === -1. Actual: ' + (-64 >> 6)); >-} >- >- >-if (-128 >> 6 !== -2) { >- testFailed('#200: -128 >> 6 === -2. Actual: ' + (-128 >> 6)); >-} >- >- >-if (-256 >> 6 !== -4) { >- testFailed('#201: -256 >> 6 === -4. Actual: ' + (-256 >> 6)); >-} >- >- >-if (-512 >> 6 !== -8) { >- testFailed('#202: -512 >> 6 === -8. Actual: ' + (-512 >> 6)); >-} >- >- >-if (-1024 >> 6 !== -16) { >- testFailed('#203: -1024 >> 6 === -16. Actual: ' + (-1024 >> 6)); >-} >- >- >-if (-2048 >> 6 !== -32) { >- testFailed('#204: -2048 >> 6 === -32. Actual: ' + (-2048 >> 6)); >-} >- >- >-if (-4096 >> 6 !== -64) { >- testFailed('#205: -4096 >> 6 === -64. Actual: ' + (-4096 >> 6)); >-} >- >- >-if (-8192 >> 6 !== -128) { >- testFailed('#206: -8192 >> 6 === -128. Actual: ' + (-8192 >> 6)); >-} >- >- >-if (-16384 >> 6 !== -256) { >- testFailed('#207: -16384 >> 6 === -256. Actual: ' + (-16384 >> 6)); >-} >- >- >-if (-32768 >> 6 !== -512) { >- testFailed('#208: -32768 >> 6 === -512. Actual: ' + (-32768 >> 6)); >-} >- >- >-if (-65536 >> 6 !== -1024) { >- testFailed('#209: -65536 >> 6 === -1024. Actual: ' + (-65536 >> 6)); >-} >- >- >-if (-131072 >> 6 !== -2048) { >- testFailed('#210: -131072 >> 6 === -2048. Actual: ' + (-131072 >> 6)); >-} >- >- >-if (-262144 >> 6 !== -4096) { >- testFailed('#211: -262144 >> 6 === -4096. Actual: ' + (-262144 >> 6)); >-} >- >- >-if (-524288 >> 6 !== -8192) { >- testFailed('#212: -524288 >> 6 === -8192. Actual: ' + (-524288 >> 6)); >-} >- >- >-if (-1048576 >> 6 !== -16384) { >- testFailed('#213: -1048576 >> 6 === -16384. Actual: ' + (-1048576 >> 6)); >-} >- >- >-if (-2097152 >> 6 !== -32768) { >- testFailed('#214: -2097152 >> 6 === -32768. Actual: ' + (-2097152 >> 6)); >-} >- >- >-if (-4194304 >> 6 !== -65536) { >- testFailed('#215: -4194304 >> 6 === -65536. Actual: ' + (-4194304 >> 6)); >-} >- >- >-if (-8388608 >> 6 !== -131072) { >- testFailed('#216: -8388608 >> 6 === -131072. Actual: ' + (-8388608 >> 6)); >-} >- >- >-if (-16777216 >> 6 !== -262144) { >- testFailed('#217: -16777216 >> 6 === -262144. Actual: ' + (-16777216 >> 6)); >-} >- >- >-if (-33554432 >> 6 !== -524288) { >- testFailed('#218: -33554432 >> 6 === -524288. Actual: ' + (-33554432 >> 6)); >-} >- >- >-if (-67108864 >> 6 !== -1048576) { >- testFailed('#219: -67108864 >> 6 === -1048576. Actual: ' + (-67108864 >> 6)); >-} >- >- >-if (-134217728 >> 6 !== -2097152) { >- testFailed('#220: -134217728 >> 6 === -2097152. Actual: ' + (-134217728 >> 6)); >-} >- >- >-if (-268435456 >> 6 !== -4194304) { >- testFailed('#221: -268435456 >> 6 === -4194304. Actual: ' + (-268435456 >> 6)); >-} >- >- >-if (-536870912 >> 6 !== -8388608) { >- testFailed('#222: -536870912 >> 6 === -8388608. Actual: ' + (-536870912 >> 6)); >-} >- >- >-if (-1073741824 >> 6 !== -16777216) { >- testFailed('#223: -1073741824 >> 6 === -16777216. Actual: ' + (-1073741824 >> 6)); >-} >- >- >-if (-2147483648 >> 6 !== -33554432) { >- testFailed('#224: -2147483648 >> 6 === -33554432. Actual: ' + (-2147483648 >> 6)); >-} >- >- >-if (-1 >> 7 !== -1) { >- testFailed('#225: -1 >> 7 === -1. Actual: ' + (-1 >> 7)); >-} >- >- >-if (-2 >> 7 !== -1) { >- testFailed('#226: -2 >> 7 === -1. Actual: ' + (-2 >> 7)); >-} >- >- >-if (-4 >> 7 !== -1) { >- testFailed('#227: -4 >> 7 === -1. Actual: ' + (-4 >> 7)); >-} >- >- >-if (-8 >> 7 !== -1) { >- testFailed('#228: -8 >> 7 === -1. Actual: ' + (-8 >> 7)); >-} >- >- >-if (-16 >> 7 !== -1) { >- testFailed('#229: -16 >> 7 === -1. Actual: ' + (-16 >> 7)); >-} >- >- >-if (-32 >> 7 !== -1) { >- testFailed('#230: -32 >> 7 === -1. Actual: ' + (-32 >> 7)); >-} >- >- >-if (-64 >> 7 !== -1) { >- testFailed('#231: -64 >> 7 === -1. Actual: ' + (-64 >> 7)); >-} >- >- >-if (-128 >> 7 !== -1) { >- testFailed('#232: -128 >> 7 === -1. Actual: ' + (-128 >> 7)); >-} >- >- >-if (-256 >> 7 !== -2) { >- testFailed('#233: -256 >> 7 === -2. Actual: ' + (-256 >> 7)); >-} >- >- >-if (-512 >> 7 !== -4) { >- testFailed('#234: -512 >> 7 === -4. Actual: ' + (-512 >> 7)); >-} >- >- >-if (-1024 >> 7 !== -8) { >- testFailed('#235: -1024 >> 7 === -8. Actual: ' + (-1024 >> 7)); >-} >- >- >-if (-2048 >> 7 !== -16) { >- testFailed('#236: -2048 >> 7 === -16. Actual: ' + (-2048 >> 7)); >-} >- >- >-if (-4096 >> 7 !== -32) { >- testFailed('#237: -4096 >> 7 === -32. Actual: ' + (-4096 >> 7)); >-} >- >- >-if (-8192 >> 7 !== -64) { >- testFailed('#238: -8192 >> 7 === -64. Actual: ' + (-8192 >> 7)); >-} >- >- >-if (-16384 >> 7 !== -128) { >- testFailed('#239: -16384 >> 7 === -128. Actual: ' + (-16384 >> 7)); >-} >- >- >-if (-32768 >> 7 !== -256) { >- testFailed('#240: -32768 >> 7 === -256. Actual: ' + (-32768 >> 7)); >-} >- >- >-if (-65536 >> 7 !== -512) { >- testFailed('#241: -65536 >> 7 === -512. Actual: ' + (-65536 >> 7)); >-} >- >- >-if (-131072 >> 7 !== -1024) { >- testFailed('#242: -131072 >> 7 === -1024. Actual: ' + (-131072 >> 7)); >-} >- >- >-if (-262144 >> 7 !== -2048) { >- testFailed('#243: -262144 >> 7 === -2048. Actual: ' + (-262144 >> 7)); >-} >- >- >-if (-524288 >> 7 !== -4096) { >- testFailed('#244: -524288 >> 7 === -4096. Actual: ' + (-524288 >> 7)); >-} >- >- >-if (-1048576 >> 7 !== -8192) { >- testFailed('#245: -1048576 >> 7 === -8192. Actual: ' + (-1048576 >> 7)); >-} >- >- >-if (-2097152 >> 7 !== -16384) { >- testFailed('#246: -2097152 >> 7 === -16384. Actual: ' + (-2097152 >> 7)); >-} >- >- >-if (-4194304 >> 7 !== -32768) { >- testFailed('#247: -4194304 >> 7 === -32768. Actual: ' + (-4194304 >> 7)); >-} >- >- >-if (-8388608 >> 7 !== -65536) { >- testFailed('#248: -8388608 >> 7 === -65536. Actual: ' + (-8388608 >> 7)); >-} >- >- >-if (-16777216 >> 7 !== -131072) { >- testFailed('#249: -16777216 >> 7 === -131072. Actual: ' + (-16777216 >> 7)); >-} >- >- >-if (-33554432 >> 7 !== -262144) { >- testFailed('#250: -33554432 >> 7 === -262144. Actual: ' + (-33554432 >> 7)); >-} >- >- >-if (-67108864 >> 7 !== -524288) { >- testFailed('#251: -67108864 >> 7 === -524288. Actual: ' + (-67108864 >> 7)); >-} >- >- >-if (-134217728 >> 7 !== -1048576) { >- testFailed('#252: -134217728 >> 7 === -1048576. Actual: ' + (-134217728 >> 7)); >-} >- >- >-if (-268435456 >> 7 !== -2097152) { >- testFailed('#253: -268435456 >> 7 === -2097152. Actual: ' + (-268435456 >> 7)); >-} >- >- >-if (-536870912 >> 7 !== -4194304) { >- testFailed('#254: -536870912 >> 7 === -4194304. Actual: ' + (-536870912 >> 7)); >-} >- >- >-if (-1073741824 >> 7 !== -8388608) { >- testFailed('#255: -1073741824 >> 7 === -8388608. Actual: ' + (-1073741824 >> 7)); >-} >- >- >-if (-2147483648 >> 7 !== -16777216) { >- testFailed('#256: -2147483648 >> 7 === -16777216. Actual: ' + (-2147483648 >> 7)); >-} >- >- >-if (-1 >> 8 !== -1) { >- testFailed('#257: -1 >> 8 === -1. Actual: ' + (-1 >> 8)); >-} >- >- >-if (-2 >> 8 !== -1) { >- testFailed('#258: -2 >> 8 === -1. Actual: ' + (-2 >> 8)); >-} >- >- >-if (-4 >> 8 !== -1) { >- testFailed('#259: -4 >> 8 === -1. Actual: ' + (-4 >> 8)); >-} >- >- >-if (-8 >> 8 !== -1) { >- testFailed('#260: -8 >> 8 === -1. Actual: ' + (-8 >> 8)); >-} >- >- >-if (-16 >> 8 !== -1) { >- testFailed('#261: -16 >> 8 === -1. Actual: ' + (-16 >> 8)); >-} >- >- >-if (-32 >> 8 !== -1) { >- testFailed('#262: -32 >> 8 === -1. Actual: ' + (-32 >> 8)); >-} >- >- >-if (-64 >> 8 !== -1) { >- testFailed('#263: -64 >> 8 === -1. Actual: ' + (-64 >> 8)); >-} >- >- >-if (-128 >> 8 !== -1) { >- testFailed('#264: -128 >> 8 === -1. Actual: ' + (-128 >> 8)); >-} >- >- >-if (-256 >> 8 !== -1) { >- testFailed('#265: -256 >> 8 === -1. Actual: ' + (-256 >> 8)); >-} >- >- >-if (-512 >> 8 !== -2) { >- testFailed('#266: -512 >> 8 === -2. Actual: ' + (-512 >> 8)); >-} >- >- >-if (-1024 >> 8 !== -4) { >- testFailed('#267: -1024 >> 8 === -4. Actual: ' + (-1024 >> 8)); >-} >- >- >-if (-2048 >> 8 !== -8) { >- testFailed('#268: -2048 >> 8 === -8. Actual: ' + (-2048 >> 8)); >-} >- >- >-if (-4096 >> 8 !== -16) { >- testFailed('#269: -4096 >> 8 === -16. Actual: ' + (-4096 >> 8)); >-} >- >- >-if (-8192 >> 8 !== -32) { >- testFailed('#270: -8192 >> 8 === -32. Actual: ' + (-8192 >> 8)); >-} >- >- >-if (-16384 >> 8 !== -64) { >- testFailed('#271: -16384 >> 8 === -64. Actual: ' + (-16384 >> 8)); >-} >- >- >-if (-32768 >> 8 !== -128) { >- testFailed('#272: -32768 >> 8 === -128. Actual: ' + (-32768 >> 8)); >-} >- >- >-if (-65536 >> 8 !== -256) { >- testFailed('#273: -65536 >> 8 === -256. Actual: ' + (-65536 >> 8)); >-} >- >- >-if (-131072 >> 8 !== -512) { >- testFailed('#274: -131072 >> 8 === -512. Actual: ' + (-131072 >> 8)); >-} >- >- >-if (-262144 >> 8 !== -1024) { >- testFailed('#275: -262144 >> 8 === -1024. Actual: ' + (-262144 >> 8)); >-} >- >- >-if (-524288 >> 8 !== -2048) { >- testFailed('#276: -524288 >> 8 === -2048. Actual: ' + (-524288 >> 8)); >-} >- >- >-if (-1048576 >> 8 !== -4096) { >- testFailed('#277: -1048576 >> 8 === -4096. Actual: ' + (-1048576 >> 8)); >-} >- >- >-if (-2097152 >> 8 !== -8192) { >- testFailed('#278: -2097152 >> 8 === -8192. Actual: ' + (-2097152 >> 8)); >-} >- >- >-if (-4194304 >> 8 !== -16384) { >- testFailed('#279: -4194304 >> 8 === -16384. Actual: ' + (-4194304 >> 8)); >-} >- >- >-if (-8388608 >> 8 !== -32768) { >- testFailed('#280: -8388608 >> 8 === -32768. Actual: ' + (-8388608 >> 8)); >-} >- >- >-if (-16777216 >> 8 !== -65536) { >- testFailed('#281: -16777216 >> 8 === -65536. Actual: ' + (-16777216 >> 8)); >-} >- >- >-if (-33554432 >> 8 !== -131072) { >- testFailed('#282: -33554432 >> 8 === -131072. Actual: ' + (-33554432 >> 8)); >-} >- >- >-if (-67108864 >> 8 !== -262144) { >- testFailed('#283: -67108864 >> 8 === -262144. Actual: ' + (-67108864 >> 8)); >-} >- >- >-if (-134217728 >> 8 !== -524288) { >- testFailed('#284: -134217728 >> 8 === -524288. Actual: ' + (-134217728 >> 8)); >-} >- >- >-if (-268435456 >> 8 !== -1048576) { >- testFailed('#285: -268435456 >> 8 === -1048576. Actual: ' + (-268435456 >> 8)); >-} >- >- >-if (-536870912 >> 8 !== -2097152) { >- testFailed('#286: -536870912 >> 8 === -2097152. Actual: ' + (-536870912 >> 8)); >-} >- >- >-if (-1073741824 >> 8 !== -4194304) { >- testFailed('#287: -1073741824 >> 8 === -4194304. Actual: ' + (-1073741824 >> 8)); >-} >- >- >-if (-2147483648 >> 8 !== -8388608) { >- testFailed('#288: -2147483648 >> 8 === -8388608. Actual: ' + (-2147483648 >> 8)); >-} >- >- >-if (-1 >> 9 !== -1) { >- testFailed('#289: -1 >> 9 === -1. Actual: ' + (-1 >> 9)); >-} >- >- >-if (-2 >> 9 !== -1) { >- testFailed('#290: -2 >> 9 === -1. Actual: ' + (-2 >> 9)); >-} >- >- >-if (-4 >> 9 !== -1) { >- testFailed('#291: -4 >> 9 === -1. Actual: ' + (-4 >> 9)); >-} >- >- >-if (-8 >> 9 !== -1) { >- testFailed('#292: -8 >> 9 === -1. Actual: ' + (-8 >> 9)); >-} >- >- >-if (-16 >> 9 !== -1) { >- testFailed('#293: -16 >> 9 === -1. Actual: ' + (-16 >> 9)); >-} >- >- >-if (-32 >> 9 !== -1) { >- testFailed('#294: -32 >> 9 === -1. Actual: ' + (-32 >> 9)); >-} >- >- >-if (-64 >> 9 !== -1) { >- testFailed('#295: -64 >> 9 === -1. Actual: ' + (-64 >> 9)); >-} >- >- >-if (-128 >> 9 !== -1) { >- testFailed('#296: -128 >> 9 === -1. Actual: ' + (-128 >> 9)); >-} >- >- >-if (-256 >> 9 !== -1) { >- testFailed('#297: -256 >> 9 === -1. Actual: ' + (-256 >> 9)); >-} >- >- >-if (-512 >> 9 !== -1) { >- testFailed('#298: -512 >> 9 === -1. Actual: ' + (-512 >> 9)); >-} >- >- >-if (-1024 >> 9 !== -2) { >- testFailed('#299: -1024 >> 9 === -2. Actual: ' + (-1024 >> 9)); >-} >- >- >-if (-2048 >> 9 !== -4) { >- testFailed('#300: -2048 >> 9 === -4. Actual: ' + (-2048 >> 9)); >-} >- >- >-if (-4096 >> 9 !== -8) { >- testFailed('#301: -4096 >> 9 === -8. Actual: ' + (-4096 >> 9)); >-} >- >- >-if (-8192 >> 9 !== -16) { >- testFailed('#302: -8192 >> 9 === -16. Actual: ' + (-8192 >> 9)); >-} >- >- >-if (-16384 >> 9 !== -32) { >- testFailed('#303: -16384 >> 9 === -32. Actual: ' + (-16384 >> 9)); >-} >- >- >-if (-32768 >> 9 !== -64) { >- testFailed('#304: -32768 >> 9 === -64. Actual: ' + (-32768 >> 9)); >-} >- >- >-if (-65536 >> 9 !== -128) { >- testFailed('#305: -65536 >> 9 === -128. Actual: ' + (-65536 >> 9)); >-} >- >- >-if (-131072 >> 9 !== -256) { >- testFailed('#306: -131072 >> 9 === -256. Actual: ' + (-131072 >> 9)); >-} >- >- >-if (-262144 >> 9 !== -512) { >- testFailed('#307: -262144 >> 9 === -512. Actual: ' + (-262144 >> 9)); >-} >- >- >-if (-524288 >> 9 !== -1024) { >- testFailed('#308: -524288 >> 9 === -1024. Actual: ' + (-524288 >> 9)); >-} >- >- >-if (-1048576 >> 9 !== -2048) { >- testFailed('#309: -1048576 >> 9 === -2048. Actual: ' + (-1048576 >> 9)); >-} >- >- >-if (-2097152 >> 9 !== -4096) { >- testFailed('#310: -2097152 >> 9 === -4096. Actual: ' + (-2097152 >> 9)); >-} >- >- >-if (-4194304 >> 9 !== -8192) { >- testFailed('#311: -4194304 >> 9 === -8192. Actual: ' + (-4194304 >> 9)); >-} >- >- >-if (-8388608 >> 9 !== -16384) { >- testFailed('#312: -8388608 >> 9 === -16384. Actual: ' + (-8388608 >> 9)); >-} >- >- >-if (-16777216 >> 9 !== -32768) { >- testFailed('#313: -16777216 >> 9 === -32768. Actual: ' + (-16777216 >> 9)); >-} >- >- >-if (-33554432 >> 9 !== -65536) { >- testFailed('#314: -33554432 >> 9 === -65536. Actual: ' + (-33554432 >> 9)); >-} >- >- >-if (-67108864 >> 9 !== -131072) { >- testFailed('#315: -67108864 >> 9 === -131072. Actual: ' + (-67108864 >> 9)); >-} >- >- >-if (-134217728 >> 9 !== -262144) { >- testFailed('#316: -134217728 >> 9 === -262144. Actual: ' + (-134217728 >> 9)); >-} >- >- >-if (-268435456 >> 9 !== -524288) { >- testFailed('#317: -268435456 >> 9 === -524288. Actual: ' + (-268435456 >> 9)); >-} >- >- >-if (-536870912 >> 9 !== -1048576) { >- testFailed('#318: -536870912 >> 9 === -1048576. Actual: ' + (-536870912 >> 9)); >-} >- >- >-if (-1073741824 >> 9 !== -2097152) { >- testFailed('#319: -1073741824 >> 9 === -2097152. Actual: ' + (-1073741824 >> 9)); >-} >- >- >-if (-2147483648 >> 9 !== -4194304) { >- testFailed('#320: -2147483648 >> 9 === -4194304. Actual: ' + (-2147483648 >> 9)); >-} >- >- >-if (-1 >> 10 !== -1) { >- testFailed('#321: -1 >> 10 === -1. Actual: ' + (-1 >> 10)); >-} >- >- >-if (-2 >> 10 !== -1) { >- testFailed('#322: -2 >> 10 === -1. Actual: ' + (-2 >> 10)); >-} >- >- >-if (-4 >> 10 !== -1) { >- testFailed('#323: -4 >> 10 === -1. Actual: ' + (-4 >> 10)); >-} >- >- >-if (-8 >> 10 !== -1) { >- testFailed('#324: -8 >> 10 === -1. Actual: ' + (-8 >> 10)); >-} >- >- >-if (-16 >> 10 !== -1) { >- testFailed('#325: -16 >> 10 === -1. Actual: ' + (-16 >> 10)); >-} >- >- >-if (-32 >> 10 !== -1) { >- testFailed('#326: -32 >> 10 === -1. Actual: ' + (-32 >> 10)); >-} >- >- >-if (-64 >> 10 !== -1) { >- testFailed('#327: -64 >> 10 === -1. Actual: ' + (-64 >> 10)); >-} >- >- >-if (-128 >> 10 !== -1) { >- testFailed('#328: -128 >> 10 === -1. Actual: ' + (-128 >> 10)); >-} >- >- >-if (-256 >> 10 !== -1) { >- testFailed('#329: -256 >> 10 === -1. Actual: ' + (-256 >> 10)); >-} >- >- >-if (-512 >> 10 !== -1) { >- testFailed('#330: -512 >> 10 === -1. Actual: ' + (-512 >> 10)); >-} >- >- >-if (-1024 >> 10 !== -1) { >- testFailed('#331: -1024 >> 10 === -1. Actual: ' + (-1024 >> 10)); >-} >- >- >-if (-2048 >> 10 !== -2) { >- testFailed('#332: -2048 >> 10 === -2. Actual: ' + (-2048 >> 10)); >-} >- >- >-if (-4096 >> 10 !== -4) { >- testFailed('#333: -4096 >> 10 === -4. Actual: ' + (-4096 >> 10)); >-} >- >- >-if (-8192 >> 10 !== -8) { >- testFailed('#334: -8192 >> 10 === -8. Actual: ' + (-8192 >> 10)); >-} >- >- >-if (-16384 >> 10 !== -16) { >- testFailed('#335: -16384 >> 10 === -16. Actual: ' + (-16384 >> 10)); >-} >- >- >-if (-32768 >> 10 !== -32) { >- testFailed('#336: -32768 >> 10 === -32. Actual: ' + (-32768 >> 10)); >-} >- >- >-if (-65536 >> 10 !== -64) { >- testFailed('#337: -65536 >> 10 === -64. Actual: ' + (-65536 >> 10)); >-} >- >- >-if (-131072 >> 10 !== -128) { >- testFailed('#338: -131072 >> 10 === -128. Actual: ' + (-131072 >> 10)); >-} >- >- >-if (-262144 >> 10 !== -256) { >- testFailed('#339: -262144 >> 10 === -256. Actual: ' + (-262144 >> 10)); >-} >- >- >-if (-524288 >> 10 !== -512) { >- testFailed('#340: -524288 >> 10 === -512. Actual: ' + (-524288 >> 10)); >-} >- >- >-if (-1048576 >> 10 !== -1024) { >- testFailed('#341: -1048576 >> 10 === -1024. Actual: ' + (-1048576 >> 10)); >-} >- >- >-if (-2097152 >> 10 !== -2048) { >- testFailed('#342: -2097152 >> 10 === -2048. Actual: ' + (-2097152 >> 10)); >-} >- >- >-if (-4194304 >> 10 !== -4096) { >- testFailed('#343: -4194304 >> 10 === -4096. Actual: ' + (-4194304 >> 10)); >-} >- >- >-if (-8388608 >> 10 !== -8192) { >- testFailed('#344: -8388608 >> 10 === -8192. Actual: ' + (-8388608 >> 10)); >-} >- >- >-if (-16777216 >> 10 !== -16384) { >- testFailed('#345: -16777216 >> 10 === -16384. Actual: ' + (-16777216 >> 10)); >-} >- >- >-if (-33554432 >> 10 !== -32768) { >- testFailed('#346: -33554432 >> 10 === -32768. Actual: ' + (-33554432 >> 10)); >-} >- >- >-if (-67108864 >> 10 !== -65536) { >- testFailed('#347: -67108864 >> 10 === -65536. Actual: ' + (-67108864 >> 10)); >-} >- >- >-if (-134217728 >> 10 !== -131072) { >- testFailed('#348: -134217728 >> 10 === -131072. Actual: ' + (-134217728 >> 10)); >-} >- >- >-if (-268435456 >> 10 !== -262144) { >- testFailed('#349: -268435456 >> 10 === -262144. Actual: ' + (-268435456 >> 10)); >-} >- >- >-if (-536870912 >> 10 !== -524288) { >- testFailed('#350: -536870912 >> 10 === -524288. Actual: ' + (-536870912 >> 10)); >-} >- >- >-if (-1073741824 >> 10 !== -1048576) { >- testFailed('#351: -1073741824 >> 10 === -1048576. Actual: ' + (-1073741824 >> 10)); >-} >- >- >-if (-2147483648 >> 10 !== -2097152) { >- testFailed('#352: -2147483648 >> 10 === -2097152. Actual: ' + (-2147483648 >> 10)); >-} >- >- >-if (-1 >> 11 !== -1) { >- testFailed('#353: -1 >> 11 === -1. Actual: ' + (-1 >> 11)); >-} >- >- >-if (-2 >> 11 !== -1) { >- testFailed('#354: -2 >> 11 === -1. Actual: ' + (-2 >> 11)); >-} >- >- >-if (-4 >> 11 !== -1) { >- testFailed('#355: -4 >> 11 === -1. Actual: ' + (-4 >> 11)); >-} >- >- >-if (-8 >> 11 !== -1) { >- testFailed('#356: -8 >> 11 === -1. Actual: ' + (-8 >> 11)); >-} >- >- >-if (-16 >> 11 !== -1) { >- testFailed('#357: -16 >> 11 === -1. Actual: ' + (-16 >> 11)); >-} >- >- >-if (-32 >> 11 !== -1) { >- testFailed('#358: -32 >> 11 === -1. Actual: ' + (-32 >> 11)); >-} >- >- >-if (-64 >> 11 !== -1) { >- testFailed('#359: -64 >> 11 === -1. Actual: ' + (-64 >> 11)); >-} >- >- >-if (-128 >> 11 !== -1) { >- testFailed('#360: -128 >> 11 === -1. Actual: ' + (-128 >> 11)); >-} >- >- >-if (-256 >> 11 !== -1) { >- testFailed('#361: -256 >> 11 === -1. Actual: ' + (-256 >> 11)); >-} >- >- >-if (-512 >> 11 !== -1) { >- testFailed('#362: -512 >> 11 === -1. Actual: ' + (-512 >> 11)); >-} >- >- >-if (-1024 >> 11 !== -1) { >- testFailed('#363: -1024 >> 11 === -1. Actual: ' + (-1024 >> 11)); >-} >- >- >-if (-2048 >> 11 !== -1) { >- testFailed('#364: -2048 >> 11 === -1. Actual: ' + (-2048 >> 11)); >-} >- >- >-if (-4096 >> 11 !== -2) { >- testFailed('#365: -4096 >> 11 === -2. Actual: ' + (-4096 >> 11)); >-} >- >- >-if (-8192 >> 11 !== -4) { >- testFailed('#366: -8192 >> 11 === -4. Actual: ' + (-8192 >> 11)); >-} >- >- >-if (-16384 >> 11 !== -8) { >- testFailed('#367: -16384 >> 11 === -8. Actual: ' + (-16384 >> 11)); >-} >- >- >-if (-32768 >> 11 !== -16) { >- testFailed('#368: -32768 >> 11 === -16. Actual: ' + (-32768 >> 11)); >-} >- >- >-if (-65536 >> 11 !== -32) { >- testFailed('#369: -65536 >> 11 === -32. Actual: ' + (-65536 >> 11)); >-} >- >- >-if (-131072 >> 11 !== -64) { >- testFailed('#370: -131072 >> 11 === -64. Actual: ' + (-131072 >> 11)); >-} >- >- >-if (-262144 >> 11 !== -128) { >- testFailed('#371: -262144 >> 11 === -128. Actual: ' + (-262144 >> 11)); >-} >- >- >-if (-524288 >> 11 !== -256) { >- testFailed('#372: -524288 >> 11 === -256. Actual: ' + (-524288 >> 11)); >-} >- >- >-if (-1048576 >> 11 !== -512) { >- testFailed('#373: -1048576 >> 11 === -512. Actual: ' + (-1048576 >> 11)); >-} >- >- >-if (-2097152 >> 11 !== -1024) { >- testFailed('#374: -2097152 >> 11 === -1024. Actual: ' + (-2097152 >> 11)); >-} >- >- >-if (-4194304 >> 11 !== -2048) { >- testFailed('#375: -4194304 >> 11 === -2048. Actual: ' + (-4194304 >> 11)); >-} >- >- >-if (-8388608 >> 11 !== -4096) { >- testFailed('#376: -8388608 >> 11 === -4096. Actual: ' + (-8388608 >> 11)); >-} >- >- >-if (-16777216 >> 11 !== -8192) { >- testFailed('#377: -16777216 >> 11 === -8192. Actual: ' + (-16777216 >> 11)); >-} >- >- >-if (-33554432 >> 11 !== -16384) { >- testFailed('#378: -33554432 >> 11 === -16384. Actual: ' + (-33554432 >> 11)); >-} >- >- >-if (-67108864 >> 11 !== -32768) { >- testFailed('#379: -67108864 >> 11 === -32768. Actual: ' + (-67108864 >> 11)); >-} >- >- >-if (-134217728 >> 11 !== -65536) { >- testFailed('#380: -134217728 >> 11 === -65536. Actual: ' + (-134217728 >> 11)); >-} >- >- >-if (-268435456 >> 11 !== -131072) { >- testFailed('#381: -268435456 >> 11 === -131072. Actual: ' + (-268435456 >> 11)); >-} >- >- >-if (-536870912 >> 11 !== -262144) { >- testFailed('#382: -536870912 >> 11 === -262144. Actual: ' + (-536870912 >> 11)); >-} >- >- >-if (-1073741824 >> 11 !== -524288) { >- testFailed('#383: -1073741824 >> 11 === -524288. Actual: ' + (-1073741824 >> 11)); >-} >- >- >-if (-2147483648 >> 11 !== -1048576) { >- testFailed('#384: -2147483648 >> 11 === -1048576. Actual: ' + (-2147483648 >> 11)); >-} >- >- >-if (-1 >> 12 !== -1) { >- testFailed('#385: -1 >> 12 === -1. Actual: ' + (-1 >> 12)); >-} >- >- >-if (-2 >> 12 !== -1) { >- testFailed('#386: -2 >> 12 === -1. Actual: ' + (-2 >> 12)); >-} >- >- >-if (-4 >> 12 !== -1) { >- testFailed('#387: -4 >> 12 === -1. Actual: ' + (-4 >> 12)); >-} >- >- >-if (-8 >> 12 !== -1) { >- testFailed('#388: -8 >> 12 === -1. Actual: ' + (-8 >> 12)); >-} >- >- >-if (-16 >> 12 !== -1) { >- testFailed('#389: -16 >> 12 === -1. Actual: ' + (-16 >> 12)); >-} >- >- >-if (-32 >> 12 !== -1) { >- testFailed('#390: -32 >> 12 === -1. Actual: ' + (-32 >> 12)); >-} >- >- >-if (-64 >> 12 !== -1) { >- testFailed('#391: -64 >> 12 === -1. Actual: ' + (-64 >> 12)); >-} >- >- >-if (-128 >> 12 !== -1) { >- testFailed('#392: -128 >> 12 === -1. Actual: ' + (-128 >> 12)); >-} >- >- >-if (-256 >> 12 !== -1) { >- testFailed('#393: -256 >> 12 === -1. Actual: ' + (-256 >> 12)); >-} >- >- >-if (-512 >> 12 !== -1) { >- testFailed('#394: -512 >> 12 === -1. Actual: ' + (-512 >> 12)); >-} >- >- >-if (-1024 >> 12 !== -1) { >- testFailed('#395: -1024 >> 12 === -1. Actual: ' + (-1024 >> 12)); >-} >- >- >-if (-2048 >> 12 !== -1) { >- testFailed('#396: -2048 >> 12 === -1. Actual: ' + (-2048 >> 12)); >-} >- >- >-if (-4096 >> 12 !== -1) { >- testFailed('#397: -4096 >> 12 === -1. Actual: ' + (-4096 >> 12)); >-} >- >- >-if (-8192 >> 12 !== -2) { >- testFailed('#398: -8192 >> 12 === -2. Actual: ' + (-8192 >> 12)); >-} >- >- >-if (-16384 >> 12 !== -4) { >- testFailed('#399: -16384 >> 12 === -4. Actual: ' + (-16384 >> 12)); >-} >- >- >-if (-32768 >> 12 !== -8) { >- testFailed('#400: -32768 >> 12 === -8. Actual: ' + (-32768 >> 12)); >-} >- >- >-if (-65536 >> 12 !== -16) { >- testFailed('#401: -65536 >> 12 === -16. Actual: ' + (-65536 >> 12)); >-} >- >- >-if (-131072 >> 12 !== -32) { >- testFailed('#402: -131072 >> 12 === -32. Actual: ' + (-131072 >> 12)); >-} >- >- >-if (-262144 >> 12 !== -64) { >- testFailed('#403: -262144 >> 12 === -64. Actual: ' + (-262144 >> 12)); >-} >- >- >-if (-524288 >> 12 !== -128) { >- testFailed('#404: -524288 >> 12 === -128. Actual: ' + (-524288 >> 12)); >-} >- >- >-if (-1048576 >> 12 !== -256) { >- testFailed('#405: -1048576 >> 12 === -256. Actual: ' + (-1048576 >> 12)); >-} >- >- >-if (-2097152 >> 12 !== -512) { >- testFailed('#406: -2097152 >> 12 === -512. Actual: ' + (-2097152 >> 12)); >-} >- >- >-if (-4194304 >> 12 !== -1024) { >- testFailed('#407: -4194304 >> 12 === -1024. Actual: ' + (-4194304 >> 12)); >-} >- >- >-if (-8388608 >> 12 !== -2048) { >- testFailed('#408: -8388608 >> 12 === -2048. Actual: ' + (-8388608 >> 12)); >-} >- >- >-if (-16777216 >> 12 !== -4096) { >- testFailed('#409: -16777216 >> 12 === -4096. Actual: ' + (-16777216 >> 12)); >-} >- >- >-if (-33554432 >> 12 !== -8192) { >- testFailed('#410: -33554432 >> 12 === -8192. Actual: ' + (-33554432 >> 12)); >-} >- >- >-if (-67108864 >> 12 !== -16384) { >- testFailed('#411: -67108864 >> 12 === -16384. Actual: ' + (-67108864 >> 12)); >-} >- >- >-if (-134217728 >> 12 !== -32768) { >- testFailed('#412: -134217728 >> 12 === -32768. Actual: ' + (-134217728 >> 12)); >-} >- >- >-if (-268435456 >> 12 !== -65536) { >- testFailed('#413: -268435456 >> 12 === -65536. Actual: ' + (-268435456 >> 12)); >-} >- >- >-if (-536870912 >> 12 !== -131072) { >- testFailed('#414: -536870912 >> 12 === -131072. Actual: ' + (-536870912 >> 12)); >-} >- >- >-if (-1073741824 >> 12 !== -262144) { >- testFailed('#415: -1073741824 >> 12 === -262144. Actual: ' + (-1073741824 >> 12)); >-} >- >- >-if (-2147483648 >> 12 !== -524288) { >- testFailed('#416: -2147483648 >> 12 === -524288. Actual: ' + (-2147483648 >> 12)); >-} >- >- >-if (-1 >> 13 !== -1) { >- testFailed('#417: -1 >> 13 === -1. Actual: ' + (-1 >> 13)); >-} >- >- >-if (-2 >> 13 !== -1) { >- testFailed('#418: -2 >> 13 === -1. Actual: ' + (-2 >> 13)); >-} >- >- >-if (-4 >> 13 !== -1) { >- testFailed('#419: -4 >> 13 === -1. Actual: ' + (-4 >> 13)); >-} >- >- >-if (-8 >> 13 !== -1) { >- testFailed('#420: -8 >> 13 === -1. Actual: ' + (-8 >> 13)); >-} >- >- >-if (-16 >> 13 !== -1) { >- testFailed('#421: -16 >> 13 === -1. Actual: ' + (-16 >> 13)); >-} >- >- >-if (-32 >> 13 !== -1) { >- testFailed('#422: -32 >> 13 === -1. Actual: ' + (-32 >> 13)); >-} >- >- >-if (-64 >> 13 !== -1) { >- testFailed('#423: -64 >> 13 === -1. Actual: ' + (-64 >> 13)); >-} >- >- >-if (-128 >> 13 !== -1) { >- testFailed('#424: -128 >> 13 === -1. Actual: ' + (-128 >> 13)); >-} >- >- >-if (-256 >> 13 !== -1) { >- testFailed('#425: -256 >> 13 === -1. Actual: ' + (-256 >> 13)); >-} >- >- >-if (-512 >> 13 !== -1) { >- testFailed('#426: -512 >> 13 === -1. Actual: ' + (-512 >> 13)); >-} >- >- >-if (-1024 >> 13 !== -1) { >- testFailed('#427: -1024 >> 13 === -1. Actual: ' + (-1024 >> 13)); >-} >- >- >-if (-2048 >> 13 !== -1) { >- testFailed('#428: -2048 >> 13 === -1. Actual: ' + (-2048 >> 13)); >-} >- >- >-if (-4096 >> 13 !== -1) { >- testFailed('#429: -4096 >> 13 === -1. Actual: ' + (-4096 >> 13)); >-} >- >- >-if (-8192 >> 13 !== -1) { >- testFailed('#430: -8192 >> 13 === -1. Actual: ' + (-8192 >> 13)); >-} >- >- >-if (-16384 >> 13 !== -2) { >- testFailed('#431: -16384 >> 13 === -2. Actual: ' + (-16384 >> 13)); >-} >- >- >-if (-32768 >> 13 !== -4) { >- testFailed('#432: -32768 >> 13 === -4. Actual: ' + (-32768 >> 13)); >-} >- >- >-if (-65536 >> 13 !== -8) { >- testFailed('#433: -65536 >> 13 === -8. Actual: ' + (-65536 >> 13)); >-} >- >- >-if (-131072 >> 13 !== -16) { >- testFailed('#434: -131072 >> 13 === -16. Actual: ' + (-131072 >> 13)); >-} >- >- >-if (-262144 >> 13 !== -32) { >- testFailed('#435: -262144 >> 13 === -32. Actual: ' + (-262144 >> 13)); >-} >- >- >-if (-524288 >> 13 !== -64) { >- testFailed('#436: -524288 >> 13 === -64. Actual: ' + (-524288 >> 13)); >-} >- >- >-if (-1048576 >> 13 !== -128) { >- testFailed('#437: -1048576 >> 13 === -128. Actual: ' + (-1048576 >> 13)); >-} >- >- >-if (-2097152 >> 13 !== -256) { >- testFailed('#438: -2097152 >> 13 === -256. Actual: ' + (-2097152 >> 13)); >-} >- >- >-if (-4194304 >> 13 !== -512) { >- testFailed('#439: -4194304 >> 13 === -512. Actual: ' + (-4194304 >> 13)); >-} >- >- >-if (-8388608 >> 13 !== -1024) { >- testFailed('#440: -8388608 >> 13 === -1024. Actual: ' + (-8388608 >> 13)); >-} >- >- >-if (-16777216 >> 13 !== -2048) { >- testFailed('#441: -16777216 >> 13 === -2048. Actual: ' + (-16777216 >> 13)); >-} >- >- >-if (-33554432 >> 13 !== -4096) { >- testFailed('#442: -33554432 >> 13 === -4096. Actual: ' + (-33554432 >> 13)); >-} >- >- >-if (-67108864 >> 13 !== -8192) { >- testFailed('#443: -67108864 >> 13 === -8192. Actual: ' + (-67108864 >> 13)); >-} >- >- >-if (-134217728 >> 13 !== -16384) { >- testFailed('#444: -134217728 >> 13 === -16384. Actual: ' + (-134217728 >> 13)); >-} >- >- >-if (-268435456 >> 13 !== -32768) { >- testFailed('#445: -268435456 >> 13 === -32768. Actual: ' + (-268435456 >> 13)); >-} >- >- >-if (-536870912 >> 13 !== -65536) { >- testFailed('#446: -536870912 >> 13 === -65536. Actual: ' + (-536870912 >> 13)); >-} >- >- >-if (-1073741824 >> 13 !== -131072) { >- testFailed('#447: -1073741824 >> 13 === -131072. Actual: ' + (-1073741824 >> 13)); >-} >- >- >-if (-2147483648 >> 13 !== -262144) { >- testFailed('#448: -2147483648 >> 13 === -262144. Actual: ' + (-2147483648 >> 13)); >-} >- >- >-if (-1 >> 14 !== -1) { >- testFailed('#449: -1 >> 14 === -1. Actual: ' + (-1 >> 14)); >-} >- >- >-if (-2 >> 14 !== -1) { >- testFailed('#450: -2 >> 14 === -1. Actual: ' + (-2 >> 14)); >-} >- >- >-if (-4 >> 14 !== -1) { >- testFailed('#451: -4 >> 14 === -1. Actual: ' + (-4 >> 14)); >-} >- >- >-if (-8 >> 14 !== -1) { >- testFailed('#452: -8 >> 14 === -1. Actual: ' + (-8 >> 14)); >-} >- >- >-if (-16 >> 14 !== -1) { >- testFailed('#453: -16 >> 14 === -1. Actual: ' + (-16 >> 14)); >-} >- >- >-if (-32 >> 14 !== -1) { >- testFailed('#454: -32 >> 14 === -1. Actual: ' + (-32 >> 14)); >-} >- >- >-if (-64 >> 14 !== -1) { >- testFailed('#455: -64 >> 14 === -1. Actual: ' + (-64 >> 14)); >-} >- >- >-if (-128 >> 14 !== -1) { >- testFailed('#456: -128 >> 14 === -1. Actual: ' + (-128 >> 14)); >-} >- >- >-if (-256 >> 14 !== -1) { >- testFailed('#457: -256 >> 14 === -1. Actual: ' + (-256 >> 14)); >-} >- >- >-if (-512 >> 14 !== -1) { >- testFailed('#458: -512 >> 14 === -1. Actual: ' + (-512 >> 14)); >-} >- >- >-if (-1024 >> 14 !== -1) { >- testFailed('#459: -1024 >> 14 === -1. Actual: ' + (-1024 >> 14)); >-} >- >- >-if (-2048 >> 14 !== -1) { >- testFailed('#460: -2048 >> 14 === -1. Actual: ' + (-2048 >> 14)); >-} >- >- >-if (-4096 >> 14 !== -1) { >- testFailed('#461: -4096 >> 14 === -1. Actual: ' + (-4096 >> 14)); >-} >- >- >-if (-8192 >> 14 !== -1) { >- testFailed('#462: -8192 >> 14 === -1. Actual: ' + (-8192 >> 14)); >-} >- >- >-if (-16384 >> 14 !== -1) { >- testFailed('#463: -16384 >> 14 === -1. Actual: ' + (-16384 >> 14)); >-} >- >- >-if (-32768 >> 14 !== -2) { >- testFailed('#464: -32768 >> 14 === -2. Actual: ' + (-32768 >> 14)); >-} >- >- >-if (-65536 >> 14 !== -4) { >- testFailed('#465: -65536 >> 14 === -4. Actual: ' + (-65536 >> 14)); >-} >- >- >-if (-131072 >> 14 !== -8) { >- testFailed('#466: -131072 >> 14 === -8. Actual: ' + (-131072 >> 14)); >-} >- >- >-if (-262144 >> 14 !== -16) { >- testFailed('#467: -262144 >> 14 === -16. Actual: ' + (-262144 >> 14)); >-} >- >- >-if (-524288 >> 14 !== -32) { >- testFailed('#468: -524288 >> 14 === -32. Actual: ' + (-524288 >> 14)); >-} >- >- >-if (-1048576 >> 14 !== -64) { >- testFailed('#469: -1048576 >> 14 === -64. Actual: ' + (-1048576 >> 14)); >-} >- >- >-if (-2097152 >> 14 !== -128) { >- testFailed('#470: -2097152 >> 14 === -128. Actual: ' + (-2097152 >> 14)); >-} >- >- >-if (-4194304 >> 14 !== -256) { >- testFailed('#471: -4194304 >> 14 === -256. Actual: ' + (-4194304 >> 14)); >-} >- >- >-if (-8388608 >> 14 !== -512) { >- testFailed('#472: -8388608 >> 14 === -512. Actual: ' + (-8388608 >> 14)); >-} >- >- >-if (-16777216 >> 14 !== -1024) { >- testFailed('#473: -16777216 >> 14 === -1024. Actual: ' + (-16777216 >> 14)); >-} >- >- >-if (-33554432 >> 14 !== -2048) { >- testFailed('#474: -33554432 >> 14 === -2048. Actual: ' + (-33554432 >> 14)); >-} >- >- >-if (-67108864 >> 14 !== -4096) { >- testFailed('#475: -67108864 >> 14 === -4096. Actual: ' + (-67108864 >> 14)); >-} >- >- >-if (-134217728 >> 14 !== -8192) { >- testFailed('#476: -134217728 >> 14 === -8192. Actual: ' + (-134217728 >> 14)); >-} >- >- >-if (-268435456 >> 14 !== -16384) { >- testFailed('#477: -268435456 >> 14 === -16384. Actual: ' + (-268435456 >> 14)); >-} >- >- >-if (-536870912 >> 14 !== -32768) { >- testFailed('#478: -536870912 >> 14 === -32768. Actual: ' + (-536870912 >> 14)); >-} >- >- >-if (-1073741824 >> 14 !== -65536) { >- testFailed('#479: -1073741824 >> 14 === -65536. Actual: ' + (-1073741824 >> 14)); >-} >- >- >-if (-2147483648 >> 14 !== -131072) { >- testFailed('#480: -2147483648 >> 14 === -131072. Actual: ' + (-2147483648 >> 14)); >-} >- >- >-if (-1 >> 15 !== -1) { >- testFailed('#481: -1 >> 15 === -1. Actual: ' + (-1 >> 15)); >-} >- >- >-if (-2 >> 15 !== -1) { >- testFailed('#482: -2 >> 15 === -1. Actual: ' + (-2 >> 15)); >-} >- >- >-if (-4 >> 15 !== -1) { >- testFailed('#483: -4 >> 15 === -1. Actual: ' + (-4 >> 15)); >-} >- >- >-if (-8 >> 15 !== -1) { >- testFailed('#484: -8 >> 15 === -1. Actual: ' + (-8 >> 15)); >-} >- >- >-if (-16 >> 15 !== -1) { >- testFailed('#485: -16 >> 15 === -1. Actual: ' + (-16 >> 15)); >-} >- >- >-if (-32 >> 15 !== -1) { >- testFailed('#486: -32 >> 15 === -1. Actual: ' + (-32 >> 15)); >-} >- >- >-if (-64 >> 15 !== -1) { >- testFailed('#487: -64 >> 15 === -1. Actual: ' + (-64 >> 15)); >-} >- >- >-if (-128 >> 15 !== -1) { >- testFailed('#488: -128 >> 15 === -1. Actual: ' + (-128 >> 15)); >-} >- >- >-if (-256 >> 15 !== -1) { >- testFailed('#489: -256 >> 15 === -1. Actual: ' + (-256 >> 15)); >-} >- >- >-if (-512 >> 15 !== -1) { >- testFailed('#490: -512 >> 15 === -1. Actual: ' + (-512 >> 15)); >-} >- >- >-if (-1024 >> 15 !== -1) { >- testFailed('#491: -1024 >> 15 === -1. Actual: ' + (-1024 >> 15)); >-} >- >- >-if (-2048 >> 15 !== -1) { >- testFailed('#492: -2048 >> 15 === -1. Actual: ' + (-2048 >> 15)); >-} >- >- >-if (-4096 >> 15 !== -1) { >- testFailed('#493: -4096 >> 15 === -1. Actual: ' + (-4096 >> 15)); >-} >- >- >-if (-8192 >> 15 !== -1) { >- testFailed('#494: -8192 >> 15 === -1. Actual: ' + (-8192 >> 15)); >-} >- >- >-if (-16384 >> 15 !== -1) { >- testFailed('#495: -16384 >> 15 === -1. Actual: ' + (-16384 >> 15)); >-} >- >- >-if (-32768 >> 15 !== -1) { >- testFailed('#496: -32768 >> 15 === -1. Actual: ' + (-32768 >> 15)); >-} >- >- >-if (-65536 >> 15 !== -2) { >- testFailed('#497: -65536 >> 15 === -2. Actual: ' + (-65536 >> 15)); >-} >- >- >-if (-131072 >> 15 !== -4) { >- testFailed('#498: -131072 >> 15 === -4. Actual: ' + (-131072 >> 15)); >-} >- >- >-if (-262144 >> 15 !== -8) { >- testFailed('#499: -262144 >> 15 === -8. Actual: ' + (-262144 >> 15)); >-} >- >- >-if (-524288 >> 15 !== -16) { >- testFailed('#500: -524288 >> 15 === -16. Actual: ' + (-524288 >> 15)); >-} >- >- >-if (-1048576 >> 15 !== -32) { >- testFailed('#501: -1048576 >> 15 === -32. Actual: ' + (-1048576 >> 15)); >-} >- >- >-if (-2097152 >> 15 !== -64) { >- testFailed('#502: -2097152 >> 15 === -64. Actual: ' + (-2097152 >> 15)); >-} >- >- >-if (-4194304 >> 15 !== -128) { >- testFailed('#503: -4194304 >> 15 === -128. Actual: ' + (-4194304 >> 15)); >-} >- >- >-if (-8388608 >> 15 !== -256) { >- testFailed('#504: -8388608 >> 15 === -256. Actual: ' + (-8388608 >> 15)); >-} >- >- >-if (-16777216 >> 15 !== -512) { >- testFailed('#505: -16777216 >> 15 === -512. Actual: ' + (-16777216 >> 15)); >-} >- >- >-if (-33554432 >> 15 !== -1024) { >- testFailed('#506: -33554432 >> 15 === -1024. Actual: ' + (-33554432 >> 15)); >-} >- >- >-if (-67108864 >> 15 !== -2048) { >- testFailed('#507: -67108864 >> 15 === -2048. Actual: ' + (-67108864 >> 15)); >-} >- >- >-if (-134217728 >> 15 !== -4096) { >- testFailed('#508: -134217728 >> 15 === -4096. Actual: ' + (-134217728 >> 15)); >-} >- >- >-if (-268435456 >> 15 !== -8192) { >- testFailed('#509: -268435456 >> 15 === -8192. Actual: ' + (-268435456 >> 15)); >-} >- >- >-if (-536870912 >> 15 !== -16384) { >- testFailed('#510: -536870912 >> 15 === -16384. Actual: ' + (-536870912 >> 15)); >-} >- >- >-if (-1073741824 >> 15 !== -32768) { >- testFailed('#511: -1073741824 >> 15 === -32768. Actual: ' + (-1073741824 >> 15)); >-} >- >- >-if (-2147483648 >> 15 !== -65536) { >- testFailed('#512: -2147483648 >> 15 === -65536. Actual: ' + (-2147483648 >> 15)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2-expected.txt >deleted file mode 100644 >index cd7f378787e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.html >deleted file mode 100644 >index 455064747e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.html >+++ /dev/null >@@ -1,2653 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A4_T2; >- * @section: 11.7.2; >- * @assertion: Check x >> y operator in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 16...31; >- */ >- >-//CHECK >- >-if (-1 >> 16 !== -1) { >- testFailed('#513: -1 >> 16 === -1. Actual: ' + (-1 >> 16)); >-} >- >- >-if (-2 >> 16 !== -1) { >- testFailed('#514: -2 >> 16 === -1. Actual: ' + (-2 >> 16)); >-} >- >- >-if (-4 >> 16 !== -1) { >- testFailed('#515: -4 >> 16 === -1. Actual: ' + (-4 >> 16)); >-} >- >- >-if (-8 >> 16 !== -1) { >- testFailed('#516: -8 >> 16 === -1. Actual: ' + (-8 >> 16)); >-} >- >- >-if (-16 >> 16 !== -1) { >- testFailed('#517: -16 >> 16 === -1. Actual: ' + (-16 >> 16)); >-} >- >- >-if (-32 >> 16 !== -1) { >- testFailed('#518: -32 >> 16 === -1. Actual: ' + (-32 >> 16)); >-} >- >- >-if (-64 >> 16 !== -1) { >- testFailed('#519: -64 >> 16 === -1. Actual: ' + (-64 >> 16)); >-} >- >- >-if (-128 >> 16 !== -1) { >- testFailed('#520: -128 >> 16 === -1. Actual: ' + (-128 >> 16)); >-} >- >- >-if (-256 >> 16 !== -1) { >- testFailed('#521: -256 >> 16 === -1. Actual: ' + (-256 >> 16)); >-} >- >- >-if (-512 >> 16 !== -1) { >- testFailed('#522: -512 >> 16 === -1. Actual: ' + (-512 >> 16)); >-} >- >- >-if (-1024 >> 16 !== -1) { >- testFailed('#523: -1024 >> 16 === -1. Actual: ' + (-1024 >> 16)); >-} >- >- >-if (-2048 >> 16 !== -1) { >- testFailed('#524: -2048 >> 16 === -1. Actual: ' + (-2048 >> 16)); >-} >- >- >-if (-4096 >> 16 !== -1) { >- testFailed('#525: -4096 >> 16 === -1. Actual: ' + (-4096 >> 16)); >-} >- >- >-if (-8192 >> 16 !== -1) { >- testFailed('#526: -8192 >> 16 === -1. Actual: ' + (-8192 >> 16)); >-} >- >- >-if (-16384 >> 16 !== -1) { >- testFailed('#527: -16384 >> 16 === -1. Actual: ' + (-16384 >> 16)); >-} >- >- >-if (-32768 >> 16 !== -1) { >- testFailed('#528: -32768 >> 16 === -1. Actual: ' + (-32768 >> 16)); >-} >- >- >-if (-65536 >> 16 !== -1) { >- testFailed('#529: -65536 >> 16 === -1. Actual: ' + (-65536 >> 16)); >-} >- >- >-if (-131072 >> 16 !== -2) { >- testFailed('#530: -131072 >> 16 === -2. Actual: ' + (-131072 >> 16)); >-} >- >- >-if (-262144 >> 16 !== -4) { >- testFailed('#531: -262144 >> 16 === -4. Actual: ' + (-262144 >> 16)); >-} >- >- >-if (-524288 >> 16 !== -8) { >- testFailed('#532: -524288 >> 16 === -8. Actual: ' + (-524288 >> 16)); >-} >- >- >-if (-1048576 >> 16 !== -16) { >- testFailed('#533: -1048576 >> 16 === -16. Actual: ' + (-1048576 >> 16)); >-} >- >- >-if (-2097152 >> 16 !== -32) { >- testFailed('#534: -2097152 >> 16 === -32. Actual: ' + (-2097152 >> 16)); >-} >- >- >-if (-4194304 >> 16 !== -64) { >- testFailed('#535: -4194304 >> 16 === -64. Actual: ' + (-4194304 >> 16)); >-} >- >- >-if (-8388608 >> 16 !== -128) { >- testFailed('#536: -8388608 >> 16 === -128. Actual: ' + (-8388608 >> 16)); >-} >- >- >-if (-16777216 >> 16 !== -256) { >- testFailed('#537: -16777216 >> 16 === -256. Actual: ' + (-16777216 >> 16)); >-} >- >- >-if (-33554432 >> 16 !== -512) { >- testFailed('#538: -33554432 >> 16 === -512. Actual: ' + (-33554432 >> 16)); >-} >- >- >-if (-67108864 >> 16 !== -1024) { >- testFailed('#539: -67108864 >> 16 === -1024. Actual: ' + (-67108864 >> 16)); >-} >- >- >-if (-134217728 >> 16 !== -2048) { >- testFailed('#540: -134217728 >> 16 === -2048. Actual: ' + (-134217728 >> 16)); >-} >- >- >-if (-268435456 >> 16 !== -4096) { >- testFailed('#541: -268435456 >> 16 === -4096. Actual: ' + (-268435456 >> 16)); >-} >- >- >-if (-536870912 >> 16 !== -8192) { >- testFailed('#542: -536870912 >> 16 === -8192. Actual: ' + (-536870912 >> 16)); >-} >- >- >-if (-1073741824 >> 16 !== -16384) { >- testFailed('#543: -1073741824 >> 16 === -16384. Actual: ' + (-1073741824 >> 16)); >-} >- >- >-if (-2147483648 >> 16 !== -32768) { >- testFailed('#544: -2147483648 >> 16 === -32768. Actual: ' + (-2147483648 >> 16)); >-} >- >- >-if (-1 >> 17 !== -1) { >- testFailed('#545: -1 >> 17 === -1. Actual: ' + (-1 >> 17)); >-} >- >- >-if (-2 >> 17 !== -1) { >- testFailed('#546: -2 >> 17 === -1. Actual: ' + (-2 >> 17)); >-} >- >- >-if (-4 >> 17 !== -1) { >- testFailed('#547: -4 >> 17 === -1. Actual: ' + (-4 >> 17)); >-} >- >- >-if (-8 >> 17 !== -1) { >- testFailed('#548: -8 >> 17 === -1. Actual: ' + (-8 >> 17)); >-} >- >- >-if (-16 >> 17 !== -1) { >- testFailed('#549: -16 >> 17 === -1. Actual: ' + (-16 >> 17)); >-} >- >- >-if (-32 >> 17 !== -1) { >- testFailed('#550: -32 >> 17 === -1. Actual: ' + (-32 >> 17)); >-} >- >- >-if (-64 >> 17 !== -1) { >- testFailed('#551: -64 >> 17 === -1. Actual: ' + (-64 >> 17)); >-} >- >- >-if (-128 >> 17 !== -1) { >- testFailed('#552: -128 >> 17 === -1. Actual: ' + (-128 >> 17)); >-} >- >- >-if (-256 >> 17 !== -1) { >- testFailed('#553: -256 >> 17 === -1. Actual: ' + (-256 >> 17)); >-} >- >- >-if (-512 >> 17 !== -1) { >- testFailed('#554: -512 >> 17 === -1. Actual: ' + (-512 >> 17)); >-} >- >- >-if (-1024 >> 17 !== -1) { >- testFailed('#555: -1024 >> 17 === -1. Actual: ' + (-1024 >> 17)); >-} >- >- >-if (-2048 >> 17 !== -1) { >- testFailed('#556: -2048 >> 17 === -1. Actual: ' + (-2048 >> 17)); >-} >- >- >-if (-4096 >> 17 !== -1) { >- testFailed('#557: -4096 >> 17 === -1. Actual: ' + (-4096 >> 17)); >-} >- >- >-if (-8192 >> 17 !== -1) { >- testFailed('#558: -8192 >> 17 === -1. Actual: ' + (-8192 >> 17)); >-} >- >- >-if (-16384 >> 17 !== -1) { >- testFailed('#559: -16384 >> 17 === -1. Actual: ' + (-16384 >> 17)); >-} >- >- >-if (-32768 >> 17 !== -1) { >- testFailed('#560: -32768 >> 17 === -1. Actual: ' + (-32768 >> 17)); >-} >- >- >-if (-65536 >> 17 !== -1) { >- testFailed('#561: -65536 >> 17 === -1. Actual: ' + (-65536 >> 17)); >-} >- >- >-if (-131072 >> 17 !== -1) { >- testFailed('#562: -131072 >> 17 === -1. Actual: ' + (-131072 >> 17)); >-} >- >- >-if (-262144 >> 17 !== -2) { >- testFailed('#563: -262144 >> 17 === -2. Actual: ' + (-262144 >> 17)); >-} >- >- >-if (-524288 >> 17 !== -4) { >- testFailed('#564: -524288 >> 17 === -4. Actual: ' + (-524288 >> 17)); >-} >- >- >-if (-1048576 >> 17 !== -8) { >- testFailed('#565: -1048576 >> 17 === -8. Actual: ' + (-1048576 >> 17)); >-} >- >- >-if (-2097152 >> 17 !== -16) { >- testFailed('#566: -2097152 >> 17 === -16. Actual: ' + (-2097152 >> 17)); >-} >- >- >-if (-4194304 >> 17 !== -32) { >- testFailed('#567: -4194304 >> 17 === -32. Actual: ' + (-4194304 >> 17)); >-} >- >- >-if (-8388608 >> 17 !== -64) { >- testFailed('#568: -8388608 >> 17 === -64. Actual: ' + (-8388608 >> 17)); >-} >- >- >-if (-16777216 >> 17 !== -128) { >- testFailed('#569: -16777216 >> 17 === -128. Actual: ' + (-16777216 >> 17)); >-} >- >- >-if (-33554432 >> 17 !== -256) { >- testFailed('#570: -33554432 >> 17 === -256. Actual: ' + (-33554432 >> 17)); >-} >- >- >-if (-67108864 >> 17 !== -512) { >- testFailed('#571: -67108864 >> 17 === -512. Actual: ' + (-67108864 >> 17)); >-} >- >- >-if (-134217728 >> 17 !== -1024) { >- testFailed('#572: -134217728 >> 17 === -1024. Actual: ' + (-134217728 >> 17)); >-} >- >- >-if (-268435456 >> 17 !== -2048) { >- testFailed('#573: -268435456 >> 17 === -2048. Actual: ' + (-268435456 >> 17)); >-} >- >- >-if (-536870912 >> 17 !== -4096) { >- testFailed('#574: -536870912 >> 17 === -4096. Actual: ' + (-536870912 >> 17)); >-} >- >- >-if (-1073741824 >> 17 !== -8192) { >- testFailed('#575: -1073741824 >> 17 === -8192. Actual: ' + (-1073741824 >> 17)); >-} >- >- >-if (-2147483648 >> 17 !== -16384) { >- testFailed('#576: -2147483648 >> 17 === -16384. Actual: ' + (-2147483648 >> 17)); >-} >- >- >-if (-1 >> 18 !== -1) { >- testFailed('#577: -1 >> 18 === -1. Actual: ' + (-1 >> 18)); >-} >- >- >-if (-2 >> 18 !== -1) { >- testFailed('#578: -2 >> 18 === -1. Actual: ' + (-2 >> 18)); >-} >- >- >-if (-4 >> 18 !== -1) { >- testFailed('#579: -4 >> 18 === -1. Actual: ' + (-4 >> 18)); >-} >- >- >-if (-8 >> 18 !== -1) { >- testFailed('#580: -8 >> 18 === -1. Actual: ' + (-8 >> 18)); >-} >- >- >-if (-16 >> 18 !== -1) { >- testFailed('#581: -16 >> 18 === -1. Actual: ' + (-16 >> 18)); >-} >- >- >-if (-32 >> 18 !== -1) { >- testFailed('#582: -32 >> 18 === -1. Actual: ' + (-32 >> 18)); >-} >- >- >-if (-64 >> 18 !== -1) { >- testFailed('#583: -64 >> 18 === -1. Actual: ' + (-64 >> 18)); >-} >- >- >-if (-128 >> 18 !== -1) { >- testFailed('#584: -128 >> 18 === -1. Actual: ' + (-128 >> 18)); >-} >- >- >-if (-256 >> 18 !== -1) { >- testFailed('#585: -256 >> 18 === -1. Actual: ' + (-256 >> 18)); >-} >- >- >-if (-512 >> 18 !== -1) { >- testFailed('#586: -512 >> 18 === -1. Actual: ' + (-512 >> 18)); >-} >- >- >-if (-1024 >> 18 !== -1) { >- testFailed('#587: -1024 >> 18 === -1. Actual: ' + (-1024 >> 18)); >-} >- >- >-if (-2048 >> 18 !== -1) { >- testFailed('#588: -2048 >> 18 === -1. Actual: ' + (-2048 >> 18)); >-} >- >- >-if (-4096 >> 18 !== -1) { >- testFailed('#589: -4096 >> 18 === -1. Actual: ' + (-4096 >> 18)); >-} >- >- >-if (-8192 >> 18 !== -1) { >- testFailed('#590: -8192 >> 18 === -1. Actual: ' + (-8192 >> 18)); >-} >- >- >-if (-16384 >> 18 !== -1) { >- testFailed('#591: -16384 >> 18 === -1. Actual: ' + (-16384 >> 18)); >-} >- >- >-if (-32768 >> 18 !== -1) { >- testFailed('#592: -32768 >> 18 === -1. Actual: ' + (-32768 >> 18)); >-} >- >- >-if (-65536 >> 18 !== -1) { >- testFailed('#593: -65536 >> 18 === -1. Actual: ' + (-65536 >> 18)); >-} >- >- >-if (-131072 >> 18 !== -1) { >- testFailed('#594: -131072 >> 18 === -1. Actual: ' + (-131072 >> 18)); >-} >- >- >-if (-262144 >> 18 !== -1) { >- testFailed('#595: -262144 >> 18 === -1. Actual: ' + (-262144 >> 18)); >-} >- >- >-if (-524288 >> 18 !== -2) { >- testFailed('#596: -524288 >> 18 === -2. Actual: ' + (-524288 >> 18)); >-} >- >- >-if (-1048576 >> 18 !== -4) { >- testFailed('#597: -1048576 >> 18 === -4. Actual: ' + (-1048576 >> 18)); >-} >- >- >-if (-2097152 >> 18 !== -8) { >- testFailed('#598: -2097152 >> 18 === -8. Actual: ' + (-2097152 >> 18)); >-} >- >- >-if (-4194304 >> 18 !== -16) { >- testFailed('#599: -4194304 >> 18 === -16. Actual: ' + (-4194304 >> 18)); >-} >- >- >-if (-8388608 >> 18 !== -32) { >- testFailed('#600: -8388608 >> 18 === -32. Actual: ' + (-8388608 >> 18)); >-} >- >- >-if (-16777216 >> 18 !== -64) { >- testFailed('#601: -16777216 >> 18 === -64. Actual: ' + (-16777216 >> 18)); >-} >- >- >-if (-33554432 >> 18 !== -128) { >- testFailed('#602: -33554432 >> 18 === -128. Actual: ' + (-33554432 >> 18)); >-} >- >- >-if (-67108864 >> 18 !== -256) { >- testFailed('#603: -67108864 >> 18 === -256. Actual: ' + (-67108864 >> 18)); >-} >- >- >-if (-134217728 >> 18 !== -512) { >- testFailed('#604: -134217728 >> 18 === -512. Actual: ' + (-134217728 >> 18)); >-} >- >- >-if (-268435456 >> 18 !== -1024) { >- testFailed('#605: -268435456 >> 18 === -1024. Actual: ' + (-268435456 >> 18)); >-} >- >- >-if (-536870912 >> 18 !== -2048) { >- testFailed('#606: -536870912 >> 18 === -2048. Actual: ' + (-536870912 >> 18)); >-} >- >- >-if (-1073741824 >> 18 !== -4096) { >- testFailed('#607: -1073741824 >> 18 === -4096. Actual: ' + (-1073741824 >> 18)); >-} >- >- >-if (-2147483648 >> 18 !== -8192) { >- testFailed('#608: -2147483648 >> 18 === -8192. Actual: ' + (-2147483648 >> 18)); >-} >- >- >-if (-1 >> 19 !== -1) { >- testFailed('#609: -1 >> 19 === -1. Actual: ' + (-1 >> 19)); >-} >- >- >-if (-2 >> 19 !== -1) { >- testFailed('#610: -2 >> 19 === -1. Actual: ' + (-2 >> 19)); >-} >- >- >-if (-4 >> 19 !== -1) { >- testFailed('#611: -4 >> 19 === -1. Actual: ' + (-4 >> 19)); >-} >- >- >-if (-8 >> 19 !== -1) { >- testFailed('#612: -8 >> 19 === -1. Actual: ' + (-8 >> 19)); >-} >- >- >-if (-16 >> 19 !== -1) { >- testFailed('#613: -16 >> 19 === -1. Actual: ' + (-16 >> 19)); >-} >- >- >-if (-32 >> 19 !== -1) { >- testFailed('#614: -32 >> 19 === -1. Actual: ' + (-32 >> 19)); >-} >- >- >-if (-64 >> 19 !== -1) { >- testFailed('#615: -64 >> 19 === -1. Actual: ' + (-64 >> 19)); >-} >- >- >-if (-128 >> 19 !== -1) { >- testFailed('#616: -128 >> 19 === -1. Actual: ' + (-128 >> 19)); >-} >- >- >-if (-256 >> 19 !== -1) { >- testFailed('#617: -256 >> 19 === -1. Actual: ' + (-256 >> 19)); >-} >- >- >-if (-512 >> 19 !== -1) { >- testFailed('#618: -512 >> 19 === -1. Actual: ' + (-512 >> 19)); >-} >- >- >-if (-1024 >> 19 !== -1) { >- testFailed('#619: -1024 >> 19 === -1. Actual: ' + (-1024 >> 19)); >-} >- >- >-if (-2048 >> 19 !== -1) { >- testFailed('#620: -2048 >> 19 === -1. Actual: ' + (-2048 >> 19)); >-} >- >- >-if (-4096 >> 19 !== -1) { >- testFailed('#621: -4096 >> 19 === -1. Actual: ' + (-4096 >> 19)); >-} >- >- >-if (-8192 >> 19 !== -1) { >- testFailed('#622: -8192 >> 19 === -1. Actual: ' + (-8192 >> 19)); >-} >- >- >-if (-16384 >> 19 !== -1) { >- testFailed('#623: -16384 >> 19 === -1. Actual: ' + (-16384 >> 19)); >-} >- >- >-if (-32768 >> 19 !== -1) { >- testFailed('#624: -32768 >> 19 === -1. Actual: ' + (-32768 >> 19)); >-} >- >- >-if (-65536 >> 19 !== -1) { >- testFailed('#625: -65536 >> 19 === -1. Actual: ' + (-65536 >> 19)); >-} >- >- >-if (-131072 >> 19 !== -1) { >- testFailed('#626: -131072 >> 19 === -1. Actual: ' + (-131072 >> 19)); >-} >- >- >-if (-262144 >> 19 !== -1) { >- testFailed('#627: -262144 >> 19 === -1. Actual: ' + (-262144 >> 19)); >-} >- >- >-if (-524288 >> 19 !== -1) { >- testFailed('#628: -524288 >> 19 === -1. Actual: ' + (-524288 >> 19)); >-} >- >- >-if (-1048576 >> 19 !== -2) { >- testFailed('#629: -1048576 >> 19 === -2. Actual: ' + (-1048576 >> 19)); >-} >- >- >-if (-2097152 >> 19 !== -4) { >- testFailed('#630: -2097152 >> 19 === -4. Actual: ' + (-2097152 >> 19)); >-} >- >- >-if (-4194304 >> 19 !== -8) { >- testFailed('#631: -4194304 >> 19 === -8. Actual: ' + (-4194304 >> 19)); >-} >- >- >-if (-8388608 >> 19 !== -16) { >- testFailed('#632: -8388608 >> 19 === -16. Actual: ' + (-8388608 >> 19)); >-} >- >- >-if (-16777216 >> 19 !== -32) { >- testFailed('#633: -16777216 >> 19 === -32. Actual: ' + (-16777216 >> 19)); >-} >- >- >-if (-33554432 >> 19 !== -64) { >- testFailed('#634: -33554432 >> 19 === -64. Actual: ' + (-33554432 >> 19)); >-} >- >- >-if (-67108864 >> 19 !== -128) { >- testFailed('#635: -67108864 >> 19 === -128. Actual: ' + (-67108864 >> 19)); >-} >- >- >-if (-134217728 >> 19 !== -256) { >- testFailed('#636: -134217728 >> 19 === -256. Actual: ' + (-134217728 >> 19)); >-} >- >- >-if (-268435456 >> 19 !== -512) { >- testFailed('#637: -268435456 >> 19 === -512. Actual: ' + (-268435456 >> 19)); >-} >- >- >-if (-536870912 >> 19 !== -1024) { >- testFailed('#638: -536870912 >> 19 === -1024. Actual: ' + (-536870912 >> 19)); >-} >- >- >-if (-1073741824 >> 19 !== -2048) { >- testFailed('#639: -1073741824 >> 19 === -2048. Actual: ' + (-1073741824 >> 19)); >-} >- >- >-if (-2147483648 >> 19 !== -4096) { >- testFailed('#640: -2147483648 >> 19 === -4096. Actual: ' + (-2147483648 >> 19)); >-} >- >- >-if (-1 >> 20 !== -1) { >- testFailed('#641: -1 >> 20 === -1. Actual: ' + (-1 >> 20)); >-} >- >- >-if (-2 >> 20 !== -1) { >- testFailed('#642: -2 >> 20 === -1. Actual: ' + (-2 >> 20)); >-} >- >- >-if (-4 >> 20 !== -1) { >- testFailed('#643: -4 >> 20 === -1. Actual: ' + (-4 >> 20)); >-} >- >- >-if (-8 >> 20 !== -1) { >- testFailed('#644: -8 >> 20 === -1. Actual: ' + (-8 >> 20)); >-} >- >- >-if (-16 >> 20 !== -1) { >- testFailed('#645: -16 >> 20 === -1. Actual: ' + (-16 >> 20)); >-} >- >- >-if (-32 >> 20 !== -1) { >- testFailed('#646: -32 >> 20 === -1. Actual: ' + (-32 >> 20)); >-} >- >- >-if (-64 >> 20 !== -1) { >- testFailed('#647: -64 >> 20 === -1. Actual: ' + (-64 >> 20)); >-} >- >- >-if (-128 >> 20 !== -1) { >- testFailed('#648: -128 >> 20 === -1. Actual: ' + (-128 >> 20)); >-} >- >- >-if (-256 >> 20 !== -1) { >- testFailed('#649: -256 >> 20 === -1. Actual: ' + (-256 >> 20)); >-} >- >- >-if (-512 >> 20 !== -1) { >- testFailed('#650: -512 >> 20 === -1. Actual: ' + (-512 >> 20)); >-} >- >- >-if (-1024 >> 20 !== -1) { >- testFailed('#651: -1024 >> 20 === -1. Actual: ' + (-1024 >> 20)); >-} >- >- >-if (-2048 >> 20 !== -1) { >- testFailed('#652: -2048 >> 20 === -1. Actual: ' + (-2048 >> 20)); >-} >- >- >-if (-4096 >> 20 !== -1) { >- testFailed('#653: -4096 >> 20 === -1. Actual: ' + (-4096 >> 20)); >-} >- >- >-if (-8192 >> 20 !== -1) { >- testFailed('#654: -8192 >> 20 === -1. Actual: ' + (-8192 >> 20)); >-} >- >- >-if (-16384 >> 20 !== -1) { >- testFailed('#655: -16384 >> 20 === -1. Actual: ' + (-16384 >> 20)); >-} >- >- >-if (-32768 >> 20 !== -1) { >- testFailed('#656: -32768 >> 20 === -1. Actual: ' + (-32768 >> 20)); >-} >- >- >-if (-65536 >> 20 !== -1) { >- testFailed('#657: -65536 >> 20 === -1. Actual: ' + (-65536 >> 20)); >-} >- >- >-if (-131072 >> 20 !== -1) { >- testFailed('#658: -131072 >> 20 === -1. Actual: ' + (-131072 >> 20)); >-} >- >- >-if (-262144 >> 20 !== -1) { >- testFailed('#659: -262144 >> 20 === -1. Actual: ' + (-262144 >> 20)); >-} >- >- >-if (-524288 >> 20 !== -1) { >- testFailed('#660: -524288 >> 20 === -1. Actual: ' + (-524288 >> 20)); >-} >- >- >-if (-1048576 >> 20 !== -1) { >- testFailed('#661: -1048576 >> 20 === -1. Actual: ' + (-1048576 >> 20)); >-} >- >- >-if (-2097152 >> 20 !== -2) { >- testFailed('#662: -2097152 >> 20 === -2. Actual: ' + (-2097152 >> 20)); >-} >- >- >-if (-4194304 >> 20 !== -4) { >- testFailed('#663: -4194304 >> 20 === -4. Actual: ' + (-4194304 >> 20)); >-} >- >- >-if (-8388608 >> 20 !== -8) { >- testFailed('#664: -8388608 >> 20 === -8. Actual: ' + (-8388608 >> 20)); >-} >- >- >-if (-16777216 >> 20 !== -16) { >- testFailed('#665: -16777216 >> 20 === -16. Actual: ' + (-16777216 >> 20)); >-} >- >- >-if (-33554432 >> 20 !== -32) { >- testFailed('#666: -33554432 >> 20 === -32. Actual: ' + (-33554432 >> 20)); >-} >- >- >-if (-67108864 >> 20 !== -64) { >- testFailed('#667: -67108864 >> 20 === -64. Actual: ' + (-67108864 >> 20)); >-} >- >- >-if (-134217728 >> 20 !== -128) { >- testFailed('#668: -134217728 >> 20 === -128. Actual: ' + (-134217728 >> 20)); >-} >- >- >-if (-268435456 >> 20 !== -256) { >- testFailed('#669: -268435456 >> 20 === -256. Actual: ' + (-268435456 >> 20)); >-} >- >- >-if (-536870912 >> 20 !== -512) { >- testFailed('#670: -536870912 >> 20 === -512. Actual: ' + (-536870912 >> 20)); >-} >- >- >-if (-1073741824 >> 20 !== -1024) { >- testFailed('#671: -1073741824 >> 20 === -1024. Actual: ' + (-1073741824 >> 20)); >-} >- >- >-if (-2147483648 >> 20 !== -2048) { >- testFailed('#672: -2147483648 >> 20 === -2048. Actual: ' + (-2147483648 >> 20)); >-} >- >- >-if (-1 >> 21 !== -1) { >- testFailed('#673: -1 >> 21 === -1. Actual: ' + (-1 >> 21)); >-} >- >- >-if (-2 >> 21 !== -1) { >- testFailed('#674: -2 >> 21 === -1. Actual: ' + (-2 >> 21)); >-} >- >- >-if (-4 >> 21 !== -1) { >- testFailed('#675: -4 >> 21 === -1. Actual: ' + (-4 >> 21)); >-} >- >- >-if (-8 >> 21 !== -1) { >- testFailed('#676: -8 >> 21 === -1. Actual: ' + (-8 >> 21)); >-} >- >- >-if (-16 >> 21 !== -1) { >- testFailed('#677: -16 >> 21 === -1. Actual: ' + (-16 >> 21)); >-} >- >- >-if (-32 >> 21 !== -1) { >- testFailed('#678: -32 >> 21 === -1. Actual: ' + (-32 >> 21)); >-} >- >- >-if (-64 >> 21 !== -1) { >- testFailed('#679: -64 >> 21 === -1. Actual: ' + (-64 >> 21)); >-} >- >- >-if (-128 >> 21 !== -1) { >- testFailed('#680: -128 >> 21 === -1. Actual: ' + (-128 >> 21)); >-} >- >- >-if (-256 >> 21 !== -1) { >- testFailed('#681: -256 >> 21 === -1. Actual: ' + (-256 >> 21)); >-} >- >- >-if (-512 >> 21 !== -1) { >- testFailed('#682: -512 >> 21 === -1. Actual: ' + (-512 >> 21)); >-} >- >- >-if (-1024 >> 21 !== -1) { >- testFailed('#683: -1024 >> 21 === -1. Actual: ' + (-1024 >> 21)); >-} >- >- >-if (-2048 >> 21 !== -1) { >- testFailed('#684: -2048 >> 21 === -1. Actual: ' + (-2048 >> 21)); >-} >- >- >-if (-4096 >> 21 !== -1) { >- testFailed('#685: -4096 >> 21 === -1. Actual: ' + (-4096 >> 21)); >-} >- >- >-if (-8192 >> 21 !== -1) { >- testFailed('#686: -8192 >> 21 === -1. Actual: ' + (-8192 >> 21)); >-} >- >- >-if (-16384 >> 21 !== -1) { >- testFailed('#687: -16384 >> 21 === -1. Actual: ' + (-16384 >> 21)); >-} >- >- >-if (-32768 >> 21 !== -1) { >- testFailed('#688: -32768 >> 21 === -1. Actual: ' + (-32768 >> 21)); >-} >- >- >-if (-65536 >> 21 !== -1) { >- testFailed('#689: -65536 >> 21 === -1. Actual: ' + (-65536 >> 21)); >-} >- >- >-if (-131072 >> 21 !== -1) { >- testFailed('#690: -131072 >> 21 === -1. Actual: ' + (-131072 >> 21)); >-} >- >- >-if (-262144 >> 21 !== -1) { >- testFailed('#691: -262144 >> 21 === -1. Actual: ' + (-262144 >> 21)); >-} >- >- >-if (-524288 >> 21 !== -1) { >- testFailed('#692: -524288 >> 21 === -1. Actual: ' + (-524288 >> 21)); >-} >- >- >-if (-1048576 >> 21 !== -1) { >- testFailed('#693: -1048576 >> 21 === -1. Actual: ' + (-1048576 >> 21)); >-} >- >- >-if (-2097152 >> 21 !== -1) { >- testFailed('#694: -2097152 >> 21 === -1. Actual: ' + (-2097152 >> 21)); >-} >- >- >-if (-4194304 >> 21 !== -2) { >- testFailed('#695: -4194304 >> 21 === -2. Actual: ' + (-4194304 >> 21)); >-} >- >- >-if (-8388608 >> 21 !== -4) { >- testFailed('#696: -8388608 >> 21 === -4. Actual: ' + (-8388608 >> 21)); >-} >- >- >-if (-16777216 >> 21 !== -8) { >- testFailed('#697: -16777216 >> 21 === -8. Actual: ' + (-16777216 >> 21)); >-} >- >- >-if (-33554432 >> 21 !== -16) { >- testFailed('#698: -33554432 >> 21 === -16. Actual: ' + (-33554432 >> 21)); >-} >- >- >-if (-67108864 >> 21 !== -32) { >- testFailed('#699: -67108864 >> 21 === -32. Actual: ' + (-67108864 >> 21)); >-} >- >- >-if (-134217728 >> 21 !== -64) { >- testFailed('#700: -134217728 >> 21 === -64. Actual: ' + (-134217728 >> 21)); >-} >- >- >-if (-268435456 >> 21 !== -128) { >- testFailed('#701: -268435456 >> 21 === -128. Actual: ' + (-268435456 >> 21)); >-} >- >- >-if (-536870912 >> 21 !== -256) { >- testFailed('#702: -536870912 >> 21 === -256. Actual: ' + (-536870912 >> 21)); >-} >- >- >-if (-1073741824 >> 21 !== -512) { >- testFailed('#703: -1073741824 >> 21 === -512. Actual: ' + (-1073741824 >> 21)); >-} >- >- >-if (-2147483648 >> 21 !== -1024) { >- testFailed('#704: -2147483648 >> 21 === -1024. Actual: ' + (-2147483648 >> 21)); >-} >- >- >-if (-1 >> 22 !== -1) { >- testFailed('#705: -1 >> 22 === -1. Actual: ' + (-1 >> 22)); >-} >- >- >-if (-2 >> 22 !== -1) { >- testFailed('#706: -2 >> 22 === -1. Actual: ' + (-2 >> 22)); >-} >- >- >-if (-4 >> 22 !== -1) { >- testFailed('#707: -4 >> 22 === -1. Actual: ' + (-4 >> 22)); >-} >- >- >-if (-8 >> 22 !== -1) { >- testFailed('#708: -8 >> 22 === -1. Actual: ' + (-8 >> 22)); >-} >- >- >-if (-16 >> 22 !== -1) { >- testFailed('#709: -16 >> 22 === -1. Actual: ' + (-16 >> 22)); >-} >- >- >-if (-32 >> 22 !== -1) { >- testFailed('#710: -32 >> 22 === -1. Actual: ' + (-32 >> 22)); >-} >- >- >-if (-64 >> 22 !== -1) { >- testFailed('#711: -64 >> 22 === -1. Actual: ' + (-64 >> 22)); >-} >- >- >-if (-128 >> 22 !== -1) { >- testFailed('#712: -128 >> 22 === -1. Actual: ' + (-128 >> 22)); >-} >- >- >-if (-256 >> 22 !== -1) { >- testFailed('#713: -256 >> 22 === -1. Actual: ' + (-256 >> 22)); >-} >- >- >-if (-512 >> 22 !== -1) { >- testFailed('#714: -512 >> 22 === -1. Actual: ' + (-512 >> 22)); >-} >- >- >-if (-1024 >> 22 !== -1) { >- testFailed('#715: -1024 >> 22 === -1. Actual: ' + (-1024 >> 22)); >-} >- >- >-if (-2048 >> 22 !== -1) { >- testFailed('#716: -2048 >> 22 === -1. Actual: ' + (-2048 >> 22)); >-} >- >- >-if (-4096 >> 22 !== -1) { >- testFailed('#717: -4096 >> 22 === -1. Actual: ' + (-4096 >> 22)); >-} >- >- >-if (-8192 >> 22 !== -1) { >- testFailed('#718: -8192 >> 22 === -1. Actual: ' + (-8192 >> 22)); >-} >- >- >-if (-16384 >> 22 !== -1) { >- testFailed('#719: -16384 >> 22 === -1. Actual: ' + (-16384 >> 22)); >-} >- >- >-if (-32768 >> 22 !== -1) { >- testFailed('#720: -32768 >> 22 === -1. Actual: ' + (-32768 >> 22)); >-} >- >- >-if (-65536 >> 22 !== -1) { >- testFailed('#721: -65536 >> 22 === -1. Actual: ' + (-65536 >> 22)); >-} >- >- >-if (-131072 >> 22 !== -1) { >- testFailed('#722: -131072 >> 22 === -1. Actual: ' + (-131072 >> 22)); >-} >- >- >-if (-262144 >> 22 !== -1) { >- testFailed('#723: -262144 >> 22 === -1. Actual: ' + (-262144 >> 22)); >-} >- >- >-if (-524288 >> 22 !== -1) { >- testFailed('#724: -524288 >> 22 === -1. Actual: ' + (-524288 >> 22)); >-} >- >- >-if (-1048576 >> 22 !== -1) { >- testFailed('#725: -1048576 >> 22 === -1. Actual: ' + (-1048576 >> 22)); >-} >- >- >-if (-2097152 >> 22 !== -1) { >- testFailed('#726: -2097152 >> 22 === -1. Actual: ' + (-2097152 >> 22)); >-} >- >- >-if (-4194304 >> 22 !== -1) { >- testFailed('#727: -4194304 >> 22 === -1. Actual: ' + (-4194304 >> 22)); >-} >- >- >-if (-8388608 >> 22 !== -2) { >- testFailed('#728: -8388608 >> 22 === -2. Actual: ' + (-8388608 >> 22)); >-} >- >- >-if (-16777216 >> 22 !== -4) { >- testFailed('#729: -16777216 >> 22 === -4. Actual: ' + (-16777216 >> 22)); >-} >- >- >-if (-33554432 >> 22 !== -8) { >- testFailed('#730: -33554432 >> 22 === -8. Actual: ' + (-33554432 >> 22)); >-} >- >- >-if (-67108864 >> 22 !== -16) { >- testFailed('#731: -67108864 >> 22 === -16. Actual: ' + (-67108864 >> 22)); >-} >- >- >-if (-134217728 >> 22 !== -32) { >- testFailed('#732: -134217728 >> 22 === -32. Actual: ' + (-134217728 >> 22)); >-} >- >- >-if (-268435456 >> 22 !== -64) { >- testFailed('#733: -268435456 >> 22 === -64. Actual: ' + (-268435456 >> 22)); >-} >- >- >-if (-536870912 >> 22 !== -128) { >- testFailed('#734: -536870912 >> 22 === -128. Actual: ' + (-536870912 >> 22)); >-} >- >- >-if (-1073741824 >> 22 !== -256) { >- testFailed('#735: -1073741824 >> 22 === -256. Actual: ' + (-1073741824 >> 22)); >-} >- >- >-if (-2147483648 >> 22 !== -512) { >- testFailed('#736: -2147483648 >> 22 === -512. Actual: ' + (-2147483648 >> 22)); >-} >- >- >-if (-1 >> 23 !== -1) { >- testFailed('#737: -1 >> 23 === -1. Actual: ' + (-1 >> 23)); >-} >- >- >-if (-2 >> 23 !== -1) { >- testFailed('#738: -2 >> 23 === -1. Actual: ' + (-2 >> 23)); >-} >- >- >-if (-4 >> 23 !== -1) { >- testFailed('#739: -4 >> 23 === -1. Actual: ' + (-4 >> 23)); >-} >- >- >-if (-8 >> 23 !== -1) { >- testFailed('#740: -8 >> 23 === -1. Actual: ' + (-8 >> 23)); >-} >- >- >-if (-16 >> 23 !== -1) { >- testFailed('#741: -16 >> 23 === -1. Actual: ' + (-16 >> 23)); >-} >- >- >-if (-32 >> 23 !== -1) { >- testFailed('#742: -32 >> 23 === -1. Actual: ' + (-32 >> 23)); >-} >- >- >-if (-64 >> 23 !== -1) { >- testFailed('#743: -64 >> 23 === -1. Actual: ' + (-64 >> 23)); >-} >- >- >-if (-128 >> 23 !== -1) { >- testFailed('#744: -128 >> 23 === -1. Actual: ' + (-128 >> 23)); >-} >- >- >-if (-256 >> 23 !== -1) { >- testFailed('#745: -256 >> 23 === -1. Actual: ' + (-256 >> 23)); >-} >- >- >-if (-512 >> 23 !== -1) { >- testFailed('#746: -512 >> 23 === -1. Actual: ' + (-512 >> 23)); >-} >- >- >-if (-1024 >> 23 !== -1) { >- testFailed('#747: -1024 >> 23 === -1. Actual: ' + (-1024 >> 23)); >-} >- >- >-if (-2048 >> 23 !== -1) { >- testFailed('#748: -2048 >> 23 === -1. Actual: ' + (-2048 >> 23)); >-} >- >- >-if (-4096 >> 23 !== -1) { >- testFailed('#749: -4096 >> 23 === -1. Actual: ' + (-4096 >> 23)); >-} >- >- >-if (-8192 >> 23 !== -1) { >- testFailed('#750: -8192 >> 23 === -1. Actual: ' + (-8192 >> 23)); >-} >- >- >-if (-16384 >> 23 !== -1) { >- testFailed('#751: -16384 >> 23 === -1. Actual: ' + (-16384 >> 23)); >-} >- >- >-if (-32768 >> 23 !== -1) { >- testFailed('#752: -32768 >> 23 === -1. Actual: ' + (-32768 >> 23)); >-} >- >- >-if (-65536 >> 23 !== -1) { >- testFailed('#753: -65536 >> 23 === -1. Actual: ' + (-65536 >> 23)); >-} >- >- >-if (-131072 >> 23 !== -1) { >- testFailed('#754: -131072 >> 23 === -1. Actual: ' + (-131072 >> 23)); >-} >- >- >-if (-262144 >> 23 !== -1) { >- testFailed('#755: -262144 >> 23 === -1. Actual: ' + (-262144 >> 23)); >-} >- >- >-if (-524288 >> 23 !== -1) { >- testFailed('#756: -524288 >> 23 === -1. Actual: ' + (-524288 >> 23)); >-} >- >- >-if (-1048576 >> 23 !== -1) { >- testFailed('#757: -1048576 >> 23 === -1. Actual: ' + (-1048576 >> 23)); >-} >- >- >-if (-2097152 >> 23 !== -1) { >- testFailed('#758: -2097152 >> 23 === -1. Actual: ' + (-2097152 >> 23)); >-} >- >- >-if (-4194304 >> 23 !== -1) { >- testFailed('#759: -4194304 >> 23 === -1. Actual: ' + (-4194304 >> 23)); >-} >- >- >-if (-8388608 >> 23 !== -1) { >- testFailed('#760: -8388608 >> 23 === -1. Actual: ' + (-8388608 >> 23)); >-} >- >- >-if (-16777216 >> 23 !== -2) { >- testFailed('#761: -16777216 >> 23 === -2. Actual: ' + (-16777216 >> 23)); >-} >- >- >-if (-33554432 >> 23 !== -4) { >- testFailed('#762: -33554432 >> 23 === -4. Actual: ' + (-33554432 >> 23)); >-} >- >- >-if (-67108864 >> 23 !== -8) { >- testFailed('#763: -67108864 >> 23 === -8. Actual: ' + (-67108864 >> 23)); >-} >- >- >-if (-134217728 >> 23 !== -16) { >- testFailed('#764: -134217728 >> 23 === -16. Actual: ' + (-134217728 >> 23)); >-} >- >- >-if (-268435456 >> 23 !== -32) { >- testFailed('#765: -268435456 >> 23 === -32. Actual: ' + (-268435456 >> 23)); >-} >- >- >-if (-536870912 >> 23 !== -64) { >- testFailed('#766: -536870912 >> 23 === -64. Actual: ' + (-536870912 >> 23)); >-} >- >- >-if (-1073741824 >> 23 !== -128) { >- testFailed('#767: -1073741824 >> 23 === -128. Actual: ' + (-1073741824 >> 23)); >-} >- >- >-if (-2147483648 >> 23 !== -256) { >- testFailed('#768: -2147483648 >> 23 === -256. Actual: ' + (-2147483648 >> 23)); >-} >- >- >-if (-1 >> 24 !== -1) { >- testFailed('#769: -1 >> 24 === -1. Actual: ' + (-1 >> 24)); >-} >- >- >-if (-2 >> 24 !== -1) { >- testFailed('#770: -2 >> 24 === -1. Actual: ' + (-2 >> 24)); >-} >- >- >-if (-4 >> 24 !== -1) { >- testFailed('#771: -4 >> 24 === -1. Actual: ' + (-4 >> 24)); >-} >- >- >-if (-8 >> 24 !== -1) { >- testFailed('#772: -8 >> 24 === -1. Actual: ' + (-8 >> 24)); >-} >- >- >-if (-16 >> 24 !== -1) { >- testFailed('#773: -16 >> 24 === -1. Actual: ' + (-16 >> 24)); >-} >- >- >-if (-32 >> 24 !== -1) { >- testFailed('#774: -32 >> 24 === -1. Actual: ' + (-32 >> 24)); >-} >- >- >-if (-64 >> 24 !== -1) { >- testFailed('#775: -64 >> 24 === -1. Actual: ' + (-64 >> 24)); >-} >- >- >-if (-128 >> 24 !== -1) { >- testFailed('#776: -128 >> 24 === -1. Actual: ' + (-128 >> 24)); >-} >- >- >-if (-256 >> 24 !== -1) { >- testFailed('#777: -256 >> 24 === -1. Actual: ' + (-256 >> 24)); >-} >- >- >-if (-512 >> 24 !== -1) { >- testFailed('#778: -512 >> 24 === -1. Actual: ' + (-512 >> 24)); >-} >- >- >-if (-1024 >> 24 !== -1) { >- testFailed('#779: -1024 >> 24 === -1. Actual: ' + (-1024 >> 24)); >-} >- >- >-if (-2048 >> 24 !== -1) { >- testFailed('#780: -2048 >> 24 === -1. Actual: ' + (-2048 >> 24)); >-} >- >- >-if (-4096 >> 24 !== -1) { >- testFailed('#781: -4096 >> 24 === -1. Actual: ' + (-4096 >> 24)); >-} >- >- >-if (-8192 >> 24 !== -1) { >- testFailed('#782: -8192 >> 24 === -1. Actual: ' + (-8192 >> 24)); >-} >- >- >-if (-16384 >> 24 !== -1) { >- testFailed('#783: -16384 >> 24 === -1. Actual: ' + (-16384 >> 24)); >-} >- >- >-if (-32768 >> 24 !== -1) { >- testFailed('#784: -32768 >> 24 === -1. Actual: ' + (-32768 >> 24)); >-} >- >- >-if (-65536 >> 24 !== -1) { >- testFailed('#785: -65536 >> 24 === -1. Actual: ' + (-65536 >> 24)); >-} >- >- >-if (-131072 >> 24 !== -1) { >- testFailed('#786: -131072 >> 24 === -1. Actual: ' + (-131072 >> 24)); >-} >- >- >-if (-262144 >> 24 !== -1) { >- testFailed('#787: -262144 >> 24 === -1. Actual: ' + (-262144 >> 24)); >-} >- >- >-if (-524288 >> 24 !== -1) { >- testFailed('#788: -524288 >> 24 === -1. Actual: ' + (-524288 >> 24)); >-} >- >- >-if (-1048576 >> 24 !== -1) { >- testFailed('#789: -1048576 >> 24 === -1. Actual: ' + (-1048576 >> 24)); >-} >- >- >-if (-2097152 >> 24 !== -1) { >- testFailed('#790: -2097152 >> 24 === -1. Actual: ' + (-2097152 >> 24)); >-} >- >- >-if (-4194304 >> 24 !== -1) { >- testFailed('#791: -4194304 >> 24 === -1. Actual: ' + (-4194304 >> 24)); >-} >- >- >-if (-8388608 >> 24 !== -1) { >- testFailed('#792: -8388608 >> 24 === -1. Actual: ' + (-8388608 >> 24)); >-} >- >- >-if (-16777216 >> 24 !== -1) { >- testFailed('#793: -16777216 >> 24 === -1. Actual: ' + (-16777216 >> 24)); >-} >- >- >-if (-33554432 >> 24 !== -2) { >- testFailed('#794: -33554432 >> 24 === -2. Actual: ' + (-33554432 >> 24)); >-} >- >- >-if (-67108864 >> 24 !== -4) { >- testFailed('#795: -67108864 >> 24 === -4. Actual: ' + (-67108864 >> 24)); >-} >- >- >-if (-134217728 >> 24 !== -8) { >- testFailed('#796: -134217728 >> 24 === -8. Actual: ' + (-134217728 >> 24)); >-} >- >- >-if (-268435456 >> 24 !== -16) { >- testFailed('#797: -268435456 >> 24 === -16. Actual: ' + (-268435456 >> 24)); >-} >- >- >-if (-536870912 >> 24 !== -32) { >- testFailed('#798: -536870912 >> 24 === -32. Actual: ' + (-536870912 >> 24)); >-} >- >- >-if (-1073741824 >> 24 !== -64) { >- testFailed('#799: -1073741824 >> 24 === -64. Actual: ' + (-1073741824 >> 24)); >-} >- >- >-if (-2147483648 >> 24 !== -128) { >- testFailed('#800: -2147483648 >> 24 === -128. Actual: ' + (-2147483648 >> 24)); >-} >- >- >-if (-1 >> 25 !== -1) { >- testFailed('#801: -1 >> 25 === -1. Actual: ' + (-1 >> 25)); >-} >- >- >-if (-2 >> 25 !== -1) { >- testFailed('#802: -2 >> 25 === -1. Actual: ' + (-2 >> 25)); >-} >- >- >-if (-4 >> 25 !== -1) { >- testFailed('#803: -4 >> 25 === -1. Actual: ' + (-4 >> 25)); >-} >- >- >-if (-8 >> 25 !== -1) { >- testFailed('#804: -8 >> 25 === -1. Actual: ' + (-8 >> 25)); >-} >- >- >-if (-16 >> 25 !== -1) { >- testFailed('#805: -16 >> 25 === -1. Actual: ' + (-16 >> 25)); >-} >- >- >-if (-32 >> 25 !== -1) { >- testFailed('#806: -32 >> 25 === -1. Actual: ' + (-32 >> 25)); >-} >- >- >-if (-64 >> 25 !== -1) { >- testFailed('#807: -64 >> 25 === -1. Actual: ' + (-64 >> 25)); >-} >- >- >-if (-128 >> 25 !== -1) { >- testFailed('#808: -128 >> 25 === -1. Actual: ' + (-128 >> 25)); >-} >- >- >-if (-256 >> 25 !== -1) { >- testFailed('#809: -256 >> 25 === -1. Actual: ' + (-256 >> 25)); >-} >- >- >-if (-512 >> 25 !== -1) { >- testFailed('#810: -512 >> 25 === -1. Actual: ' + (-512 >> 25)); >-} >- >- >-if (-1024 >> 25 !== -1) { >- testFailed('#811: -1024 >> 25 === -1. Actual: ' + (-1024 >> 25)); >-} >- >- >-if (-2048 >> 25 !== -1) { >- testFailed('#812: -2048 >> 25 === -1. Actual: ' + (-2048 >> 25)); >-} >- >- >-if (-4096 >> 25 !== -1) { >- testFailed('#813: -4096 >> 25 === -1. Actual: ' + (-4096 >> 25)); >-} >- >- >-if (-8192 >> 25 !== -1) { >- testFailed('#814: -8192 >> 25 === -1. Actual: ' + (-8192 >> 25)); >-} >- >- >-if (-16384 >> 25 !== -1) { >- testFailed('#815: -16384 >> 25 === -1. Actual: ' + (-16384 >> 25)); >-} >- >- >-if (-32768 >> 25 !== -1) { >- testFailed('#816: -32768 >> 25 === -1. Actual: ' + (-32768 >> 25)); >-} >- >- >-if (-65536 >> 25 !== -1) { >- testFailed('#817: -65536 >> 25 === -1. Actual: ' + (-65536 >> 25)); >-} >- >- >-if (-131072 >> 25 !== -1) { >- testFailed('#818: -131072 >> 25 === -1. Actual: ' + (-131072 >> 25)); >-} >- >- >-if (-262144 >> 25 !== -1) { >- testFailed('#819: -262144 >> 25 === -1. Actual: ' + (-262144 >> 25)); >-} >- >- >-if (-524288 >> 25 !== -1) { >- testFailed('#820: -524288 >> 25 === -1. Actual: ' + (-524288 >> 25)); >-} >- >- >-if (-1048576 >> 25 !== -1) { >- testFailed('#821: -1048576 >> 25 === -1. Actual: ' + (-1048576 >> 25)); >-} >- >- >-if (-2097152 >> 25 !== -1) { >- testFailed('#822: -2097152 >> 25 === -1. Actual: ' + (-2097152 >> 25)); >-} >- >- >-if (-4194304 >> 25 !== -1) { >- testFailed('#823: -4194304 >> 25 === -1. Actual: ' + (-4194304 >> 25)); >-} >- >- >-if (-8388608 >> 25 !== -1) { >- testFailed('#824: -8388608 >> 25 === -1. Actual: ' + (-8388608 >> 25)); >-} >- >- >-if (-16777216 >> 25 !== -1) { >- testFailed('#825: -16777216 >> 25 === -1. Actual: ' + (-16777216 >> 25)); >-} >- >- >-if (-33554432 >> 25 !== -1) { >- testFailed('#826: -33554432 >> 25 === -1. Actual: ' + (-33554432 >> 25)); >-} >- >- >-if (-67108864 >> 25 !== -2) { >- testFailed('#827: -67108864 >> 25 === -2. Actual: ' + (-67108864 >> 25)); >-} >- >- >-if (-134217728 >> 25 !== -4) { >- testFailed('#828: -134217728 >> 25 === -4. Actual: ' + (-134217728 >> 25)); >-} >- >- >-if (-268435456 >> 25 !== -8) { >- testFailed('#829: -268435456 >> 25 === -8. Actual: ' + (-268435456 >> 25)); >-} >- >- >-if (-536870912 >> 25 !== -16) { >- testFailed('#830: -536870912 >> 25 === -16. Actual: ' + (-536870912 >> 25)); >-} >- >- >-if (-1073741824 >> 25 !== -32) { >- testFailed('#831: -1073741824 >> 25 === -32. Actual: ' + (-1073741824 >> 25)); >-} >- >- >-if (-2147483648 >> 25 !== -64) { >- testFailed('#832: -2147483648 >> 25 === -64. Actual: ' + (-2147483648 >> 25)); >-} >- >- >-if (-1 >> 26 !== -1) { >- testFailed('#833: -1 >> 26 === -1. Actual: ' + (-1 >> 26)); >-} >- >- >-if (-2 >> 26 !== -1) { >- testFailed('#834: -2 >> 26 === -1. Actual: ' + (-2 >> 26)); >-} >- >- >-if (-4 >> 26 !== -1) { >- testFailed('#835: -4 >> 26 === -1. Actual: ' + (-4 >> 26)); >-} >- >- >-if (-8 >> 26 !== -1) { >- testFailed('#836: -8 >> 26 === -1. Actual: ' + (-8 >> 26)); >-} >- >- >-if (-16 >> 26 !== -1) { >- testFailed('#837: -16 >> 26 === -1. Actual: ' + (-16 >> 26)); >-} >- >- >-if (-32 >> 26 !== -1) { >- testFailed('#838: -32 >> 26 === -1. Actual: ' + (-32 >> 26)); >-} >- >- >-if (-64 >> 26 !== -1) { >- testFailed('#839: -64 >> 26 === -1. Actual: ' + (-64 >> 26)); >-} >- >- >-if (-128 >> 26 !== -1) { >- testFailed('#840: -128 >> 26 === -1. Actual: ' + (-128 >> 26)); >-} >- >- >-if (-256 >> 26 !== -1) { >- testFailed('#841: -256 >> 26 === -1. Actual: ' + (-256 >> 26)); >-} >- >- >-if (-512 >> 26 !== -1) { >- testFailed('#842: -512 >> 26 === -1. Actual: ' + (-512 >> 26)); >-} >- >- >-if (-1024 >> 26 !== -1) { >- testFailed('#843: -1024 >> 26 === -1. Actual: ' + (-1024 >> 26)); >-} >- >- >-if (-2048 >> 26 !== -1) { >- testFailed('#844: -2048 >> 26 === -1. Actual: ' + (-2048 >> 26)); >-} >- >- >-if (-4096 >> 26 !== -1) { >- testFailed('#845: -4096 >> 26 === -1. Actual: ' + (-4096 >> 26)); >-} >- >- >-if (-8192 >> 26 !== -1) { >- testFailed('#846: -8192 >> 26 === -1. Actual: ' + (-8192 >> 26)); >-} >- >- >-if (-16384 >> 26 !== -1) { >- testFailed('#847: -16384 >> 26 === -1. Actual: ' + (-16384 >> 26)); >-} >- >- >-if (-32768 >> 26 !== -1) { >- testFailed('#848: -32768 >> 26 === -1. Actual: ' + (-32768 >> 26)); >-} >- >- >-if (-65536 >> 26 !== -1) { >- testFailed('#849: -65536 >> 26 === -1. Actual: ' + (-65536 >> 26)); >-} >- >- >-if (-131072 >> 26 !== -1) { >- testFailed('#850: -131072 >> 26 === -1. Actual: ' + (-131072 >> 26)); >-} >- >- >-if (-262144 >> 26 !== -1) { >- testFailed('#851: -262144 >> 26 === -1. Actual: ' + (-262144 >> 26)); >-} >- >- >-if (-524288 >> 26 !== -1) { >- testFailed('#852: -524288 >> 26 === -1. Actual: ' + (-524288 >> 26)); >-} >- >- >-if (-1048576 >> 26 !== -1) { >- testFailed('#853: -1048576 >> 26 === -1. Actual: ' + (-1048576 >> 26)); >-} >- >- >-if (-2097152 >> 26 !== -1) { >- testFailed('#854: -2097152 >> 26 === -1. Actual: ' + (-2097152 >> 26)); >-} >- >- >-if (-4194304 >> 26 !== -1) { >- testFailed('#855: -4194304 >> 26 === -1. Actual: ' + (-4194304 >> 26)); >-} >- >- >-if (-8388608 >> 26 !== -1) { >- testFailed('#856: -8388608 >> 26 === -1. Actual: ' + (-8388608 >> 26)); >-} >- >- >-if (-16777216 >> 26 !== -1) { >- testFailed('#857: -16777216 >> 26 === -1. Actual: ' + (-16777216 >> 26)); >-} >- >- >-if (-33554432 >> 26 !== -1) { >- testFailed('#858: -33554432 >> 26 === -1. Actual: ' + (-33554432 >> 26)); >-} >- >- >-if (-67108864 >> 26 !== -1) { >- testFailed('#859: -67108864 >> 26 === -1. Actual: ' + (-67108864 >> 26)); >-} >- >- >-if (-134217728 >> 26 !== -2) { >- testFailed('#860: -134217728 >> 26 === -2. Actual: ' + (-134217728 >> 26)); >-} >- >- >-if (-268435456 >> 26 !== -4) { >- testFailed('#861: -268435456 >> 26 === -4. Actual: ' + (-268435456 >> 26)); >-} >- >- >-if (-536870912 >> 26 !== -8) { >- testFailed('#862: -536870912 >> 26 === -8. Actual: ' + (-536870912 >> 26)); >-} >- >- >-if (-1073741824 >> 26 !== -16) { >- testFailed('#863: -1073741824 >> 26 === -16. Actual: ' + (-1073741824 >> 26)); >-} >- >- >-if (-2147483648 >> 26 !== -32) { >- testFailed('#864: -2147483648 >> 26 === -32. Actual: ' + (-2147483648 >> 26)); >-} >- >- >-if (-1 >> 27 !== -1) { >- testFailed('#865: -1 >> 27 === -1. Actual: ' + (-1 >> 27)); >-} >- >- >-if (-2 >> 27 !== -1) { >- testFailed('#866: -2 >> 27 === -1. Actual: ' + (-2 >> 27)); >-} >- >- >-if (-4 >> 27 !== -1) { >- testFailed('#867: -4 >> 27 === -1. Actual: ' + (-4 >> 27)); >-} >- >- >-if (-8 >> 27 !== -1) { >- testFailed('#868: -8 >> 27 === -1. Actual: ' + (-8 >> 27)); >-} >- >- >-if (-16 >> 27 !== -1) { >- testFailed('#869: -16 >> 27 === -1. Actual: ' + (-16 >> 27)); >-} >- >- >-if (-32 >> 27 !== -1) { >- testFailed('#870: -32 >> 27 === -1. Actual: ' + (-32 >> 27)); >-} >- >- >-if (-64 >> 27 !== -1) { >- testFailed('#871: -64 >> 27 === -1. Actual: ' + (-64 >> 27)); >-} >- >- >-if (-128 >> 27 !== -1) { >- testFailed('#872: -128 >> 27 === -1. Actual: ' + (-128 >> 27)); >-} >- >- >-if (-256 >> 27 !== -1) { >- testFailed('#873: -256 >> 27 === -1. Actual: ' + (-256 >> 27)); >-} >- >- >-if (-512 >> 27 !== -1) { >- testFailed('#874: -512 >> 27 === -1. Actual: ' + (-512 >> 27)); >-} >- >- >-if (-1024 >> 27 !== -1) { >- testFailed('#875: -1024 >> 27 === -1. Actual: ' + (-1024 >> 27)); >-} >- >- >-if (-2048 >> 27 !== -1) { >- testFailed('#876: -2048 >> 27 === -1. Actual: ' + (-2048 >> 27)); >-} >- >- >-if (-4096 >> 27 !== -1) { >- testFailed('#877: -4096 >> 27 === -1. Actual: ' + (-4096 >> 27)); >-} >- >- >-if (-8192 >> 27 !== -1) { >- testFailed('#878: -8192 >> 27 === -1. Actual: ' + (-8192 >> 27)); >-} >- >- >-if (-16384 >> 27 !== -1) { >- testFailed('#879: -16384 >> 27 === -1. Actual: ' + (-16384 >> 27)); >-} >- >- >-if (-32768 >> 27 !== -1) { >- testFailed('#880: -32768 >> 27 === -1. Actual: ' + (-32768 >> 27)); >-} >- >- >-if (-65536 >> 27 !== -1) { >- testFailed('#881: -65536 >> 27 === -1. Actual: ' + (-65536 >> 27)); >-} >- >- >-if (-131072 >> 27 !== -1) { >- testFailed('#882: -131072 >> 27 === -1. Actual: ' + (-131072 >> 27)); >-} >- >- >-if (-262144 >> 27 !== -1) { >- testFailed('#883: -262144 >> 27 === -1. Actual: ' + (-262144 >> 27)); >-} >- >- >-if (-524288 >> 27 !== -1) { >- testFailed('#884: -524288 >> 27 === -1. Actual: ' + (-524288 >> 27)); >-} >- >- >-if (-1048576 >> 27 !== -1) { >- testFailed('#885: -1048576 >> 27 === -1. Actual: ' + (-1048576 >> 27)); >-} >- >- >-if (-2097152 >> 27 !== -1) { >- testFailed('#886: -2097152 >> 27 === -1. Actual: ' + (-2097152 >> 27)); >-} >- >- >-if (-4194304 >> 27 !== -1) { >- testFailed('#887: -4194304 >> 27 === -1. Actual: ' + (-4194304 >> 27)); >-} >- >- >-if (-8388608 >> 27 !== -1) { >- testFailed('#888: -8388608 >> 27 === -1. Actual: ' + (-8388608 >> 27)); >-} >- >- >-if (-16777216 >> 27 !== -1) { >- testFailed('#889: -16777216 >> 27 === -1. Actual: ' + (-16777216 >> 27)); >-} >- >- >-if (-33554432 >> 27 !== -1) { >- testFailed('#890: -33554432 >> 27 === -1. Actual: ' + (-33554432 >> 27)); >-} >- >- >-if (-67108864 >> 27 !== -1) { >- testFailed('#891: -67108864 >> 27 === -1. Actual: ' + (-67108864 >> 27)); >-} >- >- >-if (-134217728 >> 27 !== -1) { >- testFailed('#892: -134217728 >> 27 === -1. Actual: ' + (-134217728 >> 27)); >-} >- >- >-if (-268435456 >> 27 !== -2) { >- testFailed('#893: -268435456 >> 27 === -2. Actual: ' + (-268435456 >> 27)); >-} >- >- >-if (-536870912 >> 27 !== -4) { >- testFailed('#894: -536870912 >> 27 === -4. Actual: ' + (-536870912 >> 27)); >-} >- >- >-if (-1073741824 >> 27 !== -8) { >- testFailed('#895: -1073741824 >> 27 === -8. Actual: ' + (-1073741824 >> 27)); >-} >- >- >-if (-2147483648 >> 27 !== -16) { >- testFailed('#896: -2147483648 >> 27 === -16. Actual: ' + (-2147483648 >> 27)); >-} >- >- >-if (-1 >> 28 !== -1) { >- testFailed('#897: -1 >> 28 === -1. Actual: ' + (-1 >> 28)); >-} >- >- >-if (-2 >> 28 !== -1) { >- testFailed('#898: -2 >> 28 === -1. Actual: ' + (-2 >> 28)); >-} >- >- >-if (-4 >> 28 !== -1) { >- testFailed('#899: -4 >> 28 === -1. Actual: ' + (-4 >> 28)); >-} >- >- >-if (-8 >> 28 !== -1) { >- testFailed('#900: -8 >> 28 === -1. Actual: ' + (-8 >> 28)); >-} >- >- >-if (-16 >> 28 !== -1) { >- testFailed('#901: -16 >> 28 === -1. Actual: ' + (-16 >> 28)); >-} >- >- >-if (-32 >> 28 !== -1) { >- testFailed('#902: -32 >> 28 === -1. Actual: ' + (-32 >> 28)); >-} >- >- >-if (-64 >> 28 !== -1) { >- testFailed('#903: -64 >> 28 === -1. Actual: ' + (-64 >> 28)); >-} >- >- >-if (-128 >> 28 !== -1) { >- testFailed('#904: -128 >> 28 === -1. Actual: ' + (-128 >> 28)); >-} >- >- >-if (-256 >> 28 !== -1) { >- testFailed('#905: -256 >> 28 === -1. Actual: ' + (-256 >> 28)); >-} >- >- >-if (-512 >> 28 !== -1) { >- testFailed('#906: -512 >> 28 === -1. Actual: ' + (-512 >> 28)); >-} >- >- >-if (-1024 >> 28 !== -1) { >- testFailed('#907: -1024 >> 28 === -1. Actual: ' + (-1024 >> 28)); >-} >- >- >-if (-2048 >> 28 !== -1) { >- testFailed('#908: -2048 >> 28 === -1. Actual: ' + (-2048 >> 28)); >-} >- >- >-if (-4096 >> 28 !== -1) { >- testFailed('#909: -4096 >> 28 === -1. Actual: ' + (-4096 >> 28)); >-} >- >- >-if (-8192 >> 28 !== -1) { >- testFailed('#910: -8192 >> 28 === -1. Actual: ' + (-8192 >> 28)); >-} >- >- >-if (-16384 >> 28 !== -1) { >- testFailed('#911: -16384 >> 28 === -1. Actual: ' + (-16384 >> 28)); >-} >- >- >-if (-32768 >> 28 !== -1) { >- testFailed('#912: -32768 >> 28 === -1. Actual: ' + (-32768 >> 28)); >-} >- >- >-if (-65536 >> 28 !== -1) { >- testFailed('#913: -65536 >> 28 === -1. Actual: ' + (-65536 >> 28)); >-} >- >- >-if (-131072 >> 28 !== -1) { >- testFailed('#914: -131072 >> 28 === -1. Actual: ' + (-131072 >> 28)); >-} >- >- >-if (-262144 >> 28 !== -1) { >- testFailed('#915: -262144 >> 28 === -1. Actual: ' + (-262144 >> 28)); >-} >- >- >-if (-524288 >> 28 !== -1) { >- testFailed('#916: -524288 >> 28 === -1. Actual: ' + (-524288 >> 28)); >-} >- >- >-if (-1048576 >> 28 !== -1) { >- testFailed('#917: -1048576 >> 28 === -1. Actual: ' + (-1048576 >> 28)); >-} >- >- >-if (-2097152 >> 28 !== -1) { >- testFailed('#918: -2097152 >> 28 === -1. Actual: ' + (-2097152 >> 28)); >-} >- >- >-if (-4194304 >> 28 !== -1) { >- testFailed('#919: -4194304 >> 28 === -1. Actual: ' + (-4194304 >> 28)); >-} >- >- >-if (-8388608 >> 28 !== -1) { >- testFailed('#920: -8388608 >> 28 === -1. Actual: ' + (-8388608 >> 28)); >-} >- >- >-if (-16777216 >> 28 !== -1) { >- testFailed('#921: -16777216 >> 28 === -1. Actual: ' + (-16777216 >> 28)); >-} >- >- >-if (-33554432 >> 28 !== -1) { >- testFailed('#922: -33554432 >> 28 === -1. Actual: ' + (-33554432 >> 28)); >-} >- >- >-if (-67108864 >> 28 !== -1) { >- testFailed('#923: -67108864 >> 28 === -1. Actual: ' + (-67108864 >> 28)); >-} >- >- >-if (-134217728 >> 28 !== -1) { >- testFailed('#924: -134217728 >> 28 === -1. Actual: ' + (-134217728 >> 28)); >-} >- >- >-if (-268435456 >> 28 !== -1) { >- testFailed('#925: -268435456 >> 28 === -1. Actual: ' + (-268435456 >> 28)); >-} >- >- >-if (-536870912 >> 28 !== -2) { >- testFailed('#926: -536870912 >> 28 === -2. Actual: ' + (-536870912 >> 28)); >-} >- >- >-if (-1073741824 >> 28 !== -4) { >- testFailed('#927: -1073741824 >> 28 === -4. Actual: ' + (-1073741824 >> 28)); >-} >- >- >-if (-2147483648 >> 28 !== -8) { >- testFailed('#928: -2147483648 >> 28 === -8. Actual: ' + (-2147483648 >> 28)); >-} >- >- >-if (-1 >> 29 !== -1) { >- testFailed('#929: -1 >> 29 === -1. Actual: ' + (-1 >> 29)); >-} >- >- >-if (-2 >> 29 !== -1) { >- testFailed('#930: -2 >> 29 === -1. Actual: ' + (-2 >> 29)); >-} >- >- >-if (-4 >> 29 !== -1) { >- testFailed('#931: -4 >> 29 === -1. Actual: ' + (-4 >> 29)); >-} >- >- >-if (-8 >> 29 !== -1) { >- testFailed('#932: -8 >> 29 === -1. Actual: ' + (-8 >> 29)); >-} >- >- >-if (-16 >> 29 !== -1) { >- testFailed('#933: -16 >> 29 === -1. Actual: ' + (-16 >> 29)); >-} >- >- >-if (-32 >> 29 !== -1) { >- testFailed('#934: -32 >> 29 === -1. Actual: ' + (-32 >> 29)); >-} >- >- >-if (-64 >> 29 !== -1) { >- testFailed('#935: -64 >> 29 === -1. Actual: ' + (-64 >> 29)); >-} >- >- >-if (-128 >> 29 !== -1) { >- testFailed('#936: -128 >> 29 === -1. Actual: ' + (-128 >> 29)); >-} >- >- >-if (-256 >> 29 !== -1) { >- testFailed('#937: -256 >> 29 === -1. Actual: ' + (-256 >> 29)); >-} >- >- >-if (-512 >> 29 !== -1) { >- testFailed('#938: -512 >> 29 === -1. Actual: ' + (-512 >> 29)); >-} >- >- >-if (-1024 >> 29 !== -1) { >- testFailed('#939: -1024 >> 29 === -1. Actual: ' + (-1024 >> 29)); >-} >- >- >-if (-2048 >> 29 !== -1) { >- testFailed('#940: -2048 >> 29 === -1. Actual: ' + (-2048 >> 29)); >-} >- >- >-if (-4096 >> 29 !== -1) { >- testFailed('#941: -4096 >> 29 === -1. Actual: ' + (-4096 >> 29)); >-} >- >- >-if (-8192 >> 29 !== -1) { >- testFailed('#942: -8192 >> 29 === -1. Actual: ' + (-8192 >> 29)); >-} >- >- >-if (-16384 >> 29 !== -1) { >- testFailed('#943: -16384 >> 29 === -1. Actual: ' + (-16384 >> 29)); >-} >- >- >-if (-32768 >> 29 !== -1) { >- testFailed('#944: -32768 >> 29 === -1. Actual: ' + (-32768 >> 29)); >-} >- >- >-if (-65536 >> 29 !== -1) { >- testFailed('#945: -65536 >> 29 === -1. Actual: ' + (-65536 >> 29)); >-} >- >- >-if (-131072 >> 29 !== -1) { >- testFailed('#946: -131072 >> 29 === -1. Actual: ' + (-131072 >> 29)); >-} >- >- >-if (-262144 >> 29 !== -1) { >- testFailed('#947: -262144 >> 29 === -1. Actual: ' + (-262144 >> 29)); >-} >- >- >-if (-524288 >> 29 !== -1) { >- testFailed('#948: -524288 >> 29 === -1. Actual: ' + (-524288 >> 29)); >-} >- >- >-if (-1048576 >> 29 !== -1) { >- testFailed('#949: -1048576 >> 29 === -1. Actual: ' + (-1048576 >> 29)); >-} >- >- >-if (-2097152 >> 29 !== -1) { >- testFailed('#950: -2097152 >> 29 === -1. Actual: ' + (-2097152 >> 29)); >-} >- >- >-if (-4194304 >> 29 !== -1) { >- testFailed('#951: -4194304 >> 29 === -1. Actual: ' + (-4194304 >> 29)); >-} >- >- >-if (-8388608 >> 29 !== -1) { >- testFailed('#952: -8388608 >> 29 === -1. Actual: ' + (-8388608 >> 29)); >-} >- >- >-if (-16777216 >> 29 !== -1) { >- testFailed('#953: -16777216 >> 29 === -1. Actual: ' + (-16777216 >> 29)); >-} >- >- >-if (-33554432 >> 29 !== -1) { >- testFailed('#954: -33554432 >> 29 === -1. Actual: ' + (-33554432 >> 29)); >-} >- >- >-if (-67108864 >> 29 !== -1) { >- testFailed('#955: -67108864 >> 29 === -1. Actual: ' + (-67108864 >> 29)); >-} >- >- >-if (-134217728 >> 29 !== -1) { >- testFailed('#956: -134217728 >> 29 === -1. Actual: ' + (-134217728 >> 29)); >-} >- >- >-if (-268435456 >> 29 !== -1) { >- testFailed('#957: -268435456 >> 29 === -1. Actual: ' + (-268435456 >> 29)); >-} >- >- >-if (-536870912 >> 29 !== -1) { >- testFailed('#958: -536870912 >> 29 === -1. Actual: ' + (-536870912 >> 29)); >-} >- >- >-if (-1073741824 >> 29 !== -2) { >- testFailed('#959: -1073741824 >> 29 === -2. Actual: ' + (-1073741824 >> 29)); >-} >- >- >-if (-2147483648 >> 29 !== -4) { >- testFailed('#960: -2147483648 >> 29 === -4. Actual: ' + (-2147483648 >> 29)); >-} >- >- >-if (-1 >> 30 !== -1) { >- testFailed('#961: -1 >> 30 === -1. Actual: ' + (-1 >> 30)); >-} >- >- >-if (-2 >> 30 !== -1) { >- testFailed('#962: -2 >> 30 === -1. Actual: ' + (-2 >> 30)); >-} >- >- >-if (-4 >> 30 !== -1) { >- testFailed('#963: -4 >> 30 === -1. Actual: ' + (-4 >> 30)); >-} >- >- >-if (-8 >> 30 !== -1) { >- testFailed('#964: -8 >> 30 === -1. Actual: ' + (-8 >> 30)); >-} >- >- >-if (-16 >> 30 !== -1) { >- testFailed('#965: -16 >> 30 === -1. Actual: ' + (-16 >> 30)); >-} >- >- >-if (-32 >> 30 !== -1) { >- testFailed('#966: -32 >> 30 === -1. Actual: ' + (-32 >> 30)); >-} >- >- >-if (-64 >> 30 !== -1) { >- testFailed('#967: -64 >> 30 === -1. Actual: ' + (-64 >> 30)); >-} >- >- >-if (-128 >> 30 !== -1) { >- testFailed('#968: -128 >> 30 === -1. Actual: ' + (-128 >> 30)); >-} >- >- >-if (-256 >> 30 !== -1) { >- testFailed('#969: -256 >> 30 === -1. Actual: ' + (-256 >> 30)); >-} >- >- >-if (-512 >> 30 !== -1) { >- testFailed('#970: -512 >> 30 === -1. Actual: ' + (-512 >> 30)); >-} >- >- >-if (-1024 >> 30 !== -1) { >- testFailed('#971: -1024 >> 30 === -1. Actual: ' + (-1024 >> 30)); >-} >- >- >-if (-2048 >> 30 !== -1) { >- testFailed('#972: -2048 >> 30 === -1. Actual: ' + (-2048 >> 30)); >-} >- >- >-if (-4096 >> 30 !== -1) { >- testFailed('#973: -4096 >> 30 === -1. Actual: ' + (-4096 >> 30)); >-} >- >- >-if (-8192 >> 30 !== -1) { >- testFailed('#974: -8192 >> 30 === -1. Actual: ' + (-8192 >> 30)); >-} >- >- >-if (-16384 >> 30 !== -1) { >- testFailed('#975: -16384 >> 30 === -1. Actual: ' + (-16384 >> 30)); >-} >- >- >-if (-32768 >> 30 !== -1) { >- testFailed('#976: -32768 >> 30 === -1. Actual: ' + (-32768 >> 30)); >-} >- >- >-if (-65536 >> 30 !== -1) { >- testFailed('#977: -65536 >> 30 === -1. Actual: ' + (-65536 >> 30)); >-} >- >- >-if (-131072 >> 30 !== -1) { >- testFailed('#978: -131072 >> 30 === -1. Actual: ' + (-131072 >> 30)); >-} >- >- >-if (-262144 >> 30 !== -1) { >- testFailed('#979: -262144 >> 30 === -1. Actual: ' + (-262144 >> 30)); >-} >- >- >-if (-524288 >> 30 !== -1) { >- testFailed('#980: -524288 >> 30 === -1. Actual: ' + (-524288 >> 30)); >-} >- >- >-if (-1048576 >> 30 !== -1) { >- testFailed('#981: -1048576 >> 30 === -1. Actual: ' + (-1048576 >> 30)); >-} >- >- >-if (-2097152 >> 30 !== -1) { >- testFailed('#982: -2097152 >> 30 === -1. Actual: ' + (-2097152 >> 30)); >-} >- >- >-if (-4194304 >> 30 !== -1) { >- testFailed('#983: -4194304 >> 30 === -1. Actual: ' + (-4194304 >> 30)); >-} >- >- >-if (-8388608 >> 30 !== -1) { >- testFailed('#984: -8388608 >> 30 === -1. Actual: ' + (-8388608 >> 30)); >-} >- >- >-if (-16777216 >> 30 !== -1) { >- testFailed('#985: -16777216 >> 30 === -1. Actual: ' + (-16777216 >> 30)); >-} >- >- >-if (-33554432 >> 30 !== -1) { >- testFailed('#986: -33554432 >> 30 === -1. Actual: ' + (-33554432 >> 30)); >-} >- >- >-if (-67108864 >> 30 !== -1) { >- testFailed('#987: -67108864 >> 30 === -1. Actual: ' + (-67108864 >> 30)); >-} >- >- >-if (-134217728 >> 30 !== -1) { >- testFailed('#988: -134217728 >> 30 === -1. Actual: ' + (-134217728 >> 30)); >-} >- >- >-if (-268435456 >> 30 !== -1) { >- testFailed('#989: -268435456 >> 30 === -1. Actual: ' + (-268435456 >> 30)); >-} >- >- >-if (-536870912 >> 30 !== -1) { >- testFailed('#990: -536870912 >> 30 === -1. Actual: ' + (-536870912 >> 30)); >-} >- >- >-if (-1073741824 >> 30 !== -1) { >- testFailed('#991: -1073741824 >> 30 === -1. Actual: ' + (-1073741824 >> 30)); >-} >- >- >-if (-2147483648 >> 30 !== -2) { >- testFailed('#992: -2147483648 >> 30 === -2. Actual: ' + (-2147483648 >> 30)); >-} >- >- >-if (-1 >> 31 !== -1) { >- testFailed('#993: -1 >> 31 === -1. Actual: ' + (-1 >> 31)); >-} >- >- >-if (-2 >> 31 !== -1) { >- testFailed('#994: -2 >> 31 === -1. Actual: ' + (-2 >> 31)); >-} >- >- >-if (-4 >> 31 !== -1) { >- testFailed('#995: -4 >> 31 === -1. Actual: ' + (-4 >> 31)); >-} >- >- >-if (-8 >> 31 !== -1) { >- testFailed('#996: -8 >> 31 === -1. Actual: ' + (-8 >> 31)); >-} >- >- >-if (-16 >> 31 !== -1) { >- testFailed('#997: -16 >> 31 === -1. Actual: ' + (-16 >> 31)); >-} >- >- >-if (-32 >> 31 !== -1) { >- testFailed('#998: -32 >> 31 === -1. Actual: ' + (-32 >> 31)); >-} >- >- >-if (-64 >> 31 !== -1) { >- testFailed('#999: -64 >> 31 === -1. Actual: ' + (-64 >> 31)); >-} >- >- >-if (-128 >> 31 !== -1) { >- testFailed('#1000: -128 >> 31 === -1. Actual: ' + (-128 >> 31)); >-} >- >- >-if (-256 >> 31 !== -1) { >- testFailed('#1001: -256 >> 31 === -1. Actual: ' + (-256 >> 31)); >-} >- >- >-if (-512 >> 31 !== -1) { >- testFailed('#1002: -512 >> 31 === -1. Actual: ' + (-512 >> 31)); >-} >- >- >-if (-1024 >> 31 !== -1) { >- testFailed('#1003: -1024 >> 31 === -1. Actual: ' + (-1024 >> 31)); >-} >- >- >-if (-2048 >> 31 !== -1) { >- testFailed('#1004: -2048 >> 31 === -1. Actual: ' + (-2048 >> 31)); >-} >- >- >-if (-4096 >> 31 !== -1) { >- testFailed('#1005: -4096 >> 31 === -1. Actual: ' + (-4096 >> 31)); >-} >- >- >-if (-8192 >> 31 !== -1) { >- testFailed('#1006: -8192 >> 31 === -1. Actual: ' + (-8192 >> 31)); >-} >- >- >-if (-16384 >> 31 !== -1) { >- testFailed('#1007: -16384 >> 31 === -1. Actual: ' + (-16384 >> 31)); >-} >- >- >-if (-32768 >> 31 !== -1) { >- testFailed('#1008: -32768 >> 31 === -1. Actual: ' + (-32768 >> 31)); >-} >- >- >-if (-65536 >> 31 !== -1) { >- testFailed('#1009: -65536 >> 31 === -1. Actual: ' + (-65536 >> 31)); >-} >- >- >-if (-131072 >> 31 !== -1) { >- testFailed('#1010: -131072 >> 31 === -1. Actual: ' + (-131072 >> 31)); >-} >- >- >-if (-262144 >> 31 !== -1) { >- testFailed('#1011: -262144 >> 31 === -1. Actual: ' + (-262144 >> 31)); >-} >- >- >-if (-524288 >> 31 !== -1) { >- testFailed('#1012: -524288 >> 31 === -1. Actual: ' + (-524288 >> 31)); >-} >- >- >-if (-1048576 >> 31 !== -1) { >- testFailed('#1013: -1048576 >> 31 === -1. Actual: ' + (-1048576 >> 31)); >-} >- >- >-if (-2097152 >> 31 !== -1) { >- testFailed('#1014: -2097152 >> 31 === -1. Actual: ' + (-2097152 >> 31)); >-} >- >- >-if (-4194304 >> 31 !== -1) { >- testFailed('#1015: -4194304 >> 31 === -1. Actual: ' + (-4194304 >> 31)); >-} >- >- >-if (-8388608 >> 31 !== -1) { >- testFailed('#1016: -8388608 >> 31 === -1. Actual: ' + (-8388608 >> 31)); >-} >- >- >-if (-16777216 >> 31 !== -1) { >- testFailed('#1017: -16777216 >> 31 === -1. Actual: ' + (-16777216 >> 31)); >-} >- >- >-if (-33554432 >> 31 !== -1) { >- testFailed('#1018: -33554432 >> 31 === -1. Actual: ' + (-33554432 >> 31)); >-} >- >- >-if (-67108864 >> 31 !== -1) { >- testFailed('#1019: -67108864 >> 31 === -1. Actual: ' + (-67108864 >> 31)); >-} >- >- >-if (-134217728 >> 31 !== -1) { >- testFailed('#1020: -134217728 >> 31 === -1. Actual: ' + (-134217728 >> 31)); >-} >- >- >-if (-268435456 >> 31 !== -1) { >- testFailed('#1021: -268435456 >> 31 === -1. Actual: ' + (-268435456 >> 31)); >-} >- >- >-if (-536870912 >> 31 !== -1) { >- testFailed('#1022: -536870912 >> 31 === -1. Actual: ' + (-536870912 >> 31)); >-} >- >- >-if (-1073741824 >> 31 !== -1) { >- testFailed('#1023: -1073741824 >> 31 === -1. Actual: ' + (-1073741824 >> 31)); >-} >- >- >-if (-2147483648 >> 31 !== -1) { >- testFailed('#1024: -2147483648 >> 31 === -1. Actual: ' + (-2147483648 >> 31)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3-expected.txt >deleted file mode 100644 >index e8f261c1c27..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.html >deleted file mode 100644 >index b91f018e01e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.html >+++ /dev/null >@@ -1,2653 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A4_T3; >- * @section: 11.7.2; >- * @assertion: Check x >> y operator in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 0...15; >- */ >- >-//CHECK >- >-if (0 >> 0 !== 0) { >- testFailed('#1: 0 >> 0 === 0. Actual: ' + (0 >> 0)); >-} >- >- >-if (1 >> 0 !== 1) { >- testFailed('#2: 1 >> 0 === 1. Actual: ' + (1 >> 0)); >-} >- >- >-if (3 >> 0 !== 3) { >- testFailed('#3: 3 >> 0 === 3. Actual: ' + (3 >> 0)); >-} >- >- >-if (7 >> 0 !== 7) { >- testFailed('#4: 7 >> 0 === 7. Actual: ' + (7 >> 0)); >-} >- >- >-if (15 >> 0 !== 15) { >- testFailed('#5: 15 >> 0 === 15. Actual: ' + (15 >> 0)); >-} >- >- >-if (31 >> 0 !== 31) { >- testFailed('#6: 31 >> 0 === 31. Actual: ' + (31 >> 0)); >-} >- >- >-if (63 >> 0 !== 63) { >- testFailed('#7: 63 >> 0 === 63. Actual: ' + (63 >> 0)); >-} >- >- >-if (127 >> 0 !== 127) { >- testFailed('#8: 127 >> 0 === 127. Actual: ' + (127 >> 0)); >-} >- >- >-if (255 >> 0 !== 255) { >- testFailed('#9: 255 >> 0 === 255. Actual: ' + (255 >> 0)); >-} >- >- >-if (511 >> 0 !== 511) { >- testFailed('#10: 511 >> 0 === 511. Actual: ' + (511 >> 0)); >-} >- >- >-if (1023 >> 0 !== 1023) { >- testFailed('#11: 1023 >> 0 === 1023. Actual: ' + (1023 >> 0)); >-} >- >- >-if (2047 >> 0 !== 2047) { >- testFailed('#12: 2047 >> 0 === 2047. Actual: ' + (2047 >> 0)); >-} >- >- >-if (4095 >> 0 !== 4095) { >- testFailed('#13: 4095 >> 0 === 4095. Actual: ' + (4095 >> 0)); >-} >- >- >-if (8191 >> 0 !== 8191) { >- testFailed('#14: 8191 >> 0 === 8191. Actual: ' + (8191 >> 0)); >-} >- >- >-if (16383 >> 0 !== 16383) { >- testFailed('#15: 16383 >> 0 === 16383. Actual: ' + (16383 >> 0)); >-} >- >- >-if (32767 >> 0 !== 32767) { >- testFailed('#16: 32767 >> 0 === 32767. Actual: ' + (32767 >> 0)); >-} >- >- >-if (65535 >> 0 !== 65535) { >- testFailed('#17: 65535 >> 0 === 65535. Actual: ' + (65535 >> 0)); >-} >- >- >-if (131071 >> 0 !== 131071) { >- testFailed('#18: 131071 >> 0 === 131071. Actual: ' + (131071 >> 0)); >-} >- >- >-if (262143 >> 0 !== 262143) { >- testFailed('#19: 262143 >> 0 === 262143. Actual: ' + (262143 >> 0)); >-} >- >- >-if (524287 >> 0 !== 524287) { >- testFailed('#20: 524287 >> 0 === 524287. Actual: ' + (524287 >> 0)); >-} >- >- >-if (1048575 >> 0 !== 1048575) { >- testFailed('#21: 1048575 >> 0 === 1048575. Actual: ' + (1048575 >> 0)); >-} >- >- >-if (2097151 >> 0 !== 2097151) { >- testFailed('#22: 2097151 >> 0 === 2097151. Actual: ' + (2097151 >> 0)); >-} >- >- >-if (4194303 >> 0 !== 4194303) { >- testFailed('#23: 4194303 >> 0 === 4194303. Actual: ' + (4194303 >> 0)); >-} >- >- >-if (8388607 >> 0 !== 8388607) { >- testFailed('#24: 8388607 >> 0 === 8388607. Actual: ' + (8388607 >> 0)); >-} >- >- >-if (16777215 >> 0 !== 16777215) { >- testFailed('#25: 16777215 >> 0 === 16777215. Actual: ' + (16777215 >> 0)); >-} >- >- >-if (33554431 >> 0 !== 33554431) { >- testFailed('#26: 33554431 >> 0 === 33554431. Actual: ' + (33554431 >> 0)); >-} >- >- >-if (67108863 >> 0 !== 67108863) { >- testFailed('#27: 67108863 >> 0 === 67108863. Actual: ' + (67108863 >> 0)); >-} >- >- >-if (134217727 >> 0 !== 134217727) { >- testFailed('#28: 134217727 >> 0 === 134217727. Actual: ' + (134217727 >> 0)); >-} >- >- >-if (268435455 >> 0 !== 268435455) { >- testFailed('#29: 268435455 >> 0 === 268435455. Actual: ' + (268435455 >> 0)); >-} >- >- >-if (536870911 >> 0 !== 536870911) { >- testFailed('#30: 536870911 >> 0 === 536870911. Actual: ' + (536870911 >> 0)); >-} >- >- >-if (1073741823 >> 0 !== 1073741823) { >- testFailed('#31: 1073741823 >> 0 === 1073741823. Actual: ' + (1073741823 >> 0)); >-} >- >- >-if (2147483647 >> 0 !== 2147483647) { >- testFailed('#32: 2147483647 >> 0 === 2147483647. Actual: ' + (2147483647 >> 0)); >-} >- >- >-if (0 >> 1 !== 0) { >- testFailed('#33: 0 >> 1 === 0. Actual: ' + (0 >> 1)); >-} >- >- >-if (1 >> 1 !== 0) { >- testFailed('#34: 1 >> 1 === 0. Actual: ' + (1 >> 1)); >-} >- >- >-if (3 >> 1 !== 1) { >- testFailed('#35: 3 >> 1 === 1. Actual: ' + (3 >> 1)); >-} >- >- >-if (7 >> 1 !== 3) { >- testFailed('#36: 7 >> 1 === 3. Actual: ' + (7 >> 1)); >-} >- >- >-if (15 >> 1 !== 7) { >- testFailed('#37: 15 >> 1 === 7. Actual: ' + (15 >> 1)); >-} >- >- >-if (31 >> 1 !== 15) { >- testFailed('#38: 31 >> 1 === 15. Actual: ' + (31 >> 1)); >-} >- >- >-if (63 >> 1 !== 31) { >- testFailed('#39: 63 >> 1 === 31. Actual: ' + (63 >> 1)); >-} >- >- >-if (127 >> 1 !== 63) { >- testFailed('#40: 127 >> 1 === 63. Actual: ' + (127 >> 1)); >-} >- >- >-if (255 >> 1 !== 127) { >- testFailed('#41: 255 >> 1 === 127. Actual: ' + (255 >> 1)); >-} >- >- >-if (511 >> 1 !== 255) { >- testFailed('#42: 511 >> 1 === 255. Actual: ' + (511 >> 1)); >-} >- >- >-if (1023 >> 1 !== 511) { >- testFailed('#43: 1023 >> 1 === 511. Actual: ' + (1023 >> 1)); >-} >- >- >-if (2047 >> 1 !== 1023) { >- testFailed('#44: 2047 >> 1 === 1023. Actual: ' + (2047 >> 1)); >-} >- >- >-if (4095 >> 1 !== 2047) { >- testFailed('#45: 4095 >> 1 === 2047. Actual: ' + (4095 >> 1)); >-} >- >- >-if (8191 >> 1 !== 4095) { >- testFailed('#46: 8191 >> 1 === 4095. Actual: ' + (8191 >> 1)); >-} >- >- >-if (16383 >> 1 !== 8191) { >- testFailed('#47: 16383 >> 1 === 8191. Actual: ' + (16383 >> 1)); >-} >- >- >-if (32767 >> 1 !== 16383) { >- testFailed('#48: 32767 >> 1 === 16383. Actual: ' + (32767 >> 1)); >-} >- >- >-if (65535 >> 1 !== 32767) { >- testFailed('#49: 65535 >> 1 === 32767. Actual: ' + (65535 >> 1)); >-} >- >- >-if (131071 >> 1 !== 65535) { >- testFailed('#50: 131071 >> 1 === 65535. Actual: ' + (131071 >> 1)); >-} >- >- >-if (262143 >> 1 !== 131071) { >- testFailed('#51: 262143 >> 1 === 131071. Actual: ' + (262143 >> 1)); >-} >- >- >-if (524287 >> 1 !== 262143) { >- testFailed('#52: 524287 >> 1 === 262143. Actual: ' + (524287 >> 1)); >-} >- >- >-if (1048575 >> 1 !== 524287) { >- testFailed('#53: 1048575 >> 1 === 524287. Actual: ' + (1048575 >> 1)); >-} >- >- >-if (2097151 >> 1 !== 1048575) { >- testFailed('#54: 2097151 >> 1 === 1048575. Actual: ' + (2097151 >> 1)); >-} >- >- >-if (4194303 >> 1 !== 2097151) { >- testFailed('#55: 4194303 >> 1 === 2097151. Actual: ' + (4194303 >> 1)); >-} >- >- >-if (8388607 >> 1 !== 4194303) { >- testFailed('#56: 8388607 >> 1 === 4194303. Actual: ' + (8388607 >> 1)); >-} >- >- >-if (16777215 >> 1 !== 8388607) { >- testFailed('#57: 16777215 >> 1 === 8388607. Actual: ' + (16777215 >> 1)); >-} >- >- >-if (33554431 >> 1 !== 16777215) { >- testFailed('#58: 33554431 >> 1 === 16777215. Actual: ' + (33554431 >> 1)); >-} >- >- >-if (67108863 >> 1 !== 33554431) { >- testFailed('#59: 67108863 >> 1 === 33554431. Actual: ' + (67108863 >> 1)); >-} >- >- >-if (134217727 >> 1 !== 67108863) { >- testFailed('#60: 134217727 >> 1 === 67108863. Actual: ' + (134217727 >> 1)); >-} >- >- >-if (268435455 >> 1 !== 134217727) { >- testFailed('#61: 268435455 >> 1 === 134217727. Actual: ' + (268435455 >> 1)); >-} >- >- >-if (536870911 >> 1 !== 268435455) { >- testFailed('#62: 536870911 >> 1 === 268435455. Actual: ' + (536870911 >> 1)); >-} >- >- >-if (1073741823 >> 1 !== 536870911) { >- testFailed('#63: 1073741823 >> 1 === 536870911. Actual: ' + (1073741823 >> 1)); >-} >- >- >-if (2147483647 >> 1 !== 1073741823) { >- testFailed('#64: 2147483647 >> 1 === 1073741823. Actual: ' + (2147483647 >> 1)); >-} >- >- >-if (0 >> 2 !== 0) { >- testFailed('#65: 0 >> 2 === 0. Actual: ' + (0 >> 2)); >-} >- >- >-if (1 >> 2 !== 0) { >- testFailed('#66: 1 >> 2 === 0. Actual: ' + (1 >> 2)); >-} >- >- >-if (3 >> 2 !== 0) { >- testFailed('#67: 3 >> 2 === 0. Actual: ' + (3 >> 2)); >-} >- >- >-if (7 >> 2 !== 1) { >- testFailed('#68: 7 >> 2 === 1. Actual: ' + (7 >> 2)); >-} >- >- >-if (15 >> 2 !== 3) { >- testFailed('#69: 15 >> 2 === 3. Actual: ' + (15 >> 2)); >-} >- >- >-if (31 >> 2 !== 7) { >- testFailed('#70: 31 >> 2 === 7. Actual: ' + (31 >> 2)); >-} >- >- >-if (63 >> 2 !== 15) { >- testFailed('#71: 63 >> 2 === 15. Actual: ' + (63 >> 2)); >-} >- >- >-if (127 >> 2 !== 31) { >- testFailed('#72: 127 >> 2 === 31. Actual: ' + (127 >> 2)); >-} >- >- >-if (255 >> 2 !== 63) { >- testFailed('#73: 255 >> 2 === 63. Actual: ' + (255 >> 2)); >-} >- >- >-if (511 >> 2 !== 127) { >- testFailed('#74: 511 >> 2 === 127. Actual: ' + (511 >> 2)); >-} >- >- >-if (1023 >> 2 !== 255) { >- testFailed('#75: 1023 >> 2 === 255. Actual: ' + (1023 >> 2)); >-} >- >- >-if (2047 >> 2 !== 511) { >- testFailed('#76: 2047 >> 2 === 511. Actual: ' + (2047 >> 2)); >-} >- >- >-if (4095 >> 2 !== 1023) { >- testFailed('#77: 4095 >> 2 === 1023. Actual: ' + (4095 >> 2)); >-} >- >- >-if (8191 >> 2 !== 2047) { >- testFailed('#78: 8191 >> 2 === 2047. Actual: ' + (8191 >> 2)); >-} >- >- >-if (16383 >> 2 !== 4095) { >- testFailed('#79: 16383 >> 2 === 4095. Actual: ' + (16383 >> 2)); >-} >- >- >-if (32767 >> 2 !== 8191) { >- testFailed('#80: 32767 >> 2 === 8191. Actual: ' + (32767 >> 2)); >-} >- >- >-if (65535 >> 2 !== 16383) { >- testFailed('#81: 65535 >> 2 === 16383. Actual: ' + (65535 >> 2)); >-} >- >- >-if (131071 >> 2 !== 32767) { >- testFailed('#82: 131071 >> 2 === 32767. Actual: ' + (131071 >> 2)); >-} >- >- >-if (262143 >> 2 !== 65535) { >- testFailed('#83: 262143 >> 2 === 65535. Actual: ' + (262143 >> 2)); >-} >- >- >-if (524287 >> 2 !== 131071) { >- testFailed('#84: 524287 >> 2 === 131071. Actual: ' + (524287 >> 2)); >-} >- >- >-if (1048575 >> 2 !== 262143) { >- testFailed('#85: 1048575 >> 2 === 262143. Actual: ' + (1048575 >> 2)); >-} >- >- >-if (2097151 >> 2 !== 524287) { >- testFailed('#86: 2097151 >> 2 === 524287. Actual: ' + (2097151 >> 2)); >-} >- >- >-if (4194303 >> 2 !== 1048575) { >- testFailed('#87: 4194303 >> 2 === 1048575. Actual: ' + (4194303 >> 2)); >-} >- >- >-if (8388607 >> 2 !== 2097151) { >- testFailed('#88: 8388607 >> 2 === 2097151. Actual: ' + (8388607 >> 2)); >-} >- >- >-if (16777215 >> 2 !== 4194303) { >- testFailed('#89: 16777215 >> 2 === 4194303. Actual: ' + (16777215 >> 2)); >-} >- >- >-if (33554431 >> 2 !== 8388607) { >- testFailed('#90: 33554431 >> 2 === 8388607. Actual: ' + (33554431 >> 2)); >-} >- >- >-if (67108863 >> 2 !== 16777215) { >- testFailed('#91: 67108863 >> 2 === 16777215. Actual: ' + (67108863 >> 2)); >-} >- >- >-if (134217727 >> 2 !== 33554431) { >- testFailed('#92: 134217727 >> 2 === 33554431. Actual: ' + (134217727 >> 2)); >-} >- >- >-if (268435455 >> 2 !== 67108863) { >- testFailed('#93: 268435455 >> 2 === 67108863. Actual: ' + (268435455 >> 2)); >-} >- >- >-if (536870911 >> 2 !== 134217727) { >- testFailed('#94: 536870911 >> 2 === 134217727. Actual: ' + (536870911 >> 2)); >-} >- >- >-if (1073741823 >> 2 !== 268435455) { >- testFailed('#95: 1073741823 >> 2 === 268435455. Actual: ' + (1073741823 >> 2)); >-} >- >- >-if (2147483647 >> 2 !== 536870911) { >- testFailed('#96: 2147483647 >> 2 === 536870911. Actual: ' + (2147483647 >> 2)); >-} >- >- >-if (0 >> 3 !== 0) { >- testFailed('#97: 0 >> 3 === 0. Actual: ' + (0 >> 3)); >-} >- >- >-if (1 >> 3 !== 0) { >- testFailed('#98: 1 >> 3 === 0. Actual: ' + (1 >> 3)); >-} >- >- >-if (3 >> 3 !== 0) { >- testFailed('#99: 3 >> 3 === 0. Actual: ' + (3 >> 3)); >-} >- >- >-if (7 >> 3 !== 0) { >- testFailed('#100: 7 >> 3 === 0. Actual: ' + (7 >> 3)); >-} >- >- >-if (15 >> 3 !== 1) { >- testFailed('#101: 15 >> 3 === 1. Actual: ' + (15 >> 3)); >-} >- >- >-if (31 >> 3 !== 3) { >- testFailed('#102: 31 >> 3 === 3. Actual: ' + (31 >> 3)); >-} >- >- >-if (63 >> 3 !== 7) { >- testFailed('#103: 63 >> 3 === 7. Actual: ' + (63 >> 3)); >-} >- >- >-if (127 >> 3 !== 15) { >- testFailed('#104: 127 >> 3 === 15. Actual: ' + (127 >> 3)); >-} >- >- >-if (255 >> 3 !== 31) { >- testFailed('#105: 255 >> 3 === 31. Actual: ' + (255 >> 3)); >-} >- >- >-if (511 >> 3 !== 63) { >- testFailed('#106: 511 >> 3 === 63. Actual: ' + (511 >> 3)); >-} >- >- >-if (1023 >> 3 !== 127) { >- testFailed('#107: 1023 >> 3 === 127. Actual: ' + (1023 >> 3)); >-} >- >- >-if (2047 >> 3 !== 255) { >- testFailed('#108: 2047 >> 3 === 255. Actual: ' + (2047 >> 3)); >-} >- >- >-if (4095 >> 3 !== 511) { >- testFailed('#109: 4095 >> 3 === 511. Actual: ' + (4095 >> 3)); >-} >- >- >-if (8191 >> 3 !== 1023) { >- testFailed('#110: 8191 >> 3 === 1023. Actual: ' + (8191 >> 3)); >-} >- >- >-if (16383 >> 3 !== 2047) { >- testFailed('#111: 16383 >> 3 === 2047. Actual: ' + (16383 >> 3)); >-} >- >- >-if (32767 >> 3 !== 4095) { >- testFailed('#112: 32767 >> 3 === 4095. Actual: ' + (32767 >> 3)); >-} >- >- >-if (65535 >> 3 !== 8191) { >- testFailed('#113: 65535 >> 3 === 8191. Actual: ' + (65535 >> 3)); >-} >- >- >-if (131071 >> 3 !== 16383) { >- testFailed('#114: 131071 >> 3 === 16383. Actual: ' + (131071 >> 3)); >-} >- >- >-if (262143 >> 3 !== 32767) { >- testFailed('#115: 262143 >> 3 === 32767. Actual: ' + (262143 >> 3)); >-} >- >- >-if (524287 >> 3 !== 65535) { >- testFailed('#116: 524287 >> 3 === 65535. Actual: ' + (524287 >> 3)); >-} >- >- >-if (1048575 >> 3 !== 131071) { >- testFailed('#117: 1048575 >> 3 === 131071. Actual: ' + (1048575 >> 3)); >-} >- >- >-if (2097151 >> 3 !== 262143) { >- testFailed('#118: 2097151 >> 3 === 262143. Actual: ' + (2097151 >> 3)); >-} >- >- >-if (4194303 >> 3 !== 524287) { >- testFailed('#119: 4194303 >> 3 === 524287. Actual: ' + (4194303 >> 3)); >-} >- >- >-if (8388607 >> 3 !== 1048575) { >- testFailed('#120: 8388607 >> 3 === 1048575. Actual: ' + (8388607 >> 3)); >-} >- >- >-if (16777215 >> 3 !== 2097151) { >- testFailed('#121: 16777215 >> 3 === 2097151. Actual: ' + (16777215 >> 3)); >-} >- >- >-if (33554431 >> 3 !== 4194303) { >- testFailed('#122: 33554431 >> 3 === 4194303. Actual: ' + (33554431 >> 3)); >-} >- >- >-if (67108863 >> 3 !== 8388607) { >- testFailed('#123: 67108863 >> 3 === 8388607. Actual: ' + (67108863 >> 3)); >-} >- >- >-if (134217727 >> 3 !== 16777215) { >- testFailed('#124: 134217727 >> 3 === 16777215. Actual: ' + (134217727 >> 3)); >-} >- >- >-if (268435455 >> 3 !== 33554431) { >- testFailed('#125: 268435455 >> 3 === 33554431. Actual: ' + (268435455 >> 3)); >-} >- >- >-if (536870911 >> 3 !== 67108863) { >- testFailed('#126: 536870911 >> 3 === 67108863. Actual: ' + (536870911 >> 3)); >-} >- >- >-if (1073741823 >> 3 !== 134217727) { >- testFailed('#127: 1073741823 >> 3 === 134217727. Actual: ' + (1073741823 >> 3)); >-} >- >- >-if (2147483647 >> 3 !== 268435455) { >- testFailed('#128: 2147483647 >> 3 === 268435455. Actual: ' + (2147483647 >> 3)); >-} >- >- >-if (0 >> 4 !== 0) { >- testFailed('#129: 0 >> 4 === 0. Actual: ' + (0 >> 4)); >-} >- >- >-if (1 >> 4 !== 0) { >- testFailed('#130: 1 >> 4 === 0. Actual: ' + (1 >> 4)); >-} >- >- >-if (3 >> 4 !== 0) { >- testFailed('#131: 3 >> 4 === 0. Actual: ' + (3 >> 4)); >-} >- >- >-if (7 >> 4 !== 0) { >- testFailed('#132: 7 >> 4 === 0. Actual: ' + (7 >> 4)); >-} >- >- >-if (15 >> 4 !== 0) { >- testFailed('#133: 15 >> 4 === 0. Actual: ' + (15 >> 4)); >-} >- >- >-if (31 >> 4 !== 1) { >- testFailed('#134: 31 >> 4 === 1. Actual: ' + (31 >> 4)); >-} >- >- >-if (63 >> 4 !== 3) { >- testFailed('#135: 63 >> 4 === 3. Actual: ' + (63 >> 4)); >-} >- >- >-if (127 >> 4 !== 7) { >- testFailed('#136: 127 >> 4 === 7. Actual: ' + (127 >> 4)); >-} >- >- >-if (255 >> 4 !== 15) { >- testFailed('#137: 255 >> 4 === 15. Actual: ' + (255 >> 4)); >-} >- >- >-if (511 >> 4 !== 31) { >- testFailed('#138: 511 >> 4 === 31. Actual: ' + (511 >> 4)); >-} >- >- >-if (1023 >> 4 !== 63) { >- testFailed('#139: 1023 >> 4 === 63. Actual: ' + (1023 >> 4)); >-} >- >- >-if (2047 >> 4 !== 127) { >- testFailed('#140: 2047 >> 4 === 127. Actual: ' + (2047 >> 4)); >-} >- >- >-if (4095 >> 4 !== 255) { >- testFailed('#141: 4095 >> 4 === 255. Actual: ' + (4095 >> 4)); >-} >- >- >-if (8191 >> 4 !== 511) { >- testFailed('#142: 8191 >> 4 === 511. Actual: ' + (8191 >> 4)); >-} >- >- >-if (16383 >> 4 !== 1023) { >- testFailed('#143: 16383 >> 4 === 1023. Actual: ' + (16383 >> 4)); >-} >- >- >-if (32767 >> 4 !== 2047) { >- testFailed('#144: 32767 >> 4 === 2047. Actual: ' + (32767 >> 4)); >-} >- >- >-if (65535 >> 4 !== 4095) { >- testFailed('#145: 65535 >> 4 === 4095. Actual: ' + (65535 >> 4)); >-} >- >- >-if (131071 >> 4 !== 8191) { >- testFailed('#146: 131071 >> 4 === 8191. Actual: ' + (131071 >> 4)); >-} >- >- >-if (262143 >> 4 !== 16383) { >- testFailed('#147: 262143 >> 4 === 16383. Actual: ' + (262143 >> 4)); >-} >- >- >-if (524287 >> 4 !== 32767) { >- testFailed('#148: 524287 >> 4 === 32767. Actual: ' + (524287 >> 4)); >-} >- >- >-if (1048575 >> 4 !== 65535) { >- testFailed('#149: 1048575 >> 4 === 65535. Actual: ' + (1048575 >> 4)); >-} >- >- >-if (2097151 >> 4 !== 131071) { >- testFailed('#150: 2097151 >> 4 === 131071. Actual: ' + (2097151 >> 4)); >-} >- >- >-if (4194303 >> 4 !== 262143) { >- testFailed('#151: 4194303 >> 4 === 262143. Actual: ' + (4194303 >> 4)); >-} >- >- >-if (8388607 >> 4 !== 524287) { >- testFailed('#152: 8388607 >> 4 === 524287. Actual: ' + (8388607 >> 4)); >-} >- >- >-if (16777215 >> 4 !== 1048575) { >- testFailed('#153: 16777215 >> 4 === 1048575. Actual: ' + (16777215 >> 4)); >-} >- >- >-if (33554431 >> 4 !== 2097151) { >- testFailed('#154: 33554431 >> 4 === 2097151. Actual: ' + (33554431 >> 4)); >-} >- >- >-if (67108863 >> 4 !== 4194303) { >- testFailed('#155: 67108863 >> 4 === 4194303. Actual: ' + (67108863 >> 4)); >-} >- >- >-if (134217727 >> 4 !== 8388607) { >- testFailed('#156: 134217727 >> 4 === 8388607. Actual: ' + (134217727 >> 4)); >-} >- >- >-if (268435455 >> 4 !== 16777215) { >- testFailed('#157: 268435455 >> 4 === 16777215. Actual: ' + (268435455 >> 4)); >-} >- >- >-if (536870911 >> 4 !== 33554431) { >- testFailed('#158: 536870911 >> 4 === 33554431. Actual: ' + (536870911 >> 4)); >-} >- >- >-if (1073741823 >> 4 !== 67108863) { >- testFailed('#159: 1073741823 >> 4 === 67108863. Actual: ' + (1073741823 >> 4)); >-} >- >- >-if (2147483647 >> 4 !== 134217727) { >- testFailed('#160: 2147483647 >> 4 === 134217727. Actual: ' + (2147483647 >> 4)); >-} >- >- >-if (0 >> 5 !== 0) { >- testFailed('#161: 0 >> 5 === 0. Actual: ' + (0 >> 5)); >-} >- >- >-if (1 >> 5 !== 0) { >- testFailed('#162: 1 >> 5 === 0. Actual: ' + (1 >> 5)); >-} >- >- >-if (3 >> 5 !== 0) { >- testFailed('#163: 3 >> 5 === 0. Actual: ' + (3 >> 5)); >-} >- >- >-if (7 >> 5 !== 0) { >- testFailed('#164: 7 >> 5 === 0. Actual: ' + (7 >> 5)); >-} >- >- >-if (15 >> 5 !== 0) { >- testFailed('#165: 15 >> 5 === 0. Actual: ' + (15 >> 5)); >-} >- >- >-if (31 >> 5 !== 0) { >- testFailed('#166: 31 >> 5 === 0. Actual: ' + (31 >> 5)); >-} >- >- >-if (63 >> 5 !== 1) { >- testFailed('#167: 63 >> 5 === 1. Actual: ' + (63 >> 5)); >-} >- >- >-if (127 >> 5 !== 3) { >- testFailed('#168: 127 >> 5 === 3. Actual: ' + (127 >> 5)); >-} >- >- >-if (255 >> 5 !== 7) { >- testFailed('#169: 255 >> 5 === 7. Actual: ' + (255 >> 5)); >-} >- >- >-if (511 >> 5 !== 15) { >- testFailed('#170: 511 >> 5 === 15. Actual: ' + (511 >> 5)); >-} >- >- >-if (1023 >> 5 !== 31) { >- testFailed('#171: 1023 >> 5 === 31. Actual: ' + (1023 >> 5)); >-} >- >- >-if (2047 >> 5 !== 63) { >- testFailed('#172: 2047 >> 5 === 63. Actual: ' + (2047 >> 5)); >-} >- >- >-if (4095 >> 5 !== 127) { >- testFailed('#173: 4095 >> 5 === 127. Actual: ' + (4095 >> 5)); >-} >- >- >-if (8191 >> 5 !== 255) { >- testFailed('#174: 8191 >> 5 === 255. Actual: ' + (8191 >> 5)); >-} >- >- >-if (16383 >> 5 !== 511) { >- testFailed('#175: 16383 >> 5 === 511. Actual: ' + (16383 >> 5)); >-} >- >- >-if (32767 >> 5 !== 1023) { >- testFailed('#176: 32767 >> 5 === 1023. Actual: ' + (32767 >> 5)); >-} >- >- >-if (65535 >> 5 !== 2047) { >- testFailed('#177: 65535 >> 5 === 2047. Actual: ' + (65535 >> 5)); >-} >- >- >-if (131071 >> 5 !== 4095) { >- testFailed('#178: 131071 >> 5 === 4095. Actual: ' + (131071 >> 5)); >-} >- >- >-if (262143 >> 5 !== 8191) { >- testFailed('#179: 262143 >> 5 === 8191. Actual: ' + (262143 >> 5)); >-} >- >- >-if (524287 >> 5 !== 16383) { >- testFailed('#180: 524287 >> 5 === 16383. Actual: ' + (524287 >> 5)); >-} >- >- >-if (1048575 >> 5 !== 32767) { >- testFailed('#181: 1048575 >> 5 === 32767. Actual: ' + (1048575 >> 5)); >-} >- >- >-if (2097151 >> 5 !== 65535) { >- testFailed('#182: 2097151 >> 5 === 65535. Actual: ' + (2097151 >> 5)); >-} >- >- >-if (4194303 >> 5 !== 131071) { >- testFailed('#183: 4194303 >> 5 === 131071. Actual: ' + (4194303 >> 5)); >-} >- >- >-if (8388607 >> 5 !== 262143) { >- testFailed('#184: 8388607 >> 5 === 262143. Actual: ' + (8388607 >> 5)); >-} >- >- >-if (16777215 >> 5 !== 524287) { >- testFailed('#185: 16777215 >> 5 === 524287. Actual: ' + (16777215 >> 5)); >-} >- >- >-if (33554431 >> 5 !== 1048575) { >- testFailed('#186: 33554431 >> 5 === 1048575. Actual: ' + (33554431 >> 5)); >-} >- >- >-if (67108863 >> 5 !== 2097151) { >- testFailed('#187: 67108863 >> 5 === 2097151. Actual: ' + (67108863 >> 5)); >-} >- >- >-if (134217727 >> 5 !== 4194303) { >- testFailed('#188: 134217727 >> 5 === 4194303. Actual: ' + (134217727 >> 5)); >-} >- >- >-if (268435455 >> 5 !== 8388607) { >- testFailed('#189: 268435455 >> 5 === 8388607. Actual: ' + (268435455 >> 5)); >-} >- >- >-if (536870911 >> 5 !== 16777215) { >- testFailed('#190: 536870911 >> 5 === 16777215. Actual: ' + (536870911 >> 5)); >-} >- >- >-if (1073741823 >> 5 !== 33554431) { >- testFailed('#191: 1073741823 >> 5 === 33554431. Actual: ' + (1073741823 >> 5)); >-} >- >- >-if (2147483647 >> 5 !== 67108863) { >- testFailed('#192: 2147483647 >> 5 === 67108863. Actual: ' + (2147483647 >> 5)); >-} >- >- >-if (0 >> 6 !== 0) { >- testFailed('#193: 0 >> 6 === 0. Actual: ' + (0 >> 6)); >-} >- >- >-if (1 >> 6 !== 0) { >- testFailed('#194: 1 >> 6 === 0. Actual: ' + (1 >> 6)); >-} >- >- >-if (3 >> 6 !== 0) { >- testFailed('#195: 3 >> 6 === 0. Actual: ' + (3 >> 6)); >-} >- >- >-if (7 >> 6 !== 0) { >- testFailed('#196: 7 >> 6 === 0. Actual: ' + (7 >> 6)); >-} >- >- >-if (15 >> 6 !== 0) { >- testFailed('#197: 15 >> 6 === 0. Actual: ' + (15 >> 6)); >-} >- >- >-if (31 >> 6 !== 0) { >- testFailed('#198: 31 >> 6 === 0. Actual: ' + (31 >> 6)); >-} >- >- >-if (63 >> 6 !== 0) { >- testFailed('#199: 63 >> 6 === 0. Actual: ' + (63 >> 6)); >-} >- >- >-if (127 >> 6 !== 1) { >- testFailed('#200: 127 >> 6 === 1. Actual: ' + (127 >> 6)); >-} >- >- >-if (255 >> 6 !== 3) { >- testFailed('#201: 255 >> 6 === 3. Actual: ' + (255 >> 6)); >-} >- >- >-if (511 >> 6 !== 7) { >- testFailed('#202: 511 >> 6 === 7. Actual: ' + (511 >> 6)); >-} >- >- >-if (1023 >> 6 !== 15) { >- testFailed('#203: 1023 >> 6 === 15. Actual: ' + (1023 >> 6)); >-} >- >- >-if (2047 >> 6 !== 31) { >- testFailed('#204: 2047 >> 6 === 31. Actual: ' + (2047 >> 6)); >-} >- >- >-if (4095 >> 6 !== 63) { >- testFailed('#205: 4095 >> 6 === 63. Actual: ' + (4095 >> 6)); >-} >- >- >-if (8191 >> 6 !== 127) { >- testFailed('#206: 8191 >> 6 === 127. Actual: ' + (8191 >> 6)); >-} >- >- >-if (16383 >> 6 !== 255) { >- testFailed('#207: 16383 >> 6 === 255. Actual: ' + (16383 >> 6)); >-} >- >- >-if (32767 >> 6 !== 511) { >- testFailed('#208: 32767 >> 6 === 511. Actual: ' + (32767 >> 6)); >-} >- >- >-if (65535 >> 6 !== 1023) { >- testFailed('#209: 65535 >> 6 === 1023. Actual: ' + (65535 >> 6)); >-} >- >- >-if (131071 >> 6 !== 2047) { >- testFailed('#210: 131071 >> 6 === 2047. Actual: ' + (131071 >> 6)); >-} >- >- >-if (262143 >> 6 !== 4095) { >- testFailed('#211: 262143 >> 6 === 4095. Actual: ' + (262143 >> 6)); >-} >- >- >-if (524287 >> 6 !== 8191) { >- testFailed('#212: 524287 >> 6 === 8191. Actual: ' + (524287 >> 6)); >-} >- >- >-if (1048575 >> 6 !== 16383) { >- testFailed('#213: 1048575 >> 6 === 16383. Actual: ' + (1048575 >> 6)); >-} >- >- >-if (2097151 >> 6 !== 32767) { >- testFailed('#214: 2097151 >> 6 === 32767. Actual: ' + (2097151 >> 6)); >-} >- >- >-if (4194303 >> 6 !== 65535) { >- testFailed('#215: 4194303 >> 6 === 65535. Actual: ' + (4194303 >> 6)); >-} >- >- >-if (8388607 >> 6 !== 131071) { >- testFailed('#216: 8388607 >> 6 === 131071. Actual: ' + (8388607 >> 6)); >-} >- >- >-if (16777215 >> 6 !== 262143) { >- testFailed('#217: 16777215 >> 6 === 262143. Actual: ' + (16777215 >> 6)); >-} >- >- >-if (33554431 >> 6 !== 524287) { >- testFailed('#218: 33554431 >> 6 === 524287. Actual: ' + (33554431 >> 6)); >-} >- >- >-if (67108863 >> 6 !== 1048575) { >- testFailed('#219: 67108863 >> 6 === 1048575. Actual: ' + (67108863 >> 6)); >-} >- >- >-if (134217727 >> 6 !== 2097151) { >- testFailed('#220: 134217727 >> 6 === 2097151. Actual: ' + (134217727 >> 6)); >-} >- >- >-if (268435455 >> 6 !== 4194303) { >- testFailed('#221: 268435455 >> 6 === 4194303. Actual: ' + (268435455 >> 6)); >-} >- >- >-if (536870911 >> 6 !== 8388607) { >- testFailed('#222: 536870911 >> 6 === 8388607. Actual: ' + (536870911 >> 6)); >-} >- >- >-if (1073741823 >> 6 !== 16777215) { >- testFailed('#223: 1073741823 >> 6 === 16777215. Actual: ' + (1073741823 >> 6)); >-} >- >- >-if (2147483647 >> 6 !== 33554431) { >- testFailed('#224: 2147483647 >> 6 === 33554431. Actual: ' + (2147483647 >> 6)); >-} >- >- >-if (0 >> 7 !== 0) { >- testFailed('#225: 0 >> 7 === 0. Actual: ' + (0 >> 7)); >-} >- >- >-if (1 >> 7 !== 0) { >- testFailed('#226: 1 >> 7 === 0. Actual: ' + (1 >> 7)); >-} >- >- >-if (3 >> 7 !== 0) { >- testFailed('#227: 3 >> 7 === 0. Actual: ' + (3 >> 7)); >-} >- >- >-if (7 >> 7 !== 0) { >- testFailed('#228: 7 >> 7 === 0. Actual: ' + (7 >> 7)); >-} >- >- >-if (15 >> 7 !== 0) { >- testFailed('#229: 15 >> 7 === 0. Actual: ' + (15 >> 7)); >-} >- >- >-if (31 >> 7 !== 0) { >- testFailed('#230: 31 >> 7 === 0. Actual: ' + (31 >> 7)); >-} >- >- >-if (63 >> 7 !== 0) { >- testFailed('#231: 63 >> 7 === 0. Actual: ' + (63 >> 7)); >-} >- >- >-if (127 >> 7 !== 0) { >- testFailed('#232: 127 >> 7 === 0. Actual: ' + (127 >> 7)); >-} >- >- >-if (255 >> 7 !== 1) { >- testFailed('#233: 255 >> 7 === 1. Actual: ' + (255 >> 7)); >-} >- >- >-if (511 >> 7 !== 3) { >- testFailed('#234: 511 >> 7 === 3. Actual: ' + (511 >> 7)); >-} >- >- >-if (1023 >> 7 !== 7) { >- testFailed('#235: 1023 >> 7 === 7. Actual: ' + (1023 >> 7)); >-} >- >- >-if (2047 >> 7 !== 15) { >- testFailed('#236: 2047 >> 7 === 15. Actual: ' + (2047 >> 7)); >-} >- >- >-if (4095 >> 7 !== 31) { >- testFailed('#237: 4095 >> 7 === 31. Actual: ' + (4095 >> 7)); >-} >- >- >-if (8191 >> 7 !== 63) { >- testFailed('#238: 8191 >> 7 === 63. Actual: ' + (8191 >> 7)); >-} >- >- >-if (16383 >> 7 !== 127) { >- testFailed('#239: 16383 >> 7 === 127. Actual: ' + (16383 >> 7)); >-} >- >- >-if (32767 >> 7 !== 255) { >- testFailed('#240: 32767 >> 7 === 255. Actual: ' + (32767 >> 7)); >-} >- >- >-if (65535 >> 7 !== 511) { >- testFailed('#241: 65535 >> 7 === 511. Actual: ' + (65535 >> 7)); >-} >- >- >-if (131071 >> 7 !== 1023) { >- testFailed('#242: 131071 >> 7 === 1023. Actual: ' + (131071 >> 7)); >-} >- >- >-if (262143 >> 7 !== 2047) { >- testFailed('#243: 262143 >> 7 === 2047. Actual: ' + (262143 >> 7)); >-} >- >- >-if (524287 >> 7 !== 4095) { >- testFailed('#244: 524287 >> 7 === 4095. Actual: ' + (524287 >> 7)); >-} >- >- >-if (1048575 >> 7 !== 8191) { >- testFailed('#245: 1048575 >> 7 === 8191. Actual: ' + (1048575 >> 7)); >-} >- >- >-if (2097151 >> 7 !== 16383) { >- testFailed('#246: 2097151 >> 7 === 16383. Actual: ' + (2097151 >> 7)); >-} >- >- >-if (4194303 >> 7 !== 32767) { >- testFailed('#247: 4194303 >> 7 === 32767. Actual: ' + (4194303 >> 7)); >-} >- >- >-if (8388607 >> 7 !== 65535) { >- testFailed('#248: 8388607 >> 7 === 65535. Actual: ' + (8388607 >> 7)); >-} >- >- >-if (16777215 >> 7 !== 131071) { >- testFailed('#249: 16777215 >> 7 === 131071. Actual: ' + (16777215 >> 7)); >-} >- >- >-if (33554431 >> 7 !== 262143) { >- testFailed('#250: 33554431 >> 7 === 262143. Actual: ' + (33554431 >> 7)); >-} >- >- >-if (67108863 >> 7 !== 524287) { >- testFailed('#251: 67108863 >> 7 === 524287. Actual: ' + (67108863 >> 7)); >-} >- >- >-if (134217727 >> 7 !== 1048575) { >- testFailed('#252: 134217727 >> 7 === 1048575. Actual: ' + (134217727 >> 7)); >-} >- >- >-if (268435455 >> 7 !== 2097151) { >- testFailed('#253: 268435455 >> 7 === 2097151. Actual: ' + (268435455 >> 7)); >-} >- >- >-if (536870911 >> 7 !== 4194303) { >- testFailed('#254: 536870911 >> 7 === 4194303. Actual: ' + (536870911 >> 7)); >-} >- >- >-if (1073741823 >> 7 !== 8388607) { >- testFailed('#255: 1073741823 >> 7 === 8388607. Actual: ' + (1073741823 >> 7)); >-} >- >- >-if (2147483647 >> 7 !== 16777215) { >- testFailed('#256: 2147483647 >> 7 === 16777215. Actual: ' + (2147483647 >> 7)); >-} >- >- >-if (0 >> 8 !== 0) { >- testFailed('#257: 0 >> 8 === 0. Actual: ' + (0 >> 8)); >-} >- >- >-if (1 >> 8 !== 0) { >- testFailed('#258: 1 >> 8 === 0. Actual: ' + (1 >> 8)); >-} >- >- >-if (3 >> 8 !== 0) { >- testFailed('#259: 3 >> 8 === 0. Actual: ' + (3 >> 8)); >-} >- >- >-if (7 >> 8 !== 0) { >- testFailed('#260: 7 >> 8 === 0. Actual: ' + (7 >> 8)); >-} >- >- >-if (15 >> 8 !== 0) { >- testFailed('#261: 15 >> 8 === 0. Actual: ' + (15 >> 8)); >-} >- >- >-if (31 >> 8 !== 0) { >- testFailed('#262: 31 >> 8 === 0. Actual: ' + (31 >> 8)); >-} >- >- >-if (63 >> 8 !== 0) { >- testFailed('#263: 63 >> 8 === 0. Actual: ' + (63 >> 8)); >-} >- >- >-if (127 >> 8 !== 0) { >- testFailed('#264: 127 >> 8 === 0. Actual: ' + (127 >> 8)); >-} >- >- >-if (255 >> 8 !== 0) { >- testFailed('#265: 255 >> 8 === 0. Actual: ' + (255 >> 8)); >-} >- >- >-if (511 >> 8 !== 1) { >- testFailed('#266: 511 >> 8 === 1. Actual: ' + (511 >> 8)); >-} >- >- >-if (1023 >> 8 !== 3) { >- testFailed('#267: 1023 >> 8 === 3. Actual: ' + (1023 >> 8)); >-} >- >- >-if (2047 >> 8 !== 7) { >- testFailed('#268: 2047 >> 8 === 7. Actual: ' + (2047 >> 8)); >-} >- >- >-if (4095 >> 8 !== 15) { >- testFailed('#269: 4095 >> 8 === 15. Actual: ' + (4095 >> 8)); >-} >- >- >-if (8191 >> 8 !== 31) { >- testFailed('#270: 8191 >> 8 === 31. Actual: ' + (8191 >> 8)); >-} >- >- >-if (16383 >> 8 !== 63) { >- testFailed('#271: 16383 >> 8 === 63. Actual: ' + (16383 >> 8)); >-} >- >- >-if (32767 >> 8 !== 127) { >- testFailed('#272: 32767 >> 8 === 127. Actual: ' + (32767 >> 8)); >-} >- >- >-if (65535 >> 8 !== 255) { >- testFailed('#273: 65535 >> 8 === 255. Actual: ' + (65535 >> 8)); >-} >- >- >-if (131071 >> 8 !== 511) { >- testFailed('#274: 131071 >> 8 === 511. Actual: ' + (131071 >> 8)); >-} >- >- >-if (262143 >> 8 !== 1023) { >- testFailed('#275: 262143 >> 8 === 1023. Actual: ' + (262143 >> 8)); >-} >- >- >-if (524287 >> 8 !== 2047) { >- testFailed('#276: 524287 >> 8 === 2047. Actual: ' + (524287 >> 8)); >-} >- >- >-if (1048575 >> 8 !== 4095) { >- testFailed('#277: 1048575 >> 8 === 4095. Actual: ' + (1048575 >> 8)); >-} >- >- >-if (2097151 >> 8 !== 8191) { >- testFailed('#278: 2097151 >> 8 === 8191. Actual: ' + (2097151 >> 8)); >-} >- >- >-if (4194303 >> 8 !== 16383) { >- testFailed('#279: 4194303 >> 8 === 16383. Actual: ' + (4194303 >> 8)); >-} >- >- >-if (8388607 >> 8 !== 32767) { >- testFailed('#280: 8388607 >> 8 === 32767. Actual: ' + (8388607 >> 8)); >-} >- >- >-if (16777215 >> 8 !== 65535) { >- testFailed('#281: 16777215 >> 8 === 65535. Actual: ' + (16777215 >> 8)); >-} >- >- >-if (33554431 >> 8 !== 131071) { >- testFailed('#282: 33554431 >> 8 === 131071. Actual: ' + (33554431 >> 8)); >-} >- >- >-if (67108863 >> 8 !== 262143) { >- testFailed('#283: 67108863 >> 8 === 262143. Actual: ' + (67108863 >> 8)); >-} >- >- >-if (134217727 >> 8 !== 524287) { >- testFailed('#284: 134217727 >> 8 === 524287. Actual: ' + (134217727 >> 8)); >-} >- >- >-if (268435455 >> 8 !== 1048575) { >- testFailed('#285: 268435455 >> 8 === 1048575. Actual: ' + (268435455 >> 8)); >-} >- >- >-if (536870911 >> 8 !== 2097151) { >- testFailed('#286: 536870911 >> 8 === 2097151. Actual: ' + (536870911 >> 8)); >-} >- >- >-if (1073741823 >> 8 !== 4194303) { >- testFailed('#287: 1073741823 >> 8 === 4194303. Actual: ' + (1073741823 >> 8)); >-} >- >- >-if (2147483647 >> 8 !== 8388607) { >- testFailed('#288: 2147483647 >> 8 === 8388607. Actual: ' + (2147483647 >> 8)); >-} >- >- >-if (0 >> 9 !== 0) { >- testFailed('#289: 0 >> 9 === 0. Actual: ' + (0 >> 9)); >-} >- >- >-if (1 >> 9 !== 0) { >- testFailed('#290: 1 >> 9 === 0. Actual: ' + (1 >> 9)); >-} >- >- >-if (3 >> 9 !== 0) { >- testFailed('#291: 3 >> 9 === 0. Actual: ' + (3 >> 9)); >-} >- >- >-if (7 >> 9 !== 0) { >- testFailed('#292: 7 >> 9 === 0. Actual: ' + (7 >> 9)); >-} >- >- >-if (15 >> 9 !== 0) { >- testFailed('#293: 15 >> 9 === 0. Actual: ' + (15 >> 9)); >-} >- >- >-if (31 >> 9 !== 0) { >- testFailed('#294: 31 >> 9 === 0. Actual: ' + (31 >> 9)); >-} >- >- >-if (63 >> 9 !== 0) { >- testFailed('#295: 63 >> 9 === 0. Actual: ' + (63 >> 9)); >-} >- >- >-if (127 >> 9 !== 0) { >- testFailed('#296: 127 >> 9 === 0. Actual: ' + (127 >> 9)); >-} >- >- >-if (255 >> 9 !== 0) { >- testFailed('#297: 255 >> 9 === 0. Actual: ' + (255 >> 9)); >-} >- >- >-if (511 >> 9 !== 0) { >- testFailed('#298: 511 >> 9 === 0. Actual: ' + (511 >> 9)); >-} >- >- >-if (1023 >> 9 !== 1) { >- testFailed('#299: 1023 >> 9 === 1. Actual: ' + (1023 >> 9)); >-} >- >- >-if (2047 >> 9 !== 3) { >- testFailed('#300: 2047 >> 9 === 3. Actual: ' + (2047 >> 9)); >-} >- >- >-if (4095 >> 9 !== 7) { >- testFailed('#301: 4095 >> 9 === 7. Actual: ' + (4095 >> 9)); >-} >- >- >-if (8191 >> 9 !== 15) { >- testFailed('#302: 8191 >> 9 === 15. Actual: ' + (8191 >> 9)); >-} >- >- >-if (16383 >> 9 !== 31) { >- testFailed('#303: 16383 >> 9 === 31. Actual: ' + (16383 >> 9)); >-} >- >- >-if (32767 >> 9 !== 63) { >- testFailed('#304: 32767 >> 9 === 63. Actual: ' + (32767 >> 9)); >-} >- >- >-if (65535 >> 9 !== 127) { >- testFailed('#305: 65535 >> 9 === 127. Actual: ' + (65535 >> 9)); >-} >- >- >-if (131071 >> 9 !== 255) { >- testFailed('#306: 131071 >> 9 === 255. Actual: ' + (131071 >> 9)); >-} >- >- >-if (262143 >> 9 !== 511) { >- testFailed('#307: 262143 >> 9 === 511. Actual: ' + (262143 >> 9)); >-} >- >- >-if (524287 >> 9 !== 1023) { >- testFailed('#308: 524287 >> 9 === 1023. Actual: ' + (524287 >> 9)); >-} >- >- >-if (1048575 >> 9 !== 2047) { >- testFailed('#309: 1048575 >> 9 === 2047. Actual: ' + (1048575 >> 9)); >-} >- >- >-if (2097151 >> 9 !== 4095) { >- testFailed('#310: 2097151 >> 9 === 4095. Actual: ' + (2097151 >> 9)); >-} >- >- >-if (4194303 >> 9 !== 8191) { >- testFailed('#311: 4194303 >> 9 === 8191. Actual: ' + (4194303 >> 9)); >-} >- >- >-if (8388607 >> 9 !== 16383) { >- testFailed('#312: 8388607 >> 9 === 16383. Actual: ' + (8388607 >> 9)); >-} >- >- >-if (16777215 >> 9 !== 32767) { >- testFailed('#313: 16777215 >> 9 === 32767. Actual: ' + (16777215 >> 9)); >-} >- >- >-if (33554431 >> 9 !== 65535) { >- testFailed('#314: 33554431 >> 9 === 65535. Actual: ' + (33554431 >> 9)); >-} >- >- >-if (67108863 >> 9 !== 131071) { >- testFailed('#315: 67108863 >> 9 === 131071. Actual: ' + (67108863 >> 9)); >-} >- >- >-if (134217727 >> 9 !== 262143) { >- testFailed('#316: 134217727 >> 9 === 262143. Actual: ' + (134217727 >> 9)); >-} >- >- >-if (268435455 >> 9 !== 524287) { >- testFailed('#317: 268435455 >> 9 === 524287. Actual: ' + (268435455 >> 9)); >-} >- >- >-if (536870911 >> 9 !== 1048575) { >- testFailed('#318: 536870911 >> 9 === 1048575. Actual: ' + (536870911 >> 9)); >-} >- >- >-if (1073741823 >> 9 !== 2097151) { >- testFailed('#319: 1073741823 >> 9 === 2097151. Actual: ' + (1073741823 >> 9)); >-} >- >- >-if (2147483647 >> 9 !== 4194303) { >- testFailed('#320: 2147483647 >> 9 === 4194303. Actual: ' + (2147483647 >> 9)); >-} >- >- >-if (0 >> 10 !== 0) { >- testFailed('#321: 0 >> 10 === 0. Actual: ' + (0 >> 10)); >-} >- >- >-if (1 >> 10 !== 0) { >- testFailed('#322: 1 >> 10 === 0. Actual: ' + (1 >> 10)); >-} >- >- >-if (3 >> 10 !== 0) { >- testFailed('#323: 3 >> 10 === 0. Actual: ' + (3 >> 10)); >-} >- >- >-if (7 >> 10 !== 0) { >- testFailed('#324: 7 >> 10 === 0. Actual: ' + (7 >> 10)); >-} >- >- >-if (15 >> 10 !== 0) { >- testFailed('#325: 15 >> 10 === 0. Actual: ' + (15 >> 10)); >-} >- >- >-if (31 >> 10 !== 0) { >- testFailed('#326: 31 >> 10 === 0. Actual: ' + (31 >> 10)); >-} >- >- >-if (63 >> 10 !== 0) { >- testFailed('#327: 63 >> 10 === 0. Actual: ' + (63 >> 10)); >-} >- >- >-if (127 >> 10 !== 0) { >- testFailed('#328: 127 >> 10 === 0. Actual: ' + (127 >> 10)); >-} >- >- >-if (255 >> 10 !== 0) { >- testFailed('#329: 255 >> 10 === 0. Actual: ' + (255 >> 10)); >-} >- >- >-if (511 >> 10 !== 0) { >- testFailed('#330: 511 >> 10 === 0. Actual: ' + (511 >> 10)); >-} >- >- >-if (1023 >> 10 !== 0) { >- testFailed('#331: 1023 >> 10 === 0. Actual: ' + (1023 >> 10)); >-} >- >- >-if (2047 >> 10 !== 1) { >- testFailed('#332: 2047 >> 10 === 1. Actual: ' + (2047 >> 10)); >-} >- >- >-if (4095 >> 10 !== 3) { >- testFailed('#333: 4095 >> 10 === 3. Actual: ' + (4095 >> 10)); >-} >- >- >-if (8191 >> 10 !== 7) { >- testFailed('#334: 8191 >> 10 === 7. Actual: ' + (8191 >> 10)); >-} >- >- >-if (16383 >> 10 !== 15) { >- testFailed('#335: 16383 >> 10 === 15. Actual: ' + (16383 >> 10)); >-} >- >- >-if (32767 >> 10 !== 31) { >- testFailed('#336: 32767 >> 10 === 31. Actual: ' + (32767 >> 10)); >-} >- >- >-if (65535 >> 10 !== 63) { >- testFailed('#337: 65535 >> 10 === 63. Actual: ' + (65535 >> 10)); >-} >- >- >-if (131071 >> 10 !== 127) { >- testFailed('#338: 131071 >> 10 === 127. Actual: ' + (131071 >> 10)); >-} >- >- >-if (262143 >> 10 !== 255) { >- testFailed('#339: 262143 >> 10 === 255. Actual: ' + (262143 >> 10)); >-} >- >- >-if (524287 >> 10 !== 511) { >- testFailed('#340: 524287 >> 10 === 511. Actual: ' + (524287 >> 10)); >-} >- >- >-if (1048575 >> 10 !== 1023) { >- testFailed('#341: 1048575 >> 10 === 1023. Actual: ' + (1048575 >> 10)); >-} >- >- >-if (2097151 >> 10 !== 2047) { >- testFailed('#342: 2097151 >> 10 === 2047. Actual: ' + (2097151 >> 10)); >-} >- >- >-if (4194303 >> 10 !== 4095) { >- testFailed('#343: 4194303 >> 10 === 4095. Actual: ' + (4194303 >> 10)); >-} >- >- >-if (8388607 >> 10 !== 8191) { >- testFailed('#344: 8388607 >> 10 === 8191. Actual: ' + (8388607 >> 10)); >-} >- >- >-if (16777215 >> 10 !== 16383) { >- testFailed('#345: 16777215 >> 10 === 16383. Actual: ' + (16777215 >> 10)); >-} >- >- >-if (33554431 >> 10 !== 32767) { >- testFailed('#346: 33554431 >> 10 === 32767. Actual: ' + (33554431 >> 10)); >-} >- >- >-if (67108863 >> 10 !== 65535) { >- testFailed('#347: 67108863 >> 10 === 65535. Actual: ' + (67108863 >> 10)); >-} >- >- >-if (134217727 >> 10 !== 131071) { >- testFailed('#348: 134217727 >> 10 === 131071. Actual: ' + (134217727 >> 10)); >-} >- >- >-if (268435455 >> 10 !== 262143) { >- testFailed('#349: 268435455 >> 10 === 262143. Actual: ' + (268435455 >> 10)); >-} >- >- >-if (536870911 >> 10 !== 524287) { >- testFailed('#350: 536870911 >> 10 === 524287. Actual: ' + (536870911 >> 10)); >-} >- >- >-if (1073741823 >> 10 !== 1048575) { >- testFailed('#351: 1073741823 >> 10 === 1048575. Actual: ' + (1073741823 >> 10)); >-} >- >- >-if (2147483647 >> 10 !== 2097151) { >- testFailed('#352: 2147483647 >> 10 === 2097151. Actual: ' + (2147483647 >> 10)); >-} >- >- >-if (0 >> 11 !== 0) { >- testFailed('#353: 0 >> 11 === 0. Actual: ' + (0 >> 11)); >-} >- >- >-if (1 >> 11 !== 0) { >- testFailed('#354: 1 >> 11 === 0. Actual: ' + (1 >> 11)); >-} >- >- >-if (3 >> 11 !== 0) { >- testFailed('#355: 3 >> 11 === 0. Actual: ' + (3 >> 11)); >-} >- >- >-if (7 >> 11 !== 0) { >- testFailed('#356: 7 >> 11 === 0. Actual: ' + (7 >> 11)); >-} >- >- >-if (15 >> 11 !== 0) { >- testFailed('#357: 15 >> 11 === 0. Actual: ' + (15 >> 11)); >-} >- >- >-if (31 >> 11 !== 0) { >- testFailed('#358: 31 >> 11 === 0. Actual: ' + (31 >> 11)); >-} >- >- >-if (63 >> 11 !== 0) { >- testFailed('#359: 63 >> 11 === 0. Actual: ' + (63 >> 11)); >-} >- >- >-if (127 >> 11 !== 0) { >- testFailed('#360: 127 >> 11 === 0. Actual: ' + (127 >> 11)); >-} >- >- >-if (255 >> 11 !== 0) { >- testFailed('#361: 255 >> 11 === 0. Actual: ' + (255 >> 11)); >-} >- >- >-if (511 >> 11 !== 0) { >- testFailed('#362: 511 >> 11 === 0. Actual: ' + (511 >> 11)); >-} >- >- >-if (1023 >> 11 !== 0) { >- testFailed('#363: 1023 >> 11 === 0. Actual: ' + (1023 >> 11)); >-} >- >- >-if (2047 >> 11 !== 0) { >- testFailed('#364: 2047 >> 11 === 0. Actual: ' + (2047 >> 11)); >-} >- >- >-if (4095 >> 11 !== 1) { >- testFailed('#365: 4095 >> 11 === 1. Actual: ' + (4095 >> 11)); >-} >- >- >-if (8191 >> 11 !== 3) { >- testFailed('#366: 8191 >> 11 === 3. Actual: ' + (8191 >> 11)); >-} >- >- >-if (16383 >> 11 !== 7) { >- testFailed('#367: 16383 >> 11 === 7. Actual: ' + (16383 >> 11)); >-} >- >- >-if (32767 >> 11 !== 15) { >- testFailed('#368: 32767 >> 11 === 15. Actual: ' + (32767 >> 11)); >-} >- >- >-if (65535 >> 11 !== 31) { >- testFailed('#369: 65535 >> 11 === 31. Actual: ' + (65535 >> 11)); >-} >- >- >-if (131071 >> 11 !== 63) { >- testFailed('#370: 131071 >> 11 === 63. Actual: ' + (131071 >> 11)); >-} >- >- >-if (262143 >> 11 !== 127) { >- testFailed('#371: 262143 >> 11 === 127. Actual: ' + (262143 >> 11)); >-} >- >- >-if (524287 >> 11 !== 255) { >- testFailed('#372: 524287 >> 11 === 255. Actual: ' + (524287 >> 11)); >-} >- >- >-if (1048575 >> 11 !== 511) { >- testFailed('#373: 1048575 >> 11 === 511. Actual: ' + (1048575 >> 11)); >-} >- >- >-if (2097151 >> 11 !== 1023) { >- testFailed('#374: 2097151 >> 11 === 1023. Actual: ' + (2097151 >> 11)); >-} >- >- >-if (4194303 >> 11 !== 2047) { >- testFailed('#375: 4194303 >> 11 === 2047. Actual: ' + (4194303 >> 11)); >-} >- >- >-if (8388607 >> 11 !== 4095) { >- testFailed('#376: 8388607 >> 11 === 4095. Actual: ' + (8388607 >> 11)); >-} >- >- >-if (16777215 >> 11 !== 8191) { >- testFailed('#377: 16777215 >> 11 === 8191. Actual: ' + (16777215 >> 11)); >-} >- >- >-if (33554431 >> 11 !== 16383) { >- testFailed('#378: 33554431 >> 11 === 16383. Actual: ' + (33554431 >> 11)); >-} >- >- >-if (67108863 >> 11 !== 32767) { >- testFailed('#379: 67108863 >> 11 === 32767. Actual: ' + (67108863 >> 11)); >-} >- >- >-if (134217727 >> 11 !== 65535) { >- testFailed('#380: 134217727 >> 11 === 65535. Actual: ' + (134217727 >> 11)); >-} >- >- >-if (268435455 >> 11 !== 131071) { >- testFailed('#381: 268435455 >> 11 === 131071. Actual: ' + (268435455 >> 11)); >-} >- >- >-if (536870911 >> 11 !== 262143) { >- testFailed('#382: 536870911 >> 11 === 262143. Actual: ' + (536870911 >> 11)); >-} >- >- >-if (1073741823 >> 11 !== 524287) { >- testFailed('#383: 1073741823 >> 11 === 524287. Actual: ' + (1073741823 >> 11)); >-} >- >- >-if (2147483647 >> 11 !== 1048575) { >- testFailed('#384: 2147483647 >> 11 === 1048575. Actual: ' + (2147483647 >> 11)); >-} >- >- >-if (0 >> 12 !== 0) { >- testFailed('#385: 0 >> 12 === 0. Actual: ' + (0 >> 12)); >-} >- >- >-if (1 >> 12 !== 0) { >- testFailed('#386: 1 >> 12 === 0. Actual: ' + (1 >> 12)); >-} >- >- >-if (3 >> 12 !== 0) { >- testFailed('#387: 3 >> 12 === 0. Actual: ' + (3 >> 12)); >-} >- >- >-if (7 >> 12 !== 0) { >- testFailed('#388: 7 >> 12 === 0. Actual: ' + (7 >> 12)); >-} >- >- >-if (15 >> 12 !== 0) { >- testFailed('#389: 15 >> 12 === 0. Actual: ' + (15 >> 12)); >-} >- >- >-if (31 >> 12 !== 0) { >- testFailed('#390: 31 >> 12 === 0. Actual: ' + (31 >> 12)); >-} >- >- >-if (63 >> 12 !== 0) { >- testFailed('#391: 63 >> 12 === 0. Actual: ' + (63 >> 12)); >-} >- >- >-if (127 >> 12 !== 0) { >- testFailed('#392: 127 >> 12 === 0. Actual: ' + (127 >> 12)); >-} >- >- >-if (255 >> 12 !== 0) { >- testFailed('#393: 255 >> 12 === 0. Actual: ' + (255 >> 12)); >-} >- >- >-if (511 >> 12 !== 0) { >- testFailed('#394: 511 >> 12 === 0. Actual: ' + (511 >> 12)); >-} >- >- >-if (1023 >> 12 !== 0) { >- testFailed('#395: 1023 >> 12 === 0. Actual: ' + (1023 >> 12)); >-} >- >- >-if (2047 >> 12 !== 0) { >- testFailed('#396: 2047 >> 12 === 0. Actual: ' + (2047 >> 12)); >-} >- >- >-if (4095 >> 12 !== 0) { >- testFailed('#397: 4095 >> 12 === 0. Actual: ' + (4095 >> 12)); >-} >- >- >-if (8191 >> 12 !== 1) { >- testFailed('#398: 8191 >> 12 === 1. Actual: ' + (8191 >> 12)); >-} >- >- >-if (16383 >> 12 !== 3) { >- testFailed('#399: 16383 >> 12 === 3. Actual: ' + (16383 >> 12)); >-} >- >- >-if (32767 >> 12 !== 7) { >- testFailed('#400: 32767 >> 12 === 7. Actual: ' + (32767 >> 12)); >-} >- >- >-if (65535 >> 12 !== 15) { >- testFailed('#401: 65535 >> 12 === 15. Actual: ' + (65535 >> 12)); >-} >- >- >-if (131071 >> 12 !== 31) { >- testFailed('#402: 131071 >> 12 === 31. Actual: ' + (131071 >> 12)); >-} >- >- >-if (262143 >> 12 !== 63) { >- testFailed('#403: 262143 >> 12 === 63. Actual: ' + (262143 >> 12)); >-} >- >- >-if (524287 >> 12 !== 127) { >- testFailed('#404: 524287 >> 12 === 127. Actual: ' + (524287 >> 12)); >-} >- >- >-if (1048575 >> 12 !== 255) { >- testFailed('#405: 1048575 >> 12 === 255. Actual: ' + (1048575 >> 12)); >-} >- >- >-if (2097151 >> 12 !== 511) { >- testFailed('#406: 2097151 >> 12 === 511. Actual: ' + (2097151 >> 12)); >-} >- >- >-if (4194303 >> 12 !== 1023) { >- testFailed('#407: 4194303 >> 12 === 1023. Actual: ' + (4194303 >> 12)); >-} >- >- >-if (8388607 >> 12 !== 2047) { >- testFailed('#408: 8388607 >> 12 === 2047. Actual: ' + (8388607 >> 12)); >-} >- >- >-if (16777215 >> 12 !== 4095) { >- testFailed('#409: 16777215 >> 12 === 4095. Actual: ' + (16777215 >> 12)); >-} >- >- >-if (33554431 >> 12 !== 8191) { >- testFailed('#410: 33554431 >> 12 === 8191. Actual: ' + (33554431 >> 12)); >-} >- >- >-if (67108863 >> 12 !== 16383) { >- testFailed('#411: 67108863 >> 12 === 16383. Actual: ' + (67108863 >> 12)); >-} >- >- >-if (134217727 >> 12 !== 32767) { >- testFailed('#412: 134217727 >> 12 === 32767. Actual: ' + (134217727 >> 12)); >-} >- >- >-if (268435455 >> 12 !== 65535) { >- testFailed('#413: 268435455 >> 12 === 65535. Actual: ' + (268435455 >> 12)); >-} >- >- >-if (536870911 >> 12 !== 131071) { >- testFailed('#414: 536870911 >> 12 === 131071. Actual: ' + (536870911 >> 12)); >-} >- >- >-if (1073741823 >> 12 !== 262143) { >- testFailed('#415: 1073741823 >> 12 === 262143. Actual: ' + (1073741823 >> 12)); >-} >- >- >-if (2147483647 >> 12 !== 524287) { >- testFailed('#416: 2147483647 >> 12 === 524287. Actual: ' + (2147483647 >> 12)); >-} >- >- >-if (0 >> 13 !== 0) { >- testFailed('#417: 0 >> 13 === 0. Actual: ' + (0 >> 13)); >-} >- >- >-if (1 >> 13 !== 0) { >- testFailed('#418: 1 >> 13 === 0. Actual: ' + (1 >> 13)); >-} >- >- >-if (3 >> 13 !== 0) { >- testFailed('#419: 3 >> 13 === 0. Actual: ' + (3 >> 13)); >-} >- >- >-if (7 >> 13 !== 0) { >- testFailed('#420: 7 >> 13 === 0. Actual: ' + (7 >> 13)); >-} >- >- >-if (15 >> 13 !== 0) { >- testFailed('#421: 15 >> 13 === 0. Actual: ' + (15 >> 13)); >-} >- >- >-if (31 >> 13 !== 0) { >- testFailed('#422: 31 >> 13 === 0. Actual: ' + (31 >> 13)); >-} >- >- >-if (63 >> 13 !== 0) { >- testFailed('#423: 63 >> 13 === 0. Actual: ' + (63 >> 13)); >-} >- >- >-if (127 >> 13 !== 0) { >- testFailed('#424: 127 >> 13 === 0. Actual: ' + (127 >> 13)); >-} >- >- >-if (255 >> 13 !== 0) { >- testFailed('#425: 255 >> 13 === 0. Actual: ' + (255 >> 13)); >-} >- >- >-if (511 >> 13 !== 0) { >- testFailed('#426: 511 >> 13 === 0. Actual: ' + (511 >> 13)); >-} >- >- >-if (1023 >> 13 !== 0) { >- testFailed('#427: 1023 >> 13 === 0. Actual: ' + (1023 >> 13)); >-} >- >- >-if (2047 >> 13 !== 0) { >- testFailed('#428: 2047 >> 13 === 0. Actual: ' + (2047 >> 13)); >-} >- >- >-if (4095 >> 13 !== 0) { >- testFailed('#429: 4095 >> 13 === 0. Actual: ' + (4095 >> 13)); >-} >- >- >-if (8191 >> 13 !== 0) { >- testFailed('#430: 8191 >> 13 === 0. Actual: ' + (8191 >> 13)); >-} >- >- >-if (16383 >> 13 !== 1) { >- testFailed('#431: 16383 >> 13 === 1. Actual: ' + (16383 >> 13)); >-} >- >- >-if (32767 >> 13 !== 3) { >- testFailed('#432: 32767 >> 13 === 3. Actual: ' + (32767 >> 13)); >-} >- >- >-if (65535 >> 13 !== 7) { >- testFailed('#433: 65535 >> 13 === 7. Actual: ' + (65535 >> 13)); >-} >- >- >-if (131071 >> 13 !== 15) { >- testFailed('#434: 131071 >> 13 === 15. Actual: ' + (131071 >> 13)); >-} >- >- >-if (262143 >> 13 !== 31) { >- testFailed('#435: 262143 >> 13 === 31. Actual: ' + (262143 >> 13)); >-} >- >- >-if (524287 >> 13 !== 63) { >- testFailed('#436: 524287 >> 13 === 63. Actual: ' + (524287 >> 13)); >-} >- >- >-if (1048575 >> 13 !== 127) { >- testFailed('#437: 1048575 >> 13 === 127. Actual: ' + (1048575 >> 13)); >-} >- >- >-if (2097151 >> 13 !== 255) { >- testFailed('#438: 2097151 >> 13 === 255. Actual: ' + (2097151 >> 13)); >-} >- >- >-if (4194303 >> 13 !== 511) { >- testFailed('#439: 4194303 >> 13 === 511. Actual: ' + (4194303 >> 13)); >-} >- >- >-if (8388607 >> 13 !== 1023) { >- testFailed('#440: 8388607 >> 13 === 1023. Actual: ' + (8388607 >> 13)); >-} >- >- >-if (16777215 >> 13 !== 2047) { >- testFailed('#441: 16777215 >> 13 === 2047. Actual: ' + (16777215 >> 13)); >-} >- >- >-if (33554431 >> 13 !== 4095) { >- testFailed('#442: 33554431 >> 13 === 4095. Actual: ' + (33554431 >> 13)); >-} >- >- >-if (67108863 >> 13 !== 8191) { >- testFailed('#443: 67108863 >> 13 === 8191. Actual: ' + (67108863 >> 13)); >-} >- >- >-if (134217727 >> 13 !== 16383) { >- testFailed('#444: 134217727 >> 13 === 16383. Actual: ' + (134217727 >> 13)); >-} >- >- >-if (268435455 >> 13 !== 32767) { >- testFailed('#445: 268435455 >> 13 === 32767. Actual: ' + (268435455 >> 13)); >-} >- >- >-if (536870911 >> 13 !== 65535) { >- testFailed('#446: 536870911 >> 13 === 65535. Actual: ' + (536870911 >> 13)); >-} >- >- >-if (1073741823 >> 13 !== 131071) { >- testFailed('#447: 1073741823 >> 13 === 131071. Actual: ' + (1073741823 >> 13)); >-} >- >- >-if (2147483647 >> 13 !== 262143) { >- testFailed('#448: 2147483647 >> 13 === 262143. Actual: ' + (2147483647 >> 13)); >-} >- >- >-if (0 >> 14 !== 0) { >- testFailed('#449: 0 >> 14 === 0. Actual: ' + (0 >> 14)); >-} >- >- >-if (1 >> 14 !== 0) { >- testFailed('#450: 1 >> 14 === 0. Actual: ' + (1 >> 14)); >-} >- >- >-if (3 >> 14 !== 0) { >- testFailed('#451: 3 >> 14 === 0. Actual: ' + (3 >> 14)); >-} >- >- >-if (7 >> 14 !== 0) { >- testFailed('#452: 7 >> 14 === 0. Actual: ' + (7 >> 14)); >-} >- >- >-if (15 >> 14 !== 0) { >- testFailed('#453: 15 >> 14 === 0. Actual: ' + (15 >> 14)); >-} >- >- >-if (31 >> 14 !== 0) { >- testFailed('#454: 31 >> 14 === 0. Actual: ' + (31 >> 14)); >-} >- >- >-if (63 >> 14 !== 0) { >- testFailed('#455: 63 >> 14 === 0. Actual: ' + (63 >> 14)); >-} >- >- >-if (127 >> 14 !== 0) { >- testFailed('#456: 127 >> 14 === 0. Actual: ' + (127 >> 14)); >-} >- >- >-if (255 >> 14 !== 0) { >- testFailed('#457: 255 >> 14 === 0. Actual: ' + (255 >> 14)); >-} >- >- >-if (511 >> 14 !== 0) { >- testFailed('#458: 511 >> 14 === 0. Actual: ' + (511 >> 14)); >-} >- >- >-if (1023 >> 14 !== 0) { >- testFailed('#459: 1023 >> 14 === 0. Actual: ' + (1023 >> 14)); >-} >- >- >-if (2047 >> 14 !== 0) { >- testFailed('#460: 2047 >> 14 === 0. Actual: ' + (2047 >> 14)); >-} >- >- >-if (4095 >> 14 !== 0) { >- testFailed('#461: 4095 >> 14 === 0. Actual: ' + (4095 >> 14)); >-} >- >- >-if (8191 >> 14 !== 0) { >- testFailed('#462: 8191 >> 14 === 0. Actual: ' + (8191 >> 14)); >-} >- >- >-if (16383 >> 14 !== 0) { >- testFailed('#463: 16383 >> 14 === 0. Actual: ' + (16383 >> 14)); >-} >- >- >-if (32767 >> 14 !== 1) { >- testFailed('#464: 32767 >> 14 === 1. Actual: ' + (32767 >> 14)); >-} >- >- >-if (65535 >> 14 !== 3) { >- testFailed('#465: 65535 >> 14 === 3. Actual: ' + (65535 >> 14)); >-} >- >- >-if (131071 >> 14 !== 7) { >- testFailed('#466: 131071 >> 14 === 7. Actual: ' + (131071 >> 14)); >-} >- >- >-if (262143 >> 14 !== 15) { >- testFailed('#467: 262143 >> 14 === 15. Actual: ' + (262143 >> 14)); >-} >- >- >-if (524287 >> 14 !== 31) { >- testFailed('#468: 524287 >> 14 === 31. Actual: ' + (524287 >> 14)); >-} >- >- >-if (1048575 >> 14 !== 63) { >- testFailed('#469: 1048575 >> 14 === 63. Actual: ' + (1048575 >> 14)); >-} >- >- >-if (2097151 >> 14 !== 127) { >- testFailed('#470: 2097151 >> 14 === 127. Actual: ' + (2097151 >> 14)); >-} >- >- >-if (4194303 >> 14 !== 255) { >- testFailed('#471: 4194303 >> 14 === 255. Actual: ' + (4194303 >> 14)); >-} >- >- >-if (8388607 >> 14 !== 511) { >- testFailed('#472: 8388607 >> 14 === 511. Actual: ' + (8388607 >> 14)); >-} >- >- >-if (16777215 >> 14 !== 1023) { >- testFailed('#473: 16777215 >> 14 === 1023. Actual: ' + (16777215 >> 14)); >-} >- >- >-if (33554431 >> 14 !== 2047) { >- testFailed('#474: 33554431 >> 14 === 2047. Actual: ' + (33554431 >> 14)); >-} >- >- >-if (67108863 >> 14 !== 4095) { >- testFailed('#475: 67108863 >> 14 === 4095. Actual: ' + (67108863 >> 14)); >-} >- >- >-if (134217727 >> 14 !== 8191) { >- testFailed('#476: 134217727 >> 14 === 8191. Actual: ' + (134217727 >> 14)); >-} >- >- >-if (268435455 >> 14 !== 16383) { >- testFailed('#477: 268435455 >> 14 === 16383. Actual: ' + (268435455 >> 14)); >-} >- >- >-if (536870911 >> 14 !== 32767) { >- testFailed('#478: 536870911 >> 14 === 32767. Actual: ' + (536870911 >> 14)); >-} >- >- >-if (1073741823 >> 14 !== 65535) { >- testFailed('#479: 1073741823 >> 14 === 65535. Actual: ' + (1073741823 >> 14)); >-} >- >- >-if (2147483647 >> 14 !== 131071) { >- testFailed('#480: 2147483647 >> 14 === 131071. Actual: ' + (2147483647 >> 14)); >-} >- >- >-if (0 >> 15 !== 0) { >- testFailed('#481: 0 >> 15 === 0. Actual: ' + (0 >> 15)); >-} >- >- >-if (1 >> 15 !== 0) { >- testFailed('#482: 1 >> 15 === 0. Actual: ' + (1 >> 15)); >-} >- >- >-if (3 >> 15 !== 0) { >- testFailed('#483: 3 >> 15 === 0. Actual: ' + (3 >> 15)); >-} >- >- >-if (7 >> 15 !== 0) { >- testFailed('#484: 7 >> 15 === 0. Actual: ' + (7 >> 15)); >-} >- >- >-if (15 >> 15 !== 0) { >- testFailed('#485: 15 >> 15 === 0. Actual: ' + (15 >> 15)); >-} >- >- >-if (31 >> 15 !== 0) { >- testFailed('#486: 31 >> 15 === 0. Actual: ' + (31 >> 15)); >-} >- >- >-if (63 >> 15 !== 0) { >- testFailed('#487: 63 >> 15 === 0. Actual: ' + (63 >> 15)); >-} >- >- >-if (127 >> 15 !== 0) { >- testFailed('#488: 127 >> 15 === 0. Actual: ' + (127 >> 15)); >-} >- >- >-if (255 >> 15 !== 0) { >- testFailed('#489: 255 >> 15 === 0. Actual: ' + (255 >> 15)); >-} >- >- >-if (511 >> 15 !== 0) { >- testFailed('#490: 511 >> 15 === 0. Actual: ' + (511 >> 15)); >-} >- >- >-if (1023 >> 15 !== 0) { >- testFailed('#491: 1023 >> 15 === 0. Actual: ' + (1023 >> 15)); >-} >- >- >-if (2047 >> 15 !== 0) { >- testFailed('#492: 2047 >> 15 === 0. Actual: ' + (2047 >> 15)); >-} >- >- >-if (4095 >> 15 !== 0) { >- testFailed('#493: 4095 >> 15 === 0. Actual: ' + (4095 >> 15)); >-} >- >- >-if (8191 >> 15 !== 0) { >- testFailed('#494: 8191 >> 15 === 0. Actual: ' + (8191 >> 15)); >-} >- >- >-if (16383 >> 15 !== 0) { >- testFailed('#495: 16383 >> 15 === 0. Actual: ' + (16383 >> 15)); >-} >- >- >-if (32767 >> 15 !== 0) { >- testFailed('#496: 32767 >> 15 === 0. Actual: ' + (32767 >> 15)); >-} >- >- >-if (65535 >> 15 !== 1) { >- testFailed('#497: 65535 >> 15 === 1. Actual: ' + (65535 >> 15)); >-} >- >- >-if (131071 >> 15 !== 3) { >- testFailed('#498: 131071 >> 15 === 3. Actual: ' + (131071 >> 15)); >-} >- >- >-if (262143 >> 15 !== 7) { >- testFailed('#499: 262143 >> 15 === 7. Actual: ' + (262143 >> 15)); >-} >- >- >-if (524287 >> 15 !== 15) { >- testFailed('#500: 524287 >> 15 === 15. Actual: ' + (524287 >> 15)); >-} >- >- >-if (1048575 >> 15 !== 31) { >- testFailed('#501: 1048575 >> 15 === 31. Actual: ' + (1048575 >> 15)); >-} >- >- >-if (2097151 >> 15 !== 63) { >- testFailed('#502: 2097151 >> 15 === 63. Actual: ' + (2097151 >> 15)); >-} >- >- >-if (4194303 >> 15 !== 127) { >- testFailed('#503: 4194303 >> 15 === 127. Actual: ' + (4194303 >> 15)); >-} >- >- >-if (8388607 >> 15 !== 255) { >- testFailed('#504: 8388607 >> 15 === 255. Actual: ' + (8388607 >> 15)); >-} >- >- >-if (16777215 >> 15 !== 511) { >- testFailed('#505: 16777215 >> 15 === 511. Actual: ' + (16777215 >> 15)); >-} >- >- >-if (33554431 >> 15 !== 1023) { >- testFailed('#506: 33554431 >> 15 === 1023. Actual: ' + (33554431 >> 15)); >-} >- >- >-if (67108863 >> 15 !== 2047) { >- testFailed('#507: 67108863 >> 15 === 2047. Actual: ' + (67108863 >> 15)); >-} >- >- >-if (134217727 >> 15 !== 4095) { >- testFailed('#508: 134217727 >> 15 === 4095. Actual: ' + (134217727 >> 15)); >-} >- >- >-if (268435455 >> 15 !== 8191) { >- testFailed('#509: 268435455 >> 15 === 8191. Actual: ' + (268435455 >> 15)); >-} >- >- >-if (536870911 >> 15 !== 16383) { >- testFailed('#510: 536870911 >> 15 === 16383. Actual: ' + (536870911 >> 15)); >-} >- >- >-if (1073741823 >> 15 !== 32767) { >- testFailed('#511: 1073741823 >> 15 === 32767. Actual: ' + (1073741823 >> 15)); >-} >- >- >-if (2147483647 >> 15 !== 65535) { >- testFailed('#512: 2147483647 >> 15 === 65535. Actual: ' + (2147483647 >> 15)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4-expected.txt >deleted file mode 100644 >index b195ea4dc6a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.html >deleted file mode 100644 >index 56f957b4565..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.html >+++ /dev/null >@@ -1,2648 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A4_T4; >- * @section: 11.7.2; >- * @assertion: Check x >> y operator in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 16...31; >- */ >- >-//CHECK >- >-if (0 >> 16 !== 0) { >- testFailed('#513: 0 >> 16 === 0. Actual: ' + (0 >> 16)); >-} >- >- >-if (1 >> 16 !== 0) { >- testFailed('#514: 1 >> 16 === 0. Actual: ' + (1 >> 16)); >-} >- >- >-if (3 >> 16 !== 0) { >- testFailed('#515: 3 >> 16 === 0. Actual: ' + (3 >> 16)); >-} >- >- >-if (7 >> 16 !== 0) { >- testFailed('#516: 7 >> 16 === 0. Actual: ' + (7 >> 16)); >-} >- >- >-if (15 >> 16 !== 0) { >- testFailed('#517: 15 >> 16 === 0. Actual: ' + (15 >> 16)); >-} >- >- >-if (31 >> 16 !== 0) { >- testFailed('#518: 31 >> 16 === 0. Actual: ' + (31 >> 16)); >-} >- >- >-if (63 >> 16 !== 0) { >- testFailed('#519: 63 >> 16 === 0. Actual: ' + (63 >> 16)); >-} >- >- >-if (127 >> 16 !== 0) { >- testFailed('#520: 127 >> 16 === 0. Actual: ' + (127 >> 16)); >-} >- >- >-if (255 >> 16 !== 0) { >- testFailed('#521: 255 >> 16 === 0. Actual: ' + (255 >> 16)); >-} >- >- >-if (511 >> 16 !== 0) { >- testFailed('#522: 511 >> 16 === 0. Actual: ' + (511 >> 16)); >-} >- >- >-if (1023 >> 16 !== 0) { >- testFailed('#523: 1023 >> 16 === 0. Actual: ' + (1023 >> 16)); >-} >- >- >-if (2047 >> 16 !== 0) { >- testFailed('#524: 2047 >> 16 === 0. Actual: ' + (2047 >> 16)); >-} >- >- >-if (4095 >> 16 !== 0) { >- testFailed('#525: 4095 >> 16 === 0. Actual: ' + (4095 >> 16)); >-} >- >- >-if (8191 >> 16 !== 0) { >- testFailed('#526: 8191 >> 16 === 0. Actual: ' + (8191 >> 16)); >-} >- >- >-if (16383 >> 16 !== 0) { >- testFailed('#527: 16383 >> 16 === 0. Actual: ' + (16383 >> 16)); >-} >- >- >-if (32767 >> 16 !== 0) { >- testFailed('#528: 32767 >> 16 === 0. Actual: ' + (32767 >> 16)); >-} >- >- >-if (65535 >> 16 !== 0) { >- testFailed('#529: 65535 >> 16 === 0. Actual: ' + (65535 >> 16)); >-} >- >- >-if (131071 >> 16 !== 1) { >- testFailed('#530: 131071 >> 16 === 1. Actual: ' + (131071 >> 16)); >-} >- >- >-if (262143 >> 16 !== 3) { >- testFailed('#531: 262143 >> 16 === 3. Actual: ' + (262143 >> 16)); >-} >- >- >-if (524287 >> 16 !== 7) { >- testFailed('#532: 524287 >> 16 === 7. Actual: ' + (524287 >> 16)); >-} >- >- >-if (1048575 >> 16 !== 15) { >- testFailed('#533: 1048575 >> 16 === 15. Actual: ' + (1048575 >> 16)); >-} >- >- >-if (2097151 >> 16 !== 31) { >- testFailed('#534: 2097151 >> 16 === 31. Actual: ' + (2097151 >> 16)); >-} >- >- >-if (4194303 >> 16 !== 63) { >- testFailed('#535: 4194303 >> 16 === 63. Actual: ' + (4194303 >> 16)); >-} >- >- >-if (8388607 >> 16 !== 127) { >- testFailed('#536: 8388607 >> 16 === 127. Actual: ' + (8388607 >> 16)); >-} >- >- >-if (16777215 >> 16 !== 255) { >- testFailed('#537: 16777215 >> 16 === 255. Actual: ' + (16777215 >> 16)); >-} >- >- >-if (33554431 >> 16 !== 511) { >- testFailed('#538: 33554431 >> 16 === 511. Actual: ' + (33554431 >> 16)); >-} >- >- >-if (67108863 >> 16 !== 1023) { >- testFailed('#539: 67108863 >> 16 === 1023. Actual: ' + (67108863 >> 16)); >-} >- >- >-if (134217727 >> 16 !== 2047) { >- testFailed('#540: 134217727 >> 16 === 2047. Actual: ' + (134217727 >> 16)); >-} >- >- >-if (268435455 >> 16 !== 4095) { >- testFailed('#541: 268435455 >> 16 === 4095. Actual: ' + (268435455 >> 16)); >-} >- >- >-if (536870911 >> 16 !== 8191) { >- testFailed('#542: 536870911 >> 16 === 8191. Actual: ' + (536870911 >> 16)); >-} >- >- >-if (1073741823 >> 16 !== 16383) { >- testFailed('#543: 1073741823 >> 16 === 16383. Actual: ' + (1073741823 >> 16)); >-} >- >- >-if (2147483647 >> 16 !== 32767) { >- testFailed('#544: 2147483647 >> 16 === 32767. Actual: ' + (2147483647 >> 16)); >-} >- >- >-if (0 >> 17 !== 0) { >- testFailed('#545: 0 >> 17 === 0. Actual: ' + (0 >> 17)); >-} >- >- >-if (1 >> 17 !== 0) { >- testFailed('#546: 1 >> 17 === 0. Actual: ' + (1 >> 17)); >-} >- >- >-if (3 >> 17 !== 0) { >- testFailed('#547: 3 >> 17 === 0. Actual: ' + (3 >> 17)); >-} >- >- >-if (7 >> 17 !== 0) { >- testFailed('#548: 7 >> 17 === 0. Actual: ' + (7 >> 17)); >-} >- >- >-if (15 >> 17 !== 0) { >- testFailed('#549: 15 >> 17 === 0. Actual: ' + (15 >> 17)); >-} >- >- >-if (31 >> 17 !== 0) { >- testFailed('#550: 31 >> 17 === 0. Actual: ' + (31 >> 17)); >-} >- >- >-if (63 >> 17 !== 0) { >- testFailed('#551: 63 >> 17 === 0. Actual: ' + (63 >> 17)); >-} >- >- >-if (127 >> 17 !== 0) { >- testFailed('#552: 127 >> 17 === 0. Actual: ' + (127 >> 17)); >-} >- >- >-if (255 >> 17 !== 0) { >- testFailed('#553: 255 >> 17 === 0. Actual: ' + (255 >> 17)); >-} >- >- >-if (511 >> 17 !== 0) { >- testFailed('#554: 511 >> 17 === 0. Actual: ' + (511 >> 17)); >-} >- >- >-if (1023 >> 17 !== 0) { >- testFailed('#555: 1023 >> 17 === 0. Actual: ' + (1023 >> 17)); >-} >- >- >-if (2047 >> 17 !== 0) { >- testFailed('#556: 2047 >> 17 === 0. Actual: ' + (2047 >> 17)); >-} >- >- >-if (4095 >> 17 !== 0) { >- testFailed('#557: 4095 >> 17 === 0. Actual: ' + (4095 >> 17)); >-} >- >- >-if (8191 >> 17 !== 0) { >- testFailed('#558: 8191 >> 17 === 0. Actual: ' + (8191 >> 17)); >-} >- >- >-if (16383 >> 17 !== 0) { >- testFailed('#559: 16383 >> 17 === 0. Actual: ' + (16383 >> 17)); >-} >- >- >-if (32767 >> 17 !== 0) { >- testFailed('#560: 32767 >> 17 === 0. Actual: ' + (32767 >> 17)); >-} >- >- >-if (65535 >> 17 !== 0) { >- testFailed('#561: 65535 >> 17 === 0. Actual: ' + (65535 >> 17)); >-} >- >- >-if (131071 >> 17 !== 0) { >- testFailed('#562: 131071 >> 17 === 0. Actual: ' + (131071 >> 17)); >-} >- >- >-if (262143 >> 17 !== 1) { >- testFailed('#563: 262143 >> 17 === 1. Actual: ' + (262143 >> 17)); >-} >- >- >-if (524287 >> 17 !== 3) { >- testFailed('#564: 524287 >> 17 === 3. Actual: ' + (524287 >> 17)); >-} >- >- >-if (1048575 >> 17 !== 7) { >- testFailed('#565: 1048575 >> 17 === 7. Actual: ' + (1048575 >> 17)); >-} >- >- >-if (2097151 >> 17 !== 15) { >- testFailed('#566: 2097151 >> 17 === 15. Actual: ' + (2097151 >> 17)); >-} >- >- >-if (4194303 >> 17 !== 31) { >- testFailed('#567: 4194303 >> 17 === 31. Actual: ' + (4194303 >> 17)); >-} >- >- >-if (8388607 >> 17 !== 63) { >- testFailed('#568: 8388607 >> 17 === 63. Actual: ' + (8388607 >> 17)); >-} >- >- >-if (16777215 >> 17 !== 127) { >- testFailed('#569: 16777215 >> 17 === 127. Actual: ' + (16777215 >> 17)); >-} >- >- >-if (33554431 >> 17 !== 255) { >- testFailed('#570: 33554431 >> 17 === 255. Actual: ' + (33554431 >> 17)); >-} >- >- >-if (67108863 >> 17 !== 511) { >- testFailed('#571: 67108863 >> 17 === 511. Actual: ' + (67108863 >> 17)); >-} >- >- >-if (134217727 >> 17 !== 1023) { >- testFailed('#572: 134217727 >> 17 === 1023. Actual: ' + (134217727 >> 17)); >-} >- >- >-if (268435455 >> 17 !== 2047) { >- testFailed('#573: 268435455 >> 17 === 2047. Actual: ' + (268435455 >> 17)); >-} >- >- >-if (536870911 >> 17 !== 4095) { >- testFailed('#574: 536870911 >> 17 === 4095. Actual: ' + (536870911 >> 17)); >-} >- >- >-if (1073741823 >> 17 !== 8191) { >- testFailed('#575: 1073741823 >> 17 === 8191. Actual: ' + (1073741823 >> 17)); >-} >- >- >-if (2147483647 >> 17 !== 16383) { >- testFailed('#576: 2147483647 >> 17 === 16383. Actual: ' + (2147483647 >> 17)); >-} >- >- >-if (0 >> 18 !== 0) { >- testFailed('#577: 0 >> 18 === 0. Actual: ' + (0 >> 18)); >-} >- >- >-if (1 >> 18 !== 0) { >- testFailed('#578: 1 >> 18 === 0. Actual: ' + (1 >> 18)); >-} >- >- >-if (3 >> 18 !== 0) { >- testFailed('#579: 3 >> 18 === 0. Actual: ' + (3 >> 18)); >-} >- >- >-if (7 >> 18 !== 0) { >- testFailed('#580: 7 >> 18 === 0. Actual: ' + (7 >> 18)); >-} >- >- >-if (15 >> 18 !== 0) { >- testFailed('#581: 15 >> 18 === 0. Actual: ' + (15 >> 18)); >-} >- >- >-if (31 >> 18 !== 0) { >- testFailed('#582: 31 >> 18 === 0. Actual: ' + (31 >> 18)); >-} >- >- >-if (63 >> 18 !== 0) { >- testFailed('#583: 63 >> 18 === 0. Actual: ' + (63 >> 18)); >-} >- >- >-if (127 >> 18 !== 0) { >- testFailed('#584: 127 >> 18 === 0. Actual: ' + (127 >> 18)); >-} >- >- >-if (255 >> 18 !== 0) { >- testFailed('#585: 255 >> 18 === 0. Actual: ' + (255 >> 18)); >-} >- >- >-if (511 >> 18 !== 0) { >- testFailed('#586: 511 >> 18 === 0. Actual: ' + (511 >> 18)); >-} >- >- >-if (1023 >> 18 !== 0) { >- testFailed('#587: 1023 >> 18 === 0. Actual: ' + (1023 >> 18)); >-} >- >- >-if (2047 >> 18 !== 0) { >- testFailed('#588: 2047 >> 18 === 0. Actual: ' + (2047 >> 18)); >-} >- >- >-if (4095 >> 18 !== 0) { >- testFailed('#589: 4095 >> 18 === 0. Actual: ' + (4095 >> 18)); >-} >- >- >-if (8191 >> 18 !== 0) { >- testFailed('#590: 8191 >> 18 === 0. Actual: ' + (8191 >> 18)); >-} >- >- >-if (16383 >> 18 !== 0) { >- testFailed('#591: 16383 >> 18 === 0. Actual: ' + (16383 >> 18)); >-} >- >- >-if (32767 >> 18 !== 0) { >- testFailed('#592: 32767 >> 18 === 0. Actual: ' + (32767 >> 18)); >-} >- >- >-if (65535 >> 18 !== 0) { >- testFailed('#593: 65535 >> 18 === 0. Actual: ' + (65535 >> 18)); >-} >- >- >-if (131071 >> 18 !== 0) { >- testFailed('#594: 131071 >> 18 === 0. Actual: ' + (131071 >> 18)); >-} >- >- >-if (262143 >> 18 !== 0) { >- testFailed('#595: 262143 >> 18 === 0. Actual: ' + (262143 >> 18)); >-} >- >- >-if (524287 >> 18 !== 1) { >- testFailed('#596: 524287 >> 18 === 1. Actual: ' + (524287 >> 18)); >-} >- >- >-if (1048575 >> 18 !== 3) { >- testFailed('#597: 1048575 >> 18 === 3. Actual: ' + (1048575 >> 18)); >-} >- >- >-if (2097151 >> 18 !== 7) { >- testFailed('#598: 2097151 >> 18 === 7. Actual: ' + (2097151 >> 18)); >-} >- >- >-if (4194303 >> 18 !== 15) { >- testFailed('#599: 4194303 >> 18 === 15. Actual: ' + (4194303 >> 18)); >-} >- >- >-if (8388607 >> 18 !== 31) { >- testFailed('#600: 8388607 >> 18 === 31. Actual: ' + (8388607 >> 18)); >-} >- >- >-if (16777215 >> 18 !== 63) { >- testFailed('#601: 16777215 >> 18 === 63. Actual: ' + (16777215 >> 18)); >-} >- >- >-if (33554431 >> 18 !== 127) { >- testFailed('#602: 33554431 >> 18 === 127. Actual: ' + (33554431 >> 18)); >-} >- >- >-if (67108863 >> 18 !== 255) { >- testFailed('#603: 67108863 >> 18 === 255. Actual: ' + (67108863 >> 18)); >-} >- >- >-if (134217727 >> 18 !== 511) { >- testFailed('#604: 134217727 >> 18 === 511. Actual: ' + (134217727 >> 18)); >-} >- >- >-if (268435455 >> 18 !== 1023) { >- testFailed('#605: 268435455 >> 18 === 1023. Actual: ' + (268435455 >> 18)); >-} >- >- >-if (536870911 >> 18 !== 2047) { >- testFailed('#606: 536870911 >> 18 === 2047. Actual: ' + (536870911 >> 18)); >-} >- >- >-if (1073741823 >> 18 !== 4095) { >- testFailed('#607: 1073741823 >> 18 === 4095. Actual: ' + (1073741823 >> 18)); >-} >- >- >-if (2147483647 >> 18 !== 8191) { >- testFailed('#608: 2147483647 >> 18 === 8191. Actual: ' + (2147483647 >> 18)); >-} >- >- >-if (0 >> 19 !== 0) { >- testFailed('#609: 0 >> 19 === 0. Actual: ' + (0 >> 19)); >-} >- >- >-if (1 >> 19 !== 0) { >- testFailed('#610: 1 >> 19 === 0. Actual: ' + (1 >> 19)); >-} >- >- >-if (3 >> 19 !== 0) { >- testFailed('#611: 3 >> 19 === 0. Actual: ' + (3 >> 19)); >-} >- >- >-if (7 >> 19 !== 0) { >- testFailed('#612: 7 >> 19 === 0. Actual: ' + (7 >> 19)); >-} >- >- >-if (15 >> 19 !== 0) { >- testFailed('#613: 15 >> 19 === 0. Actual: ' + (15 >> 19)); >-} >- >- >-if (31 >> 19 !== 0) { >- testFailed('#614: 31 >> 19 === 0. Actual: ' + (31 >> 19)); >-} >- >- >-if (63 >> 19 !== 0) { >- testFailed('#615: 63 >> 19 === 0. Actual: ' + (63 >> 19)); >-} >- >- >-if (127 >> 19 !== 0) { >- testFailed('#616: 127 >> 19 === 0. Actual: ' + (127 >> 19)); >-} >- >- >-if (255 >> 19 !== 0) { >- testFailed('#617: 255 >> 19 === 0. Actual: ' + (255 >> 19)); >-} >- >- >-if (511 >> 19 !== 0) { >- testFailed('#618: 511 >> 19 === 0. Actual: ' + (511 >> 19)); >-} >- >- >-if (1023 >> 19 !== 0) { >- testFailed('#619: 1023 >> 19 === 0. Actual: ' + (1023 >> 19)); >-} >- >- >-if (2047 >> 19 !== 0) { >- testFailed('#620: 2047 >> 19 === 0. Actual: ' + (2047 >> 19)); >-} >- >- >-if (4095 >> 19 !== 0) { >- testFailed('#621: 4095 >> 19 === 0. Actual: ' + (4095 >> 19)); >-} >- >- >-if (8191 >> 19 !== 0) { >- testFailed('#622: 8191 >> 19 === 0. Actual: ' + (8191 >> 19)); >-} >- >- >-if (16383 >> 19 !== 0) { >- testFailed('#623: 16383 >> 19 === 0. Actual: ' + (16383 >> 19)); >-} >- >- >-if (32767 >> 19 !== 0) { >- testFailed('#624: 32767 >> 19 === 0. Actual: ' + (32767 >> 19)); >-} >- >- >-if (65535 >> 19 !== 0) { >- testFailed('#625: 65535 >> 19 === 0. Actual: ' + (65535 >> 19)); >-} >- >- >-if (131071 >> 19 !== 0) { >- testFailed('#626: 131071 >> 19 === 0. Actual: ' + (131071 >> 19)); >-} >- >- >-if (262143 >> 19 !== 0) { >- testFailed('#627: 262143 >> 19 === 0. Actual: ' + (262143 >> 19)); >-} >- >- >-if (524287 >> 19 !== 0) { >- testFailed('#628: 524287 >> 19 === 0. Actual: ' + (524287 >> 19)); >-} >- >- >-if (1048575 >> 19 !== 1) { >- testFailed('#629: 1048575 >> 19 === 1. Actual: ' + (1048575 >> 19)); >-} >- >- >-if (2097151 >> 19 !== 3) { >- testFailed('#630: 2097151 >> 19 === 3. Actual: ' + (2097151 >> 19)); >-} >- >- >-if (4194303 >> 19 !== 7) { >- testFailed('#631: 4194303 >> 19 === 7. Actual: ' + (4194303 >> 19)); >-} >- >- >-if (8388607 >> 19 !== 15) { >- testFailed('#632: 8388607 >> 19 === 15. Actual: ' + (8388607 >> 19)); >-} >- >- >-if (16777215 >> 19 !== 31) { >- testFailed('#633: 16777215 >> 19 === 31. Actual: ' + (16777215 >> 19)); >-} >- >- >-if (33554431 >> 19 !== 63) { >- testFailed('#634: 33554431 >> 19 === 63. Actual: ' + (33554431 >> 19)); >-} >- >- >-if (67108863 >> 19 !== 127) { >- testFailed('#635: 67108863 >> 19 === 127. Actual: ' + (67108863 >> 19)); >-} >- >- >-if (134217727 >> 19 !== 255) { >- testFailed('#636: 134217727 >> 19 === 255. Actual: ' + (134217727 >> 19)); >-} >- >- >-if (268435455 >> 19 !== 511) { >- testFailed('#637: 268435455 >> 19 === 511. Actual: ' + (268435455 >> 19)); >-} >- >- >-if (536870911 >> 19 !== 1023) { >- testFailed('#638: 536870911 >> 19 === 1023. Actual: ' + (536870911 >> 19)); >-} >- >- >-if (1073741823 >> 19 !== 2047) { >- testFailed('#639: 1073741823 >> 19 === 2047. Actual: ' + (1073741823 >> 19)); >-} >- >- >-if (2147483647 >> 19 !== 4095) { >- testFailed('#640: 2147483647 >> 19 === 4095. Actual: ' + (2147483647 >> 19)); >-} >- >- >-if (0 >> 20 !== 0) { >- testFailed('#641: 0 >> 20 === 0. Actual: ' + (0 >> 20)); >-} >- >- >-if (1 >> 20 !== 0) { >- testFailed('#642: 1 >> 20 === 0. Actual: ' + (1 >> 20)); >-} >- >- >-if (3 >> 20 !== 0) { >- testFailed('#643: 3 >> 20 === 0. Actual: ' + (3 >> 20)); >-} >- >- >-if (7 >> 20 !== 0) { >- testFailed('#644: 7 >> 20 === 0. Actual: ' + (7 >> 20)); >-} >- >- >-if (15 >> 20 !== 0) { >- testFailed('#645: 15 >> 20 === 0. Actual: ' + (15 >> 20)); >-} >- >- >-if (31 >> 20 !== 0) { >- testFailed('#646: 31 >> 20 === 0. Actual: ' + (31 >> 20)); >-} >- >- >-if (63 >> 20 !== 0) { >- testFailed('#647: 63 >> 20 === 0. Actual: ' + (63 >> 20)); >-} >- >- >-if (127 >> 20 !== 0) { >- testFailed('#648: 127 >> 20 === 0. Actual: ' + (127 >> 20)); >-} >- >- >-if (255 >> 20 !== 0) { >- testFailed('#649: 255 >> 20 === 0. Actual: ' + (255 >> 20)); >-} >- >- >-if (511 >> 20 !== 0) { >- testFailed('#650: 511 >> 20 === 0. Actual: ' + (511 >> 20)); >-} >- >- >-if (1023 >> 20 !== 0) { >- testFailed('#651: 1023 >> 20 === 0. Actual: ' + (1023 >> 20)); >-} >- >- >-if (2047 >> 20 !== 0) { >- testFailed('#652: 2047 >> 20 === 0. Actual: ' + (2047 >> 20)); >-} >- >- >-if (4095 >> 20 !== 0) { >- testFailed('#653: 4095 >> 20 === 0. Actual: ' + (4095 >> 20)); >-} >- >- >-if (8191 >> 20 !== 0) { >- testFailed('#654: 8191 >> 20 === 0. Actual: ' + (8191 >> 20)); >-} >- >- >-if (16383 >> 20 !== 0) { >- testFailed('#655: 16383 >> 20 === 0. Actual: ' + (16383 >> 20)); >-} >- >- >-if (32767 >> 20 !== 0) { >- testFailed('#656: 32767 >> 20 === 0. Actual: ' + (32767 >> 20)); >-} >- >- >-if (65535 >> 20 !== 0) { >- testFailed('#657: 65535 >> 20 === 0. Actual: ' + (65535 >> 20)); >-} >- >- >-if (131071 >> 20 !== 0) { >- testFailed('#658: 131071 >> 20 === 0. Actual: ' + (131071 >> 20)); >-} >- >- >-if (262143 >> 20 !== 0) { >- testFailed('#659: 262143 >> 20 === 0. Actual: ' + (262143 >> 20)); >-} >- >- >-if (524287 >> 20 !== 0) { >- testFailed('#660: 524287 >> 20 === 0. Actual: ' + (524287 >> 20)); >-} >- >- >-if (1048575 >> 20 !== 0) { >- testFailed('#661: 1048575 >> 20 === 0. Actual: ' + (1048575 >> 20)); >-} >- >- >-if (2097151 >> 20 !== 1) { >- testFailed('#662: 2097151 >> 20 === 1. Actual: ' + (2097151 >> 20)); >-} >- >- >-if (4194303 >> 20 !== 3) { >- testFailed('#663: 4194303 >> 20 === 3. Actual: ' + (4194303 >> 20)); >-} >- >- >-if (8388607 >> 20 !== 7) { >- testFailed('#664: 8388607 >> 20 === 7. Actual: ' + (8388607 >> 20)); >-} >- >- >-if (16777215 >> 20 !== 15) { >- testFailed('#665: 16777215 >> 20 === 15. Actual: ' + (16777215 >> 20)); >-} >- >- >-if (33554431 >> 20 !== 31) { >- testFailed('#666: 33554431 >> 20 === 31. Actual: ' + (33554431 >> 20)); >-} >- >- >-if (67108863 >> 20 !== 63) { >- testFailed('#667: 67108863 >> 20 === 63. Actual: ' + (67108863 >> 20)); >-} >- >- >-if (134217727 >> 20 !== 127) { >- testFailed('#668: 134217727 >> 20 === 127. Actual: ' + (134217727 >> 20)); >-} >- >- >-if (268435455 >> 20 !== 255) { >- testFailed('#669: 268435455 >> 20 === 255. Actual: ' + (268435455 >> 20)); >-} >- >- >-if (536870911 >> 20 !== 511) { >- testFailed('#670: 536870911 >> 20 === 511. Actual: ' + (536870911 >> 20)); >-} >- >- >-if (1073741823 >> 20 !== 1023) { >- testFailed('#671: 1073741823 >> 20 === 1023. Actual: ' + (1073741823 >> 20)); >-} >- >- >-if (2147483647 >> 20 !== 2047) { >- testFailed('#672: 2147483647 >> 20 === 2047. Actual: ' + (2147483647 >> 20)); >-} >- >- >-if (0 >> 21 !== 0) { >- testFailed('#673: 0 >> 21 === 0. Actual: ' + (0 >> 21)); >-} >- >- >-if (1 >> 21 !== 0) { >- testFailed('#674: 1 >> 21 === 0. Actual: ' + (1 >> 21)); >-} >- >- >-if (3 >> 21 !== 0) { >- testFailed('#675: 3 >> 21 === 0. Actual: ' + (3 >> 21)); >-} >- >- >-if (7 >> 21 !== 0) { >- testFailed('#676: 7 >> 21 === 0. Actual: ' + (7 >> 21)); >-} >- >- >-if (15 >> 21 !== 0) { >- testFailed('#677: 15 >> 21 === 0. Actual: ' + (15 >> 21)); >-} >- >- >-if (31 >> 21 !== 0) { >- testFailed('#678: 31 >> 21 === 0. Actual: ' + (31 >> 21)); >-} >- >- >-if (63 >> 21 !== 0) { >- testFailed('#679: 63 >> 21 === 0. Actual: ' + (63 >> 21)); >-} >- >- >-if (127 >> 21 !== 0) { >- testFailed('#680: 127 >> 21 === 0. Actual: ' + (127 >> 21)); >-} >- >- >-if (255 >> 21 !== 0) { >- testFailed('#681: 255 >> 21 === 0. Actual: ' + (255 >> 21)); >-} >- >- >-if (511 >> 21 !== 0) { >- testFailed('#682: 511 >> 21 === 0. Actual: ' + (511 >> 21)); >-} >- >- >-if (1023 >> 21 !== 0) { >- testFailed('#683: 1023 >> 21 === 0. Actual: ' + (1023 >> 21)); >-} >- >- >-if (2047 >> 21 !== 0) { >- testFailed('#684: 2047 >> 21 === 0. Actual: ' + (2047 >> 21)); >-} >- >- >-if (4095 >> 21 !== 0) { >- testFailed('#685: 4095 >> 21 === 0. Actual: ' + (4095 >> 21)); >-} >- >- >-if (8191 >> 21 !== 0) { >- testFailed('#686: 8191 >> 21 === 0. Actual: ' + (8191 >> 21)); >-} >- >- >-if (16383 >> 21 !== 0) { >- testFailed('#687: 16383 >> 21 === 0. Actual: ' + (16383 >> 21)); >-} >- >- >-if (32767 >> 21 !== 0) { >- testFailed('#688: 32767 >> 21 === 0. Actual: ' + (32767 >> 21)); >-} >- >- >-if (65535 >> 21 !== 0) { >- testFailed('#689: 65535 >> 21 === 0. Actual: ' + (65535 >> 21)); >-} >- >- >-if (131071 >> 21 !== 0) { >- testFailed('#690: 131071 >> 21 === 0. Actual: ' + (131071 >> 21)); >-} >- >- >-if (262143 >> 21 !== 0) { >- testFailed('#691: 262143 >> 21 === 0. Actual: ' + (262143 >> 21)); >-} >- >- >-if (524287 >> 21 !== 0) { >- testFailed('#692: 524287 >> 21 === 0. Actual: ' + (524287 >> 21)); >-} >- >- >-if (1048575 >> 21 !== 0) { >- testFailed('#693: 1048575 >> 21 === 0. Actual: ' + (1048575 >> 21)); >-} >- >- >-if (2097151 >> 21 !== 0) { >- testFailed('#694: 2097151 >> 21 === 0. Actual: ' + (2097151 >> 21)); >-} >- >- >-if (4194303 >> 21 !== 1) { >- testFailed('#695: 4194303 >> 21 === 1. Actual: ' + (4194303 >> 21)); >-} >- >- >-if (8388607 >> 21 !== 3) { >- testFailed('#696: 8388607 >> 21 === 3. Actual: ' + (8388607 >> 21)); >-} >- >- >-if (16777215 >> 21 !== 7) { >- testFailed('#697: 16777215 >> 21 === 7. Actual: ' + (16777215 >> 21)); >-} >- >- >-if (33554431 >> 21 !== 15) { >- testFailed('#698: 33554431 >> 21 === 15. Actual: ' + (33554431 >> 21)); >-} >- >- >-if (67108863 >> 21 !== 31) { >- testFailed('#699: 67108863 >> 21 === 31. Actual: ' + (67108863 >> 21)); >-} >- >- >-if (134217727 >> 21 !== 63) { >- testFailed('#700: 134217727 >> 21 === 63. Actual: ' + (134217727 >> 21)); >-} >- >- >-if (268435455 >> 21 !== 127) { >- testFailed('#701: 268435455 >> 21 === 127. Actual: ' + (268435455 >> 21)); >-} >- >- >-if (536870911 >> 21 !== 255) { >- testFailed('#702: 536870911 >> 21 === 255. Actual: ' + (536870911 >> 21)); >-} >- >- >-if (1073741823 >> 21 !== 511) { >- testFailed('#703: 1073741823 >> 21 === 511. Actual: ' + (1073741823 >> 21)); >-} >- >- >-if (2147483647 >> 21 !== 1023) { >- testFailed('#704: 2147483647 >> 21 === 1023. Actual: ' + (2147483647 >> 21)); >-} >- >- >-if (0 >> 22 !== 0) { >- testFailed('#705: 0 >> 22 === 0. Actual: ' + (0 >> 22)); >-} >- >- >-if (1 >> 22 !== 0) { >- testFailed('#706: 1 >> 22 === 0. Actual: ' + (1 >> 22)); >-} >- >- >-if (3 >> 22 !== 0) { >- testFailed('#707: 3 >> 22 === 0. Actual: ' + (3 >> 22)); >-} >- >- >-if (7 >> 22 !== 0) { >- testFailed('#708: 7 >> 22 === 0. Actual: ' + (7 >> 22)); >-} >- >- >-if (15 >> 22 !== 0) { >- testFailed('#709: 15 >> 22 === 0. Actual: ' + (15 >> 22)); >-} >- >- >-if (31 >> 22 !== 0) { >- testFailed('#710: 31 >> 22 === 0. Actual: ' + (31 >> 22)); >-} >- >- >-if (63 >> 22 !== 0) { >- testFailed('#711: 63 >> 22 === 0. Actual: ' + (63 >> 22)); >-} >- >- >-if (127 >> 22 !== 0) { >- testFailed('#712: 127 >> 22 === 0. Actual: ' + (127 >> 22)); >-} >- >- >-if (255 >> 22 !== 0) { >- testFailed('#713: 255 >> 22 === 0. Actual: ' + (255 >> 22)); >-} >- >- >-if (511 >> 22 !== 0) { >- testFailed('#714: 511 >> 22 === 0. Actual: ' + (511 >> 22)); >-} >- >- >-if (1023 >> 22 !== 0) { >- testFailed('#715: 1023 >> 22 === 0. Actual: ' + (1023 >> 22)); >-} >- >- >-if (2047 >> 22 !== 0) { >- testFailed('#716: 2047 >> 22 === 0. Actual: ' + (2047 >> 22)); >-} >- >- >-if (4095 >> 22 !== 0) { >- testFailed('#717: 4095 >> 22 === 0. Actual: ' + (4095 >> 22)); >-} >- >- >-if (8191 >> 22 !== 0) { >- testFailed('#718: 8191 >> 22 === 0. Actual: ' + (8191 >> 22)); >-} >- >- >-if (16383 >> 22 !== 0) { >- testFailed('#719: 16383 >> 22 === 0. Actual: ' + (16383 >> 22)); >-} >- >- >-if (32767 >> 22 !== 0) { >- testFailed('#720: 32767 >> 22 === 0. Actual: ' + (32767 >> 22)); >-} >- >- >-if (65535 >> 22 !== 0) { >- testFailed('#721: 65535 >> 22 === 0. Actual: ' + (65535 >> 22)); >-} >- >- >-if (131071 >> 22 !== 0) { >- testFailed('#722: 131071 >> 22 === 0. Actual: ' + (131071 >> 22)); >-} >- >- >-if (262143 >> 22 !== 0) { >- testFailed('#723: 262143 >> 22 === 0. Actual: ' + (262143 >> 22)); >-} >- >- >-if (524287 >> 22 !== 0) { >- testFailed('#724: 524287 >> 22 === 0. Actual: ' + (524287 >> 22)); >-} >- >- >-if (1048575 >> 22 !== 0) { >- testFailed('#725: 1048575 >> 22 === 0. Actual: ' + (1048575 >> 22)); >-} >- >- >-if (2097151 >> 22 !== 0) { >- testFailed('#726: 2097151 >> 22 === 0. Actual: ' + (2097151 >> 22)); >-} >- >- >-if (4194303 >> 22 !== 0) { >- testFailed('#727: 4194303 >> 22 === 0. Actual: ' + (4194303 >> 22)); >-} >- >- >-if (8388607 >> 22 !== 1) { >- testFailed('#728: 8388607 >> 22 === 1. Actual: ' + (8388607 >> 22)); >-} >- >- >-if (16777215 >> 22 !== 3) { >- testFailed('#729: 16777215 >> 22 === 3. Actual: ' + (16777215 >> 22)); >-} >- >- >-if (33554431 >> 22 !== 7) { >- testFailed('#730: 33554431 >> 22 === 7. Actual: ' + (33554431 >> 22)); >-} >- >- >-if (67108863 >> 22 !== 15) { >- testFailed('#731: 67108863 >> 22 === 15. Actual: ' + (67108863 >> 22)); >-} >- >- >-if (134217727 >> 22 !== 31) { >- testFailed('#732: 134217727 >> 22 === 31. Actual: ' + (134217727 >> 22)); >-} >- >- >-if (268435455 >> 22 !== 63) { >- testFailed('#733: 268435455 >> 22 === 63. Actual: ' + (268435455 >> 22)); >-} >- >- >-if (536870911 >> 22 !== 127) { >- testFailed('#734: 536870911 >> 22 === 127. Actual: ' + (536870911 >> 22)); >-} >- >- >-if (1073741823 >> 22 !== 255) { >- testFailed('#735: 1073741823 >> 22 === 255. Actual: ' + (1073741823 >> 22)); >-} >- >- >-if (2147483647 >> 22 !== 511) { >- testFailed('#736: 2147483647 >> 22 === 511. Actual: ' + (2147483647 >> 22)); >-} >- >- >-if (0 >> 23 !== 0) { >- testFailed('#737: 0 >> 23 === 0. Actual: ' + (0 >> 23)); >-} >- >- >-if (1 >> 23 !== 0) { >- testFailed('#738: 1 >> 23 === 0. Actual: ' + (1 >> 23)); >-} >- >- >-if (3 >> 23 !== 0) { >- testFailed('#739: 3 >> 23 === 0. Actual: ' + (3 >> 23)); >-} >- >- >-if (7 >> 23 !== 0) { >- testFailed('#740: 7 >> 23 === 0. Actual: ' + (7 >> 23)); >-} >- >- >-if (15 >> 23 !== 0) { >- testFailed('#741: 15 >> 23 === 0. Actual: ' + (15 >> 23)); >-} >- >- >-if (31 >> 23 !== 0) { >- testFailed('#742: 31 >> 23 === 0. Actual: ' + (31 >> 23)); >-} >- >- >-if (63 >> 23 !== 0) { >- testFailed('#743: 63 >> 23 === 0. Actual: ' + (63 >> 23)); >-} >- >- >-if (127 >> 23 !== 0) { >- testFailed('#744: 127 >> 23 === 0. Actual: ' + (127 >> 23)); >-} >- >- >-if (255 >> 23 !== 0) { >- testFailed('#745: 255 >> 23 === 0. Actual: ' + (255 >> 23)); >-} >- >- >-if (511 >> 23 !== 0) { >- testFailed('#746: 511 >> 23 === 0. Actual: ' + (511 >> 23)); >-} >- >- >-if (1023 >> 23 !== 0) { >- testFailed('#747: 1023 >> 23 === 0. Actual: ' + (1023 >> 23)); >-} >- >- >-if (2047 >> 23 !== 0) { >- testFailed('#748: 2047 >> 23 === 0. Actual: ' + (2047 >> 23)); >-} >- >- >-if (4095 >> 23 !== 0) { >- testFailed('#749: 4095 >> 23 === 0. Actual: ' + (4095 >> 23)); >-} >- >- >-if (8191 >> 23 !== 0) { >- testFailed('#750: 8191 >> 23 === 0. Actual: ' + (8191 >> 23)); >-} >- >- >-if (16383 >> 23 !== 0) { >- testFailed('#751: 16383 >> 23 === 0. Actual: ' + (16383 >> 23)); >-} >- >- >-if (32767 >> 23 !== 0) { >- testFailed('#752: 32767 >> 23 === 0. Actual: ' + (32767 >> 23)); >-} >- >- >-if (65535 >> 23 !== 0) { >- testFailed('#753: 65535 >> 23 === 0. Actual: ' + (65535 >> 23)); >-} >- >- >-if (131071 >> 23 !== 0) { >- testFailed('#754: 131071 >> 23 === 0. Actual: ' + (131071 >> 23)); >-} >- >- >-if (262143 >> 23 !== 0) { >- testFailed('#755: 262143 >> 23 === 0. Actual: ' + (262143 >> 23)); >-} >- >- >-if (524287 >> 23 !== 0) { >- testFailed('#756: 524287 >> 23 === 0. Actual: ' + (524287 >> 23)); >-} >- >- >-if (1048575 >> 23 !== 0) { >- testFailed('#757: 1048575 >> 23 === 0. Actual: ' + (1048575 >> 23)); >-} >- >- >-if (2097151 >> 23 !== 0) { >- testFailed('#758: 2097151 >> 23 === 0. Actual: ' + (2097151 >> 23)); >-} >- >- >-if (4194303 >> 23 !== 0) { >- testFailed('#759: 4194303 >> 23 === 0. Actual: ' + (4194303 >> 23)); >-} >- >- >-if (8388607 >> 23 !== 0) { >- testFailed('#760: 8388607 >> 23 === 0. Actual: ' + (8388607 >> 23)); >-} >- >- >-if (16777215 >> 23 !== 1) { >- testFailed('#761: 16777215 >> 23 === 1. Actual: ' + (16777215 >> 23)); >-} >- >- >-if (33554431 >> 23 !== 3) { >- testFailed('#762: 33554431 >> 23 === 3. Actual: ' + (33554431 >> 23)); >-} >- >- >-if (67108863 >> 23 !== 7) { >- testFailed('#763: 67108863 >> 23 === 7. Actual: ' + (67108863 >> 23)); >-} >- >- >-if (134217727 >> 23 !== 15) { >- testFailed('#764: 134217727 >> 23 === 15. Actual: ' + (134217727 >> 23)); >-} >- >- >-if (268435455 >> 23 !== 31) { >- testFailed('#765: 268435455 >> 23 === 31. Actual: ' + (268435455 >> 23)); >-} >- >- >-if (536870911 >> 23 !== 63) { >- testFailed('#766: 536870911 >> 23 === 63. Actual: ' + (536870911 >> 23)); >-} >- >- >-if (1073741823 >> 23 !== 127) { >- testFailed('#767: 1073741823 >> 23 === 127. Actual: ' + (1073741823 >> 23)); >-} >- >- >-if (2147483647 >> 23 !== 255) { >- testFailed('#768: 2147483647 >> 23 === 255. Actual: ' + (2147483647 >> 23)); >-} >- >- >-if (0 >> 24 !== 0) { >- testFailed('#769: 0 >> 24 === 0. Actual: ' + (0 >> 24)); >-} >- >- >-if (1 >> 24 !== 0) { >- testFailed('#770: 1 >> 24 === 0. Actual: ' + (1 >> 24)); >-} >- >- >-if (3 >> 24 !== 0) { >- testFailed('#771: 3 >> 24 === 0. Actual: ' + (3 >> 24)); >-} >- >- >-if (7 >> 24 !== 0) { >- testFailed('#772: 7 >> 24 === 0. Actual: ' + (7 >> 24)); >-} >- >- >-if (15 >> 24 !== 0) { >- testFailed('#773: 15 >> 24 === 0. Actual: ' + (15 >> 24)); >-} >- >- >-if (31 >> 24 !== 0) { >- testFailed('#774: 31 >> 24 === 0. Actual: ' + (31 >> 24)); >-} >- >- >-if (63 >> 24 !== 0) { >- testFailed('#775: 63 >> 24 === 0. Actual: ' + (63 >> 24)); >-} >- >- >-if (127 >> 24 !== 0) { >- testFailed('#776: 127 >> 24 === 0. Actual: ' + (127 >> 24)); >-} >- >- >-if (255 >> 24 !== 0) { >- testFailed('#777: 255 >> 24 === 0. Actual: ' + (255 >> 24)); >-} >- >- >-if (511 >> 24 !== 0) { >- testFailed('#778: 511 >> 24 === 0. Actual: ' + (511 >> 24)); >-} >- >- >-if (1023 >> 24 !== 0) { >- testFailed('#779: 1023 >> 24 === 0. Actual: ' + (1023 >> 24)); >-} >- >- >-if (2047 >> 24 !== 0) { >- testFailed('#780: 2047 >> 24 === 0. Actual: ' + (2047 >> 24)); >-} >- >- >-if (4095 >> 24 !== 0) { >- testFailed('#781: 4095 >> 24 === 0. Actual: ' + (4095 >> 24)); >-} >- >- >-if (8191 >> 24 !== 0) { >- testFailed('#782: 8191 >> 24 === 0. Actual: ' + (8191 >> 24)); >-} >- >- >-if (16383 >> 24 !== 0) { >- testFailed('#783: 16383 >> 24 === 0. Actual: ' + (16383 >> 24)); >-} >- >- >-if (32767 >> 24 !== 0) { >- testFailed('#784: 32767 >> 24 === 0. Actual: ' + (32767 >> 24)); >-} >- >- >-if (65535 >> 24 !== 0) { >- testFailed('#785: 65535 >> 24 === 0. Actual: ' + (65535 >> 24)); >-} >- >- >-if (131071 >> 24 !== 0) { >- testFailed('#786: 131071 >> 24 === 0. Actual: ' + (131071 >> 24)); >-} >- >- >-if (262143 >> 24 !== 0) { >- testFailed('#787: 262143 >> 24 === 0. Actual: ' + (262143 >> 24)); >-} >- >- >-if (524287 >> 24 !== 0) { >- testFailed('#788: 524287 >> 24 === 0. Actual: ' + (524287 >> 24)); >-} >- >- >-if (1048575 >> 24 !== 0) { >- testFailed('#789: 1048575 >> 24 === 0. Actual: ' + (1048575 >> 24)); >-} >- >- >-if (2097151 >> 24 !== 0) { >- testFailed('#790: 2097151 >> 24 === 0. Actual: ' + (2097151 >> 24)); >-} >- >- >-if (4194303 >> 24 !== 0) { >- testFailed('#791: 4194303 >> 24 === 0. Actual: ' + (4194303 >> 24)); >-} >- >- >-if (8388607 >> 24 !== 0) { >- testFailed('#792: 8388607 >> 24 === 0. Actual: ' + (8388607 >> 24)); >-} >- >- >-if (16777215 >> 24 !== 0) { >- testFailed('#793: 16777215 >> 24 === 0. Actual: ' + (16777215 >> 24)); >-} >- >- >-if (33554431 >> 24 !== 1) { >- testFailed('#794: 33554431 >> 24 === 1. Actual: ' + (33554431 >> 24)); >-} >- >- >-if (67108863 >> 24 !== 3) { >- testFailed('#795: 67108863 >> 24 === 3. Actual: ' + (67108863 >> 24)); >-} >- >- >-if (134217727 >> 24 !== 7) { >- testFailed('#796: 134217727 >> 24 === 7. Actual: ' + (134217727 >> 24)); >-} >- >- >-if (268435455 >> 24 !== 15) { >- testFailed('#797: 268435455 >> 24 === 15. Actual: ' + (268435455 >> 24)); >-} >- >- >-if (536870911 >> 24 !== 31) { >- testFailed('#798: 536870911 >> 24 === 31. Actual: ' + (536870911 >> 24)); >-} >- >- >-if (1073741823 >> 24 !== 63) { >- testFailed('#799: 1073741823 >> 24 === 63. Actual: ' + (1073741823 >> 24)); >-} >- >- >-if (2147483647 >> 24 !== 127) { >- testFailed('#800: 2147483647 >> 24 === 127. Actual: ' + (2147483647 >> 24)); >-} >- >- >-if (0 >> 25 !== 0) { >- testFailed('#801: 0 >> 25 === 0. Actual: ' + (0 >> 25)); >-} >- >- >-if (1 >> 25 !== 0) { >- testFailed('#802: 1 >> 25 === 0. Actual: ' + (1 >> 25)); >-} >- >- >-if (3 >> 25 !== 0) { >- testFailed('#803: 3 >> 25 === 0. Actual: ' + (3 >> 25)); >-} >- >- >-if (7 >> 25 !== 0) { >- testFailed('#804: 7 >> 25 === 0. Actual: ' + (7 >> 25)); >-} >- >- >-if (15 >> 25 !== 0) { >- testFailed('#805: 15 >> 25 === 0. Actual: ' + (15 >> 25)); >-} >- >- >-if (31 >> 25 !== 0) { >- testFailed('#806: 31 >> 25 === 0. Actual: ' + (31 >> 25)); >-} >- >- >-if (63 >> 25 !== 0) { >- testFailed('#807: 63 >> 25 === 0. Actual: ' + (63 >> 25)); >-} >- >- >-if (127 >> 25 !== 0) { >- testFailed('#808: 127 >> 25 === 0. Actual: ' + (127 >> 25)); >-} >- >- >-if (255 >> 25 !== 0) { >- testFailed('#809: 255 >> 25 === 0. Actual: ' + (255 >> 25)); >-} >- >- >-if (511 >> 25 !== 0) { >- testFailed('#810: 511 >> 25 === 0. Actual: ' + (511 >> 25)); >-} >- >- >-if (1023 >> 25 !== 0) { >- testFailed('#811: 1023 >> 25 === 0. Actual: ' + (1023 >> 25)); >-} >- >- >-if (2047 >> 25 !== 0) { >- testFailed('#812: 2047 >> 25 === 0. Actual: ' + (2047 >> 25)); >-} >- >- >-if (4095 >> 25 !== 0) { >- testFailed('#813: 4095 >> 25 === 0. Actual: ' + (4095 >> 25)); >-} >- >- >-if (8191 >> 25 !== 0) { >- testFailed('#814: 8191 >> 25 === 0. Actual: ' + (8191 >> 25)); >-} >- >- >-if (16383 >> 25 !== 0) { >- testFailed('#815: 16383 >> 25 === 0. Actual: ' + (16383 >> 25)); >-} >- >- >-if (32767 >> 25 !== 0) { >- testFailed('#816: 32767 >> 25 === 0. Actual: ' + (32767 >> 25)); >-} >- >- >-if (65535 >> 25 !== 0) { >- testFailed('#817: 65535 >> 25 === 0. Actual: ' + (65535 >> 25)); >-} >- >- >-if (131071 >> 25 !== 0) { >- testFailed('#818: 131071 >> 25 === 0. Actual: ' + (131071 >> 25)); >-} >- >- >-if (262143 >> 25 !== 0) { >- testFailed('#819: 262143 >> 25 === 0. Actual: ' + (262143 >> 25)); >-} >- >- >-if (524287 >> 25 !== 0) { >- testFailed('#820: 524287 >> 25 === 0. Actual: ' + (524287 >> 25)); >-} >- >- >-if (1048575 >> 25 !== 0) { >- testFailed('#821: 1048575 >> 25 === 0. Actual: ' + (1048575 >> 25)); >-} >- >- >-if (2097151 >> 25 !== 0) { >- testFailed('#822: 2097151 >> 25 === 0. Actual: ' + (2097151 >> 25)); >-} >- >- >-if (4194303 >> 25 !== 0) { >- testFailed('#823: 4194303 >> 25 === 0. Actual: ' + (4194303 >> 25)); >-} >- >- >-if (8388607 >> 25 !== 0) { >- testFailed('#824: 8388607 >> 25 === 0. Actual: ' + (8388607 >> 25)); >-} >- >- >-if (16777215 >> 25 !== 0) { >- testFailed('#825: 16777215 >> 25 === 0. Actual: ' + (16777215 >> 25)); >-} >- >- >-if (33554431 >> 25 !== 0) { >- testFailed('#826: 33554431 >> 25 === 0. Actual: ' + (33554431 >> 25)); >-} >- >- >-if (67108863 >> 25 !== 1) { >- testFailed('#827: 67108863 >> 25 === 1. Actual: ' + (67108863 >> 25)); >-} >- >- >-if (134217727 >> 25 !== 3) { >- testFailed('#828: 134217727 >> 25 === 3. Actual: ' + (134217727 >> 25)); >-} >- >- >-if (268435455 >> 25 !== 7) { >- testFailed('#829: 268435455 >> 25 === 7. Actual: ' + (268435455 >> 25)); >-} >- >- >-if (536870911 >> 25 !== 15) { >- testFailed('#830: 536870911 >> 25 === 15. Actual: ' + (536870911 >> 25)); >-} >- >- >-if (1073741823 >> 25 !== 31) { >- testFailed('#831: 1073741823 >> 25 === 31. Actual: ' + (1073741823 >> 25)); >-} >- >- >-if (2147483647 >> 25 !== 63) { >- testFailed('#832: 2147483647 >> 25 === 63. Actual: ' + (2147483647 >> 25)); >-} >- >- >-if (0 >> 26 !== 0) { >- testFailed('#833: 0 >> 26 === 0. Actual: ' + (0 >> 26)); >-} >- >- >-if (1 >> 26 !== 0) { >- testFailed('#834: 1 >> 26 === 0. Actual: ' + (1 >> 26)); >-} >- >- >-if (3 >> 26 !== 0) { >- testFailed('#835: 3 >> 26 === 0. Actual: ' + (3 >> 26)); >-} >- >- >-if (7 >> 26 !== 0) { >- testFailed('#836: 7 >> 26 === 0. Actual: ' + (7 >> 26)); >-} >- >- >-if (15 >> 26 !== 0) { >- testFailed('#837: 15 >> 26 === 0. Actual: ' + (15 >> 26)); >-} >- >- >-if (31 >> 26 !== 0) { >- testFailed('#838: 31 >> 26 === 0. Actual: ' + (31 >> 26)); >-} >- >- >-if (63 >> 26 !== 0) { >- testFailed('#839: 63 >> 26 === 0. Actual: ' + (63 >> 26)); >-} >- >- >-if (127 >> 26 !== 0) { >- testFailed('#840: 127 >> 26 === 0. Actual: ' + (127 >> 26)); >-} >- >- >-if (255 >> 26 !== 0) { >- testFailed('#841: 255 >> 26 === 0. Actual: ' + (255 >> 26)); >-} >- >- >-if (511 >> 26 !== 0) { >- testFailed('#842: 511 >> 26 === 0. Actual: ' + (511 >> 26)); >-} >- >- >-if (1023 >> 26 !== 0) { >- testFailed('#843: 1023 >> 26 === 0. Actual: ' + (1023 >> 26)); >-} >- >- >-if (2047 >> 26 !== 0) { >- testFailed('#844: 2047 >> 26 === 0. Actual: ' + (2047 >> 26)); >-} >- >- >-if (4095 >> 26 !== 0) { >- testFailed('#845: 4095 >> 26 === 0. Actual: ' + (4095 >> 26)); >-} >- >- >-if (8191 >> 26 !== 0) { >- testFailed('#846: 8191 >> 26 === 0. Actual: ' + (8191 >> 26)); >-} >- >- >-if (16383 >> 26 !== 0) { >- testFailed('#847: 16383 >> 26 === 0. Actual: ' + (16383 >> 26)); >-} >- >- >-if (32767 >> 26 !== 0) { >- testFailed('#848: 32767 >> 26 === 0. Actual: ' + (32767 >> 26)); >-} >- >- >-if (65535 >> 26 !== 0) { >- testFailed('#849: 65535 >> 26 === 0. Actual: ' + (65535 >> 26)); >-} >- >- >-if (131071 >> 26 !== 0) { >- testFailed('#850: 131071 >> 26 === 0. Actual: ' + (131071 >> 26)); >-} >- >- >-if (262143 >> 26 !== 0) { >- testFailed('#851: 262143 >> 26 === 0. Actual: ' + (262143 >> 26)); >-} >- >- >-if (524287 >> 26 !== 0) { >- testFailed('#852: 524287 >> 26 === 0. Actual: ' + (524287 >> 26)); >-} >- >- >-if (1048575 >> 26 !== 0) { >- testFailed('#853: 1048575 >> 26 === 0. Actual: ' + (1048575 >> 26)); >-} >- >- >-if (2097151 >> 26 !== 0) { >- testFailed('#854: 2097151 >> 26 === 0. Actual: ' + (2097151 >> 26)); >-} >- >- >-if (4194303 >> 26 !== 0) { >- testFailed('#855: 4194303 >> 26 === 0. Actual: ' + (4194303 >> 26)); >-} >- >- >-if (8388607 >> 26 !== 0) { >- testFailed('#856: 8388607 >> 26 === 0. Actual: ' + (8388607 >> 26)); >-} >- >- >-if (16777215 >> 26 !== 0) { >- testFailed('#857: 16777215 >> 26 === 0. Actual: ' + (16777215 >> 26)); >-} >- >- >-if (33554431 >> 26 !== 0) { >- testFailed('#858: 33554431 >> 26 === 0. Actual: ' + (33554431 >> 26)); >-} >- >- >-if (67108863 >> 26 !== 0) { >- testFailed('#859: 67108863 >> 26 === 0. Actual: ' + (67108863 >> 26)); >-} >- >- >-if (134217727 >> 26 !== 1) { >- testFailed('#860: 134217727 >> 26 === 1. Actual: ' + (134217727 >> 26)); >-} >- >- >-if (268435455 >> 26 !== 3) { >- testFailed('#861: 268435455 >> 26 === 3. Actual: ' + (268435455 >> 26)); >-} >- >- >-if (536870911 >> 26 !== 7) { >- testFailed('#862: 536870911 >> 26 === 7. Actual: ' + (536870911 >> 26)); >-} >- >- >-if (1073741823 >> 26 !== 15) { >- testFailed('#863: 1073741823 >> 26 === 15. Actual: ' + (1073741823 >> 26)); >-} >- >- >-if (2147483647 >> 26 !== 31) { >- testFailed('#864: 2147483647 >> 26 === 31. Actual: ' + (2147483647 >> 26)); >-} >- >- >-if (0 >> 27 !== 0) { >- testFailed('#865: 0 >> 27 === 0. Actual: ' + (0 >> 27)); >-} >- >- >-if (1 >> 27 !== 0) { >- testFailed('#866: 1 >> 27 === 0. Actual: ' + (1 >> 27)); >-} >- >- >-if (3 >> 27 !== 0) { >- testFailed('#867: 3 >> 27 === 0. Actual: ' + (3 >> 27)); >-} >- >- >-if (7 >> 27 !== 0) { >- testFailed('#868: 7 >> 27 === 0. Actual: ' + (7 >> 27)); >-} >- >- >-if (15 >> 27 !== 0) { >- testFailed('#869: 15 >> 27 === 0. Actual: ' + (15 >> 27)); >-} >- >- >-if (31 >> 27 !== 0) { >- testFailed('#870: 31 >> 27 === 0. Actual: ' + (31 >> 27)); >-} >- >- >-if (63 >> 27 !== 0) { >- testFailed('#871: 63 >> 27 === 0. Actual: ' + (63 >> 27)); >-} >- >- >-if (127 >> 27 !== 0) { >- testFailed('#872: 127 >> 27 === 0. Actual: ' + (127 >> 27)); >-} >- >- >-if (255 >> 27 !== 0) { >- testFailed('#873: 255 >> 27 === 0. Actual: ' + (255 >> 27)); >-} >- >- >-if (511 >> 27 !== 0) { >- testFailed('#874: 511 >> 27 === 0. Actual: ' + (511 >> 27)); >-} >- >- >-if (1023 >> 27 !== 0) { >- testFailed('#875: 1023 >> 27 === 0. Actual: ' + (1023 >> 27)); >-} >- >- >-if (2047 >> 27 !== 0) { >- testFailed('#876: 2047 >> 27 === 0. Actual: ' + (2047 >> 27)); >-} >- >- >-if (4095 >> 27 !== 0) { >- testFailed('#877: 4095 >> 27 === 0. Actual: ' + (4095 >> 27)); >-} >- >- >-if (8191 >> 27 !== 0) { >- testFailed('#878: 8191 >> 27 === 0. Actual: ' + (8191 >> 27)); >-} >- >- >-if (16383 >> 27 !== 0) { >- testFailed('#879: 16383 >> 27 === 0. Actual: ' + (16383 >> 27)); >-} >- >- >-if (32767 >> 27 !== 0) { >- testFailed('#880: 32767 >> 27 === 0. Actual: ' + (32767 >> 27)); >-} >- >- >-if (65535 >> 27 !== 0) { >- testFailed('#881: 65535 >> 27 === 0. Actual: ' + (65535 >> 27)); >-} >- >- >-if (131071 >> 27 !== 0) { >- testFailed('#882: 131071 >> 27 === 0. Actual: ' + (131071 >> 27)); >-} >- >- >-if (262143 >> 27 !== 0) { >- testFailed('#883: 262143 >> 27 === 0. Actual: ' + (262143 >> 27)); >-} >- >- >-if (524287 >> 27 !== 0) { >- testFailed('#884: 524287 >> 27 === 0. Actual: ' + (524287 >> 27)); >-} >- >- >-if (1048575 >> 27 !== 0) { >- testFailed('#885: 1048575 >> 27 === 0. Actual: ' + (1048575 >> 27)); >-} >- >- >-if (2097151 >> 27 !== 0) { >- testFailed('#886: 2097151 >> 27 === 0. Actual: ' + (2097151 >> 27)); >-} >- >- >-if (4194303 >> 27 !== 0) { >- testFailed('#887: 4194303 >> 27 === 0. Actual: ' + (4194303 >> 27)); >-} >- >- >-if (8388607 >> 27 !== 0) { >- testFailed('#888: 8388607 >> 27 === 0. Actual: ' + (8388607 >> 27)); >-} >- >- >-if (16777215 >> 27 !== 0) { >- testFailed('#889: 16777215 >> 27 === 0. Actual: ' + (16777215 >> 27)); >-} >- >- >-if (33554431 >> 27 !== 0) { >- testFailed('#890: 33554431 >> 27 === 0. Actual: ' + (33554431 >> 27)); >-} >- >- >-if (67108863 >> 27 !== 0) { >- testFailed('#891: 67108863 >> 27 === 0. Actual: ' + (67108863 >> 27)); >-} >- >- >-if (134217727 >> 27 !== 0) { >- testFailed('#892: 134217727 >> 27 === 0. Actual: ' + (134217727 >> 27)); >-} >- >- >-if (268435455 >> 27 !== 1) { >- testFailed('#893: 268435455 >> 27 === 1. Actual: ' + (268435455 >> 27)); >-} >- >- >-if (536870911 >> 27 !== 3) { >- testFailed('#894: 536870911 >> 27 === 3. Actual: ' + (536870911 >> 27)); >-} >- >- >-if (1073741823 >> 27 !== 7) { >- testFailed('#895: 1073741823 >> 27 === 7. Actual: ' + (1073741823 >> 27)); >-} >- >- >-if (2147483647 >> 27 !== 15) { >- testFailed('#896: 2147483647 >> 27 === 15. Actual: ' + (2147483647 >> 27)); >-} >- >- >-if (0 >> 28 !== 0) { >- testFailed('#897: 0 >> 28 === 0. Actual: ' + (0 >> 28)); >-} >- >- >-if (1 >> 28 !== 0) { >- testFailed('#898: 1 >> 28 === 0. Actual: ' + (1 >> 28)); >-} >- >- >-if (3 >> 28 !== 0) { >- testFailed('#899: 3 >> 28 === 0. Actual: ' + (3 >> 28)); >-} >- >- >-if (7 >> 28 !== 0) { >- testFailed('#900: 7 >> 28 === 0. Actual: ' + (7 >> 28)); >-} >- >- >-if (15 >> 28 !== 0) { >- testFailed('#901: 15 >> 28 === 0. Actual: ' + (15 >> 28)); >-} >- >- >-if (31 >> 28 !== 0) { >- testFailed('#902: 31 >> 28 === 0. Actual: ' + (31 >> 28)); >-} >- >- >-if (63 >> 28 !== 0) { >- testFailed('#903: 63 >> 28 === 0. Actual: ' + (63 >> 28)); >-} >- >- >-if (127 >> 28 !== 0) { >- testFailed('#904: 127 >> 28 === 0. Actual: ' + (127 >> 28)); >-} >- >- >-if (255 >> 28 !== 0) { >- testFailed('#905: 255 >> 28 === 0. Actual: ' + (255 >> 28)); >-} >- >- >-if (511 >> 28 !== 0) { >- testFailed('#906: 511 >> 28 === 0. Actual: ' + (511 >> 28)); >-} >- >- >-if (1023 >> 28 !== 0) { >- testFailed('#907: 1023 >> 28 === 0. Actual: ' + (1023 >> 28)); >-} >- >- >-if (2047 >> 28 !== 0) { >- testFailed('#908: 2047 >> 28 === 0. Actual: ' + (2047 >> 28)); >-} >- >- >-if (4095 >> 28 !== 0) { >- testFailed('#909: 4095 >> 28 === 0. Actual: ' + (4095 >> 28)); >-} >- >- >-if (8191 >> 28 !== 0) { >- testFailed('#910: 8191 >> 28 === 0. Actual: ' + (8191 >> 28)); >-} >- >- >-if (16383 >> 28 !== 0) { >- testFailed('#911: 16383 >> 28 === 0. Actual: ' + (16383 >> 28)); >-} >- >- >-if (32767 >> 28 !== 0) { >- testFailed('#912: 32767 >> 28 === 0. Actual: ' + (32767 >> 28)); >-} >- >- >-if (65535 >> 28 !== 0) { >- testFailed('#913: 65535 >> 28 === 0. Actual: ' + (65535 >> 28)); >-} >- >- >-if (131071 >> 28 !== 0) { >- testFailed('#914: 131071 >> 28 === 0. Actual: ' + (131071 >> 28)); >-} >- >- >-if (262143 >> 28 !== 0) { >- testFailed('#915: 262143 >> 28 === 0. Actual: ' + (262143 >> 28)); >-} >- >- >-if (524287 >> 28 !== 0) { >- testFailed('#916: 524287 >> 28 === 0. Actual: ' + (524287 >> 28)); >-} >- >- >-if (1048575 >> 28 !== 0) { >- testFailed('#917: 1048575 >> 28 === 0. Actual: ' + (1048575 >> 28)); >-} >- >- >-if (2097151 >> 28 !== 0) { >- testFailed('#918: 2097151 >> 28 === 0. Actual: ' + (2097151 >> 28)); >-} >- >- >-if (4194303 >> 28 !== 0) { >- testFailed('#919: 4194303 >> 28 === 0. Actual: ' + (4194303 >> 28)); >-} >- >- >-if (8388607 >> 28 !== 0) { >- testFailed('#920: 8388607 >> 28 === 0. Actual: ' + (8388607 >> 28)); >-} >- >- >-if (16777215 >> 28 !== 0) { >- testFailed('#921: 16777215 >> 28 === 0. Actual: ' + (16777215 >> 28)); >-} >- >- >-if (33554431 >> 28 !== 0) { >- testFailed('#922: 33554431 >> 28 === 0. Actual: ' + (33554431 >> 28)); >-} >- >- >-if (67108863 >> 28 !== 0) { >- testFailed('#923: 67108863 >> 28 === 0. Actual: ' + (67108863 >> 28)); >-} >- >- >-if (134217727 >> 28 !== 0) { >- testFailed('#924: 134217727 >> 28 === 0. Actual: ' + (134217727 >> 28)); >-} >- >- >-if (268435455 >> 28 !== 0) { >- testFailed('#925: 268435455 >> 28 === 0. Actual: ' + (268435455 >> 28)); >-} >- >- >-if (536870911 >> 28 !== 1) { >- testFailed('#926: 536870911 >> 28 === 1. Actual: ' + (536870911 >> 28)); >-} >- >- >-if (1073741823 >> 28 !== 3) { >- testFailed('#927: 1073741823 >> 28 === 3. Actual: ' + (1073741823 >> 28)); >-} >- >- >-if (2147483647 >> 28 !== 7) { >- testFailed('#928: 2147483647 >> 28 === 7. Actual: ' + (2147483647 >> 28)); >-} >- >- >-if (0 >> 29 !== 0) { >- testFailed('#929: 0 >> 29 === 0. Actual: ' + (0 >> 29)); >-} >- >- >-if (1 >> 29 !== 0) { >- testFailed('#930: 1 >> 29 === 0. Actual: ' + (1 >> 29)); >-} >- >- >-if (3 >> 29 !== 0) { >- testFailed('#931: 3 >> 29 === 0. Actual: ' + (3 >> 29)); >-} >- >- >-if (7 >> 29 !== 0) { >- testFailed('#932: 7 >> 29 === 0. Actual: ' + (7 >> 29)); >-} >- >- >-if (15 >> 29 !== 0) { >- testFailed('#933: 15 >> 29 === 0. Actual: ' + (15 >> 29)); >-} >- >- >-if (31 >> 29 !== 0) { >- testFailed('#934: 31 >> 29 === 0. Actual: ' + (31 >> 29)); >-} >- >- >-if (63 >> 29 !== 0) { >- testFailed('#935: 63 >> 29 === 0. Actual: ' + (63 >> 29)); >-} >- >- >-if (127 >> 29 !== 0) { >- testFailed('#936: 127 >> 29 === 0. Actual: ' + (127 >> 29)); >-} >- >- >-if (255 >> 29 !== 0) { >- testFailed('#937: 255 >> 29 === 0. Actual: ' + (255 >> 29)); >-} >- >- >-if (511 >> 29 !== 0) { >- testFailed('#938: 511 >> 29 === 0. Actual: ' + (511 >> 29)); >-} >- >- >-if (1023 >> 29 !== 0) { >- testFailed('#939: 1023 >> 29 === 0. Actual: ' + (1023 >> 29)); >-} >- >- >-if (2047 >> 29 !== 0) { >- testFailed('#940: 2047 >> 29 === 0. Actual: ' + (2047 >> 29)); >-} >- >- >-if (4095 >> 29 !== 0) { >- testFailed('#941: 4095 >> 29 === 0. Actual: ' + (4095 >> 29)); >-} >- >- >-if (8191 >> 29 !== 0) { >- testFailed('#942: 8191 >> 29 === 0. Actual: ' + (8191 >> 29)); >-} >- >- >-if (16383 >> 29 !== 0) { >- testFailed('#943: 16383 >> 29 === 0. Actual: ' + (16383 >> 29)); >-} >- >- >-if (32767 >> 29 !== 0) { >- testFailed('#944: 32767 >> 29 === 0. Actual: ' + (32767 >> 29)); >-} >- >- >-if (65535 >> 29 !== 0) { >- testFailed('#945: 65535 >> 29 === 0. Actual: ' + (65535 >> 29)); >-} >- >- >-if (131071 >> 29 !== 0) { >- testFailed('#946: 131071 >> 29 === 0. Actual: ' + (131071 >> 29)); >-} >- >- >-if (262143 >> 29 !== 0) { >- testFailed('#947: 262143 >> 29 === 0. Actual: ' + (262143 >> 29)); >-} >- >- >-if (524287 >> 29 !== 0) { >- testFailed('#948: 524287 >> 29 === 0. Actual: ' + (524287 >> 29)); >-} >- >- >-if (1048575 >> 29 !== 0) { >- testFailed('#949: 1048575 >> 29 === 0. Actual: ' + (1048575 >> 29)); >-} >- >- >-if (2097151 >> 29 !== 0) { >- testFailed('#950: 2097151 >> 29 === 0. Actual: ' + (2097151 >> 29)); >-} >- >- >-if (4194303 >> 29 !== 0) { >- testFailed('#951: 4194303 >> 29 === 0. Actual: ' + (4194303 >> 29)); >-} >- >- >-if (8388607 >> 29 !== 0) { >- testFailed('#952: 8388607 >> 29 === 0. Actual: ' + (8388607 >> 29)); >-} >- >- >-if (16777215 >> 29 !== 0) { >- testFailed('#953: 16777215 >> 29 === 0. Actual: ' + (16777215 >> 29)); >-} >- >- >-if (33554431 >> 29 !== 0) { >- testFailed('#954: 33554431 >> 29 === 0. Actual: ' + (33554431 >> 29)); >-} >- >- >-if (67108863 >> 29 !== 0) { >- testFailed('#955: 67108863 >> 29 === 0. Actual: ' + (67108863 >> 29)); >-} >- >- >-if (134217727 >> 29 !== 0) { >- testFailed('#956: 134217727 >> 29 === 0. Actual: ' + (134217727 >> 29)); >-} >- >- >-if (268435455 >> 29 !== 0) { >- testFailed('#957: 268435455 >> 29 === 0. Actual: ' + (268435455 >> 29)); >-} >- >- >-if (536870911 >> 29 !== 0) { >- testFailed('#958: 536870911 >> 29 === 0. Actual: ' + (536870911 >> 29)); >-} >- >- >-if (1073741823 >> 29 !== 1) { >- testFailed('#959: 1073741823 >> 29 === 1. Actual: ' + (1073741823 >> 29)); >-} >- >- >-if (2147483647 >> 29 !== 3) { >- testFailed('#960: 2147483647 >> 29 === 3. Actual: ' + (2147483647 >> 29)); >-} >- >- >-if (0 >> 30 !== 0) { >- testFailed('#961: 0 >> 30 === 0. Actual: ' + (0 >> 30)); >-} >- >- >-if (1 >> 30 !== 0) { >- testFailed('#962: 1 >> 30 === 0. Actual: ' + (1 >> 30)); >-} >- >- >-if (3 >> 30 !== 0) { >- testFailed('#963: 3 >> 30 === 0. Actual: ' + (3 >> 30)); >-} >- >- >-if (7 >> 30 !== 0) { >- testFailed('#964: 7 >> 30 === 0. Actual: ' + (7 >> 30)); >-} >- >- >-if (15 >> 30 !== 0) { >- testFailed('#965: 15 >> 30 === 0. Actual: ' + (15 >> 30)); >-} >- >- >-if (31 >> 30 !== 0) { >- testFailed('#966: 31 >> 30 === 0. Actual: ' + (31 >> 30)); >-} >- >- >-if (63 >> 30 !== 0) { >- testFailed('#967: 63 >> 30 === 0. Actual: ' + (63 >> 30)); >-} >- >- >-if (127 >> 30 !== 0) { >- testFailed('#968: 127 >> 30 === 0. Actual: ' + (127 >> 30)); >-} >- >- >-if (255 >> 30 !== 0) { >- testFailed('#969: 255 >> 30 === 0. Actual: ' + (255 >> 30)); >-} >- >- >-if (511 >> 30 !== 0) { >- testFailed('#970: 511 >> 30 === 0. Actual: ' + (511 >> 30)); >-} >- >- >-if (1023 >> 30 !== 0) { >- testFailed('#971: 1023 >> 30 === 0. Actual: ' + (1023 >> 30)); >-} >- >- >-if (2047 >> 30 !== 0) { >- testFailed('#972: 2047 >> 30 === 0. Actual: ' + (2047 >> 30)); >-} >- >- >-if (4095 >> 30 !== 0) { >- testFailed('#973: 4095 >> 30 === 0. Actual: ' + (4095 >> 30)); >-} >- >- >-if (8191 >> 30 !== 0) { >- testFailed('#974: 8191 >> 30 === 0. Actual: ' + (8191 >> 30)); >-} >- >- >-if (16383 >> 30 !== 0) { >- testFailed('#975: 16383 >> 30 === 0. Actual: ' + (16383 >> 30)); >-} >- >- >-if (32767 >> 30 !== 0) { >- testFailed('#976: 32767 >> 30 === 0. Actual: ' + (32767 >> 30)); >-} >- >- >-if (65535 >> 30 !== 0) { >- testFailed('#977: 65535 >> 30 === 0. Actual: ' + (65535 >> 30)); >-} >- >- >-if (131071 >> 30 !== 0) { >- testFailed('#978: 131071 >> 30 === 0. Actual: ' + (131071 >> 30)); >-} >- >- >-if (262143 >> 30 !== 0) { >- testFailed('#979: 262143 >> 30 === 0. Actual: ' + (262143 >> 30)); >-} >- >- >-if (524287 >> 30 !== 0) { >- testFailed('#980: 524287 >> 30 === 0. Actual: ' + (524287 >> 30)); >-} >- >- >-if (1048575 >> 30 !== 0) { >- testFailed('#981: 1048575 >> 30 === 0. Actual: ' + (1048575 >> 30)); >-} >- >- >-if (2097151 >> 30 !== 0) { >- testFailed('#982: 2097151 >> 30 === 0. Actual: ' + (2097151 >> 30)); >-} >- >- >-if (4194303 >> 30 !== 0) { >- testFailed('#983: 4194303 >> 30 === 0. Actual: ' + (4194303 >> 30)); >-} >- >- >-if (8388607 >> 30 !== 0) { >- testFailed('#984: 8388607 >> 30 === 0. Actual: ' + (8388607 >> 30)); >-} >- >- >-if (16777215 >> 30 !== 0) { >- testFailed('#985: 16777215 >> 30 === 0. Actual: ' + (16777215 >> 30)); >-} >- >- >-if (33554431 >> 30 !== 0) { >- testFailed('#986: 33554431 >> 30 === 0. Actual: ' + (33554431 >> 30)); >-} >- >- >-if (67108863 >> 30 !== 0) { >- testFailed('#987: 67108863 >> 30 === 0. Actual: ' + (67108863 >> 30)); >-} >- >- >-if (134217727 >> 30 !== 0) { >- testFailed('#988: 134217727 >> 30 === 0. Actual: ' + (134217727 >> 30)); >-} >- >- >-if (268435455 >> 30 !== 0) { >- testFailed('#989: 268435455 >> 30 === 0. Actual: ' + (268435455 >> 30)); >-} >- >- >-if (536870911 >> 30 !== 0) { >- testFailed('#990: 536870911 >> 30 === 0. Actual: ' + (536870911 >> 30)); >-} >- >- >-if (1073741823 >> 30 !== 0) { >- testFailed('#991: 1073741823 >> 30 === 0. Actual: ' + (1073741823 >> 30)); >-} >- >- >-if (2147483647 >> 30 !== 1) { >- testFailed('#992: 2147483647 >> 30 === 1. Actual: ' + (2147483647 >> 30)); >-} >- >- >-if (0 >> 31 !== 0) { >- testFailed('#993: 0 >> 31 === 0. Actual: ' + (0 >> 31)); >-} >- >- >-if (1 >> 31 !== 0) { >- testFailed('#994: 1 >> 31 === 0. Actual: ' + (1 >> 31)); >-} >- >- >-if (3 >> 31 !== 0) { >- testFailed('#995: 3 >> 31 === 0. Actual: ' + (3 >> 31)); >-} >- >- >-if (7 >> 31 !== 0) { >- testFailed('#996: 7 >> 31 === 0. Actual: ' + (7 >> 31)); >-} >- >- >-if (15 >> 31 !== 0) { >- testFailed('#997: 15 >> 31 === 0. Actual: ' + (15 >> 31)); >-} >- >- >-if (31 >> 31 !== 0) { >- testFailed('#998: 31 >> 31 === 0. Actual: ' + (31 >> 31)); >-} >- >- >-if (63 >> 31 !== 0) { >- testFailed('#999: 63 >> 31 === 0. Actual: ' + (63 >> 31)); >-} >- >- >-if (127 >> 31 !== 0) { >- testFailed('#1000: 127 >> 31 === 0. Actual: ' + (127 >> 31)); >-} >- >- >-if (255 >> 31 !== 0) { >- testFailed('#1001: 255 >> 31 === 0. Actual: ' + (255 >> 31)); >-} >- >- >-if (511 >> 31 !== 0) { >- testFailed('#1002: 511 >> 31 === 0. Actual: ' + (511 >> 31)); >-} >- >- >-if (1023 >> 31 !== 0) { >- testFailed('#1003: 1023 >> 31 === 0. Actual: ' + (1023 >> 31)); >-} >- >- >-if (2047 >> 31 !== 0) { >- testFailed('#1004: 2047 >> 31 === 0. Actual: ' + (2047 >> 31)); >-} >- >- >-if (4095 >> 31 !== 0) { >- testFailed('#1005: 4095 >> 31 === 0. Actual: ' + (4095 >> 31)); >-} >- >- >-if (8191 >> 31 !== 0) { >- testFailed('#1006: 8191 >> 31 === 0. Actual: ' + (8191 >> 31)); >-} >- >- >-if (16383 >> 31 !== 0) { >- testFailed('#1007: 16383 >> 31 === 0. Actual: ' + (16383 >> 31)); >-} >- >- >-if (32767 >> 31 !== 0) { >- testFailed('#1008: 32767 >> 31 === 0. Actual: ' + (32767 >> 31)); >-} >- >- >-if (65535 >> 31 !== 0) { >- testFailed('#1009: 65535 >> 31 === 0. Actual: ' + (65535 >> 31)); >-} >- >- >-if (131071 >> 31 !== 0) { >- testFailed('#1010: 131071 >> 31 === 0. Actual: ' + (131071 >> 31)); >-} >- >- >-if (262143 >> 31 !== 0) { >- testFailed('#1011: 262143 >> 31 === 0. Actual: ' + (262143 >> 31)); >-} >- >- >-if (524287 >> 31 !== 0) { >- testFailed('#1012: 524287 >> 31 === 0. Actual: ' + (524287 >> 31)); >-} >- >- >-if (1048575 >> 31 !== 0) { >- testFailed('#1013: 1048575 >> 31 === 0. Actual: ' + (1048575 >> 31)); >-} >- >- >-if (2097151 >> 31 !== 0) { >- testFailed('#1014: 2097151 >> 31 === 0. Actual: ' + (2097151 >> 31)); >-} >- >- >-if (4194303 >> 31 !== 0) { >- testFailed('#1015: 4194303 >> 31 === 0. Actual: ' + (4194303 >> 31)); >-} >- >- >-if (8388607 >> 31 !== 0) { >- testFailed('#1016: 8388607 >> 31 === 0. Actual: ' + (8388607 >> 31)); >-} >- >- >-if (16777215 >> 31 !== 0) { >- testFailed('#1017: 16777215 >> 31 === 0. Actual: ' + (16777215 >> 31)); >-} >- >- >-if (33554431 >> 31 !== 0) { >- testFailed('#1018: 33554431 >> 31 === 0. Actual: ' + (33554431 >> 31)); >-} >- >- >-if (67108863 >> 31 !== 0) { >- testFailed('#1019: 67108863 >> 31 === 0. Actual: ' + (67108863 >> 31)); >-} >- >- >-if (134217727 >> 31 !== 0) { >- testFailed('#1020: 134217727 >> 31 === 0. Actual: ' + (134217727 >> 31)); >-} >- >- >-if (268435455 >> 31 !== 0) { >- testFailed('#1021: 268435455 >> 31 === 0. Actual: ' + (268435455 >> 31)); >-} >- >- >-if (536870911 >> 31 !== 0) { >- testFailed('#1022: 536870911 >> 31 === 0. Actual: ' + (536870911 >> 31)); >-} >- >- >-if (1073741823 >> 31 !== 0) { >- testFailed('#1023: 1073741823 >> 31 === 0. Actual: ' + (1073741823 >> 31)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1-expected.txt >deleted file mode 100644 >index 0c586fcd464..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1.html >deleted file mode 100644 >index 3921dcbac12..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.1_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A5.1_T1; >- * @section: 11.7.2, 9.5; >- * @assertion: Operator x >> y uses ToInt32(ShiftExpression); >- * @description: Checking boundary points; >- */ >- >-//CHECK#1 >-if (2147483648.1 >> 0 !== -2147483648) { >- testFailed('#1: 2147483648.1 >> 0 === -2147483648. Actual: ' + (2147483648.1 >> 0)); >-} >- >-//CHECK#2 >-if (4294967296.1 >> 0 !== 0) { >- testFailed('#2: 4294967296.1 >> 0 === 0. Actual: ' + (4294967296.1 >> 0)); >-} >- >-//CHECK#3 >-if (6442450944.1 >> 0 !== -2147483648) { >- testFailed('#3: 6442450944.1 >> 0 === -2147483648. Actual: ' + (6442450944.1 >> 0)); >-} >- >-//CHECK#4 >-if (4294967295.1 >> 0 !== -1) { >- testFailed('#4: 4294967295.1 >> 0 === -1. Actual: ' + (4294967295.1 >> 0)); >-} >- >-//CHECK#5 >-if (6442450943.1 >> 0 !== 2147483647) { >- testFailed('#5: 6442450943.1 >> 0 === 2147483647. Actual: ' + (6442450943.1 >> 0)); >-} >- >-//CHECK#6 >-if (-2147483649.1 >> 0 !== 2147483647) { >- testFailed('#6: -2147483649.1 >> 0 === 2147483647. Actual: ' + (-2147483649.1 >> 0)); >-} >- >-//CHECK#7 >-if (-4294967297.1 >> 0 !== -1) { >- testFailed('#7: -4294967297.1 >> 0 === -1. Actual: ' + (-4294967297.1 >> 0)); >-} >- >-//CHECK#8 >-if (-6442450945.1 >> 0 !== 2147483647) { >- testFailed('#8: -6442450945.1 >> 0 === 2147483647. Actual: ' + (-6442450945.1 >> 0)); >-} >- >-//CHECK#9 >-if (-4294967296.1 >> 0 !== 0) { >- testFailed('#9: -4294967296.1 >> 0 === 0 . Actual: ' + (-4294967296.1 >> 0)); >-} >- >-//CHECK#10 >-if (-6442450944.1 >> 0 !== -2147483648) { >- testFailed('#10: -6442450944.1 >> 0 === -2147483648. Actual: ' + (-6442450944.1 >> 0)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1-expected.txt >deleted file mode 100644 >index 593003800f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.2_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1.html >deleted file mode 100644 >index a57165d2a49..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A5.2_T1.html >+++ /dev/null >@@ -1,412 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.2_A5.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.2_A5.2_T1; >- * @section: 11.7.2, 9.5; >- * @assertion: Operator x >> y uses ToUint32(AdditiveExpression) & 31; >- * @description: Checking distinct points; >- */ >- >-//CHECK#1 >-if (2147483647 >> -32.1 !== 2147483647) { >- testFailed('#1: 2147483647 >> -32.1 === 2147483647. Actual: ' + (2147483647 >> -32.1)); >-} >- >-//CHECK#2 >-if (2147483647 >> -31.1 !== 1073741823) { >- testFailed('#2: 2147483647 >> -31.1 === 1073741823. Actual: ' + (2147483647 >> -31.1)); >-} >- >-//CHECK#3 >-if (2147483647 >> -30.1 !== 536870911) { >- testFailed('#3: 2147483647 >> -30.1 === 536870911. Actual: ' + (2147483647 >> -30.1)); >-} >- >-//CHECK#4 >-if (2147483647 >> -29.1 !== 268435455) { >- testFailed('#4: 2147483647 >> -29.1 === 268435455. Actual: ' + (2147483647 >> -29.1)); >-} >- >-//CHECK#5 >-if (2147483647 >> -28.1 !== 134217727) { >- testFailed('#5: 2147483647 >> -28.1 === 134217727. Actual: ' + (2147483647 >> -28.1)); >-} >- >-//CHECK#6 >-if (2147483647 >> -27.1 !== 67108863) { >- testFailed('#6: 2147483647 >> -27.1 === 67108863. Actual: ' + (2147483647 >> -27.1)); >-} >- >-//CHECK#7 >-if (2147483647 >> -26.1 !== 33554431) { >- testFailed('#7: 2147483647 >> -26.1 === 33554431. Actual: ' + (2147483647 >> -26.1)); >-} >- >-//CHECK#8 >-if (2147483647 >> -25.1 !== 16777215) { >- testFailed('#8: 2147483647 >> -25.1 === 16777215. Actual: ' + (2147483647 >> -25.1)); >-} >- >-//CHECK#9 >-if (2147483647 >> -24.1 !== 8388607) { >- testFailed('#9: 2147483647 >> -24.1 === 8388607. Actual: ' + (2147483647 >> -24.1)); >-} >- >-//CHECK#10 >-if (2147483647 >> -23.1 !== 4194303) { >- testFailed('#10: 2147483647 >> -23.1 === 4194303. Actual: ' + (2147483647 >> -23.1)); >-} >- >-//CHECK#11 >-if (2147483647 >> -22.1 !== 2097151) { >- testFailed('#11: 2147483647 >> -22.1 === 2097151. Actual: ' + (2147483647 >> -22.1)); >-} >- >-//CHECK#12 >-if (2147483647 >> -21.1 !== 1048575) { >- testFailed('#12: 2147483647 >> -21.1 === 1048575. Actual: ' + (2147483647 >> -21.1)); >-} >- >-//CHECK#13 >-if (2147483647 >> -20.1 !== 524287) { >- testFailed('#13: 2147483647 >> -20.1 === 524287. Actual: ' + (2147483647 >> -20.1)); >-} >- >-//CHECK#14 >-if (2147483647 >> -19.1 !== 262143) { >- testFailed('#14: 2147483647 >> -19.1 === 262143. Actual: ' + (2147483647 >> -19.1)); >-} >- >-//CHECK#15 >-if (2147483647 >> -18.1 !== 131071) { >- testFailed('#15: 2147483647 >> -18.1 === 131071. Actual: ' + (2147483647 >> -18.1)); >-} >- >-//CHECK#16 >-if (2147483647 >> -17.1 !== 65535) { >- testFailed('#16: 2147483647 >> -17.1 === 65535. Actual: ' + (2147483647 >> -17.1)); >-} >- >-//CHECK#17 >-if (2147483647 >> -16.1 !== 32767) { >- testFailed('#17: 2147483647 >> -16.1 === 32767. Actual: ' + (2147483647 >> -16.1)); >-} >- >-//CHECK#18 >-if (2147483647 >> -15.1 !== 16383) { >- testFailed('#18: 2147483647 >> -15.1 === 16383. Actual: ' + (2147483647 >> -15.1)); >-} >- >-//CHECK#19 >-if (2147483647 >> -14.1 !== 8191) { >- testFailed('#19: 2147483647 >> -14.1 === 8191. Actual: ' + (2147483647 >> -14.1)); >-} >- >-//CHECK#20 >-if (2147483647 >> -13.1 !== 4095) { >- testFailed('#20: 2147483647 >> -13.1 === 4095. Actual: ' + (2147483647 >> -13.1)); >-} >- >-//CHECK#21 >-if (2147483647 >> -12.1 !== 2047) { >- testFailed('#21: 2147483647 >> -12.1 === 2047. Actual: ' + (2147483647 >> -12.1)); >-} >- >-//CHECK#22 >-if (2147483647 >> -11.1 !== 1023) { >- testFailed('#22: 2147483647 >> -11.1 === 1023. Actual: ' + (2147483647 >> -11.1)); >-} >- >-//CHECK#23 >-if (2147483647 >> -10.1 !== 511) { >- testFailed('#23: 2147483647 >> -10.1 === 511. Actual: ' + (2147483647 >> -10.1)); >-} >- >-//CHECK#24 >-if (2147483647 >> -9.1 !== 255) { >- testFailed('#24: 2147483647 >> -9.1 === 255. Actual: ' + (2147483647 >> -9.1)); >-} >- >-//CHECK#25 >-if (2147483647 >> -8.1 !== 127) { >- testFailed('#25: 2147483647 >> -8.1 === 127. Actual: ' + (2147483647 >> -8.1)); >-} >- >-//CHECK#26 >-if (2147483647 >> -7.1 !== 63) { >- testFailed('#26: 2147483647 >> -7.1 === 63. Actual: ' + (2147483647 >> -7.1)); >-} >- >-//CHECK#27 >-if (2147483647 >> -6.1 !== 31) { >- testFailed('#27: 2147483647 >> -6.1 === 31. Actual: ' + (2147483647 >> -6.1)); >-} >- >-//CHECK#28 >-if (2147483647 >> -5.1 !== 15) { >- testFailed('#28: 2147483647 >> -5.1 === 15. Actual: ' + (2147483647 >> -5.1)); >-} >- >-//CHECK#29 >-if (2147483647 >> -4.1 !== 7) { >- testFailed('#29: 2147483647 >> -4.1 === 7. Actual: ' + (2147483647 >> -4.1)); >-} >- >-//CHECK#30 >-if (2147483647 >> -3.1 !== 3) { >- testFailed('#30: 2147483647 >> -3.1 === 3. Actual: ' + (2147483647 >> -3.1)); >-} >- >-//CHECK#31 >-if (2147483647 >> -2.1 !== 1) { >- testFailed('#31: 2147483647 >> -2.1 === 1. Actual: ' + (2147483647 >> -2.1)); >-} >- >-//CHECK#32 >-if (2147483647 >> -1.1 !== 0) { >- testFailed('#32: 2147483647 >> -1.1 === 0. Actual: ' + (2147483647 >> -1.1)); >-} >- >-//CHECK#33 >-if (2147483647 >> 32.1 !== 2147483647) { >- testFailed('#33: 2147483647 >> 32.1 === 2147483647. Actual: ' + (2147483647 >> 32.1)); >-} >- >-//CHECK#34 >-if (2147483647 >> 33.1 !== 1073741823) { >- testFailed('#34: 2147483647 >> 33.1 === 1073741823. Actual: ' + (2147483647 >> 33.1)); >-} >- >-//CHECK#35 >-if (2147483647 >> 34.1 !== 536870911) { >- testFailed('#35: 2147483647 >> 34.1 === 536870911. Actual: ' + (2147483647 >> 34.1)); >-} >- >-//CHECK#36 >-if (2147483647 >> 35.1 !== 268435455) { >- testFailed('#36: 2147483647 >> 35.1 === 268435455. Actual: ' + (2147483647 >> 35.1)); >-} >- >-//CHECK#37 >-if (2147483647 >> 36.1 !== 134217727) { >- testFailed('#37: 2147483647 >> 36.1 === 134217727. Actual: ' + (2147483647 >> 36.1)); >-} >- >-//CHECK#38 >-if (2147483647 >> 37.1 !== 67108863) { >- testFailed('#38: 2147483647 >> 37.1 === 67108863. Actual: ' + (2147483647 >> 37.1)); >-} >- >-//CHECK#39 >-if (2147483647 >> 38.1 !== 33554431) { >- testFailed('#39: 2147483647 >> 38.1 === 33554431. Actual: ' + (2147483647 >> 38.1)); >-} >- >-//CHECK#40 >-if (2147483647 >> 39.1 !== 16777215) { >- testFailed('#40: 2147483647 >> 39.1 === 16777215. Actual: ' + (2147483647 >> 39.1)); >-} >- >-//CHECK#41 >-if (2147483647 >> 40.1 !== 8388607) { >- testFailed('#41: 2147483647 >> 40.1 === 8388607. Actual: ' + (2147483647 >> 40.1)); >-} >- >-//CHECK#42 >-if (2147483647 >> 41.1 !== 4194303) { >- testFailed('#42: 2147483647 >> 41.1 === 4194303. Actual: ' + (2147483647 >> 41.1)); >-} >- >-//CHECK#43 >-if (2147483647 >> 42.1 !== 2097151) { >- testFailed('#43: 2147483647 >> 42.1 === 2097151. Actual: ' + (2147483647 >> 42.1)); >-} >- >-//CHECK#44 >-if (2147483647 >> 43.1 !== 1048575) { >- testFailed('#44: 2147483647 >> 43.1 === 1048575. Actual: ' + (2147483647 >> 43.1)); >-} >- >-//CHECK#45 >-if (2147483647 >> 44.1 !== 524287) { >- testFailed('#45: 2147483647 >> 44.1 === 524287. Actual: ' + (2147483647 >> 44.1)); >-} >- >-//CHECK#46 >-if (2147483647 >> 45.1 !== 262143) { >- testFailed('#46: 2147483647 >> 45.1 === 262143. Actual: ' + (2147483647 >> 45.1)); >-} >- >-//CHECK#47 >-if (2147483647 >> 46.1 !== 131071) { >- testFailed('#47: 2147483647 >> 46.1 === 131071. Actual: ' + (2147483647 >> 46.1)); >-} >- >-//CHECK#48 >-if (2147483647 >> 47.1 !== 65535) { >- testFailed('#48: 2147483647 >> 47.1 === 65535. Actual: ' + (2147483647 >> 47.1)); >-} >- >-//CHECK#49 >-if (2147483647 >> 48.1 !== 32767) { >- testFailed('#49: 2147483647 >> 48.1 === 32767. Actual: ' + (2147483647 >> 48.1)); >-} >- >-//CHECK#50 >-if (2147483647 >> 49.1 !== 16383) { >- testFailed('#50: 2147483647 >> 49.1 === 16383. Actual: ' + (2147483647 >> 49.1)); >-} >- >-//CHECK#51 >-if (2147483647 >> 50.1 !== 8191) { >- testFailed('#51: 2147483647 >> 50.1 === 8191. Actual: ' + (2147483647 >> 50.1)); >-} >- >-//CHECK#52 >-if (2147483647 >> 51.1 !== 4095) { >- testFailed('#52: 2147483647 >> 51.1 === 4095. Actual: ' + (2147483647 >> 51.1)); >-} >- >-//CHECK#53 >-if (2147483647 >> 52.1 !== 2047) { >- testFailed('#53: 2147483647 >> 52.1 === 2047. Actual: ' + (2147483647 >> 52.1)); >-} >- >-//CHECK#54 >-if (2147483647 >> 53.1 !== 1023) { >- testFailed('#54: 2147483647 >> 53.1 === 1023. Actual: ' + (2147483647 >> 53.1)); >-} >- >-//CHECK#55 >-if (2147483647 >> 54.1 !== 511) { >- testFailed('#55: 2147483647 >> 54.1 === 511. Actual: ' + (2147483647 >> 54.1)); >-} >- >-//CHECK#56 >-if (2147483647 >> 55.1 !== 255) { >- testFailed('#56: 2147483647 >> 55.1 === 255. Actual: ' + (2147483647 >> 55.1)); >-} >- >-//CHECK#57 >-if (2147483647 >> 56.1 !== 127) { >- testFailed('#57: 2147483647 >> 56.1 === 127. Actual: ' + (2147483647 >> 56.1)); >-} >- >-//CHECK#58 >-if (2147483647 >> 57.1 !== 63) { >- testFailed('#58: 2147483647 >> 57.1 === 63. Actual: ' + (2147483647 >> 57.1)); >-} >- >-//CHECK#59 >-if (2147483647 >> 58.1 !== 31) { >- testFailed('#59: 2147483647 >> 58.1 === 31. Actual: ' + (2147483647 >> 58.1)); >-} >- >-//CHECK#60 >-if (2147483647 >> 59.1 !== 15) { >- testFailed('#60: 2147483647 >> 59.1 === 15. Actual: ' + (2147483647 >> 59.1)); >-} >- >-//CHECK#61 >-if (2147483647 >> 60.1 !== 7) { >- testFailed('#61: 2147483647 >> 60.1 === 7. Actual: ' + (2147483647 >> 60.1)); >-} >- >-//CHECK#62 >-if (2147483647 >> 61.1 !== 3) { >- testFailed('#62: 2147483647 >> 61.1 === 3. Actual: ' + (2147483647 >> 61.1)); >-} >- >-//CHECK#63 >-if (2147483647 >> 62.1 !== 1) { >- testFailed('#63: 2147483647 >> 62.1 === 1. Actual: ' + (2147483647 >> 62.1)); >-} >- >-//CHECK#64 >-if (2147483647 >> 63.1 !== 0) { >- testFailed('#64: 2147483647 >> 63.1 === 0. Actual: ' + (2147483647 >> 63.1)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1-expected.txt >deleted file mode 100644 >index a10e6429b87..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.html >deleted file mode 100644 >index 074cc9c9694..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.7.3_A1; >-* @section: 11.7.3, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between ShiftExpression and ">>>" or between ">>>" and AdditiveExpression are allowed; >-* @description: Checking by using eval >-*/ >- >-//CHECK#1 >-if (eval("-4\u0009>>>\u00091") !== 2147483646) { >- testFailed('#1: -4\\u0009>>>\\u00091 === 2147483646'); >-} >- >-//CHECK#2 >-if (eval("-4\u000B>>>\u000B1") !== 2147483646) { >- testFailed('#2: -4\\u000B>>>\\u000B1 === 2147483646'); >-} >- >-//CHECK#3 >-if (eval("-4\u000C>>>\u000C1") !== 2147483646) { >- testFailed('#3: -4\\u000C>>>\\u000C1 === 2147483646'); >-} >- >-//CHECK#4 >-if (eval("-4\u0020>>>\u00201") !== 2147483646) { >- testFailed('#4: -4\\u0020>>>\\u00201 === 2147483646'); >-} >- >-//CHECK#5 >-if (eval("-4\u00A0>>>\u00A01") !== 2147483646) { >- testFailed('#5: -4\\u00A0>>>\\u00A01 === 2147483646'); >-} >- >-//CHECK#6 >-if (eval("-4\u000A>>>\u000A1") !== 2147483646) { >- testFailed('#6: -4\\u000A>>>\\u000A1 === 2147483646'); >-} >- >-//CHECK#7 >-if (eval("-4\u000D>>>\u000D1") !== 2147483646) { >- testFailed('#7: -4\\u000D>>>\\u000D1 === 2147483646'); >-} >- >-//CHECK#8 >-if (eval("-4\u2028>>>\u20281") !== 2147483646) { >- testFailed('#8: -4\\u2028>>>\\u20281 === 2147483646'); >-} >- >-//CHECK#9 >-if (eval("-4\u2029>>>\u20291") !== 2147483646) { >- testFailed('#9: -4\\u2029>>>\\u20291 === 2147483646'); >-} >- >-//CHECK#10 >-if (eval("-4\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>>\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== 2147483646) { >- testFailed('#10: -4\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>>\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === 2147483646'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1-expected.txt >deleted file mode 100644 >index 399e521fdc4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1.html >deleted file mode 100644 >index 77457386ed2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.7.3_A2.1_T1; >-* @section: 11.7.3; >-* @assertion: Operator x >>> y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (-4 >>> 1 !== 2147483646) { >- testFailed('#1: -4 >>> 1 === 2147483646. Actual: ' + (-4 >>> 1)); >-} >- >-//CHECK#2 >-var x = -4; >-if (x >>> 1 !== 2147483646) { >- testFailed('#2: var x = -4; x >>> 1 === 2147483646. Actual: ' + (x >>> 1)); >-} >- >-//CHECK#3 >-var y = 1; >-if (-4 >>> y !== 2147483646) { >- testFailed('#3: var y = 1; -4 >>> y === 2147483646. Actual: ' + (-4 >>> y)); >-} >- >-//CHECK#4 >-var x = -4; >-var y = 1; >-if (x >>> y !== 2147483646) { >- testFailed('#4: var x = -4; var y = 1; x >>> y === 2147483646. Actual: ' + (x >>> y)); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = -4; >-objecty.prop = 1; >-if (objectx.prop >>> objecty.prop !== 2147483646) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = -4; objecty.prop = 1; objectx.prop >>> objecty.prop === 2147483646. Actual: ' + (objectx.prop >>> objecty.prop)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2-expected.txt >deleted file mode 100644 >index bdb5f98b8c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2.html >deleted file mode 100644 >index 11fa5f323e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A2.1_T2; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x >>> 1; >- testFailed('#1.1: x >>> 1 throw ReferenceError. Actual: ' + (x >>> 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x >>> 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3-expected.txt >deleted file mode 100644 >index b407aad3397..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3.html >deleted file mode 100644 >index fec4fa8a8b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A2.1_T3; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 >>> y; >- testFailed('#1.1: 1 >>> y throw ReferenceError. Actual: ' + (1 >>> y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 >>> y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1-expected.txt >deleted file mode 100644 >index 0ccc4745774..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1.html >deleted file mode 100644 >index 5c007a99127..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A2.2_T1; >- * @section: 11.7.3, 8.6.2.6; >- * @assertion: Operator x >>> y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return -4}} >>> 1 !== 2147483646) { >- testFailed('#1: {valueOf: function() {return -4}} >>> 1 === 2147483646. Actual: ' + ({valueOf: function() {return -4}} >>> 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return -4}, toString: function() {return 0}} >>> 1 !== 2147483646) { >- testFailed('#2: {valueOf: function() {return -4}, toString: function() {return 0}} >>> 1 === 2147483646. Actual: ' + ({valueOf: function() {return -4}, toString: function() {return 0}} >>> 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return -4}, toString: function() {return {}}} >>> 1 !== 2147483646) { >- testFailed('#3: {valueOf: function() {return -4}, toString: function() {return {}}} >>> 1 === 2147483646. Actual: ' + ({valueOf: function() {return -4}, toString: function() {return {}}} >>> 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1 !== 2147483646) { >- testFailed('#4.1: {valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1 === 2147483646. Actual: ' + ({valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return -4}, toString: function() {throw "error"}} >>> 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (-4 >>> {toString: function() {return 1}} !== 2147483646) { >- testFailed('#5: -4 >>> {toString: function() {return 1}} === 2147483646. Actual: ' + (-4 >>> {toString: function() {return 1}})); >-} >- >-//CHECK#6 >-if (-4 >>> {valueOf: function() {return {}}, toString: function() {return 1}} !== 2147483646) { >- testFailed('#6: -4 >>> {valueOf: function() {return {}}, toString: function() {return 1}} === 2147483646. Actual: ' + (-4 >>> {valueOf: function() {return {}}, toString: function() {return 1}})); >-} >- >-//CHECK#7 >-try { >- -4 >>> {valueOf: function() {throw "error"}, toString: function() {return 1}}; >- testFailed('#7.1: -4 >>> {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (-4 >>> {valueOf: function() {throw "error"}, toString: function() {return 1}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: -4 >>> {valueOf: function() {throw "error"}, toString: function() {return 1}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- -4 >>> {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: -4 >>> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: -4 >>> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1-expected.txt >deleted file mode 100644 >index 8695f15603d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.html >deleted file mode 100644 >index 8429a5fdf53..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A2.3_T1; >- * @section: 11.7.3; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x >>> y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >>> y throw "x". Actual: ' + (x >>> y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >>> y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1-expected.txt >deleted file mode 100644 >index e3f0027abd7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1.html >deleted file mode 100644 >index cf2f346170d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A2.4_T1; >- * @section: 11.7.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) >>> x !== 0) { >- testFailed('#1: var x = 0; (x = 1) >>> x === 0. Actual: ' + ((x = 1) >>> x)); >-} >- >-//CHECK#2 >-var x = -4; >-if (x >>> (x = 1) !== 2147483646) { >- testFailed('#2: var x = -4; x >>> (x = 1) === 2147483646. Actual: ' + (x >>> (x = 1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2-expected.txt >deleted file mode 100644 >index a88ff014865..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2.html >deleted file mode 100644 >index 3cca3b23e96..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A2.4_T2; >- * @section: 11.7.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() >>> y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >>> y() throw "x". Actual: ' + (x() >>> y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >>> y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3-expected.txt >deleted file mode 100644 >index 1cd3d547289..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3.html >deleted file mode 100644 >index 5f3aaac0b53..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A2.4_T3; >- * @section: 11.7.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x >>> (x = 1); >- testFailed('#1.1: x >>> (x = 1) throw ReferenceError. Actual: ' + (x >>> (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x >>> (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) >>> y !== 0) { >- testFailed('#2: (y = 1) >>> y === 0. Actual: ' + ((y = 1) >>> y)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1-expected.txt >deleted file mode 100644 >index a6fc03d55b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1.html >deleted file mode 100644 >index eae73f06a8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T1.1; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true >>> true !== 0) { >- testFailed('#1: true >>> true === 0. Actual: ' + (true >>> true)); >-} >- >-//CHECK#2 >-if (new Boolean(true) >>> true !== 0) { >- testFailed('#2: new Boolean(true) >>> true === 0. Actual: ' + (new Boolean(true) >>> true)); >-} >- >-//CHECK#3 >-if (true >>> new Boolean(true) !== 0) { >- testFailed('#3: true >>> new Boolean(true) === 0. Actual: ' + (true >>> new Boolean(true))); >-} >- >-//CHECK#4 >-if (new Boolean(true) >>> new Boolean(true) !== 0) { >- testFailed('#4: new Boolean(true) >>> new Boolean(true) === 0. Actual: ' + (new Boolean(true) >>> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2-expected.txt >deleted file mode 100644 >index 0316d5334ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2.html >deleted file mode 100644 >index 40d2fe4d10c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T1.2; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 >>> 1 !== 0) { >- testFailed('#1: 1 >>> 1 === 0. Actual: ' + (1 >>> 1)); >-} >- >-//CHECK#2 >-if (new Number(1) >>> 1 !== 0) { >- testFailed('#2: new Number(1) >>> 1 === 0. Actual: ' + (new Number(1) >>> 1)); >-} >- >-//CHECK#3 >-if (1 >>> new Number(1) !== 0) { >- testFailed('#3: 1 >>> new Number(1) === 0. Actual: ' + (1 >>> new Number(1))); >-} >- >-//CHECK#4 >-if (new Number(1) >>> new Number(1) !== 0) { >- testFailed('#4: new Number(1) >>> new Number(1) === 0. Actual: ' + (new Number(1) >>> new Number(1))); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3-expected.txt >deleted file mode 100644 >index 3ff53c48e19..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3.html >deleted file mode 100644 >index fa641536a87..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T1.3; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) and Type(y) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" >>> "1" !== 0) { >- testFailed('#1: "1" >>> "1" === 0. Actual: ' + ("1" >>> "1")); >-} >- >-//CHECK#2 >-if (new String("1") >>> "1" !== 0) { >- testFailed('#2: new String("1") >>> "1" === 0. Actual: ' + (new String("1") >>> "1")); >-} >- >-//CHECK#3 >-if ("1" >>> new String("1") !== 0) { >- testFailed('#3: "1" >>> new String("1") === 0. Actual: ' + ("1" >>> new String("1"))); >-} >- >-//CHECK#4 >-if (new String("1") >>> new String("1") !== 0) { >- testFailed('#4: new String("1") >>> new String("1") === 0. Actual: ' + (new String("1") >>> new String("1"))); >-} >- >-//CHECK#5 >-if ("x" >>> "1" !== 0) { >- testFailed('#5: "x" >>> "1" === 0. Actual: ' + ("x" >>> "1")); >-} >- >-//CHECK#6 >-if ("1" >>> "x" !== 1) { >- testFailed('#6: "1" >>> "x" === 1. Actual: ' + ("1" >>> "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4-expected.txt >deleted file mode 100644 >index 0f17a06ed7e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4.html >deleted file mode 100644 >index 7ceadb92755..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T1.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T1.4; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) and Type(y) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (null >>> undefined !== 0) { >- testFailed('#1: null >>> undefined === 0. Actual: ' + (null >>> undefined)); >-} >- >-//CHECK#2 >-if (undefined >>> null !== 0) { >- testFailed('#2: undefined >>> null === 0. Actual: ' + (undefined >>> null)); >-} >- >-//CHECK#3 >-if (undefined >>> undefined !== 0) { >- testFailed('#3: undefined >>> undefined === 0. Actual: ' + (undefined >>> undefined)); >-} >- >-//CHECK#4 >-if (null >>> null !== 0) { >- testFailed('#4: null >>> null === 0. Actual: ' + (null >>> null)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5-expected.txt >deleted file mode 100644 >index 5ccd0f4cbed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5.html >deleted file mode 100644 >index 0f37d9102d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T1.5.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T1.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T1.5; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) and Type(y) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} >>> function(){return 1}) !== 0) { >- testFailed('#1: ({} >>> function(){return 1}) === 0. Actual: ' + (({} >>> function(){return 1}))); >-} >- >-//CHECK#2 >-if ((function(){return 1} >>> {}) !== 0) { >- testFailed('#2: (function(){return 1} >>> {}) === 0. Actual: ' + ((function(){return 1} >>> {}))); >-} >- >-//CHECK#3 >-if ((function(){return 1} >>> function(){return 1}) !== 0) { >- testFailed('#3: (function(){return 1} >>> function(){return 1}) === 0. Actual: ' + ((function(){return 1} >>> function(){return 1}))); >-} >- >-//CHECK#4 >-if (({} >>> {}) !== 0) { >- testFailed('#4: ({} >>> {}) === 0. Actual: ' + (({} >>> {}))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1-expected.txt >deleted file mode 100644 >index c4f6f49b0c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1.html >deleted file mode 100644 >index 362a5af91ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.1; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true >>> 1 !== 0) { >- testFailed('#1: true >>> 1 === 0. Actual: ' + (true >>> 1)); >-} >- >-//CHECK#2 >-if (1 >>> true !== 0) { >- testFailed('#2: 1 >>> true === 0. Actual: ' + (1 >>> true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) >>> 1 !== 0) { >- testFailed('#3: new Boolean(true) >>> 1 === 0. Actual: ' + (new Boolean(true) >>> 1)); >-} >- >-//CHECK#4 >-if (1 >>> new Boolean(true) !== 0) { >- testFailed('#4: 1 >>> new Boolean(true) === 0. Actual: ' + (1 >>> new Boolean(true))); >-} >- >-//CHECK#5 >-if (true >>> new Number(1) !== 0) { >- testFailed('#5: true >>> new Number(1) === 0. Actual: ' + (true >>> new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) >>> true !== 0) { >- testFailed('#6: new Number(1) >>> true === 0. Actual: ' + (new Number(1) >>> true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) >>> new Number(1) !== 0) { >- testFailed('#7: new Boolean(true) >>> new Number(1) === 0. Actual: ' + (new Boolean(true) >>> new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) >>> new Boolean(true) !== 0) { >- testFailed('#8: new Number(1) >>> new Boolean(true) === 0. Actual: ' + (new Number(1) >>> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2-expected.txt >deleted file mode 100644 >index d1473422723..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2.html >deleted file mode 100644 >index 43a66e50d81..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.2; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" >>> 1 !== 0) { >- testFailed('#1: "1" >>> 1 === 0. Actual: ' + ("1" >>> 1)); >-} >- >-//CHECK#2 >-if (1 >>> "1" !== 0) { >- testFailed('#2: 1 >>> "1" === 0. Actual: ' + (1 >>> "1")); >-} >- >-//CHECK#3 >-if (new String("1") >>> 1 !== 0) { >- testFailed('#3: new String("1") >>> 1 === 0. Actual: ' + (new String("1") >>> 1)); >-} >- >-//CHECK#4 >-if (1 >>> new String("1") !== 0) { >- testFailed('#4: 1 >>> new String("1") === 0. Actual: ' + (1 >>> new String("1"))); >-} >- >-//CHECK#5 >-if ("1" >>> new Number(1) !== 0) { >- testFailed('#5: "1" >>> new Number(1) === 0. Actual: ' + ("1" >>> new Number(1))); >-} >- >-//CHECK#6 >-if (new Number(1) >>> "1" !== 0) { >- testFailed('#6: new Number(1) >>> "1" === 0. Actual: ' + (new Number(1) >>> "1")); >-} >- >-//CHECK#7 >-if (new String("1") >>> new Number(1) !== 0) { >- testFailed('#7: new String("1") >>> new Number(1) === 0. Actual: ' + (new String("1") >>> new Number(1))); >-} >- >-//CHECK#8 >-if (new Number(1) >>> new String("1") !== 0) { >- testFailed('#8: new Number(1) >>> new String("1") === 0. Actual: ' + (new Number(1) >>> new String("1"))); >-} >- >-//CHECK#9 >-if ("x" >>> 1 !== 0) { >- testFailed('#9: "x" >>> 1 === 0. Actual: ' + ("x" >>> 1)); >-} >- >-//CHECK#10 >-if (1 >>> "x" !== 1) { >- testFailed('#10: 1 >>> "x" === 1. Actual: ' + (1 >>> "x")); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3-expected.txt >deleted file mode 100644 >index d8d9810ced2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3.html >deleted file mode 100644 >index 98c42941818..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.3; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 >>> null !== 1) { >- testFailed('#1: 1 >>> null === 1. Actual: ' + (1 >>> null)); >-} >- >-//CHECK#2 >-if (null >>> 1 !== 0) { >- testFailed('#2: null >>> 1 === 0. Actual: ' + (null >>> 1)); >-} >- >-//CHECK#3 >-if (new Number(1) >>> null !== 1) { >- testFailed('#3: new Number(1) >>> null === 1. Actual: ' + (new Number(1) >>> null)); >-} >- >-//CHECK#4 >-if (null >>> new Number(1) !== 0) { >- testFailed('#4: null >>> new Number(1) === 0. Actual: ' + (null >>> new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4-expected.txt >deleted file mode 100644 >index 2b0b7b4dbc8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4.html >deleted file mode 100644 >index 7dab4b3ac82..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.4; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (1 >>> undefined !== 1) { >- testFailed('#1: 1 >>> undefined === 1. Actual: ' + (1 >>> undefined)); >-} >- >-//CHECK#2 >-if (undefined >>> 1 !== 0) { >- testFailed('#2: undefined >>> 1 === 0. Actual: ' + (undefined >>> 1)); >-} >- >-//CHECK#3 >-if (new Number(1) >>> undefined !== 1) { >- testFailed('#3: new Number(1) >>> undefined === 1. Actual: ' + (new Number(1) >>> undefined)); >-} >- >-//CHECK#4 >-if (undefined >>> new Number(1) !== 0) { >- testFailed('#4: undefined >>> new Number(1) === 0. Actual: ' + (undefined >>> new Number(1))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5-expected.txt >deleted file mode 100644 >index 548076183d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5.html >deleted file mode 100644 >index 3a5eb912c49..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.5; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true >>> "1" !== 0) { >- testFailed('#1: true >>> "1" === 0. Actual: ' + (true >>> "1")); >-} >- >-//CHECK#2 >-if ("1" >>> true !== 0) { >- testFailed('#2: "1" >>> true === 0. Actual: ' + ("1" >>> true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) >>> "1" !== 0) { >- testFailed('#3: new Boolean(true) >>> "1" === 0. Actual: ' + (new Boolean(true) >>> "1")); >-} >- >-//CHECK#4 >-if ("1" >>> new Boolean(true) !== 0) { >- testFailed('#4: "1" >>> new Boolean(true) === 0. Actual: ' + ("1" >>> new Boolean(true))); >-} >- >-//CHECK#5 >-if (true >>> new String("1") !== 0) { >- testFailed('#5: true >>> new String("1") === 0. Actual: ' + (true >>> new String("1"))); >-} >- >-//CHECK#6 >-if (new String("1") >>> true !== 0) { >- testFailed('#6: new String("1") >>> true === 0. Actual: ' + (new String("1") >>> true)); >-} >- >-//CHECK#7 >-if (new Boolean(true) >>> new String("1") !== 0) { >- testFailed('#7: new Boolean(true) >>> new String("1") === 0. Actual: ' + (new Boolean(true) >>> new String("1"))); >-} >- >-//CHECK#8 >-if (new String("1") >>> new Boolean(true) !== 0) { >- testFailed('#8: new String("1") >>> new Boolean(true) === 0. Actual: ' + (new String("1") >>> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6-expected.txt >deleted file mode 100644 >index 276b8110df8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6.html >deleted file mode 100644 >index e2f7ac00ec8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.6; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ("1" >>> undefined !== 1) { >- testFailed('#1: "1" >>> undefined === 1. Actual: ' + ("1" >>> undefined)); >-} >- >-//CHECK#2 >-if (undefined >>> "1" !== 0) { >- testFailed('#2: undefined >>> "1" === 0. Actual: ' + (undefined >>> "1")); >-} >- >-//CHECK#3 >-if (new String("1") >>> undefined !== 1) { >- testFailed('#3: new String("1") >>> undefined === 1. Actual: ' + (new String("1") >>> undefined)); >-} >- >-//CHECK#4 >-if (undefined >>> new String("1") !== 0) { >- testFailed('#4: undefined >>> new String("1") === 0. Actual: ' + (undefined >>> new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7-expected.txt >deleted file mode 100644 >index ad43e09c2e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7.html >deleted file mode 100644 >index 4b3c092a75d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.7; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" >>> null !== 1) { >- testFailed('#1: "1" >>> null === 1. Actual: ' + ("1" >>> null)); >-} >- >-//CHECK#2 >-if (null >>> "1" !== 0) { >- testFailed('#2: null >>> "1" === 0. Actual: ' + (null >>> "1")); >-} >- >-//CHECK#3 >-if (new String("1") >>> null !== 1) { >- testFailed('#3: new String("1") >>> null === 1. Actual: ' + (new String("1") >>> null)); >-} >- >-//CHECK#4 >-if (null >>> new String("1") !== 0) { >- testFailed('#4: null >>> new String("1") === 0. Actual: ' + (null >>> new String("1"))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8-expected.txt >deleted file mode 100644 >index 00bd0e0fea2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8.html >deleted file mode 100644 >index c3065baa6af..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.8; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (true >>> undefined !== 1) { >- testFailed('#1: true >>> undefined === 1. Actual: ' + (true >>> undefined)); >-} >- >-//CHECK#2 >-if (undefined >>> true !== 0) { >- testFailed('#2: undefined >>> true === 0. Actual: ' + (undefined >>> true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) >>> undefined !== 1) { >- testFailed('#3: new Boolean(true) >>> undefined === 1. Actual: ' + (new Boolean(true) >>> undefined)); >-} >- >-//CHECK#4 >-if (undefined >>> new Boolean(true) !== 0) { >- testFailed('#4: undefined >>> new Boolean(true) === 0. Actual: ' + (undefined >>> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9-expected.txt >deleted file mode 100644 >index 93fa7f2cd5a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9.html >deleted file mode 100644 >index 24dd52b8b92..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A3_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A3_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A3_T2.9; >- * @section: 11.7.3; >- * @assertion: Operator x >>> y returns ToNumber(x) >>> ToNumber(y); >- * @description: Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true >>> null !== 1) { >- testFailed('#1: true >>> null === 1. Actual: ' + (true >>> null)); >-} >- >-//CHECK#2 >-if (null >>> true !== 0) { >- testFailed('#2: null >>> true === 0. Actual: ' + (null >>> true)); >-} >- >-//CHECK#3 >-if (new Boolean(true) >>> null !== 1) { >- testFailed('#3: new Boolean(true) >>> null === 1. Actual: ' + (new Boolean(true) >>> null)); >-} >- >-//CHECK#4 >-if (null >>> new Boolean(true) !== 0) { >- testFailed('#4: null >>> new Boolean(true) === 0. Actual: ' + (null >>> new Boolean(true))); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1-expected.txt >deleted file mode 100644 >index cfc388016f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.html >deleted file mode 100644 >index d059f224a8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.html >+++ /dev/null >@@ -1,2653 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A4_T1; >- * @section: 11.7.3; >- * @assertion: Check operator x >>> y in distinct points; >- * @description: ShiftExpression = 2^n, n = 0...15; >- */ >- >-//CHECK >- >-if (1 >>> 0 !== 1) { >- testFailed('#1: 1 >>> 0 === 1. Actual: ' + (1 >>> 0)); >-} >- >- >-if (2 >>> 0 !== 2) { >- testFailed('#2: 2 >>> 0 === 2. Actual: ' + (2 >>> 0)); >-} >- >- >-if (4 >>> 0 !== 4) { >- testFailed('#3: 4 >>> 0 === 4. Actual: ' + (4 >>> 0)); >-} >- >- >-if (8 >>> 0 !== 8) { >- testFailed('#4: 8 >>> 0 === 8. Actual: ' + (8 >>> 0)); >-} >- >- >-if (16 >>> 0 !== 16) { >- testFailed('#5: 16 >>> 0 === 16. Actual: ' + (16 >>> 0)); >-} >- >- >-if (32 >>> 0 !== 32) { >- testFailed('#6: 32 >>> 0 === 32. Actual: ' + (32 >>> 0)); >-} >- >- >-if (64 >>> 0 !== 64) { >- testFailed('#7: 64 >>> 0 === 64. Actual: ' + (64 >>> 0)); >-} >- >- >-if (128 >>> 0 !== 128) { >- testFailed('#8: 128 >>> 0 === 128. Actual: ' + (128 >>> 0)); >-} >- >- >-if (256 >>> 0 !== 256) { >- testFailed('#9: 256 >>> 0 === 256. Actual: ' + (256 >>> 0)); >-} >- >- >-if (512 >>> 0 !== 512) { >- testFailed('#10: 512 >>> 0 === 512. Actual: ' + (512 >>> 0)); >-} >- >- >-if (1024 >>> 0 !== 1024) { >- testFailed('#11: 1024 >>> 0 === 1024. Actual: ' + (1024 >>> 0)); >-} >- >- >-if (2048 >>> 0 !== 2048) { >- testFailed('#12: 2048 >>> 0 === 2048. Actual: ' + (2048 >>> 0)); >-} >- >- >-if (4096 >>> 0 !== 4096) { >- testFailed('#13: 4096 >>> 0 === 4096. Actual: ' + (4096 >>> 0)); >-} >- >- >-if (8192 >>> 0 !== 8192) { >- testFailed('#14: 8192 >>> 0 === 8192. Actual: ' + (8192 >>> 0)); >-} >- >- >-if (16384 >>> 0 !== 16384) { >- testFailed('#15: 16384 >>> 0 === 16384. Actual: ' + (16384 >>> 0)); >-} >- >- >-if (32768 >>> 0 !== 32768) { >- testFailed('#16: 32768 >>> 0 === 32768. Actual: ' + (32768 >>> 0)); >-} >- >- >-if (65536 >>> 0 !== 65536) { >- testFailed('#17: 65536 >>> 0 === 65536. Actual: ' + (65536 >>> 0)); >-} >- >- >-if (131072 >>> 0 !== 131072) { >- testFailed('#18: 131072 >>> 0 === 131072. Actual: ' + (131072 >>> 0)); >-} >- >- >-if (262144 >>> 0 !== 262144) { >- testFailed('#19: 262144 >>> 0 === 262144. Actual: ' + (262144 >>> 0)); >-} >- >- >-if (524288 >>> 0 !== 524288) { >- testFailed('#20: 524288 >>> 0 === 524288. Actual: ' + (524288 >>> 0)); >-} >- >- >-if (1048576 >>> 0 !== 1048576) { >- testFailed('#21: 1048576 >>> 0 === 1048576. Actual: ' + (1048576 >>> 0)); >-} >- >- >-if (2097152 >>> 0 !== 2097152) { >- testFailed('#22: 2097152 >>> 0 === 2097152. Actual: ' + (2097152 >>> 0)); >-} >- >- >-if (4194304 >>> 0 !== 4194304) { >- testFailed('#23: 4194304 >>> 0 === 4194304. Actual: ' + (4194304 >>> 0)); >-} >- >- >-if (8388608 >>> 0 !== 8388608) { >- testFailed('#24: 8388608 >>> 0 === 8388608. Actual: ' + (8388608 >>> 0)); >-} >- >- >-if (16777216 >>> 0 !== 16777216) { >- testFailed('#25: 16777216 >>> 0 === 16777216. Actual: ' + (16777216 >>> 0)); >-} >- >- >-if (33554432 >>> 0 !== 33554432) { >- testFailed('#26: 33554432 >>> 0 === 33554432. Actual: ' + (33554432 >>> 0)); >-} >- >- >-if (67108864 >>> 0 !== 67108864) { >- testFailed('#27: 67108864 >>> 0 === 67108864. Actual: ' + (67108864 >>> 0)); >-} >- >- >-if (134217728 >>> 0 !== 134217728) { >- testFailed('#28: 134217728 >>> 0 === 134217728. Actual: ' + (134217728 >>> 0)); >-} >- >- >-if (268435456 >>> 0 !== 268435456) { >- testFailed('#29: 268435456 >>> 0 === 268435456. Actual: ' + (268435456 >>> 0)); >-} >- >- >-if (536870912 >>> 0 !== 536870912) { >- testFailed('#30: 536870912 >>> 0 === 536870912. Actual: ' + (536870912 >>> 0)); >-} >- >- >-if (1073741824 >>> 0 !== 1073741824) { >- testFailed('#31: 1073741824 >>> 0 === 1073741824. Actual: ' + (1073741824 >>> 0)); >-} >- >- >-if (2147483648 >>> 0 !== 2147483648) { >- testFailed('#32: 2147483648 >>> 0 === 2147483648. Actual: ' + (2147483648 >>> 0)); >-} >- >- >-if (1 >>> 1 !== 0) { >- testFailed('#33: 1 >>> 1 === 0. Actual: ' + (1 >>> 1)); >-} >- >- >-if (2 >>> 1 !== 1) { >- testFailed('#34: 2 >>> 1 === 1. Actual: ' + (2 >>> 1)); >-} >- >- >-if (4 >>> 1 !== 2) { >- testFailed('#35: 4 >>> 1 === 2. Actual: ' + (4 >>> 1)); >-} >- >- >-if (8 >>> 1 !== 4) { >- testFailed('#36: 8 >>> 1 === 4. Actual: ' + (8 >>> 1)); >-} >- >- >-if (16 >>> 1 !== 8) { >- testFailed('#37: 16 >>> 1 === 8. Actual: ' + (16 >>> 1)); >-} >- >- >-if (32 >>> 1 !== 16) { >- testFailed('#38: 32 >>> 1 === 16. Actual: ' + (32 >>> 1)); >-} >- >- >-if (64 >>> 1 !== 32) { >- testFailed('#39: 64 >>> 1 === 32. Actual: ' + (64 >>> 1)); >-} >- >- >-if (128 >>> 1 !== 64) { >- testFailed('#40: 128 >>> 1 === 64. Actual: ' + (128 >>> 1)); >-} >- >- >-if (256 >>> 1 !== 128) { >- testFailed('#41: 256 >>> 1 === 128. Actual: ' + (256 >>> 1)); >-} >- >- >-if (512 >>> 1 !== 256) { >- testFailed('#42: 512 >>> 1 === 256. Actual: ' + (512 >>> 1)); >-} >- >- >-if (1024 >>> 1 !== 512) { >- testFailed('#43: 1024 >>> 1 === 512. Actual: ' + (1024 >>> 1)); >-} >- >- >-if (2048 >>> 1 !== 1024) { >- testFailed('#44: 2048 >>> 1 === 1024. Actual: ' + (2048 >>> 1)); >-} >- >- >-if (4096 >>> 1 !== 2048) { >- testFailed('#45: 4096 >>> 1 === 2048. Actual: ' + (4096 >>> 1)); >-} >- >- >-if (8192 >>> 1 !== 4096) { >- testFailed('#46: 8192 >>> 1 === 4096. Actual: ' + (8192 >>> 1)); >-} >- >- >-if (16384 >>> 1 !== 8192) { >- testFailed('#47: 16384 >>> 1 === 8192. Actual: ' + (16384 >>> 1)); >-} >- >- >-if (32768 >>> 1 !== 16384) { >- testFailed('#48: 32768 >>> 1 === 16384. Actual: ' + (32768 >>> 1)); >-} >- >- >-if (65536 >>> 1 !== 32768) { >- testFailed('#49: 65536 >>> 1 === 32768. Actual: ' + (65536 >>> 1)); >-} >- >- >-if (131072 >>> 1 !== 65536) { >- testFailed('#50: 131072 >>> 1 === 65536. Actual: ' + (131072 >>> 1)); >-} >- >- >-if (262144 >>> 1 !== 131072) { >- testFailed('#51: 262144 >>> 1 === 131072. Actual: ' + (262144 >>> 1)); >-} >- >- >-if (524288 >>> 1 !== 262144) { >- testFailed('#52: 524288 >>> 1 === 262144. Actual: ' + (524288 >>> 1)); >-} >- >- >-if (1048576 >>> 1 !== 524288) { >- testFailed('#53: 1048576 >>> 1 === 524288. Actual: ' + (1048576 >>> 1)); >-} >- >- >-if (2097152 >>> 1 !== 1048576) { >- testFailed('#54: 2097152 >>> 1 === 1048576. Actual: ' + (2097152 >>> 1)); >-} >- >- >-if (4194304 >>> 1 !== 2097152) { >- testFailed('#55: 4194304 >>> 1 === 2097152. Actual: ' + (4194304 >>> 1)); >-} >- >- >-if (8388608 >>> 1 !== 4194304) { >- testFailed('#56: 8388608 >>> 1 === 4194304. Actual: ' + (8388608 >>> 1)); >-} >- >- >-if (16777216 >>> 1 !== 8388608) { >- testFailed('#57: 16777216 >>> 1 === 8388608. Actual: ' + (16777216 >>> 1)); >-} >- >- >-if (33554432 >>> 1 !== 16777216) { >- testFailed('#58: 33554432 >>> 1 === 16777216. Actual: ' + (33554432 >>> 1)); >-} >- >- >-if (67108864 >>> 1 !== 33554432) { >- testFailed('#59: 67108864 >>> 1 === 33554432. Actual: ' + (67108864 >>> 1)); >-} >- >- >-if (134217728 >>> 1 !== 67108864) { >- testFailed('#60: 134217728 >>> 1 === 67108864. Actual: ' + (134217728 >>> 1)); >-} >- >- >-if (268435456 >>> 1 !== 134217728) { >- testFailed('#61: 268435456 >>> 1 === 134217728. Actual: ' + (268435456 >>> 1)); >-} >- >- >-if (536870912 >>> 1 !== 268435456) { >- testFailed('#62: 536870912 >>> 1 === 268435456. Actual: ' + (536870912 >>> 1)); >-} >- >- >-if (1073741824 >>> 1 !== 536870912) { >- testFailed('#63: 1073741824 >>> 1 === 536870912. Actual: ' + (1073741824 >>> 1)); >-} >- >- >-if (2147483648 >>> 1 !== 1073741824) { >- testFailed('#64: 2147483648 >>> 1 === 1073741824. Actual: ' + (2147483648 >>> 1)); >-} >- >- >-if (1 >>> 2 !== 0) { >- testFailed('#65: 1 >>> 2 === 0. Actual: ' + (1 >>> 2)); >-} >- >- >-if (2 >>> 2 !== 0) { >- testFailed('#66: 2 >>> 2 === 0. Actual: ' + (2 >>> 2)); >-} >- >- >-if (4 >>> 2 !== 1) { >- testFailed('#67: 4 >>> 2 === 1. Actual: ' + (4 >>> 2)); >-} >- >- >-if (8 >>> 2 !== 2) { >- testFailed('#68: 8 >>> 2 === 2. Actual: ' + (8 >>> 2)); >-} >- >- >-if (16 >>> 2 !== 4) { >- testFailed('#69: 16 >>> 2 === 4. Actual: ' + (16 >>> 2)); >-} >- >- >-if (32 >>> 2 !== 8) { >- testFailed('#70: 32 >>> 2 === 8. Actual: ' + (32 >>> 2)); >-} >- >- >-if (64 >>> 2 !== 16) { >- testFailed('#71: 64 >>> 2 === 16. Actual: ' + (64 >>> 2)); >-} >- >- >-if (128 >>> 2 !== 32) { >- testFailed('#72: 128 >>> 2 === 32. Actual: ' + (128 >>> 2)); >-} >- >- >-if (256 >>> 2 !== 64) { >- testFailed('#73: 256 >>> 2 === 64. Actual: ' + (256 >>> 2)); >-} >- >- >-if (512 >>> 2 !== 128) { >- testFailed('#74: 512 >>> 2 === 128. Actual: ' + (512 >>> 2)); >-} >- >- >-if (1024 >>> 2 !== 256) { >- testFailed('#75: 1024 >>> 2 === 256. Actual: ' + (1024 >>> 2)); >-} >- >- >-if (2048 >>> 2 !== 512) { >- testFailed('#76: 2048 >>> 2 === 512. Actual: ' + (2048 >>> 2)); >-} >- >- >-if (4096 >>> 2 !== 1024) { >- testFailed('#77: 4096 >>> 2 === 1024. Actual: ' + (4096 >>> 2)); >-} >- >- >-if (8192 >>> 2 !== 2048) { >- testFailed('#78: 8192 >>> 2 === 2048. Actual: ' + (8192 >>> 2)); >-} >- >- >-if (16384 >>> 2 !== 4096) { >- testFailed('#79: 16384 >>> 2 === 4096. Actual: ' + (16384 >>> 2)); >-} >- >- >-if (32768 >>> 2 !== 8192) { >- testFailed('#80: 32768 >>> 2 === 8192. Actual: ' + (32768 >>> 2)); >-} >- >- >-if (65536 >>> 2 !== 16384) { >- testFailed('#81: 65536 >>> 2 === 16384. Actual: ' + (65536 >>> 2)); >-} >- >- >-if (131072 >>> 2 !== 32768) { >- testFailed('#82: 131072 >>> 2 === 32768. Actual: ' + (131072 >>> 2)); >-} >- >- >-if (262144 >>> 2 !== 65536) { >- testFailed('#83: 262144 >>> 2 === 65536. Actual: ' + (262144 >>> 2)); >-} >- >- >-if (524288 >>> 2 !== 131072) { >- testFailed('#84: 524288 >>> 2 === 131072. Actual: ' + (524288 >>> 2)); >-} >- >- >-if (1048576 >>> 2 !== 262144) { >- testFailed('#85: 1048576 >>> 2 === 262144. Actual: ' + (1048576 >>> 2)); >-} >- >- >-if (2097152 >>> 2 !== 524288) { >- testFailed('#86: 2097152 >>> 2 === 524288. Actual: ' + (2097152 >>> 2)); >-} >- >- >-if (4194304 >>> 2 !== 1048576) { >- testFailed('#87: 4194304 >>> 2 === 1048576. Actual: ' + (4194304 >>> 2)); >-} >- >- >-if (8388608 >>> 2 !== 2097152) { >- testFailed('#88: 8388608 >>> 2 === 2097152. Actual: ' + (8388608 >>> 2)); >-} >- >- >-if (16777216 >>> 2 !== 4194304) { >- testFailed('#89: 16777216 >>> 2 === 4194304. Actual: ' + (16777216 >>> 2)); >-} >- >- >-if (33554432 >>> 2 !== 8388608) { >- testFailed('#90: 33554432 >>> 2 === 8388608. Actual: ' + (33554432 >>> 2)); >-} >- >- >-if (67108864 >>> 2 !== 16777216) { >- testFailed('#91: 67108864 >>> 2 === 16777216. Actual: ' + (67108864 >>> 2)); >-} >- >- >-if (134217728 >>> 2 !== 33554432) { >- testFailed('#92: 134217728 >>> 2 === 33554432. Actual: ' + (134217728 >>> 2)); >-} >- >- >-if (268435456 >>> 2 !== 67108864) { >- testFailed('#93: 268435456 >>> 2 === 67108864. Actual: ' + (268435456 >>> 2)); >-} >- >- >-if (536870912 >>> 2 !== 134217728) { >- testFailed('#94: 536870912 >>> 2 === 134217728. Actual: ' + (536870912 >>> 2)); >-} >- >- >-if (1073741824 >>> 2 !== 268435456) { >- testFailed('#95: 1073741824 >>> 2 === 268435456. Actual: ' + (1073741824 >>> 2)); >-} >- >- >-if (2147483648 >>> 2 !== 536870912) { >- testFailed('#96: 2147483648 >>> 2 === 536870912. Actual: ' + (2147483648 >>> 2)); >-} >- >- >-if (1 >>> 3 !== 0) { >- testFailed('#97: 1 >>> 3 === 0. Actual: ' + (1 >>> 3)); >-} >- >- >-if (2 >>> 3 !== 0) { >- testFailed('#98: 2 >>> 3 === 0. Actual: ' + (2 >>> 3)); >-} >- >- >-if (4 >>> 3 !== 0) { >- testFailed('#99: 4 >>> 3 === 0. Actual: ' + (4 >>> 3)); >-} >- >- >-if (8 >>> 3 !== 1) { >- testFailed('#100: 8 >>> 3 === 1. Actual: ' + (8 >>> 3)); >-} >- >- >-if (16 >>> 3 !== 2) { >- testFailed('#101: 16 >>> 3 === 2. Actual: ' + (16 >>> 3)); >-} >- >- >-if (32 >>> 3 !== 4) { >- testFailed('#102: 32 >>> 3 === 4. Actual: ' + (32 >>> 3)); >-} >- >- >-if (64 >>> 3 !== 8) { >- testFailed('#103: 64 >>> 3 === 8. Actual: ' + (64 >>> 3)); >-} >- >- >-if (128 >>> 3 !== 16) { >- testFailed('#104: 128 >>> 3 === 16. Actual: ' + (128 >>> 3)); >-} >- >- >-if (256 >>> 3 !== 32) { >- testFailed('#105: 256 >>> 3 === 32. Actual: ' + (256 >>> 3)); >-} >- >- >-if (512 >>> 3 !== 64) { >- testFailed('#106: 512 >>> 3 === 64. Actual: ' + (512 >>> 3)); >-} >- >- >-if (1024 >>> 3 !== 128) { >- testFailed('#107: 1024 >>> 3 === 128. Actual: ' + (1024 >>> 3)); >-} >- >- >-if (2048 >>> 3 !== 256) { >- testFailed('#108: 2048 >>> 3 === 256. Actual: ' + (2048 >>> 3)); >-} >- >- >-if (4096 >>> 3 !== 512) { >- testFailed('#109: 4096 >>> 3 === 512. Actual: ' + (4096 >>> 3)); >-} >- >- >-if (8192 >>> 3 !== 1024) { >- testFailed('#110: 8192 >>> 3 === 1024. Actual: ' + (8192 >>> 3)); >-} >- >- >-if (16384 >>> 3 !== 2048) { >- testFailed('#111: 16384 >>> 3 === 2048. Actual: ' + (16384 >>> 3)); >-} >- >- >-if (32768 >>> 3 !== 4096) { >- testFailed('#112: 32768 >>> 3 === 4096. Actual: ' + (32768 >>> 3)); >-} >- >- >-if (65536 >>> 3 !== 8192) { >- testFailed('#113: 65536 >>> 3 === 8192. Actual: ' + (65536 >>> 3)); >-} >- >- >-if (131072 >>> 3 !== 16384) { >- testFailed('#114: 131072 >>> 3 === 16384. Actual: ' + (131072 >>> 3)); >-} >- >- >-if (262144 >>> 3 !== 32768) { >- testFailed('#115: 262144 >>> 3 === 32768. Actual: ' + (262144 >>> 3)); >-} >- >- >-if (524288 >>> 3 !== 65536) { >- testFailed('#116: 524288 >>> 3 === 65536. Actual: ' + (524288 >>> 3)); >-} >- >- >-if (1048576 >>> 3 !== 131072) { >- testFailed('#117: 1048576 >>> 3 === 131072. Actual: ' + (1048576 >>> 3)); >-} >- >- >-if (2097152 >>> 3 !== 262144) { >- testFailed('#118: 2097152 >>> 3 === 262144. Actual: ' + (2097152 >>> 3)); >-} >- >- >-if (4194304 >>> 3 !== 524288) { >- testFailed('#119: 4194304 >>> 3 === 524288. Actual: ' + (4194304 >>> 3)); >-} >- >- >-if (8388608 >>> 3 !== 1048576) { >- testFailed('#120: 8388608 >>> 3 === 1048576. Actual: ' + (8388608 >>> 3)); >-} >- >- >-if (16777216 >>> 3 !== 2097152) { >- testFailed('#121: 16777216 >>> 3 === 2097152. Actual: ' + (16777216 >>> 3)); >-} >- >- >-if (33554432 >>> 3 !== 4194304) { >- testFailed('#122: 33554432 >>> 3 === 4194304. Actual: ' + (33554432 >>> 3)); >-} >- >- >-if (67108864 >>> 3 !== 8388608) { >- testFailed('#123: 67108864 >>> 3 === 8388608. Actual: ' + (67108864 >>> 3)); >-} >- >- >-if (134217728 >>> 3 !== 16777216) { >- testFailed('#124: 134217728 >>> 3 === 16777216. Actual: ' + (134217728 >>> 3)); >-} >- >- >-if (268435456 >>> 3 !== 33554432) { >- testFailed('#125: 268435456 >>> 3 === 33554432. Actual: ' + (268435456 >>> 3)); >-} >- >- >-if (536870912 >>> 3 !== 67108864) { >- testFailed('#126: 536870912 >>> 3 === 67108864. Actual: ' + (536870912 >>> 3)); >-} >- >- >-if (1073741824 >>> 3 !== 134217728) { >- testFailed('#127: 1073741824 >>> 3 === 134217728. Actual: ' + (1073741824 >>> 3)); >-} >- >- >-if (2147483648 >>> 3 !== 268435456) { >- testFailed('#128: 2147483648 >>> 3 === 268435456. Actual: ' + (2147483648 >>> 3)); >-} >- >- >-if (1 >>> 4 !== 0) { >- testFailed('#129: 1 >>> 4 === 0. Actual: ' + (1 >>> 4)); >-} >- >- >-if (2 >>> 4 !== 0) { >- testFailed('#130: 2 >>> 4 === 0. Actual: ' + (2 >>> 4)); >-} >- >- >-if (4 >>> 4 !== 0) { >- testFailed('#131: 4 >>> 4 === 0. Actual: ' + (4 >>> 4)); >-} >- >- >-if (8 >>> 4 !== 0) { >- testFailed('#132: 8 >>> 4 === 0. Actual: ' + (8 >>> 4)); >-} >- >- >-if (16 >>> 4 !== 1) { >- testFailed('#133: 16 >>> 4 === 1. Actual: ' + (16 >>> 4)); >-} >- >- >-if (32 >>> 4 !== 2) { >- testFailed('#134: 32 >>> 4 === 2. Actual: ' + (32 >>> 4)); >-} >- >- >-if (64 >>> 4 !== 4) { >- testFailed('#135: 64 >>> 4 === 4. Actual: ' + (64 >>> 4)); >-} >- >- >-if (128 >>> 4 !== 8) { >- testFailed('#136: 128 >>> 4 === 8. Actual: ' + (128 >>> 4)); >-} >- >- >-if (256 >>> 4 !== 16) { >- testFailed('#137: 256 >>> 4 === 16. Actual: ' + (256 >>> 4)); >-} >- >- >-if (512 >>> 4 !== 32) { >- testFailed('#138: 512 >>> 4 === 32. Actual: ' + (512 >>> 4)); >-} >- >- >-if (1024 >>> 4 !== 64) { >- testFailed('#139: 1024 >>> 4 === 64. Actual: ' + (1024 >>> 4)); >-} >- >- >-if (2048 >>> 4 !== 128) { >- testFailed('#140: 2048 >>> 4 === 128. Actual: ' + (2048 >>> 4)); >-} >- >- >-if (4096 >>> 4 !== 256) { >- testFailed('#141: 4096 >>> 4 === 256. Actual: ' + (4096 >>> 4)); >-} >- >- >-if (8192 >>> 4 !== 512) { >- testFailed('#142: 8192 >>> 4 === 512. Actual: ' + (8192 >>> 4)); >-} >- >- >-if (16384 >>> 4 !== 1024) { >- testFailed('#143: 16384 >>> 4 === 1024. Actual: ' + (16384 >>> 4)); >-} >- >- >-if (32768 >>> 4 !== 2048) { >- testFailed('#144: 32768 >>> 4 === 2048. Actual: ' + (32768 >>> 4)); >-} >- >- >-if (65536 >>> 4 !== 4096) { >- testFailed('#145: 65536 >>> 4 === 4096. Actual: ' + (65536 >>> 4)); >-} >- >- >-if (131072 >>> 4 !== 8192) { >- testFailed('#146: 131072 >>> 4 === 8192. Actual: ' + (131072 >>> 4)); >-} >- >- >-if (262144 >>> 4 !== 16384) { >- testFailed('#147: 262144 >>> 4 === 16384. Actual: ' + (262144 >>> 4)); >-} >- >- >-if (524288 >>> 4 !== 32768) { >- testFailed('#148: 524288 >>> 4 === 32768. Actual: ' + (524288 >>> 4)); >-} >- >- >-if (1048576 >>> 4 !== 65536) { >- testFailed('#149: 1048576 >>> 4 === 65536. Actual: ' + (1048576 >>> 4)); >-} >- >- >-if (2097152 >>> 4 !== 131072) { >- testFailed('#150: 2097152 >>> 4 === 131072. Actual: ' + (2097152 >>> 4)); >-} >- >- >-if (4194304 >>> 4 !== 262144) { >- testFailed('#151: 4194304 >>> 4 === 262144. Actual: ' + (4194304 >>> 4)); >-} >- >- >-if (8388608 >>> 4 !== 524288) { >- testFailed('#152: 8388608 >>> 4 === 524288. Actual: ' + (8388608 >>> 4)); >-} >- >- >-if (16777216 >>> 4 !== 1048576) { >- testFailed('#153: 16777216 >>> 4 === 1048576. Actual: ' + (16777216 >>> 4)); >-} >- >- >-if (33554432 >>> 4 !== 2097152) { >- testFailed('#154: 33554432 >>> 4 === 2097152. Actual: ' + (33554432 >>> 4)); >-} >- >- >-if (67108864 >>> 4 !== 4194304) { >- testFailed('#155: 67108864 >>> 4 === 4194304. Actual: ' + (67108864 >>> 4)); >-} >- >- >-if (134217728 >>> 4 !== 8388608) { >- testFailed('#156: 134217728 >>> 4 === 8388608. Actual: ' + (134217728 >>> 4)); >-} >- >- >-if (268435456 >>> 4 !== 16777216) { >- testFailed('#157: 268435456 >>> 4 === 16777216. Actual: ' + (268435456 >>> 4)); >-} >- >- >-if (536870912 >>> 4 !== 33554432) { >- testFailed('#158: 536870912 >>> 4 === 33554432. Actual: ' + (536870912 >>> 4)); >-} >- >- >-if (1073741824 >>> 4 !== 67108864) { >- testFailed('#159: 1073741824 >>> 4 === 67108864. Actual: ' + (1073741824 >>> 4)); >-} >- >- >-if (2147483648 >>> 4 !== 134217728) { >- testFailed('#160: 2147483648 >>> 4 === 134217728. Actual: ' + (2147483648 >>> 4)); >-} >- >- >-if (1 >>> 5 !== 0) { >- testFailed('#161: 1 >>> 5 === 0. Actual: ' + (1 >>> 5)); >-} >- >- >-if (2 >>> 5 !== 0) { >- testFailed('#162: 2 >>> 5 === 0. Actual: ' + (2 >>> 5)); >-} >- >- >-if (4 >>> 5 !== 0) { >- testFailed('#163: 4 >>> 5 === 0. Actual: ' + (4 >>> 5)); >-} >- >- >-if (8 >>> 5 !== 0) { >- testFailed('#164: 8 >>> 5 === 0. Actual: ' + (8 >>> 5)); >-} >- >- >-if (16 >>> 5 !== 0) { >- testFailed('#165: 16 >>> 5 === 0. Actual: ' + (16 >>> 5)); >-} >- >- >-if (32 >>> 5 !== 1) { >- testFailed('#166: 32 >>> 5 === 1. Actual: ' + (32 >>> 5)); >-} >- >- >-if (64 >>> 5 !== 2) { >- testFailed('#167: 64 >>> 5 === 2. Actual: ' + (64 >>> 5)); >-} >- >- >-if (128 >>> 5 !== 4) { >- testFailed('#168: 128 >>> 5 === 4. Actual: ' + (128 >>> 5)); >-} >- >- >-if (256 >>> 5 !== 8) { >- testFailed('#169: 256 >>> 5 === 8. Actual: ' + (256 >>> 5)); >-} >- >- >-if (512 >>> 5 !== 16) { >- testFailed('#170: 512 >>> 5 === 16. Actual: ' + (512 >>> 5)); >-} >- >- >-if (1024 >>> 5 !== 32) { >- testFailed('#171: 1024 >>> 5 === 32. Actual: ' + (1024 >>> 5)); >-} >- >- >-if (2048 >>> 5 !== 64) { >- testFailed('#172: 2048 >>> 5 === 64. Actual: ' + (2048 >>> 5)); >-} >- >- >-if (4096 >>> 5 !== 128) { >- testFailed('#173: 4096 >>> 5 === 128. Actual: ' + (4096 >>> 5)); >-} >- >- >-if (8192 >>> 5 !== 256) { >- testFailed('#174: 8192 >>> 5 === 256. Actual: ' + (8192 >>> 5)); >-} >- >- >-if (16384 >>> 5 !== 512) { >- testFailed('#175: 16384 >>> 5 === 512. Actual: ' + (16384 >>> 5)); >-} >- >- >-if (32768 >>> 5 !== 1024) { >- testFailed('#176: 32768 >>> 5 === 1024. Actual: ' + (32768 >>> 5)); >-} >- >- >-if (65536 >>> 5 !== 2048) { >- testFailed('#177: 65536 >>> 5 === 2048. Actual: ' + (65536 >>> 5)); >-} >- >- >-if (131072 >>> 5 !== 4096) { >- testFailed('#178: 131072 >>> 5 === 4096. Actual: ' + (131072 >>> 5)); >-} >- >- >-if (262144 >>> 5 !== 8192) { >- testFailed('#179: 262144 >>> 5 === 8192. Actual: ' + (262144 >>> 5)); >-} >- >- >-if (524288 >>> 5 !== 16384) { >- testFailed('#180: 524288 >>> 5 === 16384. Actual: ' + (524288 >>> 5)); >-} >- >- >-if (1048576 >>> 5 !== 32768) { >- testFailed('#181: 1048576 >>> 5 === 32768. Actual: ' + (1048576 >>> 5)); >-} >- >- >-if (2097152 >>> 5 !== 65536) { >- testFailed('#182: 2097152 >>> 5 === 65536. Actual: ' + (2097152 >>> 5)); >-} >- >- >-if (4194304 >>> 5 !== 131072) { >- testFailed('#183: 4194304 >>> 5 === 131072. Actual: ' + (4194304 >>> 5)); >-} >- >- >-if (8388608 >>> 5 !== 262144) { >- testFailed('#184: 8388608 >>> 5 === 262144. Actual: ' + (8388608 >>> 5)); >-} >- >- >-if (16777216 >>> 5 !== 524288) { >- testFailed('#185: 16777216 >>> 5 === 524288. Actual: ' + (16777216 >>> 5)); >-} >- >- >-if (33554432 >>> 5 !== 1048576) { >- testFailed('#186: 33554432 >>> 5 === 1048576. Actual: ' + (33554432 >>> 5)); >-} >- >- >-if (67108864 >>> 5 !== 2097152) { >- testFailed('#187: 67108864 >>> 5 === 2097152. Actual: ' + (67108864 >>> 5)); >-} >- >- >-if (134217728 >>> 5 !== 4194304) { >- testFailed('#188: 134217728 >>> 5 === 4194304. Actual: ' + (134217728 >>> 5)); >-} >- >- >-if (268435456 >>> 5 !== 8388608) { >- testFailed('#189: 268435456 >>> 5 === 8388608. Actual: ' + (268435456 >>> 5)); >-} >- >- >-if (536870912 >>> 5 !== 16777216) { >- testFailed('#190: 536870912 >>> 5 === 16777216. Actual: ' + (536870912 >>> 5)); >-} >- >- >-if (1073741824 >>> 5 !== 33554432) { >- testFailed('#191: 1073741824 >>> 5 === 33554432. Actual: ' + (1073741824 >>> 5)); >-} >- >- >-if (2147483648 >>> 5 !== 67108864) { >- testFailed('#192: 2147483648 >>> 5 === 67108864. Actual: ' + (2147483648 >>> 5)); >-} >- >- >-if (1 >>> 6 !== 0) { >- testFailed('#193: 1 >>> 6 === 0. Actual: ' + (1 >>> 6)); >-} >- >- >-if (2 >>> 6 !== 0) { >- testFailed('#194: 2 >>> 6 === 0. Actual: ' + (2 >>> 6)); >-} >- >- >-if (4 >>> 6 !== 0) { >- testFailed('#195: 4 >>> 6 === 0. Actual: ' + (4 >>> 6)); >-} >- >- >-if (8 >>> 6 !== 0) { >- testFailed('#196: 8 >>> 6 === 0. Actual: ' + (8 >>> 6)); >-} >- >- >-if (16 >>> 6 !== 0) { >- testFailed('#197: 16 >>> 6 === 0. Actual: ' + (16 >>> 6)); >-} >- >- >-if (32 >>> 6 !== 0) { >- testFailed('#198: 32 >>> 6 === 0. Actual: ' + (32 >>> 6)); >-} >- >- >-if (64 >>> 6 !== 1) { >- testFailed('#199: 64 >>> 6 === 1. Actual: ' + (64 >>> 6)); >-} >- >- >-if (128 >>> 6 !== 2) { >- testFailed('#200: 128 >>> 6 === 2. Actual: ' + (128 >>> 6)); >-} >- >- >-if (256 >>> 6 !== 4) { >- testFailed('#201: 256 >>> 6 === 4. Actual: ' + (256 >>> 6)); >-} >- >- >-if (512 >>> 6 !== 8) { >- testFailed('#202: 512 >>> 6 === 8. Actual: ' + (512 >>> 6)); >-} >- >- >-if (1024 >>> 6 !== 16) { >- testFailed('#203: 1024 >>> 6 === 16. Actual: ' + (1024 >>> 6)); >-} >- >- >-if (2048 >>> 6 !== 32) { >- testFailed('#204: 2048 >>> 6 === 32. Actual: ' + (2048 >>> 6)); >-} >- >- >-if (4096 >>> 6 !== 64) { >- testFailed('#205: 4096 >>> 6 === 64. Actual: ' + (4096 >>> 6)); >-} >- >- >-if (8192 >>> 6 !== 128) { >- testFailed('#206: 8192 >>> 6 === 128. Actual: ' + (8192 >>> 6)); >-} >- >- >-if (16384 >>> 6 !== 256) { >- testFailed('#207: 16384 >>> 6 === 256. Actual: ' + (16384 >>> 6)); >-} >- >- >-if (32768 >>> 6 !== 512) { >- testFailed('#208: 32768 >>> 6 === 512. Actual: ' + (32768 >>> 6)); >-} >- >- >-if (65536 >>> 6 !== 1024) { >- testFailed('#209: 65536 >>> 6 === 1024. Actual: ' + (65536 >>> 6)); >-} >- >- >-if (131072 >>> 6 !== 2048) { >- testFailed('#210: 131072 >>> 6 === 2048. Actual: ' + (131072 >>> 6)); >-} >- >- >-if (262144 >>> 6 !== 4096) { >- testFailed('#211: 262144 >>> 6 === 4096. Actual: ' + (262144 >>> 6)); >-} >- >- >-if (524288 >>> 6 !== 8192) { >- testFailed('#212: 524288 >>> 6 === 8192. Actual: ' + (524288 >>> 6)); >-} >- >- >-if (1048576 >>> 6 !== 16384) { >- testFailed('#213: 1048576 >>> 6 === 16384. Actual: ' + (1048576 >>> 6)); >-} >- >- >-if (2097152 >>> 6 !== 32768) { >- testFailed('#214: 2097152 >>> 6 === 32768. Actual: ' + (2097152 >>> 6)); >-} >- >- >-if (4194304 >>> 6 !== 65536) { >- testFailed('#215: 4194304 >>> 6 === 65536. Actual: ' + (4194304 >>> 6)); >-} >- >- >-if (8388608 >>> 6 !== 131072) { >- testFailed('#216: 8388608 >>> 6 === 131072. Actual: ' + (8388608 >>> 6)); >-} >- >- >-if (16777216 >>> 6 !== 262144) { >- testFailed('#217: 16777216 >>> 6 === 262144. Actual: ' + (16777216 >>> 6)); >-} >- >- >-if (33554432 >>> 6 !== 524288) { >- testFailed('#218: 33554432 >>> 6 === 524288. Actual: ' + (33554432 >>> 6)); >-} >- >- >-if (67108864 >>> 6 !== 1048576) { >- testFailed('#219: 67108864 >>> 6 === 1048576. Actual: ' + (67108864 >>> 6)); >-} >- >- >-if (134217728 >>> 6 !== 2097152) { >- testFailed('#220: 134217728 >>> 6 === 2097152. Actual: ' + (134217728 >>> 6)); >-} >- >- >-if (268435456 >>> 6 !== 4194304) { >- testFailed('#221: 268435456 >>> 6 === 4194304. Actual: ' + (268435456 >>> 6)); >-} >- >- >-if (536870912 >>> 6 !== 8388608) { >- testFailed('#222: 536870912 >>> 6 === 8388608. Actual: ' + (536870912 >>> 6)); >-} >- >- >-if (1073741824 >>> 6 !== 16777216) { >- testFailed('#223: 1073741824 >>> 6 === 16777216. Actual: ' + (1073741824 >>> 6)); >-} >- >- >-if (2147483648 >>> 6 !== 33554432) { >- testFailed('#224: 2147483648 >>> 6 === 33554432. Actual: ' + (2147483648 >>> 6)); >-} >- >- >-if (1 >>> 7 !== 0) { >- testFailed('#225: 1 >>> 7 === 0. Actual: ' + (1 >>> 7)); >-} >- >- >-if (2 >>> 7 !== 0) { >- testFailed('#226: 2 >>> 7 === 0. Actual: ' + (2 >>> 7)); >-} >- >- >-if (4 >>> 7 !== 0) { >- testFailed('#227: 4 >>> 7 === 0. Actual: ' + (4 >>> 7)); >-} >- >- >-if (8 >>> 7 !== 0) { >- testFailed('#228: 8 >>> 7 === 0. Actual: ' + (8 >>> 7)); >-} >- >- >-if (16 >>> 7 !== 0) { >- testFailed('#229: 16 >>> 7 === 0. Actual: ' + (16 >>> 7)); >-} >- >- >-if (32 >>> 7 !== 0) { >- testFailed('#230: 32 >>> 7 === 0. Actual: ' + (32 >>> 7)); >-} >- >- >-if (64 >>> 7 !== 0) { >- testFailed('#231: 64 >>> 7 === 0. Actual: ' + (64 >>> 7)); >-} >- >- >-if (128 >>> 7 !== 1) { >- testFailed('#232: 128 >>> 7 === 1. Actual: ' + (128 >>> 7)); >-} >- >- >-if (256 >>> 7 !== 2) { >- testFailed('#233: 256 >>> 7 === 2. Actual: ' + (256 >>> 7)); >-} >- >- >-if (512 >>> 7 !== 4) { >- testFailed('#234: 512 >>> 7 === 4. Actual: ' + (512 >>> 7)); >-} >- >- >-if (1024 >>> 7 !== 8) { >- testFailed('#235: 1024 >>> 7 === 8. Actual: ' + (1024 >>> 7)); >-} >- >- >-if (2048 >>> 7 !== 16) { >- testFailed('#236: 2048 >>> 7 === 16. Actual: ' + (2048 >>> 7)); >-} >- >- >-if (4096 >>> 7 !== 32) { >- testFailed('#237: 4096 >>> 7 === 32. Actual: ' + (4096 >>> 7)); >-} >- >- >-if (8192 >>> 7 !== 64) { >- testFailed('#238: 8192 >>> 7 === 64. Actual: ' + (8192 >>> 7)); >-} >- >- >-if (16384 >>> 7 !== 128) { >- testFailed('#239: 16384 >>> 7 === 128. Actual: ' + (16384 >>> 7)); >-} >- >- >-if (32768 >>> 7 !== 256) { >- testFailed('#240: 32768 >>> 7 === 256. Actual: ' + (32768 >>> 7)); >-} >- >- >-if (65536 >>> 7 !== 512) { >- testFailed('#241: 65536 >>> 7 === 512. Actual: ' + (65536 >>> 7)); >-} >- >- >-if (131072 >>> 7 !== 1024) { >- testFailed('#242: 131072 >>> 7 === 1024. Actual: ' + (131072 >>> 7)); >-} >- >- >-if (262144 >>> 7 !== 2048) { >- testFailed('#243: 262144 >>> 7 === 2048. Actual: ' + (262144 >>> 7)); >-} >- >- >-if (524288 >>> 7 !== 4096) { >- testFailed('#244: 524288 >>> 7 === 4096. Actual: ' + (524288 >>> 7)); >-} >- >- >-if (1048576 >>> 7 !== 8192) { >- testFailed('#245: 1048576 >>> 7 === 8192. Actual: ' + (1048576 >>> 7)); >-} >- >- >-if (2097152 >>> 7 !== 16384) { >- testFailed('#246: 2097152 >>> 7 === 16384. Actual: ' + (2097152 >>> 7)); >-} >- >- >-if (4194304 >>> 7 !== 32768) { >- testFailed('#247: 4194304 >>> 7 === 32768. Actual: ' + (4194304 >>> 7)); >-} >- >- >-if (8388608 >>> 7 !== 65536) { >- testFailed('#248: 8388608 >>> 7 === 65536. Actual: ' + (8388608 >>> 7)); >-} >- >- >-if (16777216 >>> 7 !== 131072) { >- testFailed('#249: 16777216 >>> 7 === 131072. Actual: ' + (16777216 >>> 7)); >-} >- >- >-if (33554432 >>> 7 !== 262144) { >- testFailed('#250: 33554432 >>> 7 === 262144. Actual: ' + (33554432 >>> 7)); >-} >- >- >-if (67108864 >>> 7 !== 524288) { >- testFailed('#251: 67108864 >>> 7 === 524288. Actual: ' + (67108864 >>> 7)); >-} >- >- >-if (134217728 >>> 7 !== 1048576) { >- testFailed('#252: 134217728 >>> 7 === 1048576. Actual: ' + (134217728 >>> 7)); >-} >- >- >-if (268435456 >>> 7 !== 2097152) { >- testFailed('#253: 268435456 >>> 7 === 2097152. Actual: ' + (268435456 >>> 7)); >-} >- >- >-if (536870912 >>> 7 !== 4194304) { >- testFailed('#254: 536870912 >>> 7 === 4194304. Actual: ' + (536870912 >>> 7)); >-} >- >- >-if (1073741824 >>> 7 !== 8388608) { >- testFailed('#255: 1073741824 >>> 7 === 8388608. Actual: ' + (1073741824 >>> 7)); >-} >- >- >-if (2147483648 >>> 7 !== 16777216) { >- testFailed('#256: 2147483648 >>> 7 === 16777216. Actual: ' + (2147483648 >>> 7)); >-} >- >- >-if (1 >>> 8 !== 0) { >- testFailed('#257: 1 >>> 8 === 0. Actual: ' + (1 >>> 8)); >-} >- >- >-if (2 >>> 8 !== 0) { >- testFailed('#258: 2 >>> 8 === 0. Actual: ' + (2 >>> 8)); >-} >- >- >-if (4 >>> 8 !== 0) { >- testFailed('#259: 4 >>> 8 === 0. Actual: ' + (4 >>> 8)); >-} >- >- >-if (8 >>> 8 !== 0) { >- testFailed('#260: 8 >>> 8 === 0. Actual: ' + (8 >>> 8)); >-} >- >- >-if (16 >>> 8 !== 0) { >- testFailed('#261: 16 >>> 8 === 0. Actual: ' + (16 >>> 8)); >-} >- >- >-if (32 >>> 8 !== 0) { >- testFailed('#262: 32 >>> 8 === 0. Actual: ' + (32 >>> 8)); >-} >- >- >-if (64 >>> 8 !== 0) { >- testFailed('#263: 64 >>> 8 === 0. Actual: ' + (64 >>> 8)); >-} >- >- >-if (128 >>> 8 !== 0) { >- testFailed('#264: 128 >>> 8 === 0. Actual: ' + (128 >>> 8)); >-} >- >- >-if (256 >>> 8 !== 1) { >- testFailed('#265: 256 >>> 8 === 1. Actual: ' + (256 >>> 8)); >-} >- >- >-if (512 >>> 8 !== 2) { >- testFailed('#266: 512 >>> 8 === 2. Actual: ' + (512 >>> 8)); >-} >- >- >-if (1024 >>> 8 !== 4) { >- testFailed('#267: 1024 >>> 8 === 4. Actual: ' + (1024 >>> 8)); >-} >- >- >-if (2048 >>> 8 !== 8) { >- testFailed('#268: 2048 >>> 8 === 8. Actual: ' + (2048 >>> 8)); >-} >- >- >-if (4096 >>> 8 !== 16) { >- testFailed('#269: 4096 >>> 8 === 16. Actual: ' + (4096 >>> 8)); >-} >- >- >-if (8192 >>> 8 !== 32) { >- testFailed('#270: 8192 >>> 8 === 32. Actual: ' + (8192 >>> 8)); >-} >- >- >-if (16384 >>> 8 !== 64) { >- testFailed('#271: 16384 >>> 8 === 64. Actual: ' + (16384 >>> 8)); >-} >- >- >-if (32768 >>> 8 !== 128) { >- testFailed('#272: 32768 >>> 8 === 128. Actual: ' + (32768 >>> 8)); >-} >- >- >-if (65536 >>> 8 !== 256) { >- testFailed('#273: 65536 >>> 8 === 256. Actual: ' + (65536 >>> 8)); >-} >- >- >-if (131072 >>> 8 !== 512) { >- testFailed('#274: 131072 >>> 8 === 512. Actual: ' + (131072 >>> 8)); >-} >- >- >-if (262144 >>> 8 !== 1024) { >- testFailed('#275: 262144 >>> 8 === 1024. Actual: ' + (262144 >>> 8)); >-} >- >- >-if (524288 >>> 8 !== 2048) { >- testFailed('#276: 524288 >>> 8 === 2048. Actual: ' + (524288 >>> 8)); >-} >- >- >-if (1048576 >>> 8 !== 4096) { >- testFailed('#277: 1048576 >>> 8 === 4096. Actual: ' + (1048576 >>> 8)); >-} >- >- >-if (2097152 >>> 8 !== 8192) { >- testFailed('#278: 2097152 >>> 8 === 8192. Actual: ' + (2097152 >>> 8)); >-} >- >- >-if (4194304 >>> 8 !== 16384) { >- testFailed('#279: 4194304 >>> 8 === 16384. Actual: ' + (4194304 >>> 8)); >-} >- >- >-if (8388608 >>> 8 !== 32768) { >- testFailed('#280: 8388608 >>> 8 === 32768. Actual: ' + (8388608 >>> 8)); >-} >- >- >-if (16777216 >>> 8 !== 65536) { >- testFailed('#281: 16777216 >>> 8 === 65536. Actual: ' + (16777216 >>> 8)); >-} >- >- >-if (33554432 >>> 8 !== 131072) { >- testFailed('#282: 33554432 >>> 8 === 131072. Actual: ' + (33554432 >>> 8)); >-} >- >- >-if (67108864 >>> 8 !== 262144) { >- testFailed('#283: 67108864 >>> 8 === 262144. Actual: ' + (67108864 >>> 8)); >-} >- >- >-if (134217728 >>> 8 !== 524288) { >- testFailed('#284: 134217728 >>> 8 === 524288. Actual: ' + (134217728 >>> 8)); >-} >- >- >-if (268435456 >>> 8 !== 1048576) { >- testFailed('#285: 268435456 >>> 8 === 1048576. Actual: ' + (268435456 >>> 8)); >-} >- >- >-if (536870912 >>> 8 !== 2097152) { >- testFailed('#286: 536870912 >>> 8 === 2097152. Actual: ' + (536870912 >>> 8)); >-} >- >- >-if (1073741824 >>> 8 !== 4194304) { >- testFailed('#287: 1073741824 >>> 8 === 4194304. Actual: ' + (1073741824 >>> 8)); >-} >- >- >-if (2147483648 >>> 8 !== 8388608) { >- testFailed('#288: 2147483648 >>> 8 === 8388608. Actual: ' + (2147483648 >>> 8)); >-} >- >- >-if (1 >>> 9 !== 0) { >- testFailed('#289: 1 >>> 9 === 0. Actual: ' + (1 >>> 9)); >-} >- >- >-if (2 >>> 9 !== 0) { >- testFailed('#290: 2 >>> 9 === 0. Actual: ' + (2 >>> 9)); >-} >- >- >-if (4 >>> 9 !== 0) { >- testFailed('#291: 4 >>> 9 === 0. Actual: ' + (4 >>> 9)); >-} >- >- >-if (8 >>> 9 !== 0) { >- testFailed('#292: 8 >>> 9 === 0. Actual: ' + (8 >>> 9)); >-} >- >- >-if (16 >>> 9 !== 0) { >- testFailed('#293: 16 >>> 9 === 0. Actual: ' + (16 >>> 9)); >-} >- >- >-if (32 >>> 9 !== 0) { >- testFailed('#294: 32 >>> 9 === 0. Actual: ' + (32 >>> 9)); >-} >- >- >-if (64 >>> 9 !== 0) { >- testFailed('#295: 64 >>> 9 === 0. Actual: ' + (64 >>> 9)); >-} >- >- >-if (128 >>> 9 !== 0) { >- testFailed('#296: 128 >>> 9 === 0. Actual: ' + (128 >>> 9)); >-} >- >- >-if (256 >>> 9 !== 0) { >- testFailed('#297: 256 >>> 9 === 0. Actual: ' + (256 >>> 9)); >-} >- >- >-if (512 >>> 9 !== 1) { >- testFailed('#298: 512 >>> 9 === 1. Actual: ' + (512 >>> 9)); >-} >- >- >-if (1024 >>> 9 !== 2) { >- testFailed('#299: 1024 >>> 9 === 2. Actual: ' + (1024 >>> 9)); >-} >- >- >-if (2048 >>> 9 !== 4) { >- testFailed('#300: 2048 >>> 9 === 4. Actual: ' + (2048 >>> 9)); >-} >- >- >-if (4096 >>> 9 !== 8) { >- testFailed('#301: 4096 >>> 9 === 8. Actual: ' + (4096 >>> 9)); >-} >- >- >-if (8192 >>> 9 !== 16) { >- testFailed('#302: 8192 >>> 9 === 16. Actual: ' + (8192 >>> 9)); >-} >- >- >-if (16384 >>> 9 !== 32) { >- testFailed('#303: 16384 >>> 9 === 32. Actual: ' + (16384 >>> 9)); >-} >- >- >-if (32768 >>> 9 !== 64) { >- testFailed('#304: 32768 >>> 9 === 64. Actual: ' + (32768 >>> 9)); >-} >- >- >-if (65536 >>> 9 !== 128) { >- testFailed('#305: 65536 >>> 9 === 128. Actual: ' + (65536 >>> 9)); >-} >- >- >-if (131072 >>> 9 !== 256) { >- testFailed('#306: 131072 >>> 9 === 256. Actual: ' + (131072 >>> 9)); >-} >- >- >-if (262144 >>> 9 !== 512) { >- testFailed('#307: 262144 >>> 9 === 512. Actual: ' + (262144 >>> 9)); >-} >- >- >-if (524288 >>> 9 !== 1024) { >- testFailed('#308: 524288 >>> 9 === 1024. Actual: ' + (524288 >>> 9)); >-} >- >- >-if (1048576 >>> 9 !== 2048) { >- testFailed('#309: 1048576 >>> 9 === 2048. Actual: ' + (1048576 >>> 9)); >-} >- >- >-if (2097152 >>> 9 !== 4096) { >- testFailed('#310: 2097152 >>> 9 === 4096. Actual: ' + (2097152 >>> 9)); >-} >- >- >-if (4194304 >>> 9 !== 8192) { >- testFailed('#311: 4194304 >>> 9 === 8192. Actual: ' + (4194304 >>> 9)); >-} >- >- >-if (8388608 >>> 9 !== 16384) { >- testFailed('#312: 8388608 >>> 9 === 16384. Actual: ' + (8388608 >>> 9)); >-} >- >- >-if (16777216 >>> 9 !== 32768) { >- testFailed('#313: 16777216 >>> 9 === 32768. Actual: ' + (16777216 >>> 9)); >-} >- >- >-if (33554432 >>> 9 !== 65536) { >- testFailed('#314: 33554432 >>> 9 === 65536. Actual: ' + (33554432 >>> 9)); >-} >- >- >-if (67108864 >>> 9 !== 131072) { >- testFailed('#315: 67108864 >>> 9 === 131072. Actual: ' + (67108864 >>> 9)); >-} >- >- >-if (134217728 >>> 9 !== 262144) { >- testFailed('#316: 134217728 >>> 9 === 262144. Actual: ' + (134217728 >>> 9)); >-} >- >- >-if (268435456 >>> 9 !== 524288) { >- testFailed('#317: 268435456 >>> 9 === 524288. Actual: ' + (268435456 >>> 9)); >-} >- >- >-if (536870912 >>> 9 !== 1048576) { >- testFailed('#318: 536870912 >>> 9 === 1048576. Actual: ' + (536870912 >>> 9)); >-} >- >- >-if (1073741824 >>> 9 !== 2097152) { >- testFailed('#319: 1073741824 >>> 9 === 2097152. Actual: ' + (1073741824 >>> 9)); >-} >- >- >-if (2147483648 >>> 9 !== 4194304) { >- testFailed('#320: 2147483648 >>> 9 === 4194304. Actual: ' + (2147483648 >>> 9)); >-} >- >- >-if (1 >>> 10 !== 0) { >- testFailed('#321: 1 >>> 10 === 0. Actual: ' + (1 >>> 10)); >-} >- >- >-if (2 >>> 10 !== 0) { >- testFailed('#322: 2 >>> 10 === 0. Actual: ' + (2 >>> 10)); >-} >- >- >-if (4 >>> 10 !== 0) { >- testFailed('#323: 4 >>> 10 === 0. Actual: ' + (4 >>> 10)); >-} >- >- >-if (8 >>> 10 !== 0) { >- testFailed('#324: 8 >>> 10 === 0. Actual: ' + (8 >>> 10)); >-} >- >- >-if (16 >>> 10 !== 0) { >- testFailed('#325: 16 >>> 10 === 0. Actual: ' + (16 >>> 10)); >-} >- >- >-if (32 >>> 10 !== 0) { >- testFailed('#326: 32 >>> 10 === 0. Actual: ' + (32 >>> 10)); >-} >- >- >-if (64 >>> 10 !== 0) { >- testFailed('#327: 64 >>> 10 === 0. Actual: ' + (64 >>> 10)); >-} >- >- >-if (128 >>> 10 !== 0) { >- testFailed('#328: 128 >>> 10 === 0. Actual: ' + (128 >>> 10)); >-} >- >- >-if (256 >>> 10 !== 0) { >- testFailed('#329: 256 >>> 10 === 0. Actual: ' + (256 >>> 10)); >-} >- >- >-if (512 >>> 10 !== 0) { >- testFailed('#330: 512 >>> 10 === 0. Actual: ' + (512 >>> 10)); >-} >- >- >-if (1024 >>> 10 !== 1) { >- testFailed('#331: 1024 >>> 10 === 1. Actual: ' + (1024 >>> 10)); >-} >- >- >-if (2048 >>> 10 !== 2) { >- testFailed('#332: 2048 >>> 10 === 2. Actual: ' + (2048 >>> 10)); >-} >- >- >-if (4096 >>> 10 !== 4) { >- testFailed('#333: 4096 >>> 10 === 4. Actual: ' + (4096 >>> 10)); >-} >- >- >-if (8192 >>> 10 !== 8) { >- testFailed('#334: 8192 >>> 10 === 8. Actual: ' + (8192 >>> 10)); >-} >- >- >-if (16384 >>> 10 !== 16) { >- testFailed('#335: 16384 >>> 10 === 16. Actual: ' + (16384 >>> 10)); >-} >- >- >-if (32768 >>> 10 !== 32) { >- testFailed('#336: 32768 >>> 10 === 32. Actual: ' + (32768 >>> 10)); >-} >- >- >-if (65536 >>> 10 !== 64) { >- testFailed('#337: 65536 >>> 10 === 64. Actual: ' + (65536 >>> 10)); >-} >- >- >-if (131072 >>> 10 !== 128) { >- testFailed('#338: 131072 >>> 10 === 128. Actual: ' + (131072 >>> 10)); >-} >- >- >-if (262144 >>> 10 !== 256) { >- testFailed('#339: 262144 >>> 10 === 256. Actual: ' + (262144 >>> 10)); >-} >- >- >-if (524288 >>> 10 !== 512) { >- testFailed('#340: 524288 >>> 10 === 512. Actual: ' + (524288 >>> 10)); >-} >- >- >-if (1048576 >>> 10 !== 1024) { >- testFailed('#341: 1048576 >>> 10 === 1024. Actual: ' + (1048576 >>> 10)); >-} >- >- >-if (2097152 >>> 10 !== 2048) { >- testFailed('#342: 2097152 >>> 10 === 2048. Actual: ' + (2097152 >>> 10)); >-} >- >- >-if (4194304 >>> 10 !== 4096) { >- testFailed('#343: 4194304 >>> 10 === 4096. Actual: ' + (4194304 >>> 10)); >-} >- >- >-if (8388608 >>> 10 !== 8192) { >- testFailed('#344: 8388608 >>> 10 === 8192. Actual: ' + (8388608 >>> 10)); >-} >- >- >-if (16777216 >>> 10 !== 16384) { >- testFailed('#345: 16777216 >>> 10 === 16384. Actual: ' + (16777216 >>> 10)); >-} >- >- >-if (33554432 >>> 10 !== 32768) { >- testFailed('#346: 33554432 >>> 10 === 32768. Actual: ' + (33554432 >>> 10)); >-} >- >- >-if (67108864 >>> 10 !== 65536) { >- testFailed('#347: 67108864 >>> 10 === 65536. Actual: ' + (67108864 >>> 10)); >-} >- >- >-if (134217728 >>> 10 !== 131072) { >- testFailed('#348: 134217728 >>> 10 === 131072. Actual: ' + (134217728 >>> 10)); >-} >- >- >-if (268435456 >>> 10 !== 262144) { >- testFailed('#349: 268435456 >>> 10 === 262144. Actual: ' + (268435456 >>> 10)); >-} >- >- >-if (536870912 >>> 10 !== 524288) { >- testFailed('#350: 536870912 >>> 10 === 524288. Actual: ' + (536870912 >>> 10)); >-} >- >- >-if (1073741824 >>> 10 !== 1048576) { >- testFailed('#351: 1073741824 >>> 10 === 1048576. Actual: ' + (1073741824 >>> 10)); >-} >- >- >-if (2147483648 >>> 10 !== 2097152) { >- testFailed('#352: 2147483648 >>> 10 === 2097152. Actual: ' + (2147483648 >>> 10)); >-} >- >- >-if (1 >>> 11 !== 0) { >- testFailed('#353: 1 >>> 11 === 0. Actual: ' + (1 >>> 11)); >-} >- >- >-if (2 >>> 11 !== 0) { >- testFailed('#354: 2 >>> 11 === 0. Actual: ' + (2 >>> 11)); >-} >- >- >-if (4 >>> 11 !== 0) { >- testFailed('#355: 4 >>> 11 === 0. Actual: ' + (4 >>> 11)); >-} >- >- >-if (8 >>> 11 !== 0) { >- testFailed('#356: 8 >>> 11 === 0. Actual: ' + (8 >>> 11)); >-} >- >- >-if (16 >>> 11 !== 0) { >- testFailed('#357: 16 >>> 11 === 0. Actual: ' + (16 >>> 11)); >-} >- >- >-if (32 >>> 11 !== 0) { >- testFailed('#358: 32 >>> 11 === 0. Actual: ' + (32 >>> 11)); >-} >- >- >-if (64 >>> 11 !== 0) { >- testFailed('#359: 64 >>> 11 === 0. Actual: ' + (64 >>> 11)); >-} >- >- >-if (128 >>> 11 !== 0) { >- testFailed('#360: 128 >>> 11 === 0. Actual: ' + (128 >>> 11)); >-} >- >- >-if (256 >>> 11 !== 0) { >- testFailed('#361: 256 >>> 11 === 0. Actual: ' + (256 >>> 11)); >-} >- >- >-if (512 >>> 11 !== 0) { >- testFailed('#362: 512 >>> 11 === 0. Actual: ' + (512 >>> 11)); >-} >- >- >-if (1024 >>> 11 !== 0) { >- testFailed('#363: 1024 >>> 11 === 0. Actual: ' + (1024 >>> 11)); >-} >- >- >-if (2048 >>> 11 !== 1) { >- testFailed('#364: 2048 >>> 11 === 1. Actual: ' + (2048 >>> 11)); >-} >- >- >-if (4096 >>> 11 !== 2) { >- testFailed('#365: 4096 >>> 11 === 2. Actual: ' + (4096 >>> 11)); >-} >- >- >-if (8192 >>> 11 !== 4) { >- testFailed('#366: 8192 >>> 11 === 4. Actual: ' + (8192 >>> 11)); >-} >- >- >-if (16384 >>> 11 !== 8) { >- testFailed('#367: 16384 >>> 11 === 8. Actual: ' + (16384 >>> 11)); >-} >- >- >-if (32768 >>> 11 !== 16) { >- testFailed('#368: 32768 >>> 11 === 16. Actual: ' + (32768 >>> 11)); >-} >- >- >-if (65536 >>> 11 !== 32) { >- testFailed('#369: 65536 >>> 11 === 32. Actual: ' + (65536 >>> 11)); >-} >- >- >-if (131072 >>> 11 !== 64) { >- testFailed('#370: 131072 >>> 11 === 64. Actual: ' + (131072 >>> 11)); >-} >- >- >-if (262144 >>> 11 !== 128) { >- testFailed('#371: 262144 >>> 11 === 128. Actual: ' + (262144 >>> 11)); >-} >- >- >-if (524288 >>> 11 !== 256) { >- testFailed('#372: 524288 >>> 11 === 256. Actual: ' + (524288 >>> 11)); >-} >- >- >-if (1048576 >>> 11 !== 512) { >- testFailed('#373: 1048576 >>> 11 === 512. Actual: ' + (1048576 >>> 11)); >-} >- >- >-if (2097152 >>> 11 !== 1024) { >- testFailed('#374: 2097152 >>> 11 === 1024. Actual: ' + (2097152 >>> 11)); >-} >- >- >-if (4194304 >>> 11 !== 2048) { >- testFailed('#375: 4194304 >>> 11 === 2048. Actual: ' + (4194304 >>> 11)); >-} >- >- >-if (8388608 >>> 11 !== 4096) { >- testFailed('#376: 8388608 >>> 11 === 4096. Actual: ' + (8388608 >>> 11)); >-} >- >- >-if (16777216 >>> 11 !== 8192) { >- testFailed('#377: 16777216 >>> 11 === 8192. Actual: ' + (16777216 >>> 11)); >-} >- >- >-if (33554432 >>> 11 !== 16384) { >- testFailed('#378: 33554432 >>> 11 === 16384. Actual: ' + (33554432 >>> 11)); >-} >- >- >-if (67108864 >>> 11 !== 32768) { >- testFailed('#379: 67108864 >>> 11 === 32768. Actual: ' + (67108864 >>> 11)); >-} >- >- >-if (134217728 >>> 11 !== 65536) { >- testFailed('#380: 134217728 >>> 11 === 65536. Actual: ' + (134217728 >>> 11)); >-} >- >- >-if (268435456 >>> 11 !== 131072) { >- testFailed('#381: 268435456 >>> 11 === 131072. Actual: ' + (268435456 >>> 11)); >-} >- >- >-if (536870912 >>> 11 !== 262144) { >- testFailed('#382: 536870912 >>> 11 === 262144. Actual: ' + (536870912 >>> 11)); >-} >- >- >-if (1073741824 >>> 11 !== 524288) { >- testFailed('#383: 1073741824 >>> 11 === 524288. Actual: ' + (1073741824 >>> 11)); >-} >- >- >-if (2147483648 >>> 11 !== 1048576) { >- testFailed('#384: 2147483648 >>> 11 === 1048576. Actual: ' + (2147483648 >>> 11)); >-} >- >- >-if (1 >>> 12 !== 0) { >- testFailed('#385: 1 >>> 12 === 0. Actual: ' + (1 >>> 12)); >-} >- >- >-if (2 >>> 12 !== 0) { >- testFailed('#386: 2 >>> 12 === 0. Actual: ' + (2 >>> 12)); >-} >- >- >-if (4 >>> 12 !== 0) { >- testFailed('#387: 4 >>> 12 === 0. Actual: ' + (4 >>> 12)); >-} >- >- >-if (8 >>> 12 !== 0) { >- testFailed('#388: 8 >>> 12 === 0. Actual: ' + (8 >>> 12)); >-} >- >- >-if (16 >>> 12 !== 0) { >- testFailed('#389: 16 >>> 12 === 0. Actual: ' + (16 >>> 12)); >-} >- >- >-if (32 >>> 12 !== 0) { >- testFailed('#390: 32 >>> 12 === 0. Actual: ' + (32 >>> 12)); >-} >- >- >-if (64 >>> 12 !== 0) { >- testFailed('#391: 64 >>> 12 === 0. Actual: ' + (64 >>> 12)); >-} >- >- >-if (128 >>> 12 !== 0) { >- testFailed('#392: 128 >>> 12 === 0. Actual: ' + (128 >>> 12)); >-} >- >- >-if (256 >>> 12 !== 0) { >- testFailed('#393: 256 >>> 12 === 0. Actual: ' + (256 >>> 12)); >-} >- >- >-if (512 >>> 12 !== 0) { >- testFailed('#394: 512 >>> 12 === 0. Actual: ' + (512 >>> 12)); >-} >- >- >-if (1024 >>> 12 !== 0) { >- testFailed('#395: 1024 >>> 12 === 0. Actual: ' + (1024 >>> 12)); >-} >- >- >-if (2048 >>> 12 !== 0) { >- testFailed('#396: 2048 >>> 12 === 0. Actual: ' + (2048 >>> 12)); >-} >- >- >-if (4096 >>> 12 !== 1) { >- testFailed('#397: 4096 >>> 12 === 1. Actual: ' + (4096 >>> 12)); >-} >- >- >-if (8192 >>> 12 !== 2) { >- testFailed('#398: 8192 >>> 12 === 2. Actual: ' + (8192 >>> 12)); >-} >- >- >-if (16384 >>> 12 !== 4) { >- testFailed('#399: 16384 >>> 12 === 4. Actual: ' + (16384 >>> 12)); >-} >- >- >-if (32768 >>> 12 !== 8) { >- testFailed('#400: 32768 >>> 12 === 8. Actual: ' + (32768 >>> 12)); >-} >- >- >-if (65536 >>> 12 !== 16) { >- testFailed('#401: 65536 >>> 12 === 16. Actual: ' + (65536 >>> 12)); >-} >- >- >-if (131072 >>> 12 !== 32) { >- testFailed('#402: 131072 >>> 12 === 32. Actual: ' + (131072 >>> 12)); >-} >- >- >-if (262144 >>> 12 !== 64) { >- testFailed('#403: 262144 >>> 12 === 64. Actual: ' + (262144 >>> 12)); >-} >- >- >-if (524288 >>> 12 !== 128) { >- testFailed('#404: 524288 >>> 12 === 128. Actual: ' + (524288 >>> 12)); >-} >- >- >-if (1048576 >>> 12 !== 256) { >- testFailed('#405: 1048576 >>> 12 === 256. Actual: ' + (1048576 >>> 12)); >-} >- >- >-if (2097152 >>> 12 !== 512) { >- testFailed('#406: 2097152 >>> 12 === 512. Actual: ' + (2097152 >>> 12)); >-} >- >- >-if (4194304 >>> 12 !== 1024) { >- testFailed('#407: 4194304 >>> 12 === 1024. Actual: ' + (4194304 >>> 12)); >-} >- >- >-if (8388608 >>> 12 !== 2048) { >- testFailed('#408: 8388608 >>> 12 === 2048. Actual: ' + (8388608 >>> 12)); >-} >- >- >-if (16777216 >>> 12 !== 4096) { >- testFailed('#409: 16777216 >>> 12 === 4096. Actual: ' + (16777216 >>> 12)); >-} >- >- >-if (33554432 >>> 12 !== 8192) { >- testFailed('#410: 33554432 >>> 12 === 8192. Actual: ' + (33554432 >>> 12)); >-} >- >- >-if (67108864 >>> 12 !== 16384) { >- testFailed('#411: 67108864 >>> 12 === 16384. Actual: ' + (67108864 >>> 12)); >-} >- >- >-if (134217728 >>> 12 !== 32768) { >- testFailed('#412: 134217728 >>> 12 === 32768. Actual: ' + (134217728 >>> 12)); >-} >- >- >-if (268435456 >>> 12 !== 65536) { >- testFailed('#413: 268435456 >>> 12 === 65536. Actual: ' + (268435456 >>> 12)); >-} >- >- >-if (536870912 >>> 12 !== 131072) { >- testFailed('#414: 536870912 >>> 12 === 131072. Actual: ' + (536870912 >>> 12)); >-} >- >- >-if (1073741824 >>> 12 !== 262144) { >- testFailed('#415: 1073741824 >>> 12 === 262144. Actual: ' + (1073741824 >>> 12)); >-} >- >- >-if (2147483648 >>> 12 !== 524288) { >- testFailed('#416: 2147483648 >>> 12 === 524288. Actual: ' + (2147483648 >>> 12)); >-} >- >- >-if (1 >>> 13 !== 0) { >- testFailed('#417: 1 >>> 13 === 0. Actual: ' + (1 >>> 13)); >-} >- >- >-if (2 >>> 13 !== 0) { >- testFailed('#418: 2 >>> 13 === 0. Actual: ' + (2 >>> 13)); >-} >- >- >-if (4 >>> 13 !== 0) { >- testFailed('#419: 4 >>> 13 === 0. Actual: ' + (4 >>> 13)); >-} >- >- >-if (8 >>> 13 !== 0) { >- testFailed('#420: 8 >>> 13 === 0. Actual: ' + (8 >>> 13)); >-} >- >- >-if (16 >>> 13 !== 0) { >- testFailed('#421: 16 >>> 13 === 0. Actual: ' + (16 >>> 13)); >-} >- >- >-if (32 >>> 13 !== 0) { >- testFailed('#422: 32 >>> 13 === 0. Actual: ' + (32 >>> 13)); >-} >- >- >-if (64 >>> 13 !== 0) { >- testFailed('#423: 64 >>> 13 === 0. Actual: ' + (64 >>> 13)); >-} >- >- >-if (128 >>> 13 !== 0) { >- testFailed('#424: 128 >>> 13 === 0. Actual: ' + (128 >>> 13)); >-} >- >- >-if (256 >>> 13 !== 0) { >- testFailed('#425: 256 >>> 13 === 0. Actual: ' + (256 >>> 13)); >-} >- >- >-if (512 >>> 13 !== 0) { >- testFailed('#426: 512 >>> 13 === 0. Actual: ' + (512 >>> 13)); >-} >- >- >-if (1024 >>> 13 !== 0) { >- testFailed('#427: 1024 >>> 13 === 0. Actual: ' + (1024 >>> 13)); >-} >- >- >-if (2048 >>> 13 !== 0) { >- testFailed('#428: 2048 >>> 13 === 0. Actual: ' + (2048 >>> 13)); >-} >- >- >-if (4096 >>> 13 !== 0) { >- testFailed('#429: 4096 >>> 13 === 0. Actual: ' + (4096 >>> 13)); >-} >- >- >-if (8192 >>> 13 !== 1) { >- testFailed('#430: 8192 >>> 13 === 1. Actual: ' + (8192 >>> 13)); >-} >- >- >-if (16384 >>> 13 !== 2) { >- testFailed('#431: 16384 >>> 13 === 2. Actual: ' + (16384 >>> 13)); >-} >- >- >-if (32768 >>> 13 !== 4) { >- testFailed('#432: 32768 >>> 13 === 4. Actual: ' + (32768 >>> 13)); >-} >- >- >-if (65536 >>> 13 !== 8) { >- testFailed('#433: 65536 >>> 13 === 8. Actual: ' + (65536 >>> 13)); >-} >- >- >-if (131072 >>> 13 !== 16) { >- testFailed('#434: 131072 >>> 13 === 16. Actual: ' + (131072 >>> 13)); >-} >- >- >-if (262144 >>> 13 !== 32) { >- testFailed('#435: 262144 >>> 13 === 32. Actual: ' + (262144 >>> 13)); >-} >- >- >-if (524288 >>> 13 !== 64) { >- testFailed('#436: 524288 >>> 13 === 64. Actual: ' + (524288 >>> 13)); >-} >- >- >-if (1048576 >>> 13 !== 128) { >- testFailed('#437: 1048576 >>> 13 === 128. Actual: ' + (1048576 >>> 13)); >-} >- >- >-if (2097152 >>> 13 !== 256) { >- testFailed('#438: 2097152 >>> 13 === 256. Actual: ' + (2097152 >>> 13)); >-} >- >- >-if (4194304 >>> 13 !== 512) { >- testFailed('#439: 4194304 >>> 13 === 512. Actual: ' + (4194304 >>> 13)); >-} >- >- >-if (8388608 >>> 13 !== 1024) { >- testFailed('#440: 8388608 >>> 13 === 1024. Actual: ' + (8388608 >>> 13)); >-} >- >- >-if (16777216 >>> 13 !== 2048) { >- testFailed('#441: 16777216 >>> 13 === 2048. Actual: ' + (16777216 >>> 13)); >-} >- >- >-if (33554432 >>> 13 !== 4096) { >- testFailed('#442: 33554432 >>> 13 === 4096. Actual: ' + (33554432 >>> 13)); >-} >- >- >-if (67108864 >>> 13 !== 8192) { >- testFailed('#443: 67108864 >>> 13 === 8192. Actual: ' + (67108864 >>> 13)); >-} >- >- >-if (134217728 >>> 13 !== 16384) { >- testFailed('#444: 134217728 >>> 13 === 16384. Actual: ' + (134217728 >>> 13)); >-} >- >- >-if (268435456 >>> 13 !== 32768) { >- testFailed('#445: 268435456 >>> 13 === 32768. Actual: ' + (268435456 >>> 13)); >-} >- >- >-if (536870912 >>> 13 !== 65536) { >- testFailed('#446: 536870912 >>> 13 === 65536. Actual: ' + (536870912 >>> 13)); >-} >- >- >-if (1073741824 >>> 13 !== 131072) { >- testFailed('#447: 1073741824 >>> 13 === 131072. Actual: ' + (1073741824 >>> 13)); >-} >- >- >-if (2147483648 >>> 13 !== 262144) { >- testFailed('#448: 2147483648 >>> 13 === 262144. Actual: ' + (2147483648 >>> 13)); >-} >- >- >-if (1 >>> 14 !== 0) { >- testFailed('#449: 1 >>> 14 === 0. Actual: ' + (1 >>> 14)); >-} >- >- >-if (2 >>> 14 !== 0) { >- testFailed('#450: 2 >>> 14 === 0. Actual: ' + (2 >>> 14)); >-} >- >- >-if (4 >>> 14 !== 0) { >- testFailed('#451: 4 >>> 14 === 0. Actual: ' + (4 >>> 14)); >-} >- >- >-if (8 >>> 14 !== 0) { >- testFailed('#452: 8 >>> 14 === 0. Actual: ' + (8 >>> 14)); >-} >- >- >-if (16 >>> 14 !== 0) { >- testFailed('#453: 16 >>> 14 === 0. Actual: ' + (16 >>> 14)); >-} >- >- >-if (32 >>> 14 !== 0) { >- testFailed('#454: 32 >>> 14 === 0. Actual: ' + (32 >>> 14)); >-} >- >- >-if (64 >>> 14 !== 0) { >- testFailed('#455: 64 >>> 14 === 0. Actual: ' + (64 >>> 14)); >-} >- >- >-if (128 >>> 14 !== 0) { >- testFailed('#456: 128 >>> 14 === 0. Actual: ' + (128 >>> 14)); >-} >- >- >-if (256 >>> 14 !== 0) { >- testFailed('#457: 256 >>> 14 === 0. Actual: ' + (256 >>> 14)); >-} >- >- >-if (512 >>> 14 !== 0) { >- testFailed('#458: 512 >>> 14 === 0. Actual: ' + (512 >>> 14)); >-} >- >- >-if (1024 >>> 14 !== 0) { >- testFailed('#459: 1024 >>> 14 === 0. Actual: ' + (1024 >>> 14)); >-} >- >- >-if (2048 >>> 14 !== 0) { >- testFailed('#460: 2048 >>> 14 === 0. Actual: ' + (2048 >>> 14)); >-} >- >- >-if (4096 >>> 14 !== 0) { >- testFailed('#461: 4096 >>> 14 === 0. Actual: ' + (4096 >>> 14)); >-} >- >- >-if (8192 >>> 14 !== 0) { >- testFailed('#462: 8192 >>> 14 === 0. Actual: ' + (8192 >>> 14)); >-} >- >- >-if (16384 >>> 14 !== 1) { >- testFailed('#463: 16384 >>> 14 === 1. Actual: ' + (16384 >>> 14)); >-} >- >- >-if (32768 >>> 14 !== 2) { >- testFailed('#464: 32768 >>> 14 === 2. Actual: ' + (32768 >>> 14)); >-} >- >- >-if (65536 >>> 14 !== 4) { >- testFailed('#465: 65536 >>> 14 === 4. Actual: ' + (65536 >>> 14)); >-} >- >- >-if (131072 >>> 14 !== 8) { >- testFailed('#466: 131072 >>> 14 === 8. Actual: ' + (131072 >>> 14)); >-} >- >- >-if (262144 >>> 14 !== 16) { >- testFailed('#467: 262144 >>> 14 === 16. Actual: ' + (262144 >>> 14)); >-} >- >- >-if (524288 >>> 14 !== 32) { >- testFailed('#468: 524288 >>> 14 === 32. Actual: ' + (524288 >>> 14)); >-} >- >- >-if (1048576 >>> 14 !== 64) { >- testFailed('#469: 1048576 >>> 14 === 64. Actual: ' + (1048576 >>> 14)); >-} >- >- >-if (2097152 >>> 14 !== 128) { >- testFailed('#470: 2097152 >>> 14 === 128. Actual: ' + (2097152 >>> 14)); >-} >- >- >-if (4194304 >>> 14 !== 256) { >- testFailed('#471: 4194304 >>> 14 === 256. Actual: ' + (4194304 >>> 14)); >-} >- >- >-if (8388608 >>> 14 !== 512) { >- testFailed('#472: 8388608 >>> 14 === 512. Actual: ' + (8388608 >>> 14)); >-} >- >- >-if (16777216 >>> 14 !== 1024) { >- testFailed('#473: 16777216 >>> 14 === 1024. Actual: ' + (16777216 >>> 14)); >-} >- >- >-if (33554432 >>> 14 !== 2048) { >- testFailed('#474: 33554432 >>> 14 === 2048. Actual: ' + (33554432 >>> 14)); >-} >- >- >-if (67108864 >>> 14 !== 4096) { >- testFailed('#475: 67108864 >>> 14 === 4096. Actual: ' + (67108864 >>> 14)); >-} >- >- >-if (134217728 >>> 14 !== 8192) { >- testFailed('#476: 134217728 >>> 14 === 8192. Actual: ' + (134217728 >>> 14)); >-} >- >- >-if (268435456 >>> 14 !== 16384) { >- testFailed('#477: 268435456 >>> 14 === 16384. Actual: ' + (268435456 >>> 14)); >-} >- >- >-if (536870912 >>> 14 !== 32768) { >- testFailed('#478: 536870912 >>> 14 === 32768. Actual: ' + (536870912 >>> 14)); >-} >- >- >-if (1073741824 >>> 14 !== 65536) { >- testFailed('#479: 1073741824 >>> 14 === 65536. Actual: ' + (1073741824 >>> 14)); >-} >- >- >-if (2147483648 >>> 14 !== 131072) { >- testFailed('#480: 2147483648 >>> 14 === 131072. Actual: ' + (2147483648 >>> 14)); >-} >- >- >-if (1 >>> 15 !== 0) { >- testFailed('#481: 1 >>> 15 === 0. Actual: ' + (1 >>> 15)); >-} >- >- >-if (2 >>> 15 !== 0) { >- testFailed('#482: 2 >>> 15 === 0. Actual: ' + (2 >>> 15)); >-} >- >- >-if (4 >>> 15 !== 0) { >- testFailed('#483: 4 >>> 15 === 0. Actual: ' + (4 >>> 15)); >-} >- >- >-if (8 >>> 15 !== 0) { >- testFailed('#484: 8 >>> 15 === 0. Actual: ' + (8 >>> 15)); >-} >- >- >-if (16 >>> 15 !== 0) { >- testFailed('#485: 16 >>> 15 === 0. Actual: ' + (16 >>> 15)); >-} >- >- >-if (32 >>> 15 !== 0) { >- testFailed('#486: 32 >>> 15 === 0. Actual: ' + (32 >>> 15)); >-} >- >- >-if (64 >>> 15 !== 0) { >- testFailed('#487: 64 >>> 15 === 0. Actual: ' + (64 >>> 15)); >-} >- >- >-if (128 >>> 15 !== 0) { >- testFailed('#488: 128 >>> 15 === 0. Actual: ' + (128 >>> 15)); >-} >- >- >-if (256 >>> 15 !== 0) { >- testFailed('#489: 256 >>> 15 === 0. Actual: ' + (256 >>> 15)); >-} >- >- >-if (512 >>> 15 !== 0) { >- testFailed('#490: 512 >>> 15 === 0. Actual: ' + (512 >>> 15)); >-} >- >- >-if (1024 >>> 15 !== 0) { >- testFailed('#491: 1024 >>> 15 === 0. Actual: ' + (1024 >>> 15)); >-} >- >- >-if (2048 >>> 15 !== 0) { >- testFailed('#492: 2048 >>> 15 === 0. Actual: ' + (2048 >>> 15)); >-} >- >- >-if (4096 >>> 15 !== 0) { >- testFailed('#493: 4096 >>> 15 === 0. Actual: ' + (4096 >>> 15)); >-} >- >- >-if (8192 >>> 15 !== 0) { >- testFailed('#494: 8192 >>> 15 === 0. Actual: ' + (8192 >>> 15)); >-} >- >- >-if (16384 >>> 15 !== 0) { >- testFailed('#495: 16384 >>> 15 === 0. Actual: ' + (16384 >>> 15)); >-} >- >- >-if (32768 >>> 15 !== 1) { >- testFailed('#496: 32768 >>> 15 === 1. Actual: ' + (32768 >>> 15)); >-} >- >- >-if (65536 >>> 15 !== 2) { >- testFailed('#497: 65536 >>> 15 === 2. Actual: ' + (65536 >>> 15)); >-} >- >- >-if (131072 >>> 15 !== 4) { >- testFailed('#498: 131072 >>> 15 === 4. Actual: ' + (131072 >>> 15)); >-} >- >- >-if (262144 >>> 15 !== 8) { >- testFailed('#499: 262144 >>> 15 === 8. Actual: ' + (262144 >>> 15)); >-} >- >- >-if (524288 >>> 15 !== 16) { >- testFailed('#500: 524288 >>> 15 === 16. Actual: ' + (524288 >>> 15)); >-} >- >- >-if (1048576 >>> 15 !== 32) { >- testFailed('#501: 1048576 >>> 15 === 32. Actual: ' + (1048576 >>> 15)); >-} >- >- >-if (2097152 >>> 15 !== 64) { >- testFailed('#502: 2097152 >>> 15 === 64. Actual: ' + (2097152 >>> 15)); >-} >- >- >-if (4194304 >>> 15 !== 128) { >- testFailed('#503: 4194304 >>> 15 === 128. Actual: ' + (4194304 >>> 15)); >-} >- >- >-if (8388608 >>> 15 !== 256) { >- testFailed('#504: 8388608 >>> 15 === 256. Actual: ' + (8388608 >>> 15)); >-} >- >- >-if (16777216 >>> 15 !== 512) { >- testFailed('#505: 16777216 >>> 15 === 512. Actual: ' + (16777216 >>> 15)); >-} >- >- >-if (33554432 >>> 15 !== 1024) { >- testFailed('#506: 33554432 >>> 15 === 1024. Actual: ' + (33554432 >>> 15)); >-} >- >- >-if (67108864 >>> 15 !== 2048) { >- testFailed('#507: 67108864 >>> 15 === 2048. Actual: ' + (67108864 >>> 15)); >-} >- >- >-if (134217728 >>> 15 !== 4096) { >- testFailed('#508: 134217728 >>> 15 === 4096. Actual: ' + (134217728 >>> 15)); >-} >- >- >-if (268435456 >>> 15 !== 8192) { >- testFailed('#509: 268435456 >>> 15 === 8192. Actual: ' + (268435456 >>> 15)); >-} >- >- >-if (536870912 >>> 15 !== 16384) { >- testFailed('#510: 536870912 >>> 15 === 16384. Actual: ' + (536870912 >>> 15)); >-} >- >- >-if (1073741824 >>> 15 !== 32768) { >- testFailed('#511: 1073741824 >>> 15 === 32768. Actual: ' + (1073741824 >>> 15)); >-} >- >- >-if (2147483648 >>> 15 !== 65536) { >- testFailed('#512: 2147483648 >>> 15 === 65536. Actual: ' + (2147483648 >>> 15)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2-expected.txt >deleted file mode 100644 >index d49e6aade39..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.html >deleted file mode 100644 >index e07259a348e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.html >+++ /dev/null >@@ -1,2653 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A4_T2; >- * @section: 11.7.3; >- * @assertion: Check operator x >>> y in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 16...31; >- */ >- >-//CHECK >- >-if (1 >>> 16 !== 0) { >- testFailed('#513: 1 >>> 16 === 0. Actual: ' + (1 >>> 16)); >-} >- >- >-if (2 >>> 16 !== 0) { >- testFailed('#514: 2 >>> 16 === 0. Actual: ' + (2 >>> 16)); >-} >- >- >-if (4 >>> 16 !== 0) { >- testFailed('#515: 4 >>> 16 === 0. Actual: ' + (4 >>> 16)); >-} >- >- >-if (8 >>> 16 !== 0) { >- testFailed('#516: 8 >>> 16 === 0. Actual: ' + (8 >>> 16)); >-} >- >- >-if (16 >>> 16 !== 0) { >- testFailed('#517: 16 >>> 16 === 0. Actual: ' + (16 >>> 16)); >-} >- >- >-if (32 >>> 16 !== 0) { >- testFailed('#518: 32 >>> 16 === 0. Actual: ' + (32 >>> 16)); >-} >- >- >-if (64 >>> 16 !== 0) { >- testFailed('#519: 64 >>> 16 === 0. Actual: ' + (64 >>> 16)); >-} >- >- >-if (128 >>> 16 !== 0) { >- testFailed('#520: 128 >>> 16 === 0. Actual: ' + (128 >>> 16)); >-} >- >- >-if (256 >>> 16 !== 0) { >- testFailed('#521: 256 >>> 16 === 0. Actual: ' + (256 >>> 16)); >-} >- >- >-if (512 >>> 16 !== 0) { >- testFailed('#522: 512 >>> 16 === 0. Actual: ' + (512 >>> 16)); >-} >- >- >-if (1024 >>> 16 !== 0) { >- testFailed('#523: 1024 >>> 16 === 0. Actual: ' + (1024 >>> 16)); >-} >- >- >-if (2048 >>> 16 !== 0) { >- testFailed('#524: 2048 >>> 16 === 0. Actual: ' + (2048 >>> 16)); >-} >- >- >-if (4096 >>> 16 !== 0) { >- testFailed('#525: 4096 >>> 16 === 0. Actual: ' + (4096 >>> 16)); >-} >- >- >-if (8192 >>> 16 !== 0) { >- testFailed('#526: 8192 >>> 16 === 0. Actual: ' + (8192 >>> 16)); >-} >- >- >-if (16384 >>> 16 !== 0) { >- testFailed('#527: 16384 >>> 16 === 0. Actual: ' + (16384 >>> 16)); >-} >- >- >-if (32768 >>> 16 !== 0) { >- testFailed('#528: 32768 >>> 16 === 0. Actual: ' + (32768 >>> 16)); >-} >- >- >-if (65536 >>> 16 !== 1) { >- testFailed('#529: 65536 >>> 16 === 1. Actual: ' + (65536 >>> 16)); >-} >- >- >-if (131072 >>> 16 !== 2) { >- testFailed('#530: 131072 >>> 16 === 2. Actual: ' + (131072 >>> 16)); >-} >- >- >-if (262144 >>> 16 !== 4) { >- testFailed('#531: 262144 >>> 16 === 4. Actual: ' + (262144 >>> 16)); >-} >- >- >-if (524288 >>> 16 !== 8) { >- testFailed('#532: 524288 >>> 16 === 8. Actual: ' + (524288 >>> 16)); >-} >- >- >-if (1048576 >>> 16 !== 16) { >- testFailed('#533: 1048576 >>> 16 === 16. Actual: ' + (1048576 >>> 16)); >-} >- >- >-if (2097152 >>> 16 !== 32) { >- testFailed('#534: 2097152 >>> 16 === 32. Actual: ' + (2097152 >>> 16)); >-} >- >- >-if (4194304 >>> 16 !== 64) { >- testFailed('#535: 4194304 >>> 16 === 64. Actual: ' + (4194304 >>> 16)); >-} >- >- >-if (8388608 >>> 16 !== 128) { >- testFailed('#536: 8388608 >>> 16 === 128. Actual: ' + (8388608 >>> 16)); >-} >- >- >-if (16777216 >>> 16 !== 256) { >- testFailed('#537: 16777216 >>> 16 === 256. Actual: ' + (16777216 >>> 16)); >-} >- >- >-if (33554432 >>> 16 !== 512) { >- testFailed('#538: 33554432 >>> 16 === 512. Actual: ' + (33554432 >>> 16)); >-} >- >- >-if (67108864 >>> 16 !== 1024) { >- testFailed('#539: 67108864 >>> 16 === 1024. Actual: ' + (67108864 >>> 16)); >-} >- >- >-if (134217728 >>> 16 !== 2048) { >- testFailed('#540: 134217728 >>> 16 === 2048. Actual: ' + (134217728 >>> 16)); >-} >- >- >-if (268435456 >>> 16 !== 4096) { >- testFailed('#541: 268435456 >>> 16 === 4096. Actual: ' + (268435456 >>> 16)); >-} >- >- >-if (536870912 >>> 16 !== 8192) { >- testFailed('#542: 536870912 >>> 16 === 8192. Actual: ' + (536870912 >>> 16)); >-} >- >- >-if (1073741824 >>> 16 !== 16384) { >- testFailed('#543: 1073741824 >>> 16 === 16384. Actual: ' + (1073741824 >>> 16)); >-} >- >- >-if (2147483648 >>> 16 !== 32768) { >- testFailed('#544: 2147483648 >>> 16 === 32768. Actual: ' + (2147483648 >>> 16)); >-} >- >- >-if (1 >>> 17 !== 0) { >- testFailed('#545: 1 >>> 17 === 0. Actual: ' + (1 >>> 17)); >-} >- >- >-if (2 >>> 17 !== 0) { >- testFailed('#546: 2 >>> 17 === 0. Actual: ' + (2 >>> 17)); >-} >- >- >-if (4 >>> 17 !== 0) { >- testFailed('#547: 4 >>> 17 === 0. Actual: ' + (4 >>> 17)); >-} >- >- >-if (8 >>> 17 !== 0) { >- testFailed('#548: 8 >>> 17 === 0. Actual: ' + (8 >>> 17)); >-} >- >- >-if (16 >>> 17 !== 0) { >- testFailed('#549: 16 >>> 17 === 0. Actual: ' + (16 >>> 17)); >-} >- >- >-if (32 >>> 17 !== 0) { >- testFailed('#550: 32 >>> 17 === 0. Actual: ' + (32 >>> 17)); >-} >- >- >-if (64 >>> 17 !== 0) { >- testFailed('#551: 64 >>> 17 === 0. Actual: ' + (64 >>> 17)); >-} >- >- >-if (128 >>> 17 !== 0) { >- testFailed('#552: 128 >>> 17 === 0. Actual: ' + (128 >>> 17)); >-} >- >- >-if (256 >>> 17 !== 0) { >- testFailed('#553: 256 >>> 17 === 0. Actual: ' + (256 >>> 17)); >-} >- >- >-if (512 >>> 17 !== 0) { >- testFailed('#554: 512 >>> 17 === 0. Actual: ' + (512 >>> 17)); >-} >- >- >-if (1024 >>> 17 !== 0) { >- testFailed('#555: 1024 >>> 17 === 0. Actual: ' + (1024 >>> 17)); >-} >- >- >-if (2048 >>> 17 !== 0) { >- testFailed('#556: 2048 >>> 17 === 0. Actual: ' + (2048 >>> 17)); >-} >- >- >-if (4096 >>> 17 !== 0) { >- testFailed('#557: 4096 >>> 17 === 0. Actual: ' + (4096 >>> 17)); >-} >- >- >-if (8192 >>> 17 !== 0) { >- testFailed('#558: 8192 >>> 17 === 0. Actual: ' + (8192 >>> 17)); >-} >- >- >-if (16384 >>> 17 !== 0) { >- testFailed('#559: 16384 >>> 17 === 0. Actual: ' + (16384 >>> 17)); >-} >- >- >-if (32768 >>> 17 !== 0) { >- testFailed('#560: 32768 >>> 17 === 0. Actual: ' + (32768 >>> 17)); >-} >- >- >-if (65536 >>> 17 !== 0) { >- testFailed('#561: 65536 >>> 17 === 0. Actual: ' + (65536 >>> 17)); >-} >- >- >-if (131072 >>> 17 !== 1) { >- testFailed('#562: 131072 >>> 17 === 1. Actual: ' + (131072 >>> 17)); >-} >- >- >-if (262144 >>> 17 !== 2) { >- testFailed('#563: 262144 >>> 17 === 2. Actual: ' + (262144 >>> 17)); >-} >- >- >-if (524288 >>> 17 !== 4) { >- testFailed('#564: 524288 >>> 17 === 4. Actual: ' + (524288 >>> 17)); >-} >- >- >-if (1048576 >>> 17 !== 8) { >- testFailed('#565: 1048576 >>> 17 === 8. Actual: ' + (1048576 >>> 17)); >-} >- >- >-if (2097152 >>> 17 !== 16) { >- testFailed('#566: 2097152 >>> 17 === 16. Actual: ' + (2097152 >>> 17)); >-} >- >- >-if (4194304 >>> 17 !== 32) { >- testFailed('#567: 4194304 >>> 17 === 32. Actual: ' + (4194304 >>> 17)); >-} >- >- >-if (8388608 >>> 17 !== 64) { >- testFailed('#568: 8388608 >>> 17 === 64. Actual: ' + (8388608 >>> 17)); >-} >- >- >-if (16777216 >>> 17 !== 128) { >- testFailed('#569: 16777216 >>> 17 === 128. Actual: ' + (16777216 >>> 17)); >-} >- >- >-if (33554432 >>> 17 !== 256) { >- testFailed('#570: 33554432 >>> 17 === 256. Actual: ' + (33554432 >>> 17)); >-} >- >- >-if (67108864 >>> 17 !== 512) { >- testFailed('#571: 67108864 >>> 17 === 512. Actual: ' + (67108864 >>> 17)); >-} >- >- >-if (134217728 >>> 17 !== 1024) { >- testFailed('#572: 134217728 >>> 17 === 1024. Actual: ' + (134217728 >>> 17)); >-} >- >- >-if (268435456 >>> 17 !== 2048) { >- testFailed('#573: 268435456 >>> 17 === 2048. Actual: ' + (268435456 >>> 17)); >-} >- >- >-if (536870912 >>> 17 !== 4096) { >- testFailed('#574: 536870912 >>> 17 === 4096. Actual: ' + (536870912 >>> 17)); >-} >- >- >-if (1073741824 >>> 17 !== 8192) { >- testFailed('#575: 1073741824 >>> 17 === 8192. Actual: ' + (1073741824 >>> 17)); >-} >- >- >-if (2147483648 >>> 17 !== 16384) { >- testFailed('#576: 2147483648 >>> 17 === 16384. Actual: ' + (2147483648 >>> 17)); >-} >- >- >-if (1 >>> 18 !== 0) { >- testFailed('#577: 1 >>> 18 === 0. Actual: ' + (1 >>> 18)); >-} >- >- >-if (2 >>> 18 !== 0) { >- testFailed('#578: 2 >>> 18 === 0. Actual: ' + (2 >>> 18)); >-} >- >- >-if (4 >>> 18 !== 0) { >- testFailed('#579: 4 >>> 18 === 0. Actual: ' + (4 >>> 18)); >-} >- >- >-if (8 >>> 18 !== 0) { >- testFailed('#580: 8 >>> 18 === 0. Actual: ' + (8 >>> 18)); >-} >- >- >-if (16 >>> 18 !== 0) { >- testFailed('#581: 16 >>> 18 === 0. Actual: ' + (16 >>> 18)); >-} >- >- >-if (32 >>> 18 !== 0) { >- testFailed('#582: 32 >>> 18 === 0. Actual: ' + (32 >>> 18)); >-} >- >- >-if (64 >>> 18 !== 0) { >- testFailed('#583: 64 >>> 18 === 0. Actual: ' + (64 >>> 18)); >-} >- >- >-if (128 >>> 18 !== 0) { >- testFailed('#584: 128 >>> 18 === 0. Actual: ' + (128 >>> 18)); >-} >- >- >-if (256 >>> 18 !== 0) { >- testFailed('#585: 256 >>> 18 === 0. Actual: ' + (256 >>> 18)); >-} >- >- >-if (512 >>> 18 !== 0) { >- testFailed('#586: 512 >>> 18 === 0. Actual: ' + (512 >>> 18)); >-} >- >- >-if (1024 >>> 18 !== 0) { >- testFailed('#587: 1024 >>> 18 === 0. Actual: ' + (1024 >>> 18)); >-} >- >- >-if (2048 >>> 18 !== 0) { >- testFailed('#588: 2048 >>> 18 === 0. Actual: ' + (2048 >>> 18)); >-} >- >- >-if (4096 >>> 18 !== 0) { >- testFailed('#589: 4096 >>> 18 === 0. Actual: ' + (4096 >>> 18)); >-} >- >- >-if (8192 >>> 18 !== 0) { >- testFailed('#590: 8192 >>> 18 === 0. Actual: ' + (8192 >>> 18)); >-} >- >- >-if (16384 >>> 18 !== 0) { >- testFailed('#591: 16384 >>> 18 === 0. Actual: ' + (16384 >>> 18)); >-} >- >- >-if (32768 >>> 18 !== 0) { >- testFailed('#592: 32768 >>> 18 === 0. Actual: ' + (32768 >>> 18)); >-} >- >- >-if (65536 >>> 18 !== 0) { >- testFailed('#593: 65536 >>> 18 === 0. Actual: ' + (65536 >>> 18)); >-} >- >- >-if (131072 >>> 18 !== 0) { >- testFailed('#594: 131072 >>> 18 === 0. Actual: ' + (131072 >>> 18)); >-} >- >- >-if (262144 >>> 18 !== 1) { >- testFailed('#595: 262144 >>> 18 === 1. Actual: ' + (262144 >>> 18)); >-} >- >- >-if (524288 >>> 18 !== 2) { >- testFailed('#596: 524288 >>> 18 === 2. Actual: ' + (524288 >>> 18)); >-} >- >- >-if (1048576 >>> 18 !== 4) { >- testFailed('#597: 1048576 >>> 18 === 4. Actual: ' + (1048576 >>> 18)); >-} >- >- >-if (2097152 >>> 18 !== 8) { >- testFailed('#598: 2097152 >>> 18 === 8. Actual: ' + (2097152 >>> 18)); >-} >- >- >-if (4194304 >>> 18 !== 16) { >- testFailed('#599: 4194304 >>> 18 === 16. Actual: ' + (4194304 >>> 18)); >-} >- >- >-if (8388608 >>> 18 !== 32) { >- testFailed('#600: 8388608 >>> 18 === 32. Actual: ' + (8388608 >>> 18)); >-} >- >- >-if (16777216 >>> 18 !== 64) { >- testFailed('#601: 16777216 >>> 18 === 64. Actual: ' + (16777216 >>> 18)); >-} >- >- >-if (33554432 >>> 18 !== 128) { >- testFailed('#602: 33554432 >>> 18 === 128. Actual: ' + (33554432 >>> 18)); >-} >- >- >-if (67108864 >>> 18 !== 256) { >- testFailed('#603: 67108864 >>> 18 === 256. Actual: ' + (67108864 >>> 18)); >-} >- >- >-if (134217728 >>> 18 !== 512) { >- testFailed('#604: 134217728 >>> 18 === 512. Actual: ' + (134217728 >>> 18)); >-} >- >- >-if (268435456 >>> 18 !== 1024) { >- testFailed('#605: 268435456 >>> 18 === 1024. Actual: ' + (268435456 >>> 18)); >-} >- >- >-if (536870912 >>> 18 !== 2048) { >- testFailed('#606: 536870912 >>> 18 === 2048. Actual: ' + (536870912 >>> 18)); >-} >- >- >-if (1073741824 >>> 18 !== 4096) { >- testFailed('#607: 1073741824 >>> 18 === 4096. Actual: ' + (1073741824 >>> 18)); >-} >- >- >-if (2147483648 >>> 18 !== 8192) { >- testFailed('#608: 2147483648 >>> 18 === 8192. Actual: ' + (2147483648 >>> 18)); >-} >- >- >-if (1 >>> 19 !== 0) { >- testFailed('#609: 1 >>> 19 === 0. Actual: ' + (1 >>> 19)); >-} >- >- >-if (2 >>> 19 !== 0) { >- testFailed('#610: 2 >>> 19 === 0. Actual: ' + (2 >>> 19)); >-} >- >- >-if (4 >>> 19 !== 0) { >- testFailed('#611: 4 >>> 19 === 0. Actual: ' + (4 >>> 19)); >-} >- >- >-if (8 >>> 19 !== 0) { >- testFailed('#612: 8 >>> 19 === 0. Actual: ' + (8 >>> 19)); >-} >- >- >-if (16 >>> 19 !== 0) { >- testFailed('#613: 16 >>> 19 === 0. Actual: ' + (16 >>> 19)); >-} >- >- >-if (32 >>> 19 !== 0) { >- testFailed('#614: 32 >>> 19 === 0. Actual: ' + (32 >>> 19)); >-} >- >- >-if (64 >>> 19 !== 0) { >- testFailed('#615: 64 >>> 19 === 0. Actual: ' + (64 >>> 19)); >-} >- >- >-if (128 >>> 19 !== 0) { >- testFailed('#616: 128 >>> 19 === 0. Actual: ' + (128 >>> 19)); >-} >- >- >-if (256 >>> 19 !== 0) { >- testFailed('#617: 256 >>> 19 === 0. Actual: ' + (256 >>> 19)); >-} >- >- >-if (512 >>> 19 !== 0) { >- testFailed('#618: 512 >>> 19 === 0. Actual: ' + (512 >>> 19)); >-} >- >- >-if (1024 >>> 19 !== 0) { >- testFailed('#619: 1024 >>> 19 === 0. Actual: ' + (1024 >>> 19)); >-} >- >- >-if (2048 >>> 19 !== 0) { >- testFailed('#620: 2048 >>> 19 === 0. Actual: ' + (2048 >>> 19)); >-} >- >- >-if (4096 >>> 19 !== 0) { >- testFailed('#621: 4096 >>> 19 === 0. Actual: ' + (4096 >>> 19)); >-} >- >- >-if (8192 >>> 19 !== 0) { >- testFailed('#622: 8192 >>> 19 === 0. Actual: ' + (8192 >>> 19)); >-} >- >- >-if (16384 >>> 19 !== 0) { >- testFailed('#623: 16384 >>> 19 === 0. Actual: ' + (16384 >>> 19)); >-} >- >- >-if (32768 >>> 19 !== 0) { >- testFailed('#624: 32768 >>> 19 === 0. Actual: ' + (32768 >>> 19)); >-} >- >- >-if (65536 >>> 19 !== 0) { >- testFailed('#625: 65536 >>> 19 === 0. Actual: ' + (65536 >>> 19)); >-} >- >- >-if (131072 >>> 19 !== 0) { >- testFailed('#626: 131072 >>> 19 === 0. Actual: ' + (131072 >>> 19)); >-} >- >- >-if (262144 >>> 19 !== 0) { >- testFailed('#627: 262144 >>> 19 === 0. Actual: ' + (262144 >>> 19)); >-} >- >- >-if (524288 >>> 19 !== 1) { >- testFailed('#628: 524288 >>> 19 === 1. Actual: ' + (524288 >>> 19)); >-} >- >- >-if (1048576 >>> 19 !== 2) { >- testFailed('#629: 1048576 >>> 19 === 2. Actual: ' + (1048576 >>> 19)); >-} >- >- >-if (2097152 >>> 19 !== 4) { >- testFailed('#630: 2097152 >>> 19 === 4. Actual: ' + (2097152 >>> 19)); >-} >- >- >-if (4194304 >>> 19 !== 8) { >- testFailed('#631: 4194304 >>> 19 === 8. Actual: ' + (4194304 >>> 19)); >-} >- >- >-if (8388608 >>> 19 !== 16) { >- testFailed('#632: 8388608 >>> 19 === 16. Actual: ' + (8388608 >>> 19)); >-} >- >- >-if (16777216 >>> 19 !== 32) { >- testFailed('#633: 16777216 >>> 19 === 32. Actual: ' + (16777216 >>> 19)); >-} >- >- >-if (33554432 >>> 19 !== 64) { >- testFailed('#634: 33554432 >>> 19 === 64. Actual: ' + (33554432 >>> 19)); >-} >- >- >-if (67108864 >>> 19 !== 128) { >- testFailed('#635: 67108864 >>> 19 === 128. Actual: ' + (67108864 >>> 19)); >-} >- >- >-if (134217728 >>> 19 !== 256) { >- testFailed('#636: 134217728 >>> 19 === 256. Actual: ' + (134217728 >>> 19)); >-} >- >- >-if (268435456 >>> 19 !== 512) { >- testFailed('#637: 268435456 >>> 19 === 512. Actual: ' + (268435456 >>> 19)); >-} >- >- >-if (536870912 >>> 19 !== 1024) { >- testFailed('#638: 536870912 >>> 19 === 1024. Actual: ' + (536870912 >>> 19)); >-} >- >- >-if (1073741824 >>> 19 !== 2048) { >- testFailed('#639: 1073741824 >>> 19 === 2048. Actual: ' + (1073741824 >>> 19)); >-} >- >- >-if (2147483648 >>> 19 !== 4096) { >- testFailed('#640: 2147483648 >>> 19 === 4096. Actual: ' + (2147483648 >>> 19)); >-} >- >- >-if (1 >>> 20 !== 0) { >- testFailed('#641: 1 >>> 20 === 0. Actual: ' + (1 >>> 20)); >-} >- >- >-if (2 >>> 20 !== 0) { >- testFailed('#642: 2 >>> 20 === 0. Actual: ' + (2 >>> 20)); >-} >- >- >-if (4 >>> 20 !== 0) { >- testFailed('#643: 4 >>> 20 === 0. Actual: ' + (4 >>> 20)); >-} >- >- >-if (8 >>> 20 !== 0) { >- testFailed('#644: 8 >>> 20 === 0. Actual: ' + (8 >>> 20)); >-} >- >- >-if (16 >>> 20 !== 0) { >- testFailed('#645: 16 >>> 20 === 0. Actual: ' + (16 >>> 20)); >-} >- >- >-if (32 >>> 20 !== 0) { >- testFailed('#646: 32 >>> 20 === 0. Actual: ' + (32 >>> 20)); >-} >- >- >-if (64 >>> 20 !== 0) { >- testFailed('#647: 64 >>> 20 === 0. Actual: ' + (64 >>> 20)); >-} >- >- >-if (128 >>> 20 !== 0) { >- testFailed('#648: 128 >>> 20 === 0. Actual: ' + (128 >>> 20)); >-} >- >- >-if (256 >>> 20 !== 0) { >- testFailed('#649: 256 >>> 20 === 0. Actual: ' + (256 >>> 20)); >-} >- >- >-if (512 >>> 20 !== 0) { >- testFailed('#650: 512 >>> 20 === 0. Actual: ' + (512 >>> 20)); >-} >- >- >-if (1024 >>> 20 !== 0) { >- testFailed('#651: 1024 >>> 20 === 0. Actual: ' + (1024 >>> 20)); >-} >- >- >-if (2048 >>> 20 !== 0) { >- testFailed('#652: 2048 >>> 20 === 0. Actual: ' + (2048 >>> 20)); >-} >- >- >-if (4096 >>> 20 !== 0) { >- testFailed('#653: 4096 >>> 20 === 0. Actual: ' + (4096 >>> 20)); >-} >- >- >-if (8192 >>> 20 !== 0) { >- testFailed('#654: 8192 >>> 20 === 0. Actual: ' + (8192 >>> 20)); >-} >- >- >-if (16384 >>> 20 !== 0) { >- testFailed('#655: 16384 >>> 20 === 0. Actual: ' + (16384 >>> 20)); >-} >- >- >-if (32768 >>> 20 !== 0) { >- testFailed('#656: 32768 >>> 20 === 0. Actual: ' + (32768 >>> 20)); >-} >- >- >-if (65536 >>> 20 !== 0) { >- testFailed('#657: 65536 >>> 20 === 0. Actual: ' + (65536 >>> 20)); >-} >- >- >-if (131072 >>> 20 !== 0) { >- testFailed('#658: 131072 >>> 20 === 0. Actual: ' + (131072 >>> 20)); >-} >- >- >-if (262144 >>> 20 !== 0) { >- testFailed('#659: 262144 >>> 20 === 0. Actual: ' + (262144 >>> 20)); >-} >- >- >-if (524288 >>> 20 !== 0) { >- testFailed('#660: 524288 >>> 20 === 0. Actual: ' + (524288 >>> 20)); >-} >- >- >-if (1048576 >>> 20 !== 1) { >- testFailed('#661: 1048576 >>> 20 === 1. Actual: ' + (1048576 >>> 20)); >-} >- >- >-if (2097152 >>> 20 !== 2) { >- testFailed('#662: 2097152 >>> 20 === 2. Actual: ' + (2097152 >>> 20)); >-} >- >- >-if (4194304 >>> 20 !== 4) { >- testFailed('#663: 4194304 >>> 20 === 4. Actual: ' + (4194304 >>> 20)); >-} >- >- >-if (8388608 >>> 20 !== 8) { >- testFailed('#664: 8388608 >>> 20 === 8. Actual: ' + (8388608 >>> 20)); >-} >- >- >-if (16777216 >>> 20 !== 16) { >- testFailed('#665: 16777216 >>> 20 === 16. Actual: ' + (16777216 >>> 20)); >-} >- >- >-if (33554432 >>> 20 !== 32) { >- testFailed('#666: 33554432 >>> 20 === 32. Actual: ' + (33554432 >>> 20)); >-} >- >- >-if (67108864 >>> 20 !== 64) { >- testFailed('#667: 67108864 >>> 20 === 64. Actual: ' + (67108864 >>> 20)); >-} >- >- >-if (134217728 >>> 20 !== 128) { >- testFailed('#668: 134217728 >>> 20 === 128. Actual: ' + (134217728 >>> 20)); >-} >- >- >-if (268435456 >>> 20 !== 256) { >- testFailed('#669: 268435456 >>> 20 === 256. Actual: ' + (268435456 >>> 20)); >-} >- >- >-if (536870912 >>> 20 !== 512) { >- testFailed('#670: 536870912 >>> 20 === 512. Actual: ' + (536870912 >>> 20)); >-} >- >- >-if (1073741824 >>> 20 !== 1024) { >- testFailed('#671: 1073741824 >>> 20 === 1024. Actual: ' + (1073741824 >>> 20)); >-} >- >- >-if (2147483648 >>> 20 !== 2048) { >- testFailed('#672: 2147483648 >>> 20 === 2048. Actual: ' + (2147483648 >>> 20)); >-} >- >- >-if (1 >>> 21 !== 0) { >- testFailed('#673: 1 >>> 21 === 0. Actual: ' + (1 >>> 21)); >-} >- >- >-if (2 >>> 21 !== 0) { >- testFailed('#674: 2 >>> 21 === 0. Actual: ' + (2 >>> 21)); >-} >- >- >-if (4 >>> 21 !== 0) { >- testFailed('#675: 4 >>> 21 === 0. Actual: ' + (4 >>> 21)); >-} >- >- >-if (8 >>> 21 !== 0) { >- testFailed('#676: 8 >>> 21 === 0. Actual: ' + (8 >>> 21)); >-} >- >- >-if (16 >>> 21 !== 0) { >- testFailed('#677: 16 >>> 21 === 0. Actual: ' + (16 >>> 21)); >-} >- >- >-if (32 >>> 21 !== 0) { >- testFailed('#678: 32 >>> 21 === 0. Actual: ' + (32 >>> 21)); >-} >- >- >-if (64 >>> 21 !== 0) { >- testFailed('#679: 64 >>> 21 === 0. Actual: ' + (64 >>> 21)); >-} >- >- >-if (128 >>> 21 !== 0) { >- testFailed('#680: 128 >>> 21 === 0. Actual: ' + (128 >>> 21)); >-} >- >- >-if (256 >>> 21 !== 0) { >- testFailed('#681: 256 >>> 21 === 0. Actual: ' + (256 >>> 21)); >-} >- >- >-if (512 >>> 21 !== 0) { >- testFailed('#682: 512 >>> 21 === 0. Actual: ' + (512 >>> 21)); >-} >- >- >-if (1024 >>> 21 !== 0) { >- testFailed('#683: 1024 >>> 21 === 0. Actual: ' + (1024 >>> 21)); >-} >- >- >-if (2048 >>> 21 !== 0) { >- testFailed('#684: 2048 >>> 21 === 0. Actual: ' + (2048 >>> 21)); >-} >- >- >-if (4096 >>> 21 !== 0) { >- testFailed('#685: 4096 >>> 21 === 0. Actual: ' + (4096 >>> 21)); >-} >- >- >-if (8192 >>> 21 !== 0) { >- testFailed('#686: 8192 >>> 21 === 0. Actual: ' + (8192 >>> 21)); >-} >- >- >-if (16384 >>> 21 !== 0) { >- testFailed('#687: 16384 >>> 21 === 0. Actual: ' + (16384 >>> 21)); >-} >- >- >-if (32768 >>> 21 !== 0) { >- testFailed('#688: 32768 >>> 21 === 0. Actual: ' + (32768 >>> 21)); >-} >- >- >-if (65536 >>> 21 !== 0) { >- testFailed('#689: 65536 >>> 21 === 0. Actual: ' + (65536 >>> 21)); >-} >- >- >-if (131072 >>> 21 !== 0) { >- testFailed('#690: 131072 >>> 21 === 0. Actual: ' + (131072 >>> 21)); >-} >- >- >-if (262144 >>> 21 !== 0) { >- testFailed('#691: 262144 >>> 21 === 0. Actual: ' + (262144 >>> 21)); >-} >- >- >-if (524288 >>> 21 !== 0) { >- testFailed('#692: 524288 >>> 21 === 0. Actual: ' + (524288 >>> 21)); >-} >- >- >-if (1048576 >>> 21 !== 0) { >- testFailed('#693: 1048576 >>> 21 === 0. Actual: ' + (1048576 >>> 21)); >-} >- >- >-if (2097152 >>> 21 !== 1) { >- testFailed('#694: 2097152 >>> 21 === 1. Actual: ' + (2097152 >>> 21)); >-} >- >- >-if (4194304 >>> 21 !== 2) { >- testFailed('#695: 4194304 >>> 21 === 2. Actual: ' + (4194304 >>> 21)); >-} >- >- >-if (8388608 >>> 21 !== 4) { >- testFailed('#696: 8388608 >>> 21 === 4. Actual: ' + (8388608 >>> 21)); >-} >- >- >-if (16777216 >>> 21 !== 8) { >- testFailed('#697: 16777216 >>> 21 === 8. Actual: ' + (16777216 >>> 21)); >-} >- >- >-if (33554432 >>> 21 !== 16) { >- testFailed('#698: 33554432 >>> 21 === 16. Actual: ' + (33554432 >>> 21)); >-} >- >- >-if (67108864 >>> 21 !== 32) { >- testFailed('#699: 67108864 >>> 21 === 32. Actual: ' + (67108864 >>> 21)); >-} >- >- >-if (134217728 >>> 21 !== 64) { >- testFailed('#700: 134217728 >>> 21 === 64. Actual: ' + (134217728 >>> 21)); >-} >- >- >-if (268435456 >>> 21 !== 128) { >- testFailed('#701: 268435456 >>> 21 === 128. Actual: ' + (268435456 >>> 21)); >-} >- >- >-if (536870912 >>> 21 !== 256) { >- testFailed('#702: 536870912 >>> 21 === 256. Actual: ' + (536870912 >>> 21)); >-} >- >- >-if (1073741824 >>> 21 !== 512) { >- testFailed('#703: 1073741824 >>> 21 === 512. Actual: ' + (1073741824 >>> 21)); >-} >- >- >-if (2147483648 >>> 21 !== 1024) { >- testFailed('#704: 2147483648 >>> 21 === 1024. Actual: ' + (2147483648 >>> 21)); >-} >- >- >-if (1 >>> 22 !== 0) { >- testFailed('#705: 1 >>> 22 === 0. Actual: ' + (1 >>> 22)); >-} >- >- >-if (2 >>> 22 !== 0) { >- testFailed('#706: 2 >>> 22 === 0. Actual: ' + (2 >>> 22)); >-} >- >- >-if (4 >>> 22 !== 0) { >- testFailed('#707: 4 >>> 22 === 0. Actual: ' + (4 >>> 22)); >-} >- >- >-if (8 >>> 22 !== 0) { >- testFailed('#708: 8 >>> 22 === 0. Actual: ' + (8 >>> 22)); >-} >- >- >-if (16 >>> 22 !== 0) { >- testFailed('#709: 16 >>> 22 === 0. Actual: ' + (16 >>> 22)); >-} >- >- >-if (32 >>> 22 !== 0) { >- testFailed('#710: 32 >>> 22 === 0. Actual: ' + (32 >>> 22)); >-} >- >- >-if (64 >>> 22 !== 0) { >- testFailed('#711: 64 >>> 22 === 0. Actual: ' + (64 >>> 22)); >-} >- >- >-if (128 >>> 22 !== 0) { >- testFailed('#712: 128 >>> 22 === 0. Actual: ' + (128 >>> 22)); >-} >- >- >-if (256 >>> 22 !== 0) { >- testFailed('#713: 256 >>> 22 === 0. Actual: ' + (256 >>> 22)); >-} >- >- >-if (512 >>> 22 !== 0) { >- testFailed('#714: 512 >>> 22 === 0. Actual: ' + (512 >>> 22)); >-} >- >- >-if (1024 >>> 22 !== 0) { >- testFailed('#715: 1024 >>> 22 === 0. Actual: ' + (1024 >>> 22)); >-} >- >- >-if (2048 >>> 22 !== 0) { >- testFailed('#716: 2048 >>> 22 === 0. Actual: ' + (2048 >>> 22)); >-} >- >- >-if (4096 >>> 22 !== 0) { >- testFailed('#717: 4096 >>> 22 === 0. Actual: ' + (4096 >>> 22)); >-} >- >- >-if (8192 >>> 22 !== 0) { >- testFailed('#718: 8192 >>> 22 === 0. Actual: ' + (8192 >>> 22)); >-} >- >- >-if (16384 >>> 22 !== 0) { >- testFailed('#719: 16384 >>> 22 === 0. Actual: ' + (16384 >>> 22)); >-} >- >- >-if (32768 >>> 22 !== 0) { >- testFailed('#720: 32768 >>> 22 === 0. Actual: ' + (32768 >>> 22)); >-} >- >- >-if (65536 >>> 22 !== 0) { >- testFailed('#721: 65536 >>> 22 === 0. Actual: ' + (65536 >>> 22)); >-} >- >- >-if (131072 >>> 22 !== 0) { >- testFailed('#722: 131072 >>> 22 === 0. Actual: ' + (131072 >>> 22)); >-} >- >- >-if (262144 >>> 22 !== 0) { >- testFailed('#723: 262144 >>> 22 === 0. Actual: ' + (262144 >>> 22)); >-} >- >- >-if (524288 >>> 22 !== 0) { >- testFailed('#724: 524288 >>> 22 === 0. Actual: ' + (524288 >>> 22)); >-} >- >- >-if (1048576 >>> 22 !== 0) { >- testFailed('#725: 1048576 >>> 22 === 0. Actual: ' + (1048576 >>> 22)); >-} >- >- >-if (2097152 >>> 22 !== 0) { >- testFailed('#726: 2097152 >>> 22 === 0. Actual: ' + (2097152 >>> 22)); >-} >- >- >-if (4194304 >>> 22 !== 1) { >- testFailed('#727: 4194304 >>> 22 === 1. Actual: ' + (4194304 >>> 22)); >-} >- >- >-if (8388608 >>> 22 !== 2) { >- testFailed('#728: 8388608 >>> 22 === 2. Actual: ' + (8388608 >>> 22)); >-} >- >- >-if (16777216 >>> 22 !== 4) { >- testFailed('#729: 16777216 >>> 22 === 4. Actual: ' + (16777216 >>> 22)); >-} >- >- >-if (33554432 >>> 22 !== 8) { >- testFailed('#730: 33554432 >>> 22 === 8. Actual: ' + (33554432 >>> 22)); >-} >- >- >-if (67108864 >>> 22 !== 16) { >- testFailed('#731: 67108864 >>> 22 === 16. Actual: ' + (67108864 >>> 22)); >-} >- >- >-if (134217728 >>> 22 !== 32) { >- testFailed('#732: 134217728 >>> 22 === 32. Actual: ' + (134217728 >>> 22)); >-} >- >- >-if (268435456 >>> 22 !== 64) { >- testFailed('#733: 268435456 >>> 22 === 64. Actual: ' + (268435456 >>> 22)); >-} >- >- >-if (536870912 >>> 22 !== 128) { >- testFailed('#734: 536870912 >>> 22 === 128. Actual: ' + (536870912 >>> 22)); >-} >- >- >-if (1073741824 >>> 22 !== 256) { >- testFailed('#735: 1073741824 >>> 22 === 256. Actual: ' + (1073741824 >>> 22)); >-} >- >- >-if (2147483648 >>> 22 !== 512) { >- testFailed('#736: 2147483648 >>> 22 === 512. Actual: ' + (2147483648 >>> 22)); >-} >- >- >-if (1 >>> 23 !== 0) { >- testFailed('#737: 1 >>> 23 === 0. Actual: ' + (1 >>> 23)); >-} >- >- >-if (2 >>> 23 !== 0) { >- testFailed('#738: 2 >>> 23 === 0. Actual: ' + (2 >>> 23)); >-} >- >- >-if (4 >>> 23 !== 0) { >- testFailed('#739: 4 >>> 23 === 0. Actual: ' + (4 >>> 23)); >-} >- >- >-if (8 >>> 23 !== 0) { >- testFailed('#740: 8 >>> 23 === 0. Actual: ' + (8 >>> 23)); >-} >- >- >-if (16 >>> 23 !== 0) { >- testFailed('#741: 16 >>> 23 === 0. Actual: ' + (16 >>> 23)); >-} >- >- >-if (32 >>> 23 !== 0) { >- testFailed('#742: 32 >>> 23 === 0. Actual: ' + (32 >>> 23)); >-} >- >- >-if (64 >>> 23 !== 0) { >- testFailed('#743: 64 >>> 23 === 0. Actual: ' + (64 >>> 23)); >-} >- >- >-if (128 >>> 23 !== 0) { >- testFailed('#744: 128 >>> 23 === 0. Actual: ' + (128 >>> 23)); >-} >- >- >-if (256 >>> 23 !== 0) { >- testFailed('#745: 256 >>> 23 === 0. Actual: ' + (256 >>> 23)); >-} >- >- >-if (512 >>> 23 !== 0) { >- testFailed('#746: 512 >>> 23 === 0. Actual: ' + (512 >>> 23)); >-} >- >- >-if (1024 >>> 23 !== 0) { >- testFailed('#747: 1024 >>> 23 === 0. Actual: ' + (1024 >>> 23)); >-} >- >- >-if (2048 >>> 23 !== 0) { >- testFailed('#748: 2048 >>> 23 === 0. Actual: ' + (2048 >>> 23)); >-} >- >- >-if (4096 >>> 23 !== 0) { >- testFailed('#749: 4096 >>> 23 === 0. Actual: ' + (4096 >>> 23)); >-} >- >- >-if (8192 >>> 23 !== 0) { >- testFailed('#750: 8192 >>> 23 === 0. Actual: ' + (8192 >>> 23)); >-} >- >- >-if (16384 >>> 23 !== 0) { >- testFailed('#751: 16384 >>> 23 === 0. Actual: ' + (16384 >>> 23)); >-} >- >- >-if (32768 >>> 23 !== 0) { >- testFailed('#752: 32768 >>> 23 === 0. Actual: ' + (32768 >>> 23)); >-} >- >- >-if (65536 >>> 23 !== 0) { >- testFailed('#753: 65536 >>> 23 === 0. Actual: ' + (65536 >>> 23)); >-} >- >- >-if (131072 >>> 23 !== 0) { >- testFailed('#754: 131072 >>> 23 === 0. Actual: ' + (131072 >>> 23)); >-} >- >- >-if (262144 >>> 23 !== 0) { >- testFailed('#755: 262144 >>> 23 === 0. Actual: ' + (262144 >>> 23)); >-} >- >- >-if (524288 >>> 23 !== 0) { >- testFailed('#756: 524288 >>> 23 === 0. Actual: ' + (524288 >>> 23)); >-} >- >- >-if (1048576 >>> 23 !== 0) { >- testFailed('#757: 1048576 >>> 23 === 0. Actual: ' + (1048576 >>> 23)); >-} >- >- >-if (2097152 >>> 23 !== 0) { >- testFailed('#758: 2097152 >>> 23 === 0. Actual: ' + (2097152 >>> 23)); >-} >- >- >-if (4194304 >>> 23 !== 0) { >- testFailed('#759: 4194304 >>> 23 === 0. Actual: ' + (4194304 >>> 23)); >-} >- >- >-if (8388608 >>> 23 !== 1) { >- testFailed('#760: 8388608 >>> 23 === 1. Actual: ' + (8388608 >>> 23)); >-} >- >- >-if (16777216 >>> 23 !== 2) { >- testFailed('#761: 16777216 >>> 23 === 2. Actual: ' + (16777216 >>> 23)); >-} >- >- >-if (33554432 >>> 23 !== 4) { >- testFailed('#762: 33554432 >>> 23 === 4. Actual: ' + (33554432 >>> 23)); >-} >- >- >-if (67108864 >>> 23 !== 8) { >- testFailed('#763: 67108864 >>> 23 === 8. Actual: ' + (67108864 >>> 23)); >-} >- >- >-if (134217728 >>> 23 !== 16) { >- testFailed('#764: 134217728 >>> 23 === 16. Actual: ' + (134217728 >>> 23)); >-} >- >- >-if (268435456 >>> 23 !== 32) { >- testFailed('#765: 268435456 >>> 23 === 32. Actual: ' + (268435456 >>> 23)); >-} >- >- >-if (536870912 >>> 23 !== 64) { >- testFailed('#766: 536870912 >>> 23 === 64. Actual: ' + (536870912 >>> 23)); >-} >- >- >-if (1073741824 >>> 23 !== 128) { >- testFailed('#767: 1073741824 >>> 23 === 128. Actual: ' + (1073741824 >>> 23)); >-} >- >- >-if (2147483648 >>> 23 !== 256) { >- testFailed('#768: 2147483648 >>> 23 === 256. Actual: ' + (2147483648 >>> 23)); >-} >- >- >-if (1 >>> 24 !== 0) { >- testFailed('#769: 1 >>> 24 === 0. Actual: ' + (1 >>> 24)); >-} >- >- >-if (2 >>> 24 !== 0) { >- testFailed('#770: 2 >>> 24 === 0. Actual: ' + (2 >>> 24)); >-} >- >- >-if (4 >>> 24 !== 0) { >- testFailed('#771: 4 >>> 24 === 0. Actual: ' + (4 >>> 24)); >-} >- >- >-if (8 >>> 24 !== 0) { >- testFailed('#772: 8 >>> 24 === 0. Actual: ' + (8 >>> 24)); >-} >- >- >-if (16 >>> 24 !== 0) { >- testFailed('#773: 16 >>> 24 === 0. Actual: ' + (16 >>> 24)); >-} >- >- >-if (32 >>> 24 !== 0) { >- testFailed('#774: 32 >>> 24 === 0. Actual: ' + (32 >>> 24)); >-} >- >- >-if (64 >>> 24 !== 0) { >- testFailed('#775: 64 >>> 24 === 0. Actual: ' + (64 >>> 24)); >-} >- >- >-if (128 >>> 24 !== 0) { >- testFailed('#776: 128 >>> 24 === 0. Actual: ' + (128 >>> 24)); >-} >- >- >-if (256 >>> 24 !== 0) { >- testFailed('#777: 256 >>> 24 === 0. Actual: ' + (256 >>> 24)); >-} >- >- >-if (512 >>> 24 !== 0) { >- testFailed('#778: 512 >>> 24 === 0. Actual: ' + (512 >>> 24)); >-} >- >- >-if (1024 >>> 24 !== 0) { >- testFailed('#779: 1024 >>> 24 === 0. Actual: ' + (1024 >>> 24)); >-} >- >- >-if (2048 >>> 24 !== 0) { >- testFailed('#780: 2048 >>> 24 === 0. Actual: ' + (2048 >>> 24)); >-} >- >- >-if (4096 >>> 24 !== 0) { >- testFailed('#781: 4096 >>> 24 === 0. Actual: ' + (4096 >>> 24)); >-} >- >- >-if (8192 >>> 24 !== 0) { >- testFailed('#782: 8192 >>> 24 === 0. Actual: ' + (8192 >>> 24)); >-} >- >- >-if (16384 >>> 24 !== 0) { >- testFailed('#783: 16384 >>> 24 === 0. Actual: ' + (16384 >>> 24)); >-} >- >- >-if (32768 >>> 24 !== 0) { >- testFailed('#784: 32768 >>> 24 === 0. Actual: ' + (32768 >>> 24)); >-} >- >- >-if (65536 >>> 24 !== 0) { >- testFailed('#785: 65536 >>> 24 === 0. Actual: ' + (65536 >>> 24)); >-} >- >- >-if (131072 >>> 24 !== 0) { >- testFailed('#786: 131072 >>> 24 === 0. Actual: ' + (131072 >>> 24)); >-} >- >- >-if (262144 >>> 24 !== 0) { >- testFailed('#787: 262144 >>> 24 === 0. Actual: ' + (262144 >>> 24)); >-} >- >- >-if (524288 >>> 24 !== 0) { >- testFailed('#788: 524288 >>> 24 === 0. Actual: ' + (524288 >>> 24)); >-} >- >- >-if (1048576 >>> 24 !== 0) { >- testFailed('#789: 1048576 >>> 24 === 0. Actual: ' + (1048576 >>> 24)); >-} >- >- >-if (2097152 >>> 24 !== 0) { >- testFailed('#790: 2097152 >>> 24 === 0. Actual: ' + (2097152 >>> 24)); >-} >- >- >-if (4194304 >>> 24 !== 0) { >- testFailed('#791: 4194304 >>> 24 === 0. Actual: ' + (4194304 >>> 24)); >-} >- >- >-if (8388608 >>> 24 !== 0) { >- testFailed('#792: 8388608 >>> 24 === 0. Actual: ' + (8388608 >>> 24)); >-} >- >- >-if (16777216 >>> 24 !== 1) { >- testFailed('#793: 16777216 >>> 24 === 1. Actual: ' + (16777216 >>> 24)); >-} >- >- >-if (33554432 >>> 24 !== 2) { >- testFailed('#794: 33554432 >>> 24 === 2. Actual: ' + (33554432 >>> 24)); >-} >- >- >-if (67108864 >>> 24 !== 4) { >- testFailed('#795: 67108864 >>> 24 === 4. Actual: ' + (67108864 >>> 24)); >-} >- >- >-if (134217728 >>> 24 !== 8) { >- testFailed('#796: 134217728 >>> 24 === 8. Actual: ' + (134217728 >>> 24)); >-} >- >- >-if (268435456 >>> 24 !== 16) { >- testFailed('#797: 268435456 >>> 24 === 16. Actual: ' + (268435456 >>> 24)); >-} >- >- >-if (536870912 >>> 24 !== 32) { >- testFailed('#798: 536870912 >>> 24 === 32. Actual: ' + (536870912 >>> 24)); >-} >- >- >-if (1073741824 >>> 24 !== 64) { >- testFailed('#799: 1073741824 >>> 24 === 64. Actual: ' + (1073741824 >>> 24)); >-} >- >- >-if (2147483648 >>> 24 !== 128) { >- testFailed('#800: 2147483648 >>> 24 === 128. Actual: ' + (2147483648 >>> 24)); >-} >- >- >-if (1 >>> 25 !== 0) { >- testFailed('#801: 1 >>> 25 === 0. Actual: ' + (1 >>> 25)); >-} >- >- >-if (2 >>> 25 !== 0) { >- testFailed('#802: 2 >>> 25 === 0. Actual: ' + (2 >>> 25)); >-} >- >- >-if (4 >>> 25 !== 0) { >- testFailed('#803: 4 >>> 25 === 0. Actual: ' + (4 >>> 25)); >-} >- >- >-if (8 >>> 25 !== 0) { >- testFailed('#804: 8 >>> 25 === 0. Actual: ' + (8 >>> 25)); >-} >- >- >-if (16 >>> 25 !== 0) { >- testFailed('#805: 16 >>> 25 === 0. Actual: ' + (16 >>> 25)); >-} >- >- >-if (32 >>> 25 !== 0) { >- testFailed('#806: 32 >>> 25 === 0. Actual: ' + (32 >>> 25)); >-} >- >- >-if (64 >>> 25 !== 0) { >- testFailed('#807: 64 >>> 25 === 0. Actual: ' + (64 >>> 25)); >-} >- >- >-if (128 >>> 25 !== 0) { >- testFailed('#808: 128 >>> 25 === 0. Actual: ' + (128 >>> 25)); >-} >- >- >-if (256 >>> 25 !== 0) { >- testFailed('#809: 256 >>> 25 === 0. Actual: ' + (256 >>> 25)); >-} >- >- >-if (512 >>> 25 !== 0) { >- testFailed('#810: 512 >>> 25 === 0. Actual: ' + (512 >>> 25)); >-} >- >- >-if (1024 >>> 25 !== 0) { >- testFailed('#811: 1024 >>> 25 === 0. Actual: ' + (1024 >>> 25)); >-} >- >- >-if (2048 >>> 25 !== 0) { >- testFailed('#812: 2048 >>> 25 === 0. Actual: ' + (2048 >>> 25)); >-} >- >- >-if (4096 >>> 25 !== 0) { >- testFailed('#813: 4096 >>> 25 === 0. Actual: ' + (4096 >>> 25)); >-} >- >- >-if (8192 >>> 25 !== 0) { >- testFailed('#814: 8192 >>> 25 === 0. Actual: ' + (8192 >>> 25)); >-} >- >- >-if (16384 >>> 25 !== 0) { >- testFailed('#815: 16384 >>> 25 === 0. Actual: ' + (16384 >>> 25)); >-} >- >- >-if (32768 >>> 25 !== 0) { >- testFailed('#816: 32768 >>> 25 === 0. Actual: ' + (32768 >>> 25)); >-} >- >- >-if (65536 >>> 25 !== 0) { >- testFailed('#817: 65536 >>> 25 === 0. Actual: ' + (65536 >>> 25)); >-} >- >- >-if (131072 >>> 25 !== 0) { >- testFailed('#818: 131072 >>> 25 === 0. Actual: ' + (131072 >>> 25)); >-} >- >- >-if (262144 >>> 25 !== 0) { >- testFailed('#819: 262144 >>> 25 === 0. Actual: ' + (262144 >>> 25)); >-} >- >- >-if (524288 >>> 25 !== 0) { >- testFailed('#820: 524288 >>> 25 === 0. Actual: ' + (524288 >>> 25)); >-} >- >- >-if (1048576 >>> 25 !== 0) { >- testFailed('#821: 1048576 >>> 25 === 0. Actual: ' + (1048576 >>> 25)); >-} >- >- >-if (2097152 >>> 25 !== 0) { >- testFailed('#822: 2097152 >>> 25 === 0. Actual: ' + (2097152 >>> 25)); >-} >- >- >-if (4194304 >>> 25 !== 0) { >- testFailed('#823: 4194304 >>> 25 === 0. Actual: ' + (4194304 >>> 25)); >-} >- >- >-if (8388608 >>> 25 !== 0) { >- testFailed('#824: 8388608 >>> 25 === 0. Actual: ' + (8388608 >>> 25)); >-} >- >- >-if (16777216 >>> 25 !== 0) { >- testFailed('#825: 16777216 >>> 25 === 0. Actual: ' + (16777216 >>> 25)); >-} >- >- >-if (33554432 >>> 25 !== 1) { >- testFailed('#826: 33554432 >>> 25 === 1. Actual: ' + (33554432 >>> 25)); >-} >- >- >-if (67108864 >>> 25 !== 2) { >- testFailed('#827: 67108864 >>> 25 === 2. Actual: ' + (67108864 >>> 25)); >-} >- >- >-if (134217728 >>> 25 !== 4) { >- testFailed('#828: 134217728 >>> 25 === 4. Actual: ' + (134217728 >>> 25)); >-} >- >- >-if (268435456 >>> 25 !== 8) { >- testFailed('#829: 268435456 >>> 25 === 8. Actual: ' + (268435456 >>> 25)); >-} >- >- >-if (536870912 >>> 25 !== 16) { >- testFailed('#830: 536870912 >>> 25 === 16. Actual: ' + (536870912 >>> 25)); >-} >- >- >-if (1073741824 >>> 25 !== 32) { >- testFailed('#831: 1073741824 >>> 25 === 32. Actual: ' + (1073741824 >>> 25)); >-} >- >- >-if (2147483648 >>> 25 !== 64) { >- testFailed('#832: 2147483648 >>> 25 === 64. Actual: ' + (2147483648 >>> 25)); >-} >- >- >-if (1 >>> 26 !== 0) { >- testFailed('#833: 1 >>> 26 === 0. Actual: ' + (1 >>> 26)); >-} >- >- >-if (2 >>> 26 !== 0) { >- testFailed('#834: 2 >>> 26 === 0. Actual: ' + (2 >>> 26)); >-} >- >- >-if (4 >>> 26 !== 0) { >- testFailed('#835: 4 >>> 26 === 0. Actual: ' + (4 >>> 26)); >-} >- >- >-if (8 >>> 26 !== 0) { >- testFailed('#836: 8 >>> 26 === 0. Actual: ' + (8 >>> 26)); >-} >- >- >-if (16 >>> 26 !== 0) { >- testFailed('#837: 16 >>> 26 === 0. Actual: ' + (16 >>> 26)); >-} >- >- >-if (32 >>> 26 !== 0) { >- testFailed('#838: 32 >>> 26 === 0. Actual: ' + (32 >>> 26)); >-} >- >- >-if (64 >>> 26 !== 0) { >- testFailed('#839: 64 >>> 26 === 0. Actual: ' + (64 >>> 26)); >-} >- >- >-if (128 >>> 26 !== 0) { >- testFailed('#840: 128 >>> 26 === 0. Actual: ' + (128 >>> 26)); >-} >- >- >-if (256 >>> 26 !== 0) { >- testFailed('#841: 256 >>> 26 === 0. Actual: ' + (256 >>> 26)); >-} >- >- >-if (512 >>> 26 !== 0) { >- testFailed('#842: 512 >>> 26 === 0. Actual: ' + (512 >>> 26)); >-} >- >- >-if (1024 >>> 26 !== 0) { >- testFailed('#843: 1024 >>> 26 === 0. Actual: ' + (1024 >>> 26)); >-} >- >- >-if (2048 >>> 26 !== 0) { >- testFailed('#844: 2048 >>> 26 === 0. Actual: ' + (2048 >>> 26)); >-} >- >- >-if (4096 >>> 26 !== 0) { >- testFailed('#845: 4096 >>> 26 === 0. Actual: ' + (4096 >>> 26)); >-} >- >- >-if (8192 >>> 26 !== 0) { >- testFailed('#846: 8192 >>> 26 === 0. Actual: ' + (8192 >>> 26)); >-} >- >- >-if (16384 >>> 26 !== 0) { >- testFailed('#847: 16384 >>> 26 === 0. Actual: ' + (16384 >>> 26)); >-} >- >- >-if (32768 >>> 26 !== 0) { >- testFailed('#848: 32768 >>> 26 === 0. Actual: ' + (32768 >>> 26)); >-} >- >- >-if (65536 >>> 26 !== 0) { >- testFailed('#849: 65536 >>> 26 === 0. Actual: ' + (65536 >>> 26)); >-} >- >- >-if (131072 >>> 26 !== 0) { >- testFailed('#850: 131072 >>> 26 === 0. Actual: ' + (131072 >>> 26)); >-} >- >- >-if (262144 >>> 26 !== 0) { >- testFailed('#851: 262144 >>> 26 === 0. Actual: ' + (262144 >>> 26)); >-} >- >- >-if (524288 >>> 26 !== 0) { >- testFailed('#852: 524288 >>> 26 === 0. Actual: ' + (524288 >>> 26)); >-} >- >- >-if (1048576 >>> 26 !== 0) { >- testFailed('#853: 1048576 >>> 26 === 0. Actual: ' + (1048576 >>> 26)); >-} >- >- >-if (2097152 >>> 26 !== 0) { >- testFailed('#854: 2097152 >>> 26 === 0. Actual: ' + (2097152 >>> 26)); >-} >- >- >-if (4194304 >>> 26 !== 0) { >- testFailed('#855: 4194304 >>> 26 === 0. Actual: ' + (4194304 >>> 26)); >-} >- >- >-if (8388608 >>> 26 !== 0) { >- testFailed('#856: 8388608 >>> 26 === 0. Actual: ' + (8388608 >>> 26)); >-} >- >- >-if (16777216 >>> 26 !== 0) { >- testFailed('#857: 16777216 >>> 26 === 0. Actual: ' + (16777216 >>> 26)); >-} >- >- >-if (33554432 >>> 26 !== 0) { >- testFailed('#858: 33554432 >>> 26 === 0. Actual: ' + (33554432 >>> 26)); >-} >- >- >-if (67108864 >>> 26 !== 1) { >- testFailed('#859: 67108864 >>> 26 === 1. Actual: ' + (67108864 >>> 26)); >-} >- >- >-if (134217728 >>> 26 !== 2) { >- testFailed('#860: 134217728 >>> 26 === 2. Actual: ' + (134217728 >>> 26)); >-} >- >- >-if (268435456 >>> 26 !== 4) { >- testFailed('#861: 268435456 >>> 26 === 4. Actual: ' + (268435456 >>> 26)); >-} >- >- >-if (536870912 >>> 26 !== 8) { >- testFailed('#862: 536870912 >>> 26 === 8. Actual: ' + (536870912 >>> 26)); >-} >- >- >-if (1073741824 >>> 26 !== 16) { >- testFailed('#863: 1073741824 >>> 26 === 16. Actual: ' + (1073741824 >>> 26)); >-} >- >- >-if (2147483648 >>> 26 !== 32) { >- testFailed('#864: 2147483648 >>> 26 === 32. Actual: ' + (2147483648 >>> 26)); >-} >- >- >-if (1 >>> 27 !== 0) { >- testFailed('#865: 1 >>> 27 === 0. Actual: ' + (1 >>> 27)); >-} >- >- >-if (2 >>> 27 !== 0) { >- testFailed('#866: 2 >>> 27 === 0. Actual: ' + (2 >>> 27)); >-} >- >- >-if (4 >>> 27 !== 0) { >- testFailed('#867: 4 >>> 27 === 0. Actual: ' + (4 >>> 27)); >-} >- >- >-if (8 >>> 27 !== 0) { >- testFailed('#868: 8 >>> 27 === 0. Actual: ' + (8 >>> 27)); >-} >- >- >-if (16 >>> 27 !== 0) { >- testFailed('#869: 16 >>> 27 === 0. Actual: ' + (16 >>> 27)); >-} >- >- >-if (32 >>> 27 !== 0) { >- testFailed('#870: 32 >>> 27 === 0. Actual: ' + (32 >>> 27)); >-} >- >- >-if (64 >>> 27 !== 0) { >- testFailed('#871: 64 >>> 27 === 0. Actual: ' + (64 >>> 27)); >-} >- >- >-if (128 >>> 27 !== 0) { >- testFailed('#872: 128 >>> 27 === 0. Actual: ' + (128 >>> 27)); >-} >- >- >-if (256 >>> 27 !== 0) { >- testFailed('#873: 256 >>> 27 === 0. Actual: ' + (256 >>> 27)); >-} >- >- >-if (512 >>> 27 !== 0) { >- testFailed('#874: 512 >>> 27 === 0. Actual: ' + (512 >>> 27)); >-} >- >- >-if (1024 >>> 27 !== 0) { >- testFailed('#875: 1024 >>> 27 === 0. Actual: ' + (1024 >>> 27)); >-} >- >- >-if (2048 >>> 27 !== 0) { >- testFailed('#876: 2048 >>> 27 === 0. Actual: ' + (2048 >>> 27)); >-} >- >- >-if (4096 >>> 27 !== 0) { >- testFailed('#877: 4096 >>> 27 === 0. Actual: ' + (4096 >>> 27)); >-} >- >- >-if (8192 >>> 27 !== 0) { >- testFailed('#878: 8192 >>> 27 === 0. Actual: ' + (8192 >>> 27)); >-} >- >- >-if (16384 >>> 27 !== 0) { >- testFailed('#879: 16384 >>> 27 === 0. Actual: ' + (16384 >>> 27)); >-} >- >- >-if (32768 >>> 27 !== 0) { >- testFailed('#880: 32768 >>> 27 === 0. Actual: ' + (32768 >>> 27)); >-} >- >- >-if (65536 >>> 27 !== 0) { >- testFailed('#881: 65536 >>> 27 === 0. Actual: ' + (65536 >>> 27)); >-} >- >- >-if (131072 >>> 27 !== 0) { >- testFailed('#882: 131072 >>> 27 === 0. Actual: ' + (131072 >>> 27)); >-} >- >- >-if (262144 >>> 27 !== 0) { >- testFailed('#883: 262144 >>> 27 === 0. Actual: ' + (262144 >>> 27)); >-} >- >- >-if (524288 >>> 27 !== 0) { >- testFailed('#884: 524288 >>> 27 === 0. Actual: ' + (524288 >>> 27)); >-} >- >- >-if (1048576 >>> 27 !== 0) { >- testFailed('#885: 1048576 >>> 27 === 0. Actual: ' + (1048576 >>> 27)); >-} >- >- >-if (2097152 >>> 27 !== 0) { >- testFailed('#886: 2097152 >>> 27 === 0. Actual: ' + (2097152 >>> 27)); >-} >- >- >-if (4194304 >>> 27 !== 0) { >- testFailed('#887: 4194304 >>> 27 === 0. Actual: ' + (4194304 >>> 27)); >-} >- >- >-if (8388608 >>> 27 !== 0) { >- testFailed('#888: 8388608 >>> 27 === 0. Actual: ' + (8388608 >>> 27)); >-} >- >- >-if (16777216 >>> 27 !== 0) { >- testFailed('#889: 16777216 >>> 27 === 0. Actual: ' + (16777216 >>> 27)); >-} >- >- >-if (33554432 >>> 27 !== 0) { >- testFailed('#890: 33554432 >>> 27 === 0. Actual: ' + (33554432 >>> 27)); >-} >- >- >-if (67108864 >>> 27 !== 0) { >- testFailed('#891: 67108864 >>> 27 === 0. Actual: ' + (67108864 >>> 27)); >-} >- >- >-if (134217728 >>> 27 !== 1) { >- testFailed('#892: 134217728 >>> 27 === 1. Actual: ' + (134217728 >>> 27)); >-} >- >- >-if (268435456 >>> 27 !== 2) { >- testFailed('#893: 268435456 >>> 27 === 2. Actual: ' + (268435456 >>> 27)); >-} >- >- >-if (536870912 >>> 27 !== 4) { >- testFailed('#894: 536870912 >>> 27 === 4. Actual: ' + (536870912 >>> 27)); >-} >- >- >-if (1073741824 >>> 27 !== 8) { >- testFailed('#895: 1073741824 >>> 27 === 8. Actual: ' + (1073741824 >>> 27)); >-} >- >- >-if (2147483648 >>> 27 !== 16) { >- testFailed('#896: 2147483648 >>> 27 === 16. Actual: ' + (2147483648 >>> 27)); >-} >- >- >-if (1 >>> 28 !== 0) { >- testFailed('#897: 1 >>> 28 === 0. Actual: ' + (1 >>> 28)); >-} >- >- >-if (2 >>> 28 !== 0) { >- testFailed('#898: 2 >>> 28 === 0. Actual: ' + (2 >>> 28)); >-} >- >- >-if (4 >>> 28 !== 0) { >- testFailed('#899: 4 >>> 28 === 0. Actual: ' + (4 >>> 28)); >-} >- >- >-if (8 >>> 28 !== 0) { >- testFailed('#900: 8 >>> 28 === 0. Actual: ' + (8 >>> 28)); >-} >- >- >-if (16 >>> 28 !== 0) { >- testFailed('#901: 16 >>> 28 === 0. Actual: ' + (16 >>> 28)); >-} >- >- >-if (32 >>> 28 !== 0) { >- testFailed('#902: 32 >>> 28 === 0. Actual: ' + (32 >>> 28)); >-} >- >- >-if (64 >>> 28 !== 0) { >- testFailed('#903: 64 >>> 28 === 0. Actual: ' + (64 >>> 28)); >-} >- >- >-if (128 >>> 28 !== 0) { >- testFailed('#904: 128 >>> 28 === 0. Actual: ' + (128 >>> 28)); >-} >- >- >-if (256 >>> 28 !== 0) { >- testFailed('#905: 256 >>> 28 === 0. Actual: ' + (256 >>> 28)); >-} >- >- >-if (512 >>> 28 !== 0) { >- testFailed('#906: 512 >>> 28 === 0. Actual: ' + (512 >>> 28)); >-} >- >- >-if (1024 >>> 28 !== 0) { >- testFailed('#907: 1024 >>> 28 === 0. Actual: ' + (1024 >>> 28)); >-} >- >- >-if (2048 >>> 28 !== 0) { >- testFailed('#908: 2048 >>> 28 === 0. Actual: ' + (2048 >>> 28)); >-} >- >- >-if (4096 >>> 28 !== 0) { >- testFailed('#909: 4096 >>> 28 === 0. Actual: ' + (4096 >>> 28)); >-} >- >- >-if (8192 >>> 28 !== 0) { >- testFailed('#910: 8192 >>> 28 === 0. Actual: ' + (8192 >>> 28)); >-} >- >- >-if (16384 >>> 28 !== 0) { >- testFailed('#911: 16384 >>> 28 === 0. Actual: ' + (16384 >>> 28)); >-} >- >- >-if (32768 >>> 28 !== 0) { >- testFailed('#912: 32768 >>> 28 === 0. Actual: ' + (32768 >>> 28)); >-} >- >- >-if (65536 >>> 28 !== 0) { >- testFailed('#913: 65536 >>> 28 === 0. Actual: ' + (65536 >>> 28)); >-} >- >- >-if (131072 >>> 28 !== 0) { >- testFailed('#914: 131072 >>> 28 === 0. Actual: ' + (131072 >>> 28)); >-} >- >- >-if (262144 >>> 28 !== 0) { >- testFailed('#915: 262144 >>> 28 === 0. Actual: ' + (262144 >>> 28)); >-} >- >- >-if (524288 >>> 28 !== 0) { >- testFailed('#916: 524288 >>> 28 === 0. Actual: ' + (524288 >>> 28)); >-} >- >- >-if (1048576 >>> 28 !== 0) { >- testFailed('#917: 1048576 >>> 28 === 0. Actual: ' + (1048576 >>> 28)); >-} >- >- >-if (2097152 >>> 28 !== 0) { >- testFailed('#918: 2097152 >>> 28 === 0. Actual: ' + (2097152 >>> 28)); >-} >- >- >-if (4194304 >>> 28 !== 0) { >- testFailed('#919: 4194304 >>> 28 === 0. Actual: ' + (4194304 >>> 28)); >-} >- >- >-if (8388608 >>> 28 !== 0) { >- testFailed('#920: 8388608 >>> 28 === 0. Actual: ' + (8388608 >>> 28)); >-} >- >- >-if (16777216 >>> 28 !== 0) { >- testFailed('#921: 16777216 >>> 28 === 0. Actual: ' + (16777216 >>> 28)); >-} >- >- >-if (33554432 >>> 28 !== 0) { >- testFailed('#922: 33554432 >>> 28 === 0. Actual: ' + (33554432 >>> 28)); >-} >- >- >-if (67108864 >>> 28 !== 0) { >- testFailed('#923: 67108864 >>> 28 === 0. Actual: ' + (67108864 >>> 28)); >-} >- >- >-if (134217728 >>> 28 !== 0) { >- testFailed('#924: 134217728 >>> 28 === 0. Actual: ' + (134217728 >>> 28)); >-} >- >- >-if (268435456 >>> 28 !== 1) { >- testFailed('#925: 268435456 >>> 28 === 1. Actual: ' + (268435456 >>> 28)); >-} >- >- >-if (536870912 >>> 28 !== 2) { >- testFailed('#926: 536870912 >>> 28 === 2. Actual: ' + (536870912 >>> 28)); >-} >- >- >-if (1073741824 >>> 28 !== 4) { >- testFailed('#927: 1073741824 >>> 28 === 4. Actual: ' + (1073741824 >>> 28)); >-} >- >- >-if (2147483648 >>> 28 !== 8) { >- testFailed('#928: 2147483648 >>> 28 === 8. Actual: ' + (2147483648 >>> 28)); >-} >- >- >-if (1 >>> 29 !== 0) { >- testFailed('#929: 1 >>> 29 === 0. Actual: ' + (1 >>> 29)); >-} >- >- >-if (2 >>> 29 !== 0) { >- testFailed('#930: 2 >>> 29 === 0. Actual: ' + (2 >>> 29)); >-} >- >- >-if (4 >>> 29 !== 0) { >- testFailed('#931: 4 >>> 29 === 0. Actual: ' + (4 >>> 29)); >-} >- >- >-if (8 >>> 29 !== 0) { >- testFailed('#932: 8 >>> 29 === 0. Actual: ' + (8 >>> 29)); >-} >- >- >-if (16 >>> 29 !== 0) { >- testFailed('#933: 16 >>> 29 === 0. Actual: ' + (16 >>> 29)); >-} >- >- >-if (32 >>> 29 !== 0) { >- testFailed('#934: 32 >>> 29 === 0. Actual: ' + (32 >>> 29)); >-} >- >- >-if (64 >>> 29 !== 0) { >- testFailed('#935: 64 >>> 29 === 0. Actual: ' + (64 >>> 29)); >-} >- >- >-if (128 >>> 29 !== 0) { >- testFailed('#936: 128 >>> 29 === 0. Actual: ' + (128 >>> 29)); >-} >- >- >-if (256 >>> 29 !== 0) { >- testFailed('#937: 256 >>> 29 === 0. Actual: ' + (256 >>> 29)); >-} >- >- >-if (512 >>> 29 !== 0) { >- testFailed('#938: 512 >>> 29 === 0. Actual: ' + (512 >>> 29)); >-} >- >- >-if (1024 >>> 29 !== 0) { >- testFailed('#939: 1024 >>> 29 === 0. Actual: ' + (1024 >>> 29)); >-} >- >- >-if (2048 >>> 29 !== 0) { >- testFailed('#940: 2048 >>> 29 === 0. Actual: ' + (2048 >>> 29)); >-} >- >- >-if (4096 >>> 29 !== 0) { >- testFailed('#941: 4096 >>> 29 === 0. Actual: ' + (4096 >>> 29)); >-} >- >- >-if (8192 >>> 29 !== 0) { >- testFailed('#942: 8192 >>> 29 === 0. Actual: ' + (8192 >>> 29)); >-} >- >- >-if (16384 >>> 29 !== 0) { >- testFailed('#943: 16384 >>> 29 === 0. Actual: ' + (16384 >>> 29)); >-} >- >- >-if (32768 >>> 29 !== 0) { >- testFailed('#944: 32768 >>> 29 === 0. Actual: ' + (32768 >>> 29)); >-} >- >- >-if (65536 >>> 29 !== 0) { >- testFailed('#945: 65536 >>> 29 === 0. Actual: ' + (65536 >>> 29)); >-} >- >- >-if (131072 >>> 29 !== 0) { >- testFailed('#946: 131072 >>> 29 === 0. Actual: ' + (131072 >>> 29)); >-} >- >- >-if (262144 >>> 29 !== 0) { >- testFailed('#947: 262144 >>> 29 === 0. Actual: ' + (262144 >>> 29)); >-} >- >- >-if (524288 >>> 29 !== 0) { >- testFailed('#948: 524288 >>> 29 === 0. Actual: ' + (524288 >>> 29)); >-} >- >- >-if (1048576 >>> 29 !== 0) { >- testFailed('#949: 1048576 >>> 29 === 0. Actual: ' + (1048576 >>> 29)); >-} >- >- >-if (2097152 >>> 29 !== 0) { >- testFailed('#950: 2097152 >>> 29 === 0. Actual: ' + (2097152 >>> 29)); >-} >- >- >-if (4194304 >>> 29 !== 0) { >- testFailed('#951: 4194304 >>> 29 === 0. Actual: ' + (4194304 >>> 29)); >-} >- >- >-if (8388608 >>> 29 !== 0) { >- testFailed('#952: 8388608 >>> 29 === 0. Actual: ' + (8388608 >>> 29)); >-} >- >- >-if (16777216 >>> 29 !== 0) { >- testFailed('#953: 16777216 >>> 29 === 0. Actual: ' + (16777216 >>> 29)); >-} >- >- >-if (33554432 >>> 29 !== 0) { >- testFailed('#954: 33554432 >>> 29 === 0. Actual: ' + (33554432 >>> 29)); >-} >- >- >-if (67108864 >>> 29 !== 0) { >- testFailed('#955: 67108864 >>> 29 === 0. Actual: ' + (67108864 >>> 29)); >-} >- >- >-if (134217728 >>> 29 !== 0) { >- testFailed('#956: 134217728 >>> 29 === 0. Actual: ' + (134217728 >>> 29)); >-} >- >- >-if (268435456 >>> 29 !== 0) { >- testFailed('#957: 268435456 >>> 29 === 0. Actual: ' + (268435456 >>> 29)); >-} >- >- >-if (536870912 >>> 29 !== 1) { >- testFailed('#958: 536870912 >>> 29 === 1. Actual: ' + (536870912 >>> 29)); >-} >- >- >-if (1073741824 >>> 29 !== 2) { >- testFailed('#959: 1073741824 >>> 29 === 2. Actual: ' + (1073741824 >>> 29)); >-} >- >- >-if (2147483648 >>> 29 !== 4) { >- testFailed('#960: 2147483648 >>> 29 === 4. Actual: ' + (2147483648 >>> 29)); >-} >- >- >-if (1 >>> 30 !== 0) { >- testFailed('#961: 1 >>> 30 === 0. Actual: ' + (1 >>> 30)); >-} >- >- >-if (2 >>> 30 !== 0) { >- testFailed('#962: 2 >>> 30 === 0. Actual: ' + (2 >>> 30)); >-} >- >- >-if (4 >>> 30 !== 0) { >- testFailed('#963: 4 >>> 30 === 0. Actual: ' + (4 >>> 30)); >-} >- >- >-if (8 >>> 30 !== 0) { >- testFailed('#964: 8 >>> 30 === 0. Actual: ' + (8 >>> 30)); >-} >- >- >-if (16 >>> 30 !== 0) { >- testFailed('#965: 16 >>> 30 === 0. Actual: ' + (16 >>> 30)); >-} >- >- >-if (32 >>> 30 !== 0) { >- testFailed('#966: 32 >>> 30 === 0. Actual: ' + (32 >>> 30)); >-} >- >- >-if (64 >>> 30 !== 0) { >- testFailed('#967: 64 >>> 30 === 0. Actual: ' + (64 >>> 30)); >-} >- >- >-if (128 >>> 30 !== 0) { >- testFailed('#968: 128 >>> 30 === 0. Actual: ' + (128 >>> 30)); >-} >- >- >-if (256 >>> 30 !== 0) { >- testFailed('#969: 256 >>> 30 === 0. Actual: ' + (256 >>> 30)); >-} >- >- >-if (512 >>> 30 !== 0) { >- testFailed('#970: 512 >>> 30 === 0. Actual: ' + (512 >>> 30)); >-} >- >- >-if (1024 >>> 30 !== 0) { >- testFailed('#971: 1024 >>> 30 === 0. Actual: ' + (1024 >>> 30)); >-} >- >- >-if (2048 >>> 30 !== 0) { >- testFailed('#972: 2048 >>> 30 === 0. Actual: ' + (2048 >>> 30)); >-} >- >- >-if (4096 >>> 30 !== 0) { >- testFailed('#973: 4096 >>> 30 === 0. Actual: ' + (4096 >>> 30)); >-} >- >- >-if (8192 >>> 30 !== 0) { >- testFailed('#974: 8192 >>> 30 === 0. Actual: ' + (8192 >>> 30)); >-} >- >- >-if (16384 >>> 30 !== 0) { >- testFailed('#975: 16384 >>> 30 === 0. Actual: ' + (16384 >>> 30)); >-} >- >- >-if (32768 >>> 30 !== 0) { >- testFailed('#976: 32768 >>> 30 === 0. Actual: ' + (32768 >>> 30)); >-} >- >- >-if (65536 >>> 30 !== 0) { >- testFailed('#977: 65536 >>> 30 === 0. Actual: ' + (65536 >>> 30)); >-} >- >- >-if (131072 >>> 30 !== 0) { >- testFailed('#978: 131072 >>> 30 === 0. Actual: ' + (131072 >>> 30)); >-} >- >- >-if (262144 >>> 30 !== 0) { >- testFailed('#979: 262144 >>> 30 === 0. Actual: ' + (262144 >>> 30)); >-} >- >- >-if (524288 >>> 30 !== 0) { >- testFailed('#980: 524288 >>> 30 === 0. Actual: ' + (524288 >>> 30)); >-} >- >- >-if (1048576 >>> 30 !== 0) { >- testFailed('#981: 1048576 >>> 30 === 0. Actual: ' + (1048576 >>> 30)); >-} >- >- >-if (2097152 >>> 30 !== 0) { >- testFailed('#982: 2097152 >>> 30 === 0. Actual: ' + (2097152 >>> 30)); >-} >- >- >-if (4194304 >>> 30 !== 0) { >- testFailed('#983: 4194304 >>> 30 === 0. Actual: ' + (4194304 >>> 30)); >-} >- >- >-if (8388608 >>> 30 !== 0) { >- testFailed('#984: 8388608 >>> 30 === 0. Actual: ' + (8388608 >>> 30)); >-} >- >- >-if (16777216 >>> 30 !== 0) { >- testFailed('#985: 16777216 >>> 30 === 0. Actual: ' + (16777216 >>> 30)); >-} >- >- >-if (33554432 >>> 30 !== 0) { >- testFailed('#986: 33554432 >>> 30 === 0. Actual: ' + (33554432 >>> 30)); >-} >- >- >-if (67108864 >>> 30 !== 0) { >- testFailed('#987: 67108864 >>> 30 === 0. Actual: ' + (67108864 >>> 30)); >-} >- >- >-if (134217728 >>> 30 !== 0) { >- testFailed('#988: 134217728 >>> 30 === 0. Actual: ' + (134217728 >>> 30)); >-} >- >- >-if (268435456 >>> 30 !== 0) { >- testFailed('#989: 268435456 >>> 30 === 0. Actual: ' + (268435456 >>> 30)); >-} >- >- >-if (536870912 >>> 30 !== 0) { >- testFailed('#990: 536870912 >>> 30 === 0. Actual: ' + (536870912 >>> 30)); >-} >- >- >-if (1073741824 >>> 30 !== 1) { >- testFailed('#991: 1073741824 >>> 30 === 1. Actual: ' + (1073741824 >>> 30)); >-} >- >- >-if (2147483648 >>> 30 !== 2) { >- testFailed('#992: 2147483648 >>> 30 === 2. Actual: ' + (2147483648 >>> 30)); >-} >- >- >-if (1 >>> 31 !== 0) { >- testFailed('#993: 1 >>> 31 === 0. Actual: ' + (1 >>> 31)); >-} >- >- >-if (2 >>> 31 !== 0) { >- testFailed('#994: 2 >>> 31 === 0. Actual: ' + (2 >>> 31)); >-} >- >- >-if (4 >>> 31 !== 0) { >- testFailed('#995: 4 >>> 31 === 0. Actual: ' + (4 >>> 31)); >-} >- >- >-if (8 >>> 31 !== 0) { >- testFailed('#996: 8 >>> 31 === 0. Actual: ' + (8 >>> 31)); >-} >- >- >-if (16 >>> 31 !== 0) { >- testFailed('#997: 16 >>> 31 === 0. Actual: ' + (16 >>> 31)); >-} >- >- >-if (32 >>> 31 !== 0) { >- testFailed('#998: 32 >>> 31 === 0. Actual: ' + (32 >>> 31)); >-} >- >- >-if (64 >>> 31 !== 0) { >- testFailed('#999: 64 >>> 31 === 0. Actual: ' + (64 >>> 31)); >-} >- >- >-if (128 >>> 31 !== 0) { >- testFailed('#1000: 128 >>> 31 === 0. Actual: ' + (128 >>> 31)); >-} >- >- >-if (256 >>> 31 !== 0) { >- testFailed('#1001: 256 >>> 31 === 0. Actual: ' + (256 >>> 31)); >-} >- >- >-if (512 >>> 31 !== 0) { >- testFailed('#1002: 512 >>> 31 === 0. Actual: ' + (512 >>> 31)); >-} >- >- >-if (1024 >>> 31 !== 0) { >- testFailed('#1003: 1024 >>> 31 === 0. Actual: ' + (1024 >>> 31)); >-} >- >- >-if (2048 >>> 31 !== 0) { >- testFailed('#1004: 2048 >>> 31 === 0. Actual: ' + (2048 >>> 31)); >-} >- >- >-if (4096 >>> 31 !== 0) { >- testFailed('#1005: 4096 >>> 31 === 0. Actual: ' + (4096 >>> 31)); >-} >- >- >-if (8192 >>> 31 !== 0) { >- testFailed('#1006: 8192 >>> 31 === 0. Actual: ' + (8192 >>> 31)); >-} >- >- >-if (16384 >>> 31 !== 0) { >- testFailed('#1007: 16384 >>> 31 === 0. Actual: ' + (16384 >>> 31)); >-} >- >- >-if (32768 >>> 31 !== 0) { >- testFailed('#1008: 32768 >>> 31 === 0. Actual: ' + (32768 >>> 31)); >-} >- >- >-if (65536 >>> 31 !== 0) { >- testFailed('#1009: 65536 >>> 31 === 0. Actual: ' + (65536 >>> 31)); >-} >- >- >-if (131072 >>> 31 !== 0) { >- testFailed('#1010: 131072 >>> 31 === 0. Actual: ' + (131072 >>> 31)); >-} >- >- >-if (262144 >>> 31 !== 0) { >- testFailed('#1011: 262144 >>> 31 === 0. Actual: ' + (262144 >>> 31)); >-} >- >- >-if (524288 >>> 31 !== 0) { >- testFailed('#1012: 524288 >>> 31 === 0. Actual: ' + (524288 >>> 31)); >-} >- >- >-if (1048576 >>> 31 !== 0) { >- testFailed('#1013: 1048576 >>> 31 === 0. Actual: ' + (1048576 >>> 31)); >-} >- >- >-if (2097152 >>> 31 !== 0) { >- testFailed('#1014: 2097152 >>> 31 === 0. Actual: ' + (2097152 >>> 31)); >-} >- >- >-if (4194304 >>> 31 !== 0) { >- testFailed('#1015: 4194304 >>> 31 === 0. Actual: ' + (4194304 >>> 31)); >-} >- >- >-if (8388608 >>> 31 !== 0) { >- testFailed('#1016: 8388608 >>> 31 === 0. Actual: ' + (8388608 >>> 31)); >-} >- >- >-if (16777216 >>> 31 !== 0) { >- testFailed('#1017: 16777216 >>> 31 === 0. Actual: ' + (16777216 >>> 31)); >-} >- >- >-if (33554432 >>> 31 !== 0) { >- testFailed('#1018: 33554432 >>> 31 === 0. Actual: ' + (33554432 >>> 31)); >-} >- >- >-if (67108864 >>> 31 !== 0) { >- testFailed('#1019: 67108864 >>> 31 === 0. Actual: ' + (67108864 >>> 31)); >-} >- >- >-if (134217728 >>> 31 !== 0) { >- testFailed('#1020: 134217728 >>> 31 === 0. Actual: ' + (134217728 >>> 31)); >-} >- >- >-if (268435456 >>> 31 !== 0) { >- testFailed('#1021: 268435456 >>> 31 === 0. Actual: ' + (268435456 >>> 31)); >-} >- >- >-if (536870912 >>> 31 !== 0) { >- testFailed('#1022: 536870912 >>> 31 === 0. Actual: ' + (536870912 >>> 31)); >-} >- >- >-if (1073741824 >>> 31 !== 0) { >- testFailed('#1023: 1073741824 >>> 31 === 0. Actual: ' + (1073741824 >>> 31)); >-} >- >- >-if (2147483648 >>> 31 !== 1) { >- testFailed('#1024: 2147483648 >>> 31 === 1. Actual: ' + (2147483648 >>> 31)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3-expected.txt >deleted file mode 100644 >index e04249e1652..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.html >deleted file mode 100644 >index 6c83475361b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.html >+++ /dev/null >@@ -1,2733 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A4_T3; >- * @section: 11.7.3; >- * @assertion: Check operator x >>> y in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 0...15; >- */ >- >-//CHECK >- >-if (0 >>> 0 !== 0) { >- testFailed('#1: 0 >>> 0 === 0. Actual: ' + (0 >>> 0)); >-} >- >- >-if (1 >>> 0 !== 1) { >- testFailed('#2: 1 >>> 0 === 1. Actual: ' + (1 >>> 0)); >-} >- >- >-if (3 >>> 0 !== 3) { >- testFailed('#3: 3 >>> 0 === 3. Actual: ' + (3 >>> 0)); >-} >- >- >-if (7 >>> 0 !== 7) { >- testFailed('#4: 7 >>> 0 === 7. Actual: ' + (7 >>> 0)); >-} >- >- >-if (15 >>> 0 !== 15) { >- testFailed('#5: 15 >>> 0 === 15. Actual: ' + (15 >>> 0)); >-} >- >- >-if (31 >>> 0 !== 31) { >- testFailed('#6: 31 >>> 0 === 31. Actual: ' + (31 >>> 0)); >-} >- >- >-if (63 >>> 0 !== 63) { >- testFailed('#7: 63 >>> 0 === 63. Actual: ' + (63 >>> 0)); >-} >- >- >-if (127 >>> 0 !== 127) { >- testFailed('#8: 127 >>> 0 === 127. Actual: ' + (127 >>> 0)); >-} >- >- >-if (255 >>> 0 !== 255) { >- testFailed('#9: 255 >>> 0 === 255. Actual: ' + (255 >>> 0)); >-} >- >- >-if (511 >>> 0 !== 511) { >- testFailed('#10: 511 >>> 0 === 511. Actual: ' + (511 >>> 0)); >-} >- >- >-if (1023 >>> 0 !== 1023) { >- testFailed('#11: 1023 >>> 0 === 1023. Actual: ' + (1023 >>> 0)); >-} >- >- >-if (2047 >>> 0 !== 2047) { >- testFailed('#12: 2047 >>> 0 === 2047. Actual: ' + (2047 >>> 0)); >-} >- >- >-if (4095 >>> 0 !== 4095) { >- testFailed('#13: 4095 >>> 0 === 4095. Actual: ' + (4095 >>> 0)); >-} >- >- >-if (8191 >>> 0 !== 8191) { >- testFailed('#14: 8191 >>> 0 === 8191. Actual: ' + (8191 >>> 0)); >-} >- >- >-if (16383 >>> 0 !== 16383) { >- testFailed('#15: 16383 >>> 0 === 16383. Actual: ' + (16383 >>> 0)); >-} >- >- >-if (32767 >>> 0 !== 32767) { >- testFailed('#16: 32767 >>> 0 === 32767. Actual: ' + (32767 >>> 0)); >-} >- >- >-if (65535 >>> 0 !== 65535) { >- testFailed('#17: 65535 >>> 0 === 65535. Actual: ' + (65535 >>> 0)); >-} >- >- >-if (131071 >>> 0 !== 131071) { >- testFailed('#18: 131071 >>> 0 === 131071. Actual: ' + (131071 >>> 0)); >-} >- >- >-if (262143 >>> 0 !== 262143) { >- testFailed('#19: 262143 >>> 0 === 262143. Actual: ' + (262143 >>> 0)); >-} >- >- >-if (524287 >>> 0 !== 524287) { >- testFailed('#20: 524287 >>> 0 === 524287. Actual: ' + (524287 >>> 0)); >-} >- >- >-if (1048575 >>> 0 !== 1048575) { >- testFailed('#21: 1048575 >>> 0 === 1048575. Actual: ' + (1048575 >>> 0)); >-} >- >- >-if (2097151 >>> 0 !== 2097151) { >- testFailed('#22: 2097151 >>> 0 === 2097151. Actual: ' + (2097151 >>> 0)); >-} >- >- >-if (4194303 >>> 0 !== 4194303) { >- testFailed('#23: 4194303 >>> 0 === 4194303. Actual: ' + (4194303 >>> 0)); >-} >- >- >-if (8388607 >>> 0 !== 8388607) { >- testFailed('#24: 8388607 >>> 0 === 8388607. Actual: ' + (8388607 >>> 0)); >-} >- >- >-if (16777215 >>> 0 !== 16777215) { >- testFailed('#25: 16777215 >>> 0 === 16777215. Actual: ' + (16777215 >>> 0)); >-} >- >- >-if (33554431 >>> 0 !== 33554431) { >- testFailed('#26: 33554431 >>> 0 === 33554431. Actual: ' + (33554431 >>> 0)); >-} >- >- >-if (67108863 >>> 0 !== 67108863) { >- testFailed('#27: 67108863 >>> 0 === 67108863. Actual: ' + (67108863 >>> 0)); >-} >- >- >-if (134217727 >>> 0 !== 134217727) { >- testFailed('#28: 134217727 >>> 0 === 134217727. Actual: ' + (134217727 >>> 0)); >-} >- >- >-if (268435455 >>> 0 !== 268435455) { >- testFailed('#29: 268435455 >>> 0 === 268435455. Actual: ' + (268435455 >>> 0)); >-} >- >- >-if (536870911 >>> 0 !== 536870911) { >- testFailed('#30: 536870911 >>> 0 === 536870911. Actual: ' + (536870911 >>> 0)); >-} >- >- >-if (1073741823 >>> 0 !== 1073741823) { >- testFailed('#31: 1073741823 >>> 0 === 1073741823. Actual: ' + (1073741823 >>> 0)); >-} >- >- >-if (2147483647 >>> 0 !== 2147483647) { >- testFailed('#32: 2147483647 >>> 0 === 2147483647. Actual: ' + (2147483647 >>> 0)); >-} >- >- >-if (4294967295 >>> 0 !== 4294967295) { >- testFailed('#33: 4294967295 >>> 0 === 4294967295. Actual: ' + (4294967295 >>> 0)); >-} >- >- >-if (0 >>> 1 !== 0) { >- testFailed('#34: 0 >>> 1 === 0. Actual: ' + (0 >>> 1)); >-} >- >- >-if (1 >>> 1 !== 0) { >- testFailed('#35: 1 >>> 1 === 0. Actual: ' + (1 >>> 1)); >-} >- >- >-if (3 >>> 1 !== 1) { >- testFailed('#36: 3 >>> 1 === 1. Actual: ' + (3 >>> 1)); >-} >- >- >-if (7 >>> 1 !== 3) { >- testFailed('#37: 7 >>> 1 === 3. Actual: ' + (7 >>> 1)); >-} >- >- >-if (15 >>> 1 !== 7) { >- testFailed('#38: 15 >>> 1 === 7. Actual: ' + (15 >>> 1)); >-} >- >- >-if (31 >>> 1 !== 15) { >- testFailed('#39: 31 >>> 1 === 15. Actual: ' + (31 >>> 1)); >-} >- >- >-if (63 >>> 1 !== 31) { >- testFailed('#40: 63 >>> 1 === 31. Actual: ' + (63 >>> 1)); >-} >- >- >-if (127 >>> 1 !== 63) { >- testFailed('#41: 127 >>> 1 === 63. Actual: ' + (127 >>> 1)); >-} >- >- >-if (255 >>> 1 !== 127) { >- testFailed('#42: 255 >>> 1 === 127. Actual: ' + (255 >>> 1)); >-} >- >- >-if (511 >>> 1 !== 255) { >- testFailed('#43: 511 >>> 1 === 255. Actual: ' + (511 >>> 1)); >-} >- >- >-if (1023 >>> 1 !== 511) { >- testFailed('#44: 1023 >>> 1 === 511. Actual: ' + (1023 >>> 1)); >-} >- >- >-if (2047 >>> 1 !== 1023) { >- testFailed('#45: 2047 >>> 1 === 1023. Actual: ' + (2047 >>> 1)); >-} >- >- >-if (4095 >>> 1 !== 2047) { >- testFailed('#46: 4095 >>> 1 === 2047. Actual: ' + (4095 >>> 1)); >-} >- >- >-if (8191 >>> 1 !== 4095) { >- testFailed('#47: 8191 >>> 1 === 4095. Actual: ' + (8191 >>> 1)); >-} >- >- >-if (16383 >>> 1 !== 8191) { >- testFailed('#48: 16383 >>> 1 === 8191. Actual: ' + (16383 >>> 1)); >-} >- >- >-if (32767 >>> 1 !== 16383) { >- testFailed('#49: 32767 >>> 1 === 16383. Actual: ' + (32767 >>> 1)); >-} >- >- >-if (65535 >>> 1 !== 32767) { >- testFailed('#50: 65535 >>> 1 === 32767. Actual: ' + (65535 >>> 1)); >-} >- >- >-if (131071 >>> 1 !== 65535) { >- testFailed('#51: 131071 >>> 1 === 65535. Actual: ' + (131071 >>> 1)); >-} >- >- >-if (262143 >>> 1 !== 131071) { >- testFailed('#52: 262143 >>> 1 === 131071. Actual: ' + (262143 >>> 1)); >-} >- >- >-if (524287 >>> 1 !== 262143) { >- testFailed('#53: 524287 >>> 1 === 262143. Actual: ' + (524287 >>> 1)); >-} >- >- >-if (1048575 >>> 1 !== 524287) { >- testFailed('#54: 1048575 >>> 1 === 524287. Actual: ' + (1048575 >>> 1)); >-} >- >- >-if (2097151 >>> 1 !== 1048575) { >- testFailed('#55: 2097151 >>> 1 === 1048575. Actual: ' + (2097151 >>> 1)); >-} >- >- >-if (4194303 >>> 1 !== 2097151) { >- testFailed('#56: 4194303 >>> 1 === 2097151. Actual: ' + (4194303 >>> 1)); >-} >- >- >-if (8388607 >>> 1 !== 4194303) { >- testFailed('#57: 8388607 >>> 1 === 4194303. Actual: ' + (8388607 >>> 1)); >-} >- >- >-if (16777215 >>> 1 !== 8388607) { >- testFailed('#58: 16777215 >>> 1 === 8388607. Actual: ' + (16777215 >>> 1)); >-} >- >- >-if (33554431 >>> 1 !== 16777215) { >- testFailed('#59: 33554431 >>> 1 === 16777215. Actual: ' + (33554431 >>> 1)); >-} >- >- >-if (67108863 >>> 1 !== 33554431) { >- testFailed('#60: 67108863 >>> 1 === 33554431. Actual: ' + (67108863 >>> 1)); >-} >- >- >-if (134217727 >>> 1 !== 67108863) { >- testFailed('#61: 134217727 >>> 1 === 67108863. Actual: ' + (134217727 >>> 1)); >-} >- >- >-if (268435455 >>> 1 !== 134217727) { >- testFailed('#62: 268435455 >>> 1 === 134217727. Actual: ' + (268435455 >>> 1)); >-} >- >- >-if (536870911 >>> 1 !== 268435455) { >- testFailed('#63: 536870911 >>> 1 === 268435455. Actual: ' + (536870911 >>> 1)); >-} >- >- >-if (1073741823 >>> 1 !== 536870911) { >- testFailed('#64: 1073741823 >>> 1 === 536870911. Actual: ' + (1073741823 >>> 1)); >-} >- >- >-if (2147483647 >>> 1 !== 1073741823) { >- testFailed('#65: 2147483647 >>> 1 === 1073741823. Actual: ' + (2147483647 >>> 1)); >-} >- >- >-if (4294967295 >>> 1 !== 2147483647) { >- testFailed('#66: 4294967295 >>> 1 === 2147483647. Actual: ' + (4294967295 >>> 1)); >-} >- >- >-if (0 >>> 2 !== 0) { >- testFailed('#67: 0 >>> 2 === 0. Actual: ' + (0 >>> 2)); >-} >- >- >-if (1 >>> 2 !== 0) { >- testFailed('#68: 1 >>> 2 === 0. Actual: ' + (1 >>> 2)); >-} >- >- >-if (3 >>> 2 !== 0) { >- testFailed('#69: 3 >>> 2 === 0. Actual: ' + (3 >>> 2)); >-} >- >- >-if (7 >>> 2 !== 1) { >- testFailed('#70: 7 >>> 2 === 1. Actual: ' + (7 >>> 2)); >-} >- >- >-if (15 >>> 2 !== 3) { >- testFailed('#71: 15 >>> 2 === 3. Actual: ' + (15 >>> 2)); >-} >- >- >-if (31 >>> 2 !== 7) { >- testFailed('#72: 31 >>> 2 === 7. Actual: ' + (31 >>> 2)); >-} >- >- >-if (63 >>> 2 !== 15) { >- testFailed('#73: 63 >>> 2 === 15. Actual: ' + (63 >>> 2)); >-} >- >- >-if (127 >>> 2 !== 31) { >- testFailed('#74: 127 >>> 2 === 31. Actual: ' + (127 >>> 2)); >-} >- >- >-if (255 >>> 2 !== 63) { >- testFailed('#75: 255 >>> 2 === 63. Actual: ' + (255 >>> 2)); >-} >- >- >-if (511 >>> 2 !== 127) { >- testFailed('#76: 511 >>> 2 === 127. Actual: ' + (511 >>> 2)); >-} >- >- >-if (1023 >>> 2 !== 255) { >- testFailed('#77: 1023 >>> 2 === 255. Actual: ' + (1023 >>> 2)); >-} >- >- >-if (2047 >>> 2 !== 511) { >- testFailed('#78: 2047 >>> 2 === 511. Actual: ' + (2047 >>> 2)); >-} >- >- >-if (4095 >>> 2 !== 1023) { >- testFailed('#79: 4095 >>> 2 === 1023. Actual: ' + (4095 >>> 2)); >-} >- >- >-if (8191 >>> 2 !== 2047) { >- testFailed('#80: 8191 >>> 2 === 2047. Actual: ' + (8191 >>> 2)); >-} >- >- >-if (16383 >>> 2 !== 4095) { >- testFailed('#81: 16383 >>> 2 === 4095. Actual: ' + (16383 >>> 2)); >-} >- >- >-if (32767 >>> 2 !== 8191) { >- testFailed('#82: 32767 >>> 2 === 8191. Actual: ' + (32767 >>> 2)); >-} >- >- >-if (65535 >>> 2 !== 16383) { >- testFailed('#83: 65535 >>> 2 === 16383. Actual: ' + (65535 >>> 2)); >-} >- >- >-if (131071 >>> 2 !== 32767) { >- testFailed('#84: 131071 >>> 2 === 32767. Actual: ' + (131071 >>> 2)); >-} >- >- >-if (262143 >>> 2 !== 65535) { >- testFailed('#85: 262143 >>> 2 === 65535. Actual: ' + (262143 >>> 2)); >-} >- >- >-if (524287 >>> 2 !== 131071) { >- testFailed('#86: 524287 >>> 2 === 131071. Actual: ' + (524287 >>> 2)); >-} >- >- >-if (1048575 >>> 2 !== 262143) { >- testFailed('#87: 1048575 >>> 2 === 262143. Actual: ' + (1048575 >>> 2)); >-} >- >- >-if (2097151 >>> 2 !== 524287) { >- testFailed('#88: 2097151 >>> 2 === 524287. Actual: ' + (2097151 >>> 2)); >-} >- >- >-if (4194303 >>> 2 !== 1048575) { >- testFailed('#89: 4194303 >>> 2 === 1048575. Actual: ' + (4194303 >>> 2)); >-} >- >- >-if (8388607 >>> 2 !== 2097151) { >- testFailed('#90: 8388607 >>> 2 === 2097151. Actual: ' + (8388607 >>> 2)); >-} >- >- >-if (16777215 >>> 2 !== 4194303) { >- testFailed('#91: 16777215 >>> 2 === 4194303. Actual: ' + (16777215 >>> 2)); >-} >- >- >-if (33554431 >>> 2 !== 8388607) { >- testFailed('#92: 33554431 >>> 2 === 8388607. Actual: ' + (33554431 >>> 2)); >-} >- >- >-if (67108863 >>> 2 !== 16777215) { >- testFailed('#93: 67108863 >>> 2 === 16777215. Actual: ' + (67108863 >>> 2)); >-} >- >- >-if (134217727 >>> 2 !== 33554431) { >- testFailed('#94: 134217727 >>> 2 === 33554431. Actual: ' + (134217727 >>> 2)); >-} >- >- >-if (268435455 >>> 2 !== 67108863) { >- testFailed('#95: 268435455 >>> 2 === 67108863. Actual: ' + (268435455 >>> 2)); >-} >- >- >-if (536870911 >>> 2 !== 134217727) { >- testFailed('#96: 536870911 >>> 2 === 134217727. Actual: ' + (536870911 >>> 2)); >-} >- >- >-if (1073741823 >>> 2 !== 268435455) { >- testFailed('#97: 1073741823 >>> 2 === 268435455. Actual: ' + (1073741823 >>> 2)); >-} >- >- >-if (2147483647 >>> 2 !== 536870911) { >- testFailed('#98: 2147483647 >>> 2 === 536870911. Actual: ' + (2147483647 >>> 2)); >-} >- >- >-if (4294967295 >>> 2 !== 1073741823) { >- testFailed('#99: 4294967295 >>> 2 === 1073741823. Actual: ' + (4294967295 >>> 2)); >-} >- >- >-if (0 >>> 3 !== 0) { >- testFailed('#100: 0 >>> 3 === 0. Actual: ' + (0 >>> 3)); >-} >- >- >-if (1 >>> 3 !== 0) { >- testFailed('#101: 1 >>> 3 === 0. Actual: ' + (1 >>> 3)); >-} >- >- >-if (3 >>> 3 !== 0) { >- testFailed('#102: 3 >>> 3 === 0. Actual: ' + (3 >>> 3)); >-} >- >- >-if (7 >>> 3 !== 0) { >- testFailed('#103: 7 >>> 3 === 0. Actual: ' + (7 >>> 3)); >-} >- >- >-if (15 >>> 3 !== 1) { >- testFailed('#104: 15 >>> 3 === 1. Actual: ' + (15 >>> 3)); >-} >- >- >-if (31 >>> 3 !== 3) { >- testFailed('#105: 31 >>> 3 === 3. Actual: ' + (31 >>> 3)); >-} >- >- >-if (63 >>> 3 !== 7) { >- testFailed('#106: 63 >>> 3 === 7. Actual: ' + (63 >>> 3)); >-} >- >- >-if (127 >>> 3 !== 15) { >- testFailed('#107: 127 >>> 3 === 15. Actual: ' + (127 >>> 3)); >-} >- >- >-if (255 >>> 3 !== 31) { >- testFailed('#108: 255 >>> 3 === 31. Actual: ' + (255 >>> 3)); >-} >- >- >-if (511 >>> 3 !== 63) { >- testFailed('#109: 511 >>> 3 === 63. Actual: ' + (511 >>> 3)); >-} >- >- >-if (1023 >>> 3 !== 127) { >- testFailed('#110: 1023 >>> 3 === 127. Actual: ' + (1023 >>> 3)); >-} >- >- >-if (2047 >>> 3 !== 255) { >- testFailed('#111: 2047 >>> 3 === 255. Actual: ' + (2047 >>> 3)); >-} >- >- >-if (4095 >>> 3 !== 511) { >- testFailed('#112: 4095 >>> 3 === 511. Actual: ' + (4095 >>> 3)); >-} >- >- >-if (8191 >>> 3 !== 1023) { >- testFailed('#113: 8191 >>> 3 === 1023. Actual: ' + (8191 >>> 3)); >-} >- >- >-if (16383 >>> 3 !== 2047) { >- testFailed('#114: 16383 >>> 3 === 2047. Actual: ' + (16383 >>> 3)); >-} >- >- >-if (32767 >>> 3 !== 4095) { >- testFailed('#115: 32767 >>> 3 === 4095. Actual: ' + (32767 >>> 3)); >-} >- >- >-if (65535 >>> 3 !== 8191) { >- testFailed('#116: 65535 >>> 3 === 8191. Actual: ' + (65535 >>> 3)); >-} >- >- >-if (131071 >>> 3 !== 16383) { >- testFailed('#117: 131071 >>> 3 === 16383. Actual: ' + (131071 >>> 3)); >-} >- >- >-if (262143 >>> 3 !== 32767) { >- testFailed('#118: 262143 >>> 3 === 32767. Actual: ' + (262143 >>> 3)); >-} >- >- >-if (524287 >>> 3 !== 65535) { >- testFailed('#119: 524287 >>> 3 === 65535. Actual: ' + (524287 >>> 3)); >-} >- >- >-if (1048575 >>> 3 !== 131071) { >- testFailed('#120: 1048575 >>> 3 === 131071. Actual: ' + (1048575 >>> 3)); >-} >- >- >-if (2097151 >>> 3 !== 262143) { >- testFailed('#121: 2097151 >>> 3 === 262143. Actual: ' + (2097151 >>> 3)); >-} >- >- >-if (4194303 >>> 3 !== 524287) { >- testFailed('#122: 4194303 >>> 3 === 524287. Actual: ' + (4194303 >>> 3)); >-} >- >- >-if (8388607 >>> 3 !== 1048575) { >- testFailed('#123: 8388607 >>> 3 === 1048575. Actual: ' + (8388607 >>> 3)); >-} >- >- >-if (16777215 >>> 3 !== 2097151) { >- testFailed('#124: 16777215 >>> 3 === 2097151. Actual: ' + (16777215 >>> 3)); >-} >- >- >-if (33554431 >>> 3 !== 4194303) { >- testFailed('#125: 33554431 >>> 3 === 4194303. Actual: ' + (33554431 >>> 3)); >-} >- >- >-if (67108863 >>> 3 !== 8388607) { >- testFailed('#126: 67108863 >>> 3 === 8388607. Actual: ' + (67108863 >>> 3)); >-} >- >- >-if (134217727 >>> 3 !== 16777215) { >- testFailed('#127: 134217727 >>> 3 === 16777215. Actual: ' + (134217727 >>> 3)); >-} >- >- >-if (268435455 >>> 3 !== 33554431) { >- testFailed('#128: 268435455 >>> 3 === 33554431. Actual: ' + (268435455 >>> 3)); >-} >- >- >-if (536870911 >>> 3 !== 67108863) { >- testFailed('#129: 536870911 >>> 3 === 67108863. Actual: ' + (536870911 >>> 3)); >-} >- >- >-if (1073741823 >>> 3 !== 134217727) { >- testFailed('#130: 1073741823 >>> 3 === 134217727. Actual: ' + (1073741823 >>> 3)); >-} >- >- >-if (2147483647 >>> 3 !== 268435455) { >- testFailed('#131: 2147483647 >>> 3 === 268435455. Actual: ' + (2147483647 >>> 3)); >-} >- >- >-if (4294967295 >>> 3 !== 536870911) { >- testFailed('#132: 4294967295 >>> 3 === 536870911. Actual: ' + (4294967295 >>> 3)); >-} >- >- >-if (0 >>> 4 !== 0) { >- testFailed('#133: 0 >>> 4 === 0. Actual: ' + (0 >>> 4)); >-} >- >- >-if (1 >>> 4 !== 0) { >- testFailed('#134: 1 >>> 4 === 0. Actual: ' + (1 >>> 4)); >-} >- >- >-if (3 >>> 4 !== 0) { >- testFailed('#135: 3 >>> 4 === 0. Actual: ' + (3 >>> 4)); >-} >- >- >-if (7 >>> 4 !== 0) { >- testFailed('#136: 7 >>> 4 === 0. Actual: ' + (7 >>> 4)); >-} >- >- >-if (15 >>> 4 !== 0) { >- testFailed('#137: 15 >>> 4 === 0. Actual: ' + (15 >>> 4)); >-} >- >- >-if (31 >>> 4 !== 1) { >- testFailed('#138: 31 >>> 4 === 1. Actual: ' + (31 >>> 4)); >-} >- >- >-if (63 >>> 4 !== 3) { >- testFailed('#139: 63 >>> 4 === 3. Actual: ' + (63 >>> 4)); >-} >- >- >-if (127 >>> 4 !== 7) { >- testFailed('#140: 127 >>> 4 === 7. Actual: ' + (127 >>> 4)); >-} >- >- >-if (255 >>> 4 !== 15) { >- testFailed('#141: 255 >>> 4 === 15. Actual: ' + (255 >>> 4)); >-} >- >- >-if (511 >>> 4 !== 31) { >- testFailed('#142: 511 >>> 4 === 31. Actual: ' + (511 >>> 4)); >-} >- >- >-if (1023 >>> 4 !== 63) { >- testFailed('#143: 1023 >>> 4 === 63. Actual: ' + (1023 >>> 4)); >-} >- >- >-if (2047 >>> 4 !== 127) { >- testFailed('#144: 2047 >>> 4 === 127. Actual: ' + (2047 >>> 4)); >-} >- >- >-if (4095 >>> 4 !== 255) { >- testFailed('#145: 4095 >>> 4 === 255. Actual: ' + (4095 >>> 4)); >-} >- >- >-if (8191 >>> 4 !== 511) { >- testFailed('#146: 8191 >>> 4 === 511. Actual: ' + (8191 >>> 4)); >-} >- >- >-if (16383 >>> 4 !== 1023) { >- testFailed('#147: 16383 >>> 4 === 1023. Actual: ' + (16383 >>> 4)); >-} >- >- >-if (32767 >>> 4 !== 2047) { >- testFailed('#148: 32767 >>> 4 === 2047. Actual: ' + (32767 >>> 4)); >-} >- >- >-if (65535 >>> 4 !== 4095) { >- testFailed('#149: 65535 >>> 4 === 4095. Actual: ' + (65535 >>> 4)); >-} >- >- >-if (131071 >>> 4 !== 8191) { >- testFailed('#150: 131071 >>> 4 === 8191. Actual: ' + (131071 >>> 4)); >-} >- >- >-if (262143 >>> 4 !== 16383) { >- testFailed('#151: 262143 >>> 4 === 16383. Actual: ' + (262143 >>> 4)); >-} >- >- >-if (524287 >>> 4 !== 32767) { >- testFailed('#152: 524287 >>> 4 === 32767. Actual: ' + (524287 >>> 4)); >-} >- >- >-if (1048575 >>> 4 !== 65535) { >- testFailed('#153: 1048575 >>> 4 === 65535. Actual: ' + (1048575 >>> 4)); >-} >- >- >-if (2097151 >>> 4 !== 131071) { >- testFailed('#154: 2097151 >>> 4 === 131071. Actual: ' + (2097151 >>> 4)); >-} >- >- >-if (4194303 >>> 4 !== 262143) { >- testFailed('#155: 4194303 >>> 4 === 262143. Actual: ' + (4194303 >>> 4)); >-} >- >- >-if (8388607 >>> 4 !== 524287) { >- testFailed('#156: 8388607 >>> 4 === 524287. Actual: ' + (8388607 >>> 4)); >-} >- >- >-if (16777215 >>> 4 !== 1048575) { >- testFailed('#157: 16777215 >>> 4 === 1048575. Actual: ' + (16777215 >>> 4)); >-} >- >- >-if (33554431 >>> 4 !== 2097151) { >- testFailed('#158: 33554431 >>> 4 === 2097151. Actual: ' + (33554431 >>> 4)); >-} >- >- >-if (67108863 >>> 4 !== 4194303) { >- testFailed('#159: 67108863 >>> 4 === 4194303. Actual: ' + (67108863 >>> 4)); >-} >- >- >-if (134217727 >>> 4 !== 8388607) { >- testFailed('#160: 134217727 >>> 4 === 8388607. Actual: ' + (134217727 >>> 4)); >-} >- >- >-if (268435455 >>> 4 !== 16777215) { >- testFailed('#161: 268435455 >>> 4 === 16777215. Actual: ' + (268435455 >>> 4)); >-} >- >- >-if (536870911 >>> 4 !== 33554431) { >- testFailed('#162: 536870911 >>> 4 === 33554431. Actual: ' + (536870911 >>> 4)); >-} >- >- >-if (1073741823 >>> 4 !== 67108863) { >- testFailed('#163: 1073741823 >>> 4 === 67108863. Actual: ' + (1073741823 >>> 4)); >-} >- >- >-if (2147483647 >>> 4 !== 134217727) { >- testFailed('#164: 2147483647 >>> 4 === 134217727. Actual: ' + (2147483647 >>> 4)); >-} >- >- >-if (4294967295 >>> 4 !== 268435455) { >- testFailed('#165: 4294967295 >>> 4 === 268435455. Actual: ' + (4294967295 >>> 4)); >-} >- >- >-if (0 >>> 5 !== 0) { >- testFailed('#166: 0 >>> 5 === 0. Actual: ' + (0 >>> 5)); >-} >- >- >-if (1 >>> 5 !== 0) { >- testFailed('#167: 1 >>> 5 === 0. Actual: ' + (1 >>> 5)); >-} >- >- >-if (3 >>> 5 !== 0) { >- testFailed('#168: 3 >>> 5 === 0. Actual: ' + (3 >>> 5)); >-} >- >- >-if (7 >>> 5 !== 0) { >- testFailed('#169: 7 >>> 5 === 0. Actual: ' + (7 >>> 5)); >-} >- >- >-if (15 >>> 5 !== 0) { >- testFailed('#170: 15 >>> 5 === 0. Actual: ' + (15 >>> 5)); >-} >- >- >-if (31 >>> 5 !== 0) { >- testFailed('#171: 31 >>> 5 === 0. Actual: ' + (31 >>> 5)); >-} >- >- >-if (63 >>> 5 !== 1) { >- testFailed('#172: 63 >>> 5 === 1. Actual: ' + (63 >>> 5)); >-} >- >- >-if (127 >>> 5 !== 3) { >- testFailed('#173: 127 >>> 5 === 3. Actual: ' + (127 >>> 5)); >-} >- >- >-if (255 >>> 5 !== 7) { >- testFailed('#174: 255 >>> 5 === 7. Actual: ' + (255 >>> 5)); >-} >- >- >-if (511 >>> 5 !== 15) { >- testFailed('#175: 511 >>> 5 === 15. Actual: ' + (511 >>> 5)); >-} >- >- >-if (1023 >>> 5 !== 31) { >- testFailed('#176: 1023 >>> 5 === 31. Actual: ' + (1023 >>> 5)); >-} >- >- >-if (2047 >>> 5 !== 63) { >- testFailed('#177: 2047 >>> 5 === 63. Actual: ' + (2047 >>> 5)); >-} >- >- >-if (4095 >>> 5 !== 127) { >- testFailed('#178: 4095 >>> 5 === 127. Actual: ' + (4095 >>> 5)); >-} >- >- >-if (8191 >>> 5 !== 255) { >- testFailed('#179: 8191 >>> 5 === 255. Actual: ' + (8191 >>> 5)); >-} >- >- >-if (16383 >>> 5 !== 511) { >- testFailed('#180: 16383 >>> 5 === 511. Actual: ' + (16383 >>> 5)); >-} >- >- >-if (32767 >>> 5 !== 1023) { >- testFailed('#181: 32767 >>> 5 === 1023. Actual: ' + (32767 >>> 5)); >-} >- >- >-if (65535 >>> 5 !== 2047) { >- testFailed('#182: 65535 >>> 5 === 2047. Actual: ' + (65535 >>> 5)); >-} >- >- >-if (131071 >>> 5 !== 4095) { >- testFailed('#183: 131071 >>> 5 === 4095. Actual: ' + (131071 >>> 5)); >-} >- >- >-if (262143 >>> 5 !== 8191) { >- testFailed('#184: 262143 >>> 5 === 8191. Actual: ' + (262143 >>> 5)); >-} >- >- >-if (524287 >>> 5 !== 16383) { >- testFailed('#185: 524287 >>> 5 === 16383. Actual: ' + (524287 >>> 5)); >-} >- >- >-if (1048575 >>> 5 !== 32767) { >- testFailed('#186: 1048575 >>> 5 === 32767. Actual: ' + (1048575 >>> 5)); >-} >- >- >-if (2097151 >>> 5 !== 65535) { >- testFailed('#187: 2097151 >>> 5 === 65535. Actual: ' + (2097151 >>> 5)); >-} >- >- >-if (4194303 >>> 5 !== 131071) { >- testFailed('#188: 4194303 >>> 5 === 131071. Actual: ' + (4194303 >>> 5)); >-} >- >- >-if (8388607 >>> 5 !== 262143) { >- testFailed('#189: 8388607 >>> 5 === 262143. Actual: ' + (8388607 >>> 5)); >-} >- >- >-if (16777215 >>> 5 !== 524287) { >- testFailed('#190: 16777215 >>> 5 === 524287. Actual: ' + (16777215 >>> 5)); >-} >- >- >-if (33554431 >>> 5 !== 1048575) { >- testFailed('#191: 33554431 >>> 5 === 1048575. Actual: ' + (33554431 >>> 5)); >-} >- >- >-if (67108863 >>> 5 !== 2097151) { >- testFailed('#192: 67108863 >>> 5 === 2097151. Actual: ' + (67108863 >>> 5)); >-} >- >- >-if (134217727 >>> 5 !== 4194303) { >- testFailed('#193: 134217727 >>> 5 === 4194303. Actual: ' + (134217727 >>> 5)); >-} >- >- >-if (268435455 >>> 5 !== 8388607) { >- testFailed('#194: 268435455 >>> 5 === 8388607. Actual: ' + (268435455 >>> 5)); >-} >- >- >-if (536870911 >>> 5 !== 16777215) { >- testFailed('#195: 536870911 >>> 5 === 16777215. Actual: ' + (536870911 >>> 5)); >-} >- >- >-if (1073741823 >>> 5 !== 33554431) { >- testFailed('#196: 1073741823 >>> 5 === 33554431. Actual: ' + (1073741823 >>> 5)); >-} >- >- >-if (2147483647 >>> 5 !== 67108863) { >- testFailed('#197: 2147483647 >>> 5 === 67108863. Actual: ' + (2147483647 >>> 5)); >-} >- >- >-if (4294967295 >>> 5 !== 134217727) { >- testFailed('#198: 4294967295 >>> 5 === 134217727. Actual: ' + (4294967295 >>> 5)); >-} >- >- >-if (0 >>> 6 !== 0) { >- testFailed('#199: 0 >>> 6 === 0. Actual: ' + (0 >>> 6)); >-} >- >- >-if (1 >>> 6 !== 0) { >- testFailed('#200: 1 >>> 6 === 0. Actual: ' + (1 >>> 6)); >-} >- >- >-if (3 >>> 6 !== 0) { >- testFailed('#201: 3 >>> 6 === 0. Actual: ' + (3 >>> 6)); >-} >- >- >-if (7 >>> 6 !== 0) { >- testFailed('#202: 7 >>> 6 === 0. Actual: ' + (7 >>> 6)); >-} >- >- >-if (15 >>> 6 !== 0) { >- testFailed('#203: 15 >>> 6 === 0. Actual: ' + (15 >>> 6)); >-} >- >- >-if (31 >>> 6 !== 0) { >- testFailed('#204: 31 >>> 6 === 0. Actual: ' + (31 >>> 6)); >-} >- >- >-if (63 >>> 6 !== 0) { >- testFailed('#205: 63 >>> 6 === 0. Actual: ' + (63 >>> 6)); >-} >- >- >-if (127 >>> 6 !== 1) { >- testFailed('#206: 127 >>> 6 === 1. Actual: ' + (127 >>> 6)); >-} >- >- >-if (255 >>> 6 !== 3) { >- testFailed('#207: 255 >>> 6 === 3. Actual: ' + (255 >>> 6)); >-} >- >- >-if (511 >>> 6 !== 7) { >- testFailed('#208: 511 >>> 6 === 7. Actual: ' + (511 >>> 6)); >-} >- >- >-if (1023 >>> 6 !== 15) { >- testFailed('#209: 1023 >>> 6 === 15. Actual: ' + (1023 >>> 6)); >-} >- >- >-if (2047 >>> 6 !== 31) { >- testFailed('#210: 2047 >>> 6 === 31. Actual: ' + (2047 >>> 6)); >-} >- >- >-if (4095 >>> 6 !== 63) { >- testFailed('#211: 4095 >>> 6 === 63. Actual: ' + (4095 >>> 6)); >-} >- >- >-if (8191 >>> 6 !== 127) { >- testFailed('#212: 8191 >>> 6 === 127. Actual: ' + (8191 >>> 6)); >-} >- >- >-if (16383 >>> 6 !== 255) { >- testFailed('#213: 16383 >>> 6 === 255. Actual: ' + (16383 >>> 6)); >-} >- >- >-if (32767 >>> 6 !== 511) { >- testFailed('#214: 32767 >>> 6 === 511. Actual: ' + (32767 >>> 6)); >-} >- >- >-if (65535 >>> 6 !== 1023) { >- testFailed('#215: 65535 >>> 6 === 1023. Actual: ' + (65535 >>> 6)); >-} >- >- >-if (131071 >>> 6 !== 2047) { >- testFailed('#216: 131071 >>> 6 === 2047. Actual: ' + (131071 >>> 6)); >-} >- >- >-if (262143 >>> 6 !== 4095) { >- testFailed('#217: 262143 >>> 6 === 4095. Actual: ' + (262143 >>> 6)); >-} >- >- >-if (524287 >>> 6 !== 8191) { >- testFailed('#218: 524287 >>> 6 === 8191. Actual: ' + (524287 >>> 6)); >-} >- >- >-if (1048575 >>> 6 !== 16383) { >- testFailed('#219: 1048575 >>> 6 === 16383. Actual: ' + (1048575 >>> 6)); >-} >- >- >-if (2097151 >>> 6 !== 32767) { >- testFailed('#220: 2097151 >>> 6 === 32767. Actual: ' + (2097151 >>> 6)); >-} >- >- >-if (4194303 >>> 6 !== 65535) { >- testFailed('#221: 4194303 >>> 6 === 65535. Actual: ' + (4194303 >>> 6)); >-} >- >- >-if (8388607 >>> 6 !== 131071) { >- testFailed('#222: 8388607 >>> 6 === 131071. Actual: ' + (8388607 >>> 6)); >-} >- >- >-if (16777215 >>> 6 !== 262143) { >- testFailed('#223: 16777215 >>> 6 === 262143. Actual: ' + (16777215 >>> 6)); >-} >- >- >-if (33554431 >>> 6 !== 524287) { >- testFailed('#224: 33554431 >>> 6 === 524287. Actual: ' + (33554431 >>> 6)); >-} >- >- >-if (67108863 >>> 6 !== 1048575) { >- testFailed('#225: 67108863 >>> 6 === 1048575. Actual: ' + (67108863 >>> 6)); >-} >- >- >-if (134217727 >>> 6 !== 2097151) { >- testFailed('#226: 134217727 >>> 6 === 2097151. Actual: ' + (134217727 >>> 6)); >-} >- >- >-if (268435455 >>> 6 !== 4194303) { >- testFailed('#227: 268435455 >>> 6 === 4194303. Actual: ' + (268435455 >>> 6)); >-} >- >- >-if (536870911 >>> 6 !== 8388607) { >- testFailed('#228: 536870911 >>> 6 === 8388607. Actual: ' + (536870911 >>> 6)); >-} >- >- >-if (1073741823 >>> 6 !== 16777215) { >- testFailed('#229: 1073741823 >>> 6 === 16777215. Actual: ' + (1073741823 >>> 6)); >-} >- >- >-if (2147483647 >>> 6 !== 33554431) { >- testFailed('#230: 2147483647 >>> 6 === 33554431. Actual: ' + (2147483647 >>> 6)); >-} >- >- >-if (4294967295 >>> 6 !== 67108863) { >- testFailed('#231: 4294967295 >>> 6 === 67108863. Actual: ' + (4294967295 >>> 6)); >-} >- >- >-if (0 >>> 7 !== 0) { >- testFailed('#232: 0 >>> 7 === 0. Actual: ' + (0 >>> 7)); >-} >- >- >-if (1 >>> 7 !== 0) { >- testFailed('#233: 1 >>> 7 === 0. Actual: ' + (1 >>> 7)); >-} >- >- >-if (3 >>> 7 !== 0) { >- testFailed('#234: 3 >>> 7 === 0. Actual: ' + (3 >>> 7)); >-} >- >- >-if (7 >>> 7 !== 0) { >- testFailed('#235: 7 >>> 7 === 0. Actual: ' + (7 >>> 7)); >-} >- >- >-if (15 >>> 7 !== 0) { >- testFailed('#236: 15 >>> 7 === 0. Actual: ' + (15 >>> 7)); >-} >- >- >-if (31 >>> 7 !== 0) { >- testFailed('#237: 31 >>> 7 === 0. Actual: ' + (31 >>> 7)); >-} >- >- >-if (63 >>> 7 !== 0) { >- testFailed('#238: 63 >>> 7 === 0. Actual: ' + (63 >>> 7)); >-} >- >- >-if (127 >>> 7 !== 0) { >- testFailed('#239: 127 >>> 7 === 0. Actual: ' + (127 >>> 7)); >-} >- >- >-if (255 >>> 7 !== 1) { >- testFailed('#240: 255 >>> 7 === 1. Actual: ' + (255 >>> 7)); >-} >- >- >-if (511 >>> 7 !== 3) { >- testFailed('#241: 511 >>> 7 === 3. Actual: ' + (511 >>> 7)); >-} >- >- >-if (1023 >>> 7 !== 7) { >- testFailed('#242: 1023 >>> 7 === 7. Actual: ' + (1023 >>> 7)); >-} >- >- >-if (2047 >>> 7 !== 15) { >- testFailed('#243: 2047 >>> 7 === 15. Actual: ' + (2047 >>> 7)); >-} >- >- >-if (4095 >>> 7 !== 31) { >- testFailed('#244: 4095 >>> 7 === 31. Actual: ' + (4095 >>> 7)); >-} >- >- >-if (8191 >>> 7 !== 63) { >- testFailed('#245: 8191 >>> 7 === 63. Actual: ' + (8191 >>> 7)); >-} >- >- >-if (16383 >>> 7 !== 127) { >- testFailed('#246: 16383 >>> 7 === 127. Actual: ' + (16383 >>> 7)); >-} >- >- >-if (32767 >>> 7 !== 255) { >- testFailed('#247: 32767 >>> 7 === 255. Actual: ' + (32767 >>> 7)); >-} >- >- >-if (65535 >>> 7 !== 511) { >- testFailed('#248: 65535 >>> 7 === 511. Actual: ' + (65535 >>> 7)); >-} >- >- >-if (131071 >>> 7 !== 1023) { >- testFailed('#249: 131071 >>> 7 === 1023. Actual: ' + (131071 >>> 7)); >-} >- >- >-if (262143 >>> 7 !== 2047) { >- testFailed('#250: 262143 >>> 7 === 2047. Actual: ' + (262143 >>> 7)); >-} >- >- >-if (524287 >>> 7 !== 4095) { >- testFailed('#251: 524287 >>> 7 === 4095. Actual: ' + (524287 >>> 7)); >-} >- >- >-if (1048575 >>> 7 !== 8191) { >- testFailed('#252: 1048575 >>> 7 === 8191. Actual: ' + (1048575 >>> 7)); >-} >- >- >-if (2097151 >>> 7 !== 16383) { >- testFailed('#253: 2097151 >>> 7 === 16383. Actual: ' + (2097151 >>> 7)); >-} >- >- >-if (4194303 >>> 7 !== 32767) { >- testFailed('#254: 4194303 >>> 7 === 32767. Actual: ' + (4194303 >>> 7)); >-} >- >- >-if (8388607 >>> 7 !== 65535) { >- testFailed('#255: 8388607 >>> 7 === 65535. Actual: ' + (8388607 >>> 7)); >-} >- >- >-if (16777215 >>> 7 !== 131071) { >- testFailed('#256: 16777215 >>> 7 === 131071. Actual: ' + (16777215 >>> 7)); >-} >- >- >-if (33554431 >>> 7 !== 262143) { >- testFailed('#257: 33554431 >>> 7 === 262143. Actual: ' + (33554431 >>> 7)); >-} >- >- >-if (67108863 >>> 7 !== 524287) { >- testFailed('#258: 67108863 >>> 7 === 524287. Actual: ' + (67108863 >>> 7)); >-} >- >- >-if (134217727 >>> 7 !== 1048575) { >- testFailed('#259: 134217727 >>> 7 === 1048575. Actual: ' + (134217727 >>> 7)); >-} >- >- >-if (268435455 >>> 7 !== 2097151) { >- testFailed('#260: 268435455 >>> 7 === 2097151. Actual: ' + (268435455 >>> 7)); >-} >- >- >-if (536870911 >>> 7 !== 4194303) { >- testFailed('#261: 536870911 >>> 7 === 4194303. Actual: ' + (536870911 >>> 7)); >-} >- >- >-if (1073741823 >>> 7 !== 8388607) { >- testFailed('#262: 1073741823 >>> 7 === 8388607. Actual: ' + (1073741823 >>> 7)); >-} >- >- >-if (2147483647 >>> 7 !== 16777215) { >- testFailed('#263: 2147483647 >>> 7 === 16777215. Actual: ' + (2147483647 >>> 7)); >-} >- >- >-if (4294967295 >>> 7 !== 33554431) { >- testFailed('#264: 4294967295 >>> 7 === 33554431. Actual: ' + (4294967295 >>> 7)); >-} >- >- >-if (0 >>> 8 !== 0) { >- testFailed('#265: 0 >>> 8 === 0. Actual: ' + (0 >>> 8)); >-} >- >- >-if (1 >>> 8 !== 0) { >- testFailed('#266: 1 >>> 8 === 0. Actual: ' + (1 >>> 8)); >-} >- >- >-if (3 >>> 8 !== 0) { >- testFailed('#267: 3 >>> 8 === 0. Actual: ' + (3 >>> 8)); >-} >- >- >-if (7 >>> 8 !== 0) { >- testFailed('#268: 7 >>> 8 === 0. Actual: ' + (7 >>> 8)); >-} >- >- >-if (15 >>> 8 !== 0) { >- testFailed('#269: 15 >>> 8 === 0. Actual: ' + (15 >>> 8)); >-} >- >- >-if (31 >>> 8 !== 0) { >- testFailed('#270: 31 >>> 8 === 0. Actual: ' + (31 >>> 8)); >-} >- >- >-if (63 >>> 8 !== 0) { >- testFailed('#271: 63 >>> 8 === 0. Actual: ' + (63 >>> 8)); >-} >- >- >-if (127 >>> 8 !== 0) { >- testFailed('#272: 127 >>> 8 === 0. Actual: ' + (127 >>> 8)); >-} >- >- >-if (255 >>> 8 !== 0) { >- testFailed('#273: 255 >>> 8 === 0. Actual: ' + (255 >>> 8)); >-} >- >- >-if (511 >>> 8 !== 1) { >- testFailed('#274: 511 >>> 8 === 1. Actual: ' + (511 >>> 8)); >-} >- >- >-if (1023 >>> 8 !== 3) { >- testFailed('#275: 1023 >>> 8 === 3. Actual: ' + (1023 >>> 8)); >-} >- >- >-if (2047 >>> 8 !== 7) { >- testFailed('#276: 2047 >>> 8 === 7. Actual: ' + (2047 >>> 8)); >-} >- >- >-if (4095 >>> 8 !== 15) { >- testFailed('#277: 4095 >>> 8 === 15. Actual: ' + (4095 >>> 8)); >-} >- >- >-if (8191 >>> 8 !== 31) { >- testFailed('#278: 8191 >>> 8 === 31. Actual: ' + (8191 >>> 8)); >-} >- >- >-if (16383 >>> 8 !== 63) { >- testFailed('#279: 16383 >>> 8 === 63. Actual: ' + (16383 >>> 8)); >-} >- >- >-if (32767 >>> 8 !== 127) { >- testFailed('#280: 32767 >>> 8 === 127. Actual: ' + (32767 >>> 8)); >-} >- >- >-if (65535 >>> 8 !== 255) { >- testFailed('#281: 65535 >>> 8 === 255. Actual: ' + (65535 >>> 8)); >-} >- >- >-if (131071 >>> 8 !== 511) { >- testFailed('#282: 131071 >>> 8 === 511. Actual: ' + (131071 >>> 8)); >-} >- >- >-if (262143 >>> 8 !== 1023) { >- testFailed('#283: 262143 >>> 8 === 1023. Actual: ' + (262143 >>> 8)); >-} >- >- >-if (524287 >>> 8 !== 2047) { >- testFailed('#284: 524287 >>> 8 === 2047. Actual: ' + (524287 >>> 8)); >-} >- >- >-if (1048575 >>> 8 !== 4095) { >- testFailed('#285: 1048575 >>> 8 === 4095. Actual: ' + (1048575 >>> 8)); >-} >- >- >-if (2097151 >>> 8 !== 8191) { >- testFailed('#286: 2097151 >>> 8 === 8191. Actual: ' + (2097151 >>> 8)); >-} >- >- >-if (4194303 >>> 8 !== 16383) { >- testFailed('#287: 4194303 >>> 8 === 16383. Actual: ' + (4194303 >>> 8)); >-} >- >- >-if (8388607 >>> 8 !== 32767) { >- testFailed('#288: 8388607 >>> 8 === 32767. Actual: ' + (8388607 >>> 8)); >-} >- >- >-if (16777215 >>> 8 !== 65535) { >- testFailed('#289: 16777215 >>> 8 === 65535. Actual: ' + (16777215 >>> 8)); >-} >- >- >-if (33554431 >>> 8 !== 131071) { >- testFailed('#290: 33554431 >>> 8 === 131071. Actual: ' + (33554431 >>> 8)); >-} >- >- >-if (67108863 >>> 8 !== 262143) { >- testFailed('#291: 67108863 >>> 8 === 262143. Actual: ' + (67108863 >>> 8)); >-} >- >- >-if (134217727 >>> 8 !== 524287) { >- testFailed('#292: 134217727 >>> 8 === 524287. Actual: ' + (134217727 >>> 8)); >-} >- >- >-if (268435455 >>> 8 !== 1048575) { >- testFailed('#293: 268435455 >>> 8 === 1048575. Actual: ' + (268435455 >>> 8)); >-} >- >- >-if (536870911 >>> 8 !== 2097151) { >- testFailed('#294: 536870911 >>> 8 === 2097151. Actual: ' + (536870911 >>> 8)); >-} >- >- >-if (1073741823 >>> 8 !== 4194303) { >- testFailed('#295: 1073741823 >>> 8 === 4194303. Actual: ' + (1073741823 >>> 8)); >-} >- >- >-if (2147483647 >>> 8 !== 8388607) { >- testFailed('#296: 2147483647 >>> 8 === 8388607. Actual: ' + (2147483647 >>> 8)); >-} >- >- >-if (4294967295 >>> 8 !== 16777215) { >- testFailed('#297: 4294967295 >>> 8 === 16777215. Actual: ' + (4294967295 >>> 8)); >-} >- >- >-if (0 >>> 9 !== 0) { >- testFailed('#298: 0 >>> 9 === 0. Actual: ' + (0 >>> 9)); >-} >- >- >-if (1 >>> 9 !== 0) { >- testFailed('#299: 1 >>> 9 === 0. Actual: ' + (1 >>> 9)); >-} >- >- >-if (3 >>> 9 !== 0) { >- testFailed('#300: 3 >>> 9 === 0. Actual: ' + (3 >>> 9)); >-} >- >- >-if (7 >>> 9 !== 0) { >- testFailed('#301: 7 >>> 9 === 0. Actual: ' + (7 >>> 9)); >-} >- >- >-if (15 >>> 9 !== 0) { >- testFailed('#302: 15 >>> 9 === 0. Actual: ' + (15 >>> 9)); >-} >- >- >-if (31 >>> 9 !== 0) { >- testFailed('#303: 31 >>> 9 === 0. Actual: ' + (31 >>> 9)); >-} >- >- >-if (63 >>> 9 !== 0) { >- testFailed('#304: 63 >>> 9 === 0. Actual: ' + (63 >>> 9)); >-} >- >- >-if (127 >>> 9 !== 0) { >- testFailed('#305: 127 >>> 9 === 0. Actual: ' + (127 >>> 9)); >-} >- >- >-if (255 >>> 9 !== 0) { >- testFailed('#306: 255 >>> 9 === 0. Actual: ' + (255 >>> 9)); >-} >- >- >-if (511 >>> 9 !== 0) { >- testFailed('#307: 511 >>> 9 === 0. Actual: ' + (511 >>> 9)); >-} >- >- >-if (1023 >>> 9 !== 1) { >- testFailed('#308: 1023 >>> 9 === 1. Actual: ' + (1023 >>> 9)); >-} >- >- >-if (2047 >>> 9 !== 3) { >- testFailed('#309: 2047 >>> 9 === 3. Actual: ' + (2047 >>> 9)); >-} >- >- >-if (4095 >>> 9 !== 7) { >- testFailed('#310: 4095 >>> 9 === 7. Actual: ' + (4095 >>> 9)); >-} >- >- >-if (8191 >>> 9 !== 15) { >- testFailed('#311: 8191 >>> 9 === 15. Actual: ' + (8191 >>> 9)); >-} >- >- >-if (16383 >>> 9 !== 31) { >- testFailed('#312: 16383 >>> 9 === 31. Actual: ' + (16383 >>> 9)); >-} >- >- >-if (32767 >>> 9 !== 63) { >- testFailed('#313: 32767 >>> 9 === 63. Actual: ' + (32767 >>> 9)); >-} >- >- >-if (65535 >>> 9 !== 127) { >- testFailed('#314: 65535 >>> 9 === 127. Actual: ' + (65535 >>> 9)); >-} >- >- >-if (131071 >>> 9 !== 255) { >- testFailed('#315: 131071 >>> 9 === 255. Actual: ' + (131071 >>> 9)); >-} >- >- >-if (262143 >>> 9 !== 511) { >- testFailed('#316: 262143 >>> 9 === 511. Actual: ' + (262143 >>> 9)); >-} >- >- >-if (524287 >>> 9 !== 1023) { >- testFailed('#317: 524287 >>> 9 === 1023. Actual: ' + (524287 >>> 9)); >-} >- >- >-if (1048575 >>> 9 !== 2047) { >- testFailed('#318: 1048575 >>> 9 === 2047. Actual: ' + (1048575 >>> 9)); >-} >- >- >-if (2097151 >>> 9 !== 4095) { >- testFailed('#319: 2097151 >>> 9 === 4095. Actual: ' + (2097151 >>> 9)); >-} >- >- >-if (4194303 >>> 9 !== 8191) { >- testFailed('#320: 4194303 >>> 9 === 8191. Actual: ' + (4194303 >>> 9)); >-} >- >- >-if (8388607 >>> 9 !== 16383) { >- testFailed('#321: 8388607 >>> 9 === 16383. Actual: ' + (8388607 >>> 9)); >-} >- >- >-if (16777215 >>> 9 !== 32767) { >- testFailed('#322: 16777215 >>> 9 === 32767. Actual: ' + (16777215 >>> 9)); >-} >- >- >-if (33554431 >>> 9 !== 65535) { >- testFailed('#323: 33554431 >>> 9 === 65535. Actual: ' + (33554431 >>> 9)); >-} >- >- >-if (67108863 >>> 9 !== 131071) { >- testFailed('#324: 67108863 >>> 9 === 131071. Actual: ' + (67108863 >>> 9)); >-} >- >- >-if (134217727 >>> 9 !== 262143) { >- testFailed('#325: 134217727 >>> 9 === 262143. Actual: ' + (134217727 >>> 9)); >-} >- >- >-if (268435455 >>> 9 !== 524287) { >- testFailed('#326: 268435455 >>> 9 === 524287. Actual: ' + (268435455 >>> 9)); >-} >- >- >-if (536870911 >>> 9 !== 1048575) { >- testFailed('#327: 536870911 >>> 9 === 1048575. Actual: ' + (536870911 >>> 9)); >-} >- >- >-if (1073741823 >>> 9 !== 2097151) { >- testFailed('#328: 1073741823 >>> 9 === 2097151. Actual: ' + (1073741823 >>> 9)); >-} >- >- >-if (2147483647 >>> 9 !== 4194303) { >- testFailed('#329: 2147483647 >>> 9 === 4194303. Actual: ' + (2147483647 >>> 9)); >-} >- >- >-if (4294967295 >>> 9 !== 8388607) { >- testFailed('#330: 4294967295 >>> 9 === 8388607. Actual: ' + (4294967295 >>> 9)); >-} >- >- >-if (0 >>> 10 !== 0) { >- testFailed('#331: 0 >>> 10 === 0. Actual: ' + (0 >>> 10)); >-} >- >- >-if (1 >>> 10 !== 0) { >- testFailed('#332: 1 >>> 10 === 0. Actual: ' + (1 >>> 10)); >-} >- >- >-if (3 >>> 10 !== 0) { >- testFailed('#333: 3 >>> 10 === 0. Actual: ' + (3 >>> 10)); >-} >- >- >-if (7 >>> 10 !== 0) { >- testFailed('#334: 7 >>> 10 === 0. Actual: ' + (7 >>> 10)); >-} >- >- >-if (15 >>> 10 !== 0) { >- testFailed('#335: 15 >>> 10 === 0. Actual: ' + (15 >>> 10)); >-} >- >- >-if (31 >>> 10 !== 0) { >- testFailed('#336: 31 >>> 10 === 0. Actual: ' + (31 >>> 10)); >-} >- >- >-if (63 >>> 10 !== 0) { >- testFailed('#337: 63 >>> 10 === 0. Actual: ' + (63 >>> 10)); >-} >- >- >-if (127 >>> 10 !== 0) { >- testFailed('#338: 127 >>> 10 === 0. Actual: ' + (127 >>> 10)); >-} >- >- >-if (255 >>> 10 !== 0) { >- testFailed('#339: 255 >>> 10 === 0. Actual: ' + (255 >>> 10)); >-} >- >- >-if (511 >>> 10 !== 0) { >- testFailed('#340: 511 >>> 10 === 0. Actual: ' + (511 >>> 10)); >-} >- >- >-if (1023 >>> 10 !== 0) { >- testFailed('#341: 1023 >>> 10 === 0. Actual: ' + (1023 >>> 10)); >-} >- >- >-if (2047 >>> 10 !== 1) { >- testFailed('#342: 2047 >>> 10 === 1. Actual: ' + (2047 >>> 10)); >-} >- >- >-if (4095 >>> 10 !== 3) { >- testFailed('#343: 4095 >>> 10 === 3. Actual: ' + (4095 >>> 10)); >-} >- >- >-if (8191 >>> 10 !== 7) { >- testFailed('#344: 8191 >>> 10 === 7. Actual: ' + (8191 >>> 10)); >-} >- >- >-if (16383 >>> 10 !== 15) { >- testFailed('#345: 16383 >>> 10 === 15. Actual: ' + (16383 >>> 10)); >-} >- >- >-if (32767 >>> 10 !== 31) { >- testFailed('#346: 32767 >>> 10 === 31. Actual: ' + (32767 >>> 10)); >-} >- >- >-if (65535 >>> 10 !== 63) { >- testFailed('#347: 65535 >>> 10 === 63. Actual: ' + (65535 >>> 10)); >-} >- >- >-if (131071 >>> 10 !== 127) { >- testFailed('#348: 131071 >>> 10 === 127. Actual: ' + (131071 >>> 10)); >-} >- >- >-if (262143 >>> 10 !== 255) { >- testFailed('#349: 262143 >>> 10 === 255. Actual: ' + (262143 >>> 10)); >-} >- >- >-if (524287 >>> 10 !== 511) { >- testFailed('#350: 524287 >>> 10 === 511. Actual: ' + (524287 >>> 10)); >-} >- >- >-if (1048575 >>> 10 !== 1023) { >- testFailed('#351: 1048575 >>> 10 === 1023. Actual: ' + (1048575 >>> 10)); >-} >- >- >-if (2097151 >>> 10 !== 2047) { >- testFailed('#352: 2097151 >>> 10 === 2047. Actual: ' + (2097151 >>> 10)); >-} >- >- >-if (4194303 >>> 10 !== 4095) { >- testFailed('#353: 4194303 >>> 10 === 4095. Actual: ' + (4194303 >>> 10)); >-} >- >- >-if (8388607 >>> 10 !== 8191) { >- testFailed('#354: 8388607 >>> 10 === 8191. Actual: ' + (8388607 >>> 10)); >-} >- >- >-if (16777215 >>> 10 !== 16383) { >- testFailed('#355: 16777215 >>> 10 === 16383. Actual: ' + (16777215 >>> 10)); >-} >- >- >-if (33554431 >>> 10 !== 32767) { >- testFailed('#356: 33554431 >>> 10 === 32767. Actual: ' + (33554431 >>> 10)); >-} >- >- >-if (67108863 >>> 10 !== 65535) { >- testFailed('#357: 67108863 >>> 10 === 65535. Actual: ' + (67108863 >>> 10)); >-} >- >- >-if (134217727 >>> 10 !== 131071) { >- testFailed('#358: 134217727 >>> 10 === 131071. Actual: ' + (134217727 >>> 10)); >-} >- >- >-if (268435455 >>> 10 !== 262143) { >- testFailed('#359: 268435455 >>> 10 === 262143. Actual: ' + (268435455 >>> 10)); >-} >- >- >-if (536870911 >>> 10 !== 524287) { >- testFailed('#360: 536870911 >>> 10 === 524287. Actual: ' + (536870911 >>> 10)); >-} >- >- >-if (1073741823 >>> 10 !== 1048575) { >- testFailed('#361: 1073741823 >>> 10 === 1048575. Actual: ' + (1073741823 >>> 10)); >-} >- >- >-if (2147483647 >>> 10 !== 2097151) { >- testFailed('#362: 2147483647 >>> 10 === 2097151. Actual: ' + (2147483647 >>> 10)); >-} >- >- >-if (4294967295 >>> 10 !== 4194303) { >- testFailed('#363: 4294967295 >>> 10 === 4194303. Actual: ' + (4294967295 >>> 10)); >-} >- >- >-if (0 >>> 11 !== 0) { >- testFailed('#364: 0 >>> 11 === 0. Actual: ' + (0 >>> 11)); >-} >- >- >-if (1 >>> 11 !== 0) { >- testFailed('#365: 1 >>> 11 === 0. Actual: ' + (1 >>> 11)); >-} >- >- >-if (3 >>> 11 !== 0) { >- testFailed('#366: 3 >>> 11 === 0. Actual: ' + (3 >>> 11)); >-} >- >- >-if (7 >>> 11 !== 0) { >- testFailed('#367: 7 >>> 11 === 0. Actual: ' + (7 >>> 11)); >-} >- >- >-if (15 >>> 11 !== 0) { >- testFailed('#368: 15 >>> 11 === 0. Actual: ' + (15 >>> 11)); >-} >- >- >-if (31 >>> 11 !== 0) { >- testFailed('#369: 31 >>> 11 === 0. Actual: ' + (31 >>> 11)); >-} >- >- >-if (63 >>> 11 !== 0) { >- testFailed('#370: 63 >>> 11 === 0. Actual: ' + (63 >>> 11)); >-} >- >- >-if (127 >>> 11 !== 0) { >- testFailed('#371: 127 >>> 11 === 0. Actual: ' + (127 >>> 11)); >-} >- >- >-if (255 >>> 11 !== 0) { >- testFailed('#372: 255 >>> 11 === 0. Actual: ' + (255 >>> 11)); >-} >- >- >-if (511 >>> 11 !== 0) { >- testFailed('#373: 511 >>> 11 === 0. Actual: ' + (511 >>> 11)); >-} >- >- >-if (1023 >>> 11 !== 0) { >- testFailed('#374: 1023 >>> 11 === 0. Actual: ' + (1023 >>> 11)); >-} >- >- >-if (2047 >>> 11 !== 0) { >- testFailed('#375: 2047 >>> 11 === 0. Actual: ' + (2047 >>> 11)); >-} >- >- >-if (4095 >>> 11 !== 1) { >- testFailed('#376: 4095 >>> 11 === 1. Actual: ' + (4095 >>> 11)); >-} >- >- >-if (8191 >>> 11 !== 3) { >- testFailed('#377: 8191 >>> 11 === 3. Actual: ' + (8191 >>> 11)); >-} >- >- >-if (16383 >>> 11 !== 7) { >- testFailed('#378: 16383 >>> 11 === 7. Actual: ' + (16383 >>> 11)); >-} >- >- >-if (32767 >>> 11 !== 15) { >- testFailed('#379: 32767 >>> 11 === 15. Actual: ' + (32767 >>> 11)); >-} >- >- >-if (65535 >>> 11 !== 31) { >- testFailed('#380: 65535 >>> 11 === 31. Actual: ' + (65535 >>> 11)); >-} >- >- >-if (131071 >>> 11 !== 63) { >- testFailed('#381: 131071 >>> 11 === 63. Actual: ' + (131071 >>> 11)); >-} >- >- >-if (262143 >>> 11 !== 127) { >- testFailed('#382: 262143 >>> 11 === 127. Actual: ' + (262143 >>> 11)); >-} >- >- >-if (524287 >>> 11 !== 255) { >- testFailed('#383: 524287 >>> 11 === 255. Actual: ' + (524287 >>> 11)); >-} >- >- >-if (1048575 >>> 11 !== 511) { >- testFailed('#384: 1048575 >>> 11 === 511. Actual: ' + (1048575 >>> 11)); >-} >- >- >-if (2097151 >>> 11 !== 1023) { >- testFailed('#385: 2097151 >>> 11 === 1023. Actual: ' + (2097151 >>> 11)); >-} >- >- >-if (4194303 >>> 11 !== 2047) { >- testFailed('#386: 4194303 >>> 11 === 2047. Actual: ' + (4194303 >>> 11)); >-} >- >- >-if (8388607 >>> 11 !== 4095) { >- testFailed('#387: 8388607 >>> 11 === 4095. Actual: ' + (8388607 >>> 11)); >-} >- >- >-if (16777215 >>> 11 !== 8191) { >- testFailed('#388: 16777215 >>> 11 === 8191. Actual: ' + (16777215 >>> 11)); >-} >- >- >-if (33554431 >>> 11 !== 16383) { >- testFailed('#389: 33554431 >>> 11 === 16383. Actual: ' + (33554431 >>> 11)); >-} >- >- >-if (67108863 >>> 11 !== 32767) { >- testFailed('#390: 67108863 >>> 11 === 32767. Actual: ' + (67108863 >>> 11)); >-} >- >- >-if (134217727 >>> 11 !== 65535) { >- testFailed('#391: 134217727 >>> 11 === 65535. Actual: ' + (134217727 >>> 11)); >-} >- >- >-if (268435455 >>> 11 !== 131071) { >- testFailed('#392: 268435455 >>> 11 === 131071. Actual: ' + (268435455 >>> 11)); >-} >- >- >-if (536870911 >>> 11 !== 262143) { >- testFailed('#393: 536870911 >>> 11 === 262143. Actual: ' + (536870911 >>> 11)); >-} >- >- >-if (1073741823 >>> 11 !== 524287) { >- testFailed('#394: 1073741823 >>> 11 === 524287. Actual: ' + (1073741823 >>> 11)); >-} >- >- >-if (2147483647 >>> 11 !== 1048575) { >- testFailed('#395: 2147483647 >>> 11 === 1048575. Actual: ' + (2147483647 >>> 11)); >-} >- >- >-if (4294967295 >>> 11 !== 2097151) { >- testFailed('#396: 4294967295 >>> 11 === 2097151. Actual: ' + (4294967295 >>> 11)); >-} >- >- >-if (0 >>> 12 !== 0) { >- testFailed('#397: 0 >>> 12 === 0. Actual: ' + (0 >>> 12)); >-} >- >- >-if (1 >>> 12 !== 0) { >- testFailed('#398: 1 >>> 12 === 0. Actual: ' + (1 >>> 12)); >-} >- >- >-if (3 >>> 12 !== 0) { >- testFailed('#399: 3 >>> 12 === 0. Actual: ' + (3 >>> 12)); >-} >- >- >-if (7 >>> 12 !== 0) { >- testFailed('#400: 7 >>> 12 === 0. Actual: ' + (7 >>> 12)); >-} >- >- >-if (15 >>> 12 !== 0) { >- testFailed('#401: 15 >>> 12 === 0. Actual: ' + (15 >>> 12)); >-} >- >- >-if (31 >>> 12 !== 0) { >- testFailed('#402: 31 >>> 12 === 0. Actual: ' + (31 >>> 12)); >-} >- >- >-if (63 >>> 12 !== 0) { >- testFailed('#403: 63 >>> 12 === 0. Actual: ' + (63 >>> 12)); >-} >- >- >-if (127 >>> 12 !== 0) { >- testFailed('#404: 127 >>> 12 === 0. Actual: ' + (127 >>> 12)); >-} >- >- >-if (255 >>> 12 !== 0) { >- testFailed('#405: 255 >>> 12 === 0. Actual: ' + (255 >>> 12)); >-} >- >- >-if (511 >>> 12 !== 0) { >- testFailed('#406: 511 >>> 12 === 0. Actual: ' + (511 >>> 12)); >-} >- >- >-if (1023 >>> 12 !== 0) { >- testFailed('#407: 1023 >>> 12 === 0. Actual: ' + (1023 >>> 12)); >-} >- >- >-if (2047 >>> 12 !== 0) { >- testFailed('#408: 2047 >>> 12 === 0. Actual: ' + (2047 >>> 12)); >-} >- >- >-if (4095 >>> 12 !== 0) { >- testFailed('#409: 4095 >>> 12 === 0. Actual: ' + (4095 >>> 12)); >-} >- >- >-if (8191 >>> 12 !== 1) { >- testFailed('#410: 8191 >>> 12 === 1. Actual: ' + (8191 >>> 12)); >-} >- >- >-if (16383 >>> 12 !== 3) { >- testFailed('#411: 16383 >>> 12 === 3. Actual: ' + (16383 >>> 12)); >-} >- >- >-if (32767 >>> 12 !== 7) { >- testFailed('#412: 32767 >>> 12 === 7. Actual: ' + (32767 >>> 12)); >-} >- >- >-if (65535 >>> 12 !== 15) { >- testFailed('#413: 65535 >>> 12 === 15. Actual: ' + (65535 >>> 12)); >-} >- >- >-if (131071 >>> 12 !== 31) { >- testFailed('#414: 131071 >>> 12 === 31. Actual: ' + (131071 >>> 12)); >-} >- >- >-if (262143 >>> 12 !== 63) { >- testFailed('#415: 262143 >>> 12 === 63. Actual: ' + (262143 >>> 12)); >-} >- >- >-if (524287 >>> 12 !== 127) { >- testFailed('#416: 524287 >>> 12 === 127. Actual: ' + (524287 >>> 12)); >-} >- >- >-if (1048575 >>> 12 !== 255) { >- testFailed('#417: 1048575 >>> 12 === 255. Actual: ' + (1048575 >>> 12)); >-} >- >- >-if (2097151 >>> 12 !== 511) { >- testFailed('#418: 2097151 >>> 12 === 511. Actual: ' + (2097151 >>> 12)); >-} >- >- >-if (4194303 >>> 12 !== 1023) { >- testFailed('#419: 4194303 >>> 12 === 1023. Actual: ' + (4194303 >>> 12)); >-} >- >- >-if (8388607 >>> 12 !== 2047) { >- testFailed('#420: 8388607 >>> 12 === 2047. Actual: ' + (8388607 >>> 12)); >-} >- >- >-if (16777215 >>> 12 !== 4095) { >- testFailed('#421: 16777215 >>> 12 === 4095. Actual: ' + (16777215 >>> 12)); >-} >- >- >-if (33554431 >>> 12 !== 8191) { >- testFailed('#422: 33554431 >>> 12 === 8191. Actual: ' + (33554431 >>> 12)); >-} >- >- >-if (67108863 >>> 12 !== 16383) { >- testFailed('#423: 67108863 >>> 12 === 16383. Actual: ' + (67108863 >>> 12)); >-} >- >- >-if (134217727 >>> 12 !== 32767) { >- testFailed('#424: 134217727 >>> 12 === 32767. Actual: ' + (134217727 >>> 12)); >-} >- >- >-if (268435455 >>> 12 !== 65535) { >- testFailed('#425: 268435455 >>> 12 === 65535. Actual: ' + (268435455 >>> 12)); >-} >- >- >-if (536870911 >>> 12 !== 131071) { >- testFailed('#426: 536870911 >>> 12 === 131071. Actual: ' + (536870911 >>> 12)); >-} >- >- >-if (1073741823 >>> 12 !== 262143) { >- testFailed('#427: 1073741823 >>> 12 === 262143. Actual: ' + (1073741823 >>> 12)); >-} >- >- >-if (2147483647 >>> 12 !== 524287) { >- testFailed('#428: 2147483647 >>> 12 === 524287. Actual: ' + (2147483647 >>> 12)); >-} >- >- >-if (4294967295 >>> 12 !== 1048575) { >- testFailed('#429: 4294967295 >>> 12 === 1048575. Actual: ' + (4294967295 >>> 12)); >-} >- >- >-if (0 >>> 13 !== 0) { >- testFailed('#430: 0 >>> 13 === 0. Actual: ' + (0 >>> 13)); >-} >- >- >-if (1 >>> 13 !== 0) { >- testFailed('#431: 1 >>> 13 === 0. Actual: ' + (1 >>> 13)); >-} >- >- >-if (3 >>> 13 !== 0) { >- testFailed('#432: 3 >>> 13 === 0. Actual: ' + (3 >>> 13)); >-} >- >- >-if (7 >>> 13 !== 0) { >- testFailed('#433: 7 >>> 13 === 0. Actual: ' + (7 >>> 13)); >-} >- >- >-if (15 >>> 13 !== 0) { >- testFailed('#434: 15 >>> 13 === 0. Actual: ' + (15 >>> 13)); >-} >- >- >-if (31 >>> 13 !== 0) { >- testFailed('#435: 31 >>> 13 === 0. Actual: ' + (31 >>> 13)); >-} >- >- >-if (63 >>> 13 !== 0) { >- testFailed('#436: 63 >>> 13 === 0. Actual: ' + (63 >>> 13)); >-} >- >- >-if (127 >>> 13 !== 0) { >- testFailed('#437: 127 >>> 13 === 0. Actual: ' + (127 >>> 13)); >-} >- >- >-if (255 >>> 13 !== 0) { >- testFailed('#438: 255 >>> 13 === 0. Actual: ' + (255 >>> 13)); >-} >- >- >-if (511 >>> 13 !== 0) { >- testFailed('#439: 511 >>> 13 === 0. Actual: ' + (511 >>> 13)); >-} >- >- >-if (1023 >>> 13 !== 0) { >- testFailed('#440: 1023 >>> 13 === 0. Actual: ' + (1023 >>> 13)); >-} >- >- >-if (2047 >>> 13 !== 0) { >- testFailed('#441: 2047 >>> 13 === 0. Actual: ' + (2047 >>> 13)); >-} >- >- >-if (4095 >>> 13 !== 0) { >- testFailed('#442: 4095 >>> 13 === 0. Actual: ' + (4095 >>> 13)); >-} >- >- >-if (8191 >>> 13 !== 0) { >- testFailed('#443: 8191 >>> 13 === 0. Actual: ' + (8191 >>> 13)); >-} >- >- >-if (16383 >>> 13 !== 1) { >- testFailed('#444: 16383 >>> 13 === 1. Actual: ' + (16383 >>> 13)); >-} >- >- >-if (32767 >>> 13 !== 3) { >- testFailed('#445: 32767 >>> 13 === 3. Actual: ' + (32767 >>> 13)); >-} >- >- >-if (65535 >>> 13 !== 7) { >- testFailed('#446: 65535 >>> 13 === 7. Actual: ' + (65535 >>> 13)); >-} >- >- >-if (131071 >>> 13 !== 15) { >- testFailed('#447: 131071 >>> 13 === 15. Actual: ' + (131071 >>> 13)); >-} >- >- >-if (262143 >>> 13 !== 31) { >- testFailed('#448: 262143 >>> 13 === 31. Actual: ' + (262143 >>> 13)); >-} >- >- >-if (524287 >>> 13 !== 63) { >- testFailed('#449: 524287 >>> 13 === 63. Actual: ' + (524287 >>> 13)); >-} >- >- >-if (1048575 >>> 13 !== 127) { >- testFailed('#450: 1048575 >>> 13 === 127. Actual: ' + (1048575 >>> 13)); >-} >- >- >-if (2097151 >>> 13 !== 255) { >- testFailed('#451: 2097151 >>> 13 === 255. Actual: ' + (2097151 >>> 13)); >-} >- >- >-if (4194303 >>> 13 !== 511) { >- testFailed('#452: 4194303 >>> 13 === 511. Actual: ' + (4194303 >>> 13)); >-} >- >- >-if (8388607 >>> 13 !== 1023) { >- testFailed('#453: 8388607 >>> 13 === 1023. Actual: ' + (8388607 >>> 13)); >-} >- >- >-if (16777215 >>> 13 !== 2047) { >- testFailed('#454: 16777215 >>> 13 === 2047. Actual: ' + (16777215 >>> 13)); >-} >- >- >-if (33554431 >>> 13 !== 4095) { >- testFailed('#455: 33554431 >>> 13 === 4095. Actual: ' + (33554431 >>> 13)); >-} >- >- >-if (67108863 >>> 13 !== 8191) { >- testFailed('#456: 67108863 >>> 13 === 8191. Actual: ' + (67108863 >>> 13)); >-} >- >- >-if (134217727 >>> 13 !== 16383) { >- testFailed('#457: 134217727 >>> 13 === 16383. Actual: ' + (134217727 >>> 13)); >-} >- >- >-if (268435455 >>> 13 !== 32767) { >- testFailed('#458: 268435455 >>> 13 === 32767. Actual: ' + (268435455 >>> 13)); >-} >- >- >-if (536870911 >>> 13 !== 65535) { >- testFailed('#459: 536870911 >>> 13 === 65535. Actual: ' + (536870911 >>> 13)); >-} >- >- >-if (1073741823 >>> 13 !== 131071) { >- testFailed('#460: 1073741823 >>> 13 === 131071. Actual: ' + (1073741823 >>> 13)); >-} >- >- >-if (2147483647 >>> 13 !== 262143) { >- testFailed('#461: 2147483647 >>> 13 === 262143. Actual: ' + (2147483647 >>> 13)); >-} >- >- >-if (4294967295 >>> 13 !== 524287) { >- testFailed('#462: 4294967295 >>> 13 === 524287. Actual: ' + (4294967295 >>> 13)); >-} >- >- >-if (0 >>> 14 !== 0) { >- testFailed('#463: 0 >>> 14 === 0. Actual: ' + (0 >>> 14)); >-} >- >- >-if (1 >>> 14 !== 0) { >- testFailed('#464: 1 >>> 14 === 0. Actual: ' + (1 >>> 14)); >-} >- >- >-if (3 >>> 14 !== 0) { >- testFailed('#465: 3 >>> 14 === 0. Actual: ' + (3 >>> 14)); >-} >- >- >-if (7 >>> 14 !== 0) { >- testFailed('#466: 7 >>> 14 === 0. Actual: ' + (7 >>> 14)); >-} >- >- >-if (15 >>> 14 !== 0) { >- testFailed('#467: 15 >>> 14 === 0. Actual: ' + (15 >>> 14)); >-} >- >- >-if (31 >>> 14 !== 0) { >- testFailed('#468: 31 >>> 14 === 0. Actual: ' + (31 >>> 14)); >-} >- >- >-if (63 >>> 14 !== 0) { >- testFailed('#469: 63 >>> 14 === 0. Actual: ' + (63 >>> 14)); >-} >- >- >-if (127 >>> 14 !== 0) { >- testFailed('#470: 127 >>> 14 === 0. Actual: ' + (127 >>> 14)); >-} >- >- >-if (255 >>> 14 !== 0) { >- testFailed('#471: 255 >>> 14 === 0. Actual: ' + (255 >>> 14)); >-} >- >- >-if (511 >>> 14 !== 0) { >- testFailed('#472: 511 >>> 14 === 0. Actual: ' + (511 >>> 14)); >-} >- >- >-if (1023 >>> 14 !== 0) { >- testFailed('#473: 1023 >>> 14 === 0. Actual: ' + (1023 >>> 14)); >-} >- >- >-if (2047 >>> 14 !== 0) { >- testFailed('#474: 2047 >>> 14 === 0. Actual: ' + (2047 >>> 14)); >-} >- >- >-if (4095 >>> 14 !== 0) { >- testFailed('#475: 4095 >>> 14 === 0. Actual: ' + (4095 >>> 14)); >-} >- >- >-if (8191 >>> 14 !== 0) { >- testFailed('#476: 8191 >>> 14 === 0. Actual: ' + (8191 >>> 14)); >-} >- >- >-if (16383 >>> 14 !== 0) { >- testFailed('#477: 16383 >>> 14 === 0. Actual: ' + (16383 >>> 14)); >-} >- >- >-if (32767 >>> 14 !== 1) { >- testFailed('#478: 32767 >>> 14 === 1. Actual: ' + (32767 >>> 14)); >-} >- >- >-if (65535 >>> 14 !== 3) { >- testFailed('#479: 65535 >>> 14 === 3. Actual: ' + (65535 >>> 14)); >-} >- >- >-if (131071 >>> 14 !== 7) { >- testFailed('#480: 131071 >>> 14 === 7. Actual: ' + (131071 >>> 14)); >-} >- >- >-if (262143 >>> 14 !== 15) { >- testFailed('#481: 262143 >>> 14 === 15. Actual: ' + (262143 >>> 14)); >-} >- >- >-if (524287 >>> 14 !== 31) { >- testFailed('#482: 524287 >>> 14 === 31. Actual: ' + (524287 >>> 14)); >-} >- >- >-if (1048575 >>> 14 !== 63) { >- testFailed('#483: 1048575 >>> 14 === 63. Actual: ' + (1048575 >>> 14)); >-} >- >- >-if (2097151 >>> 14 !== 127) { >- testFailed('#484: 2097151 >>> 14 === 127. Actual: ' + (2097151 >>> 14)); >-} >- >- >-if (4194303 >>> 14 !== 255) { >- testFailed('#485: 4194303 >>> 14 === 255. Actual: ' + (4194303 >>> 14)); >-} >- >- >-if (8388607 >>> 14 !== 511) { >- testFailed('#486: 8388607 >>> 14 === 511. Actual: ' + (8388607 >>> 14)); >-} >- >- >-if (16777215 >>> 14 !== 1023) { >- testFailed('#487: 16777215 >>> 14 === 1023. Actual: ' + (16777215 >>> 14)); >-} >- >- >-if (33554431 >>> 14 !== 2047) { >- testFailed('#488: 33554431 >>> 14 === 2047. Actual: ' + (33554431 >>> 14)); >-} >- >- >-if (67108863 >>> 14 !== 4095) { >- testFailed('#489: 67108863 >>> 14 === 4095. Actual: ' + (67108863 >>> 14)); >-} >- >- >-if (134217727 >>> 14 !== 8191) { >- testFailed('#490: 134217727 >>> 14 === 8191. Actual: ' + (134217727 >>> 14)); >-} >- >- >-if (268435455 >>> 14 !== 16383) { >- testFailed('#491: 268435455 >>> 14 === 16383. Actual: ' + (268435455 >>> 14)); >-} >- >- >-if (536870911 >>> 14 !== 32767) { >- testFailed('#492: 536870911 >>> 14 === 32767. Actual: ' + (536870911 >>> 14)); >-} >- >- >-if (1073741823 >>> 14 !== 65535) { >- testFailed('#493: 1073741823 >>> 14 === 65535. Actual: ' + (1073741823 >>> 14)); >-} >- >- >-if (2147483647 >>> 14 !== 131071) { >- testFailed('#494: 2147483647 >>> 14 === 131071. Actual: ' + (2147483647 >>> 14)); >-} >- >- >-if (4294967295 >>> 14 !== 262143) { >- testFailed('#495: 4294967295 >>> 14 === 262143. Actual: ' + (4294967295 >>> 14)); >-} >- >- >-if (0 >>> 15 !== 0) { >- testFailed('#496: 0 >>> 15 === 0. Actual: ' + (0 >>> 15)); >-} >- >- >-if (1 >>> 15 !== 0) { >- testFailed('#497: 1 >>> 15 === 0. Actual: ' + (1 >>> 15)); >-} >- >- >-if (3 >>> 15 !== 0) { >- testFailed('#498: 3 >>> 15 === 0. Actual: ' + (3 >>> 15)); >-} >- >- >-if (7 >>> 15 !== 0) { >- testFailed('#499: 7 >>> 15 === 0. Actual: ' + (7 >>> 15)); >-} >- >- >-if (15 >>> 15 !== 0) { >- testFailed('#500: 15 >>> 15 === 0. Actual: ' + (15 >>> 15)); >-} >- >- >-if (31 >>> 15 !== 0) { >- testFailed('#501: 31 >>> 15 === 0. Actual: ' + (31 >>> 15)); >-} >- >- >-if (63 >>> 15 !== 0) { >- testFailed('#502: 63 >>> 15 === 0. Actual: ' + (63 >>> 15)); >-} >- >- >-if (127 >>> 15 !== 0) { >- testFailed('#503: 127 >>> 15 === 0. Actual: ' + (127 >>> 15)); >-} >- >- >-if (255 >>> 15 !== 0) { >- testFailed('#504: 255 >>> 15 === 0. Actual: ' + (255 >>> 15)); >-} >- >- >-if (511 >>> 15 !== 0) { >- testFailed('#505: 511 >>> 15 === 0. Actual: ' + (511 >>> 15)); >-} >- >- >-if (1023 >>> 15 !== 0) { >- testFailed('#506: 1023 >>> 15 === 0. Actual: ' + (1023 >>> 15)); >-} >- >- >-if (2047 >>> 15 !== 0) { >- testFailed('#507: 2047 >>> 15 === 0. Actual: ' + (2047 >>> 15)); >-} >- >- >-if (4095 >>> 15 !== 0) { >- testFailed('#508: 4095 >>> 15 === 0. Actual: ' + (4095 >>> 15)); >-} >- >- >-if (8191 >>> 15 !== 0) { >- testFailed('#509: 8191 >>> 15 === 0. Actual: ' + (8191 >>> 15)); >-} >- >- >-if (16383 >>> 15 !== 0) { >- testFailed('#510: 16383 >>> 15 === 0. Actual: ' + (16383 >>> 15)); >-} >- >- >-if (32767 >>> 15 !== 0) { >- testFailed('#511: 32767 >>> 15 === 0. Actual: ' + (32767 >>> 15)); >-} >- >- >-if (65535 >>> 15 !== 1) { >- testFailed('#512: 65535 >>> 15 === 1. Actual: ' + (65535 >>> 15)); >-} >- >- >-if (131071 >>> 15 !== 3) { >- testFailed('#513: 131071 >>> 15 === 3. Actual: ' + (131071 >>> 15)); >-} >- >- >-if (262143 >>> 15 !== 7) { >- testFailed('#514: 262143 >>> 15 === 7. Actual: ' + (262143 >>> 15)); >-} >- >- >-if (524287 >>> 15 !== 15) { >- testFailed('#515: 524287 >>> 15 === 15. Actual: ' + (524287 >>> 15)); >-} >- >- >-if (1048575 >>> 15 !== 31) { >- testFailed('#516: 1048575 >>> 15 === 31. Actual: ' + (1048575 >>> 15)); >-} >- >- >-if (2097151 >>> 15 !== 63) { >- testFailed('#517: 2097151 >>> 15 === 63. Actual: ' + (2097151 >>> 15)); >-} >- >- >-if (4194303 >>> 15 !== 127) { >- testFailed('#518: 4194303 >>> 15 === 127. Actual: ' + (4194303 >>> 15)); >-} >- >- >-if (8388607 >>> 15 !== 255) { >- testFailed('#519: 8388607 >>> 15 === 255. Actual: ' + (8388607 >>> 15)); >-} >- >- >-if (16777215 >>> 15 !== 511) { >- testFailed('#520: 16777215 >>> 15 === 511. Actual: ' + (16777215 >>> 15)); >-} >- >- >-if (33554431 >>> 15 !== 1023) { >- testFailed('#521: 33554431 >>> 15 === 1023. Actual: ' + (33554431 >>> 15)); >-} >- >- >-if (67108863 >>> 15 !== 2047) { >- testFailed('#522: 67108863 >>> 15 === 2047. Actual: ' + (67108863 >>> 15)); >-} >- >- >-if (134217727 >>> 15 !== 4095) { >- testFailed('#523: 134217727 >>> 15 === 4095. Actual: ' + (134217727 >>> 15)); >-} >- >- >-if (268435455 >>> 15 !== 8191) { >- testFailed('#524: 268435455 >>> 15 === 8191. Actual: ' + (268435455 >>> 15)); >-} >- >- >-if (536870911 >>> 15 !== 16383) { >- testFailed('#525: 536870911 >>> 15 === 16383. Actual: ' + (536870911 >>> 15)); >-} >- >- >-if (1073741823 >>> 15 !== 32767) { >- testFailed('#526: 1073741823 >>> 15 === 32767. Actual: ' + (1073741823 >>> 15)); >-} >- >- >-if (2147483647 >>> 15 !== 65535) { >- testFailed('#527: 2147483647 >>> 15 === 65535. Actual: ' + (2147483647 >>> 15)); >-} >- >- >-if (4294967295 >>> 15 !== 131071) { >- testFailed('#528: 4294967295 >>> 15 === 131071. Actual: ' + (4294967295 >>> 15)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4-expected.txt >deleted file mode 100644 >index 99e821acc85..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.html >deleted file mode 100644 >index 76d5971d6a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.html >+++ /dev/null >@@ -1,2733 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A4_T4; >- * @section: 11.7.3; >- * @assertion: Check operator x >>> y in distinct points; >- * @description: ShiftExpression = 2^n - 1, n = 16...31; >- */ >- >-//CHECK >- >-if (0 >>> 16 !== 0) { >- testFailed('#529: 0 >>> 16 === 0. Actual: ' + (0 >>> 16)); >-} >- >- >-if (1 >>> 16 !== 0) { >- testFailed('#530: 1 >>> 16 === 0. Actual: ' + (1 >>> 16)); >-} >- >- >-if (3 >>> 16 !== 0) { >- testFailed('#531: 3 >>> 16 === 0. Actual: ' + (3 >>> 16)); >-} >- >- >-if (7 >>> 16 !== 0) { >- testFailed('#532: 7 >>> 16 === 0. Actual: ' + (7 >>> 16)); >-} >- >- >-if (15 >>> 16 !== 0) { >- testFailed('#533: 15 >>> 16 === 0. Actual: ' + (15 >>> 16)); >-} >- >- >-if (31 >>> 16 !== 0) { >- testFailed('#534: 31 >>> 16 === 0. Actual: ' + (31 >>> 16)); >-} >- >- >-if (63 >>> 16 !== 0) { >- testFailed('#535: 63 >>> 16 === 0. Actual: ' + (63 >>> 16)); >-} >- >- >-if (127 >>> 16 !== 0) { >- testFailed('#536: 127 >>> 16 === 0. Actual: ' + (127 >>> 16)); >-} >- >- >-if (255 >>> 16 !== 0) { >- testFailed('#537: 255 >>> 16 === 0. Actual: ' + (255 >>> 16)); >-} >- >- >-if (511 >>> 16 !== 0) { >- testFailed('#538: 511 >>> 16 === 0. Actual: ' + (511 >>> 16)); >-} >- >- >-if (1023 >>> 16 !== 0) { >- testFailed('#539: 1023 >>> 16 === 0. Actual: ' + (1023 >>> 16)); >-} >- >- >-if (2047 >>> 16 !== 0) { >- testFailed('#540: 2047 >>> 16 === 0. Actual: ' + (2047 >>> 16)); >-} >- >- >-if (4095 >>> 16 !== 0) { >- testFailed('#541: 4095 >>> 16 === 0. Actual: ' + (4095 >>> 16)); >-} >- >- >-if (8191 >>> 16 !== 0) { >- testFailed('#542: 8191 >>> 16 === 0. Actual: ' + (8191 >>> 16)); >-} >- >- >-if (16383 >>> 16 !== 0) { >- testFailed('#543: 16383 >>> 16 === 0. Actual: ' + (16383 >>> 16)); >-} >- >- >-if (32767 >>> 16 !== 0) { >- testFailed('#544: 32767 >>> 16 === 0. Actual: ' + (32767 >>> 16)); >-} >- >- >-if (65535 >>> 16 !== 0) { >- testFailed('#545: 65535 >>> 16 === 0. Actual: ' + (65535 >>> 16)); >-} >- >- >-if (131071 >>> 16 !== 1) { >- testFailed('#546: 131071 >>> 16 === 1. Actual: ' + (131071 >>> 16)); >-} >- >- >-if (262143 >>> 16 !== 3) { >- testFailed('#547: 262143 >>> 16 === 3. Actual: ' + (262143 >>> 16)); >-} >- >- >-if (524287 >>> 16 !== 7) { >- testFailed('#548: 524287 >>> 16 === 7. Actual: ' + (524287 >>> 16)); >-} >- >- >-if (1048575 >>> 16 !== 15) { >- testFailed('#549: 1048575 >>> 16 === 15. Actual: ' + (1048575 >>> 16)); >-} >- >- >-if (2097151 >>> 16 !== 31) { >- testFailed('#550: 2097151 >>> 16 === 31. Actual: ' + (2097151 >>> 16)); >-} >- >- >-if (4194303 >>> 16 !== 63) { >- testFailed('#551: 4194303 >>> 16 === 63. Actual: ' + (4194303 >>> 16)); >-} >- >- >-if (8388607 >>> 16 !== 127) { >- testFailed('#552: 8388607 >>> 16 === 127. Actual: ' + (8388607 >>> 16)); >-} >- >- >-if (16777215 >>> 16 !== 255) { >- testFailed('#553: 16777215 >>> 16 === 255. Actual: ' + (16777215 >>> 16)); >-} >- >- >-if (33554431 >>> 16 !== 511) { >- testFailed('#554: 33554431 >>> 16 === 511. Actual: ' + (33554431 >>> 16)); >-} >- >- >-if (67108863 >>> 16 !== 1023) { >- testFailed('#555: 67108863 >>> 16 === 1023. Actual: ' + (67108863 >>> 16)); >-} >- >- >-if (134217727 >>> 16 !== 2047) { >- testFailed('#556: 134217727 >>> 16 === 2047. Actual: ' + (134217727 >>> 16)); >-} >- >- >-if (268435455 >>> 16 !== 4095) { >- testFailed('#557: 268435455 >>> 16 === 4095. Actual: ' + (268435455 >>> 16)); >-} >- >- >-if (536870911 >>> 16 !== 8191) { >- testFailed('#558: 536870911 >>> 16 === 8191. Actual: ' + (536870911 >>> 16)); >-} >- >- >-if (1073741823 >>> 16 !== 16383) { >- testFailed('#559: 1073741823 >>> 16 === 16383. Actual: ' + (1073741823 >>> 16)); >-} >- >- >-if (2147483647 >>> 16 !== 32767) { >- testFailed('#560: 2147483647 >>> 16 === 32767. Actual: ' + (2147483647 >>> 16)); >-} >- >- >-if (4294967295 >>> 16 !== 65535) { >- testFailed('#561: 4294967295 >>> 16 === 65535. Actual: ' + (4294967295 >>> 16)); >-} >- >- >-if (0 >>> 17 !== 0) { >- testFailed('#562: 0 >>> 17 === 0. Actual: ' + (0 >>> 17)); >-} >- >- >-if (1 >>> 17 !== 0) { >- testFailed('#563: 1 >>> 17 === 0. Actual: ' + (1 >>> 17)); >-} >- >- >-if (3 >>> 17 !== 0) { >- testFailed('#564: 3 >>> 17 === 0. Actual: ' + (3 >>> 17)); >-} >- >- >-if (7 >>> 17 !== 0) { >- testFailed('#565: 7 >>> 17 === 0. Actual: ' + (7 >>> 17)); >-} >- >- >-if (15 >>> 17 !== 0) { >- testFailed('#566: 15 >>> 17 === 0. Actual: ' + (15 >>> 17)); >-} >- >- >-if (31 >>> 17 !== 0) { >- testFailed('#567: 31 >>> 17 === 0. Actual: ' + (31 >>> 17)); >-} >- >- >-if (63 >>> 17 !== 0) { >- testFailed('#568: 63 >>> 17 === 0. Actual: ' + (63 >>> 17)); >-} >- >- >-if (127 >>> 17 !== 0) { >- testFailed('#569: 127 >>> 17 === 0. Actual: ' + (127 >>> 17)); >-} >- >- >-if (255 >>> 17 !== 0) { >- testFailed('#570: 255 >>> 17 === 0. Actual: ' + (255 >>> 17)); >-} >- >- >-if (511 >>> 17 !== 0) { >- testFailed('#571: 511 >>> 17 === 0. Actual: ' + (511 >>> 17)); >-} >- >- >-if (1023 >>> 17 !== 0) { >- testFailed('#572: 1023 >>> 17 === 0. Actual: ' + (1023 >>> 17)); >-} >- >- >-if (2047 >>> 17 !== 0) { >- testFailed('#573: 2047 >>> 17 === 0. Actual: ' + (2047 >>> 17)); >-} >- >- >-if (4095 >>> 17 !== 0) { >- testFailed('#574: 4095 >>> 17 === 0. Actual: ' + (4095 >>> 17)); >-} >- >- >-if (8191 >>> 17 !== 0) { >- testFailed('#575: 8191 >>> 17 === 0. Actual: ' + (8191 >>> 17)); >-} >- >- >-if (16383 >>> 17 !== 0) { >- testFailed('#576: 16383 >>> 17 === 0. Actual: ' + (16383 >>> 17)); >-} >- >- >-if (32767 >>> 17 !== 0) { >- testFailed('#577: 32767 >>> 17 === 0. Actual: ' + (32767 >>> 17)); >-} >- >- >-if (65535 >>> 17 !== 0) { >- testFailed('#578: 65535 >>> 17 === 0. Actual: ' + (65535 >>> 17)); >-} >- >- >-if (131071 >>> 17 !== 0) { >- testFailed('#579: 131071 >>> 17 === 0. Actual: ' + (131071 >>> 17)); >-} >- >- >-if (262143 >>> 17 !== 1) { >- testFailed('#580: 262143 >>> 17 === 1. Actual: ' + (262143 >>> 17)); >-} >- >- >-if (524287 >>> 17 !== 3) { >- testFailed('#581: 524287 >>> 17 === 3. Actual: ' + (524287 >>> 17)); >-} >- >- >-if (1048575 >>> 17 !== 7) { >- testFailed('#582: 1048575 >>> 17 === 7. Actual: ' + (1048575 >>> 17)); >-} >- >- >-if (2097151 >>> 17 !== 15) { >- testFailed('#583: 2097151 >>> 17 === 15. Actual: ' + (2097151 >>> 17)); >-} >- >- >-if (4194303 >>> 17 !== 31) { >- testFailed('#584: 4194303 >>> 17 === 31. Actual: ' + (4194303 >>> 17)); >-} >- >- >-if (8388607 >>> 17 !== 63) { >- testFailed('#585: 8388607 >>> 17 === 63. Actual: ' + (8388607 >>> 17)); >-} >- >- >-if (16777215 >>> 17 !== 127) { >- testFailed('#586: 16777215 >>> 17 === 127. Actual: ' + (16777215 >>> 17)); >-} >- >- >-if (33554431 >>> 17 !== 255) { >- testFailed('#587: 33554431 >>> 17 === 255. Actual: ' + (33554431 >>> 17)); >-} >- >- >-if (67108863 >>> 17 !== 511) { >- testFailed('#588: 67108863 >>> 17 === 511. Actual: ' + (67108863 >>> 17)); >-} >- >- >-if (134217727 >>> 17 !== 1023) { >- testFailed('#589: 134217727 >>> 17 === 1023. Actual: ' + (134217727 >>> 17)); >-} >- >- >-if (268435455 >>> 17 !== 2047) { >- testFailed('#590: 268435455 >>> 17 === 2047. Actual: ' + (268435455 >>> 17)); >-} >- >- >-if (536870911 >>> 17 !== 4095) { >- testFailed('#591: 536870911 >>> 17 === 4095. Actual: ' + (536870911 >>> 17)); >-} >- >- >-if (1073741823 >>> 17 !== 8191) { >- testFailed('#592: 1073741823 >>> 17 === 8191. Actual: ' + (1073741823 >>> 17)); >-} >- >- >-if (2147483647 >>> 17 !== 16383) { >- testFailed('#593: 2147483647 >>> 17 === 16383. Actual: ' + (2147483647 >>> 17)); >-} >- >- >-if (4294967295 >>> 17 !== 32767) { >- testFailed('#594: 4294967295 >>> 17 === 32767. Actual: ' + (4294967295 >>> 17)); >-} >- >- >-if (0 >>> 18 !== 0) { >- testFailed('#595: 0 >>> 18 === 0. Actual: ' + (0 >>> 18)); >-} >- >- >-if (1 >>> 18 !== 0) { >- testFailed('#596: 1 >>> 18 === 0. Actual: ' + (1 >>> 18)); >-} >- >- >-if (3 >>> 18 !== 0) { >- testFailed('#597: 3 >>> 18 === 0. Actual: ' + (3 >>> 18)); >-} >- >- >-if (7 >>> 18 !== 0) { >- testFailed('#598: 7 >>> 18 === 0. Actual: ' + (7 >>> 18)); >-} >- >- >-if (15 >>> 18 !== 0) { >- testFailed('#599: 15 >>> 18 === 0. Actual: ' + (15 >>> 18)); >-} >- >- >-if (31 >>> 18 !== 0) { >- testFailed('#600: 31 >>> 18 === 0. Actual: ' + (31 >>> 18)); >-} >- >- >-if (63 >>> 18 !== 0) { >- testFailed('#601: 63 >>> 18 === 0. Actual: ' + (63 >>> 18)); >-} >- >- >-if (127 >>> 18 !== 0) { >- testFailed('#602: 127 >>> 18 === 0. Actual: ' + (127 >>> 18)); >-} >- >- >-if (255 >>> 18 !== 0) { >- testFailed('#603: 255 >>> 18 === 0. Actual: ' + (255 >>> 18)); >-} >- >- >-if (511 >>> 18 !== 0) { >- testFailed('#604: 511 >>> 18 === 0. Actual: ' + (511 >>> 18)); >-} >- >- >-if (1023 >>> 18 !== 0) { >- testFailed('#605: 1023 >>> 18 === 0. Actual: ' + (1023 >>> 18)); >-} >- >- >-if (2047 >>> 18 !== 0) { >- testFailed('#606: 2047 >>> 18 === 0. Actual: ' + (2047 >>> 18)); >-} >- >- >-if (4095 >>> 18 !== 0) { >- testFailed('#607: 4095 >>> 18 === 0. Actual: ' + (4095 >>> 18)); >-} >- >- >-if (8191 >>> 18 !== 0) { >- testFailed('#608: 8191 >>> 18 === 0. Actual: ' + (8191 >>> 18)); >-} >- >- >-if (16383 >>> 18 !== 0) { >- testFailed('#609: 16383 >>> 18 === 0. Actual: ' + (16383 >>> 18)); >-} >- >- >-if (32767 >>> 18 !== 0) { >- testFailed('#610: 32767 >>> 18 === 0. Actual: ' + (32767 >>> 18)); >-} >- >- >-if (65535 >>> 18 !== 0) { >- testFailed('#611: 65535 >>> 18 === 0. Actual: ' + (65535 >>> 18)); >-} >- >- >-if (131071 >>> 18 !== 0) { >- testFailed('#612: 131071 >>> 18 === 0. Actual: ' + (131071 >>> 18)); >-} >- >- >-if (262143 >>> 18 !== 0) { >- testFailed('#613: 262143 >>> 18 === 0. Actual: ' + (262143 >>> 18)); >-} >- >- >-if (524287 >>> 18 !== 1) { >- testFailed('#614: 524287 >>> 18 === 1. Actual: ' + (524287 >>> 18)); >-} >- >- >-if (1048575 >>> 18 !== 3) { >- testFailed('#615: 1048575 >>> 18 === 3. Actual: ' + (1048575 >>> 18)); >-} >- >- >-if (2097151 >>> 18 !== 7) { >- testFailed('#616: 2097151 >>> 18 === 7. Actual: ' + (2097151 >>> 18)); >-} >- >- >-if (4194303 >>> 18 !== 15) { >- testFailed('#617: 4194303 >>> 18 === 15. Actual: ' + (4194303 >>> 18)); >-} >- >- >-if (8388607 >>> 18 !== 31) { >- testFailed('#618: 8388607 >>> 18 === 31. Actual: ' + (8388607 >>> 18)); >-} >- >- >-if (16777215 >>> 18 !== 63) { >- testFailed('#619: 16777215 >>> 18 === 63. Actual: ' + (16777215 >>> 18)); >-} >- >- >-if (33554431 >>> 18 !== 127) { >- testFailed('#620: 33554431 >>> 18 === 127. Actual: ' + (33554431 >>> 18)); >-} >- >- >-if (67108863 >>> 18 !== 255) { >- testFailed('#621: 67108863 >>> 18 === 255. Actual: ' + (67108863 >>> 18)); >-} >- >- >-if (134217727 >>> 18 !== 511) { >- testFailed('#622: 134217727 >>> 18 === 511. Actual: ' + (134217727 >>> 18)); >-} >- >- >-if (268435455 >>> 18 !== 1023) { >- testFailed('#623: 268435455 >>> 18 === 1023. Actual: ' + (268435455 >>> 18)); >-} >- >- >-if (536870911 >>> 18 !== 2047) { >- testFailed('#624: 536870911 >>> 18 === 2047. Actual: ' + (536870911 >>> 18)); >-} >- >- >-if (1073741823 >>> 18 !== 4095) { >- testFailed('#625: 1073741823 >>> 18 === 4095. Actual: ' + (1073741823 >>> 18)); >-} >- >- >-if (2147483647 >>> 18 !== 8191) { >- testFailed('#626: 2147483647 >>> 18 === 8191. Actual: ' + (2147483647 >>> 18)); >-} >- >- >-if (4294967295 >>> 18 !== 16383) { >- testFailed('#627: 4294967295 >>> 18 === 16383. Actual: ' + (4294967295 >>> 18)); >-} >- >- >-if (0 >>> 19 !== 0) { >- testFailed('#628: 0 >>> 19 === 0. Actual: ' + (0 >>> 19)); >-} >- >- >-if (1 >>> 19 !== 0) { >- testFailed('#629: 1 >>> 19 === 0. Actual: ' + (1 >>> 19)); >-} >- >- >-if (3 >>> 19 !== 0) { >- testFailed('#630: 3 >>> 19 === 0. Actual: ' + (3 >>> 19)); >-} >- >- >-if (7 >>> 19 !== 0) { >- testFailed('#631: 7 >>> 19 === 0. Actual: ' + (7 >>> 19)); >-} >- >- >-if (15 >>> 19 !== 0) { >- testFailed('#632: 15 >>> 19 === 0. Actual: ' + (15 >>> 19)); >-} >- >- >-if (31 >>> 19 !== 0) { >- testFailed('#633: 31 >>> 19 === 0. Actual: ' + (31 >>> 19)); >-} >- >- >-if (63 >>> 19 !== 0) { >- testFailed('#634: 63 >>> 19 === 0. Actual: ' + (63 >>> 19)); >-} >- >- >-if (127 >>> 19 !== 0) { >- testFailed('#635: 127 >>> 19 === 0. Actual: ' + (127 >>> 19)); >-} >- >- >-if (255 >>> 19 !== 0) { >- testFailed('#636: 255 >>> 19 === 0. Actual: ' + (255 >>> 19)); >-} >- >- >-if (511 >>> 19 !== 0) { >- testFailed('#637: 511 >>> 19 === 0. Actual: ' + (511 >>> 19)); >-} >- >- >-if (1023 >>> 19 !== 0) { >- testFailed('#638: 1023 >>> 19 === 0. Actual: ' + (1023 >>> 19)); >-} >- >- >-if (2047 >>> 19 !== 0) { >- testFailed('#639: 2047 >>> 19 === 0. Actual: ' + (2047 >>> 19)); >-} >- >- >-if (4095 >>> 19 !== 0) { >- testFailed('#640: 4095 >>> 19 === 0. Actual: ' + (4095 >>> 19)); >-} >- >- >-if (8191 >>> 19 !== 0) { >- testFailed('#641: 8191 >>> 19 === 0. Actual: ' + (8191 >>> 19)); >-} >- >- >-if (16383 >>> 19 !== 0) { >- testFailed('#642: 16383 >>> 19 === 0. Actual: ' + (16383 >>> 19)); >-} >- >- >-if (32767 >>> 19 !== 0) { >- testFailed('#643: 32767 >>> 19 === 0. Actual: ' + (32767 >>> 19)); >-} >- >- >-if (65535 >>> 19 !== 0) { >- testFailed('#644: 65535 >>> 19 === 0. Actual: ' + (65535 >>> 19)); >-} >- >- >-if (131071 >>> 19 !== 0) { >- testFailed('#645: 131071 >>> 19 === 0. Actual: ' + (131071 >>> 19)); >-} >- >- >-if (262143 >>> 19 !== 0) { >- testFailed('#646: 262143 >>> 19 === 0. Actual: ' + (262143 >>> 19)); >-} >- >- >-if (524287 >>> 19 !== 0) { >- testFailed('#647: 524287 >>> 19 === 0. Actual: ' + (524287 >>> 19)); >-} >- >- >-if (1048575 >>> 19 !== 1) { >- testFailed('#648: 1048575 >>> 19 === 1. Actual: ' + (1048575 >>> 19)); >-} >- >- >-if (2097151 >>> 19 !== 3) { >- testFailed('#649: 2097151 >>> 19 === 3. Actual: ' + (2097151 >>> 19)); >-} >- >- >-if (4194303 >>> 19 !== 7) { >- testFailed('#650: 4194303 >>> 19 === 7. Actual: ' + (4194303 >>> 19)); >-} >- >- >-if (8388607 >>> 19 !== 15) { >- testFailed('#651: 8388607 >>> 19 === 15. Actual: ' + (8388607 >>> 19)); >-} >- >- >-if (16777215 >>> 19 !== 31) { >- testFailed('#652: 16777215 >>> 19 === 31. Actual: ' + (16777215 >>> 19)); >-} >- >- >-if (33554431 >>> 19 !== 63) { >- testFailed('#653: 33554431 >>> 19 === 63. Actual: ' + (33554431 >>> 19)); >-} >- >- >-if (67108863 >>> 19 !== 127) { >- testFailed('#654: 67108863 >>> 19 === 127. Actual: ' + (67108863 >>> 19)); >-} >- >- >-if (134217727 >>> 19 !== 255) { >- testFailed('#655: 134217727 >>> 19 === 255. Actual: ' + (134217727 >>> 19)); >-} >- >- >-if (268435455 >>> 19 !== 511) { >- testFailed('#656: 268435455 >>> 19 === 511. Actual: ' + (268435455 >>> 19)); >-} >- >- >-if (536870911 >>> 19 !== 1023) { >- testFailed('#657: 536870911 >>> 19 === 1023. Actual: ' + (536870911 >>> 19)); >-} >- >- >-if (1073741823 >>> 19 !== 2047) { >- testFailed('#658: 1073741823 >>> 19 === 2047. Actual: ' + (1073741823 >>> 19)); >-} >- >- >-if (2147483647 >>> 19 !== 4095) { >- testFailed('#659: 2147483647 >>> 19 === 4095. Actual: ' + (2147483647 >>> 19)); >-} >- >- >-if (4294967295 >>> 19 !== 8191) { >- testFailed('#660: 4294967295 >>> 19 === 8191. Actual: ' + (4294967295 >>> 19)); >-} >- >- >-if (0 >>> 20 !== 0) { >- testFailed('#661: 0 >>> 20 === 0. Actual: ' + (0 >>> 20)); >-} >- >- >-if (1 >>> 20 !== 0) { >- testFailed('#662: 1 >>> 20 === 0. Actual: ' + (1 >>> 20)); >-} >- >- >-if (3 >>> 20 !== 0) { >- testFailed('#663: 3 >>> 20 === 0. Actual: ' + (3 >>> 20)); >-} >- >- >-if (7 >>> 20 !== 0) { >- testFailed('#664: 7 >>> 20 === 0. Actual: ' + (7 >>> 20)); >-} >- >- >-if (15 >>> 20 !== 0) { >- testFailed('#665: 15 >>> 20 === 0. Actual: ' + (15 >>> 20)); >-} >- >- >-if (31 >>> 20 !== 0) { >- testFailed('#666: 31 >>> 20 === 0. Actual: ' + (31 >>> 20)); >-} >- >- >-if (63 >>> 20 !== 0) { >- testFailed('#667: 63 >>> 20 === 0. Actual: ' + (63 >>> 20)); >-} >- >- >-if (127 >>> 20 !== 0) { >- testFailed('#668: 127 >>> 20 === 0. Actual: ' + (127 >>> 20)); >-} >- >- >-if (255 >>> 20 !== 0) { >- testFailed('#669: 255 >>> 20 === 0. Actual: ' + (255 >>> 20)); >-} >- >- >-if (511 >>> 20 !== 0) { >- testFailed('#670: 511 >>> 20 === 0. Actual: ' + (511 >>> 20)); >-} >- >- >-if (1023 >>> 20 !== 0) { >- testFailed('#671: 1023 >>> 20 === 0. Actual: ' + (1023 >>> 20)); >-} >- >- >-if (2047 >>> 20 !== 0) { >- testFailed('#672: 2047 >>> 20 === 0. Actual: ' + (2047 >>> 20)); >-} >- >- >-if (4095 >>> 20 !== 0) { >- testFailed('#673: 4095 >>> 20 === 0. Actual: ' + (4095 >>> 20)); >-} >- >- >-if (8191 >>> 20 !== 0) { >- testFailed('#674: 8191 >>> 20 === 0. Actual: ' + (8191 >>> 20)); >-} >- >- >-if (16383 >>> 20 !== 0) { >- testFailed('#675: 16383 >>> 20 === 0. Actual: ' + (16383 >>> 20)); >-} >- >- >-if (32767 >>> 20 !== 0) { >- testFailed('#676: 32767 >>> 20 === 0. Actual: ' + (32767 >>> 20)); >-} >- >- >-if (65535 >>> 20 !== 0) { >- testFailed('#677: 65535 >>> 20 === 0. Actual: ' + (65535 >>> 20)); >-} >- >- >-if (131071 >>> 20 !== 0) { >- testFailed('#678: 131071 >>> 20 === 0. Actual: ' + (131071 >>> 20)); >-} >- >- >-if (262143 >>> 20 !== 0) { >- testFailed('#679: 262143 >>> 20 === 0. Actual: ' + (262143 >>> 20)); >-} >- >- >-if (524287 >>> 20 !== 0) { >- testFailed('#680: 524287 >>> 20 === 0. Actual: ' + (524287 >>> 20)); >-} >- >- >-if (1048575 >>> 20 !== 0) { >- testFailed('#681: 1048575 >>> 20 === 0. Actual: ' + (1048575 >>> 20)); >-} >- >- >-if (2097151 >>> 20 !== 1) { >- testFailed('#682: 2097151 >>> 20 === 1. Actual: ' + (2097151 >>> 20)); >-} >- >- >-if (4194303 >>> 20 !== 3) { >- testFailed('#683: 4194303 >>> 20 === 3. Actual: ' + (4194303 >>> 20)); >-} >- >- >-if (8388607 >>> 20 !== 7) { >- testFailed('#684: 8388607 >>> 20 === 7. Actual: ' + (8388607 >>> 20)); >-} >- >- >-if (16777215 >>> 20 !== 15) { >- testFailed('#685: 16777215 >>> 20 === 15. Actual: ' + (16777215 >>> 20)); >-} >- >- >-if (33554431 >>> 20 !== 31) { >- testFailed('#686: 33554431 >>> 20 === 31. Actual: ' + (33554431 >>> 20)); >-} >- >- >-if (67108863 >>> 20 !== 63) { >- testFailed('#687: 67108863 >>> 20 === 63. Actual: ' + (67108863 >>> 20)); >-} >- >- >-if (134217727 >>> 20 !== 127) { >- testFailed('#688: 134217727 >>> 20 === 127. Actual: ' + (134217727 >>> 20)); >-} >- >- >-if (268435455 >>> 20 !== 255) { >- testFailed('#689: 268435455 >>> 20 === 255. Actual: ' + (268435455 >>> 20)); >-} >- >- >-if (536870911 >>> 20 !== 511) { >- testFailed('#690: 536870911 >>> 20 === 511. Actual: ' + (536870911 >>> 20)); >-} >- >- >-if (1073741823 >>> 20 !== 1023) { >- testFailed('#691: 1073741823 >>> 20 === 1023. Actual: ' + (1073741823 >>> 20)); >-} >- >- >-if (2147483647 >>> 20 !== 2047) { >- testFailed('#692: 2147483647 >>> 20 === 2047. Actual: ' + (2147483647 >>> 20)); >-} >- >- >-if (4294967295 >>> 20 !== 4095) { >- testFailed('#693: 4294967295 >>> 20 === 4095. Actual: ' + (4294967295 >>> 20)); >-} >- >- >-if (0 >>> 21 !== 0) { >- testFailed('#694: 0 >>> 21 === 0. Actual: ' + (0 >>> 21)); >-} >- >- >-if (1 >>> 21 !== 0) { >- testFailed('#695: 1 >>> 21 === 0. Actual: ' + (1 >>> 21)); >-} >- >- >-if (3 >>> 21 !== 0) { >- testFailed('#696: 3 >>> 21 === 0. Actual: ' + (3 >>> 21)); >-} >- >- >-if (7 >>> 21 !== 0) { >- testFailed('#697: 7 >>> 21 === 0. Actual: ' + (7 >>> 21)); >-} >- >- >-if (15 >>> 21 !== 0) { >- testFailed('#698: 15 >>> 21 === 0. Actual: ' + (15 >>> 21)); >-} >- >- >-if (31 >>> 21 !== 0) { >- testFailed('#699: 31 >>> 21 === 0. Actual: ' + (31 >>> 21)); >-} >- >- >-if (63 >>> 21 !== 0) { >- testFailed('#700: 63 >>> 21 === 0. Actual: ' + (63 >>> 21)); >-} >- >- >-if (127 >>> 21 !== 0) { >- testFailed('#701: 127 >>> 21 === 0. Actual: ' + (127 >>> 21)); >-} >- >- >-if (255 >>> 21 !== 0) { >- testFailed('#702: 255 >>> 21 === 0. Actual: ' + (255 >>> 21)); >-} >- >- >-if (511 >>> 21 !== 0) { >- testFailed('#703: 511 >>> 21 === 0. Actual: ' + (511 >>> 21)); >-} >- >- >-if (1023 >>> 21 !== 0) { >- testFailed('#704: 1023 >>> 21 === 0. Actual: ' + (1023 >>> 21)); >-} >- >- >-if (2047 >>> 21 !== 0) { >- testFailed('#705: 2047 >>> 21 === 0. Actual: ' + (2047 >>> 21)); >-} >- >- >-if (4095 >>> 21 !== 0) { >- testFailed('#706: 4095 >>> 21 === 0. Actual: ' + (4095 >>> 21)); >-} >- >- >-if (8191 >>> 21 !== 0) { >- testFailed('#707: 8191 >>> 21 === 0. Actual: ' + (8191 >>> 21)); >-} >- >- >-if (16383 >>> 21 !== 0) { >- testFailed('#708: 16383 >>> 21 === 0. Actual: ' + (16383 >>> 21)); >-} >- >- >-if (32767 >>> 21 !== 0) { >- testFailed('#709: 32767 >>> 21 === 0. Actual: ' + (32767 >>> 21)); >-} >- >- >-if (65535 >>> 21 !== 0) { >- testFailed('#710: 65535 >>> 21 === 0. Actual: ' + (65535 >>> 21)); >-} >- >- >-if (131071 >>> 21 !== 0) { >- testFailed('#711: 131071 >>> 21 === 0. Actual: ' + (131071 >>> 21)); >-} >- >- >-if (262143 >>> 21 !== 0) { >- testFailed('#712: 262143 >>> 21 === 0. Actual: ' + (262143 >>> 21)); >-} >- >- >-if (524287 >>> 21 !== 0) { >- testFailed('#713: 524287 >>> 21 === 0. Actual: ' + (524287 >>> 21)); >-} >- >- >-if (1048575 >>> 21 !== 0) { >- testFailed('#714: 1048575 >>> 21 === 0. Actual: ' + (1048575 >>> 21)); >-} >- >- >-if (2097151 >>> 21 !== 0) { >- testFailed('#715: 2097151 >>> 21 === 0. Actual: ' + (2097151 >>> 21)); >-} >- >- >-if (4194303 >>> 21 !== 1) { >- testFailed('#716: 4194303 >>> 21 === 1. Actual: ' + (4194303 >>> 21)); >-} >- >- >-if (8388607 >>> 21 !== 3) { >- testFailed('#717: 8388607 >>> 21 === 3. Actual: ' + (8388607 >>> 21)); >-} >- >- >-if (16777215 >>> 21 !== 7) { >- testFailed('#718: 16777215 >>> 21 === 7. Actual: ' + (16777215 >>> 21)); >-} >- >- >-if (33554431 >>> 21 !== 15) { >- testFailed('#719: 33554431 >>> 21 === 15. Actual: ' + (33554431 >>> 21)); >-} >- >- >-if (67108863 >>> 21 !== 31) { >- testFailed('#720: 67108863 >>> 21 === 31. Actual: ' + (67108863 >>> 21)); >-} >- >- >-if (134217727 >>> 21 !== 63) { >- testFailed('#721: 134217727 >>> 21 === 63. Actual: ' + (134217727 >>> 21)); >-} >- >- >-if (268435455 >>> 21 !== 127) { >- testFailed('#722: 268435455 >>> 21 === 127. Actual: ' + (268435455 >>> 21)); >-} >- >- >-if (536870911 >>> 21 !== 255) { >- testFailed('#723: 536870911 >>> 21 === 255. Actual: ' + (536870911 >>> 21)); >-} >- >- >-if (1073741823 >>> 21 !== 511) { >- testFailed('#724: 1073741823 >>> 21 === 511. Actual: ' + (1073741823 >>> 21)); >-} >- >- >-if (2147483647 >>> 21 !== 1023) { >- testFailed('#725: 2147483647 >>> 21 === 1023. Actual: ' + (2147483647 >>> 21)); >-} >- >- >-if (4294967295 >>> 21 !== 2047) { >- testFailed('#726: 4294967295 >>> 21 === 2047. Actual: ' + (4294967295 >>> 21)); >-} >- >- >-if (0 >>> 22 !== 0) { >- testFailed('#727: 0 >>> 22 === 0. Actual: ' + (0 >>> 22)); >-} >- >- >-if (1 >>> 22 !== 0) { >- testFailed('#728: 1 >>> 22 === 0. Actual: ' + (1 >>> 22)); >-} >- >- >-if (3 >>> 22 !== 0) { >- testFailed('#729: 3 >>> 22 === 0. Actual: ' + (3 >>> 22)); >-} >- >- >-if (7 >>> 22 !== 0) { >- testFailed('#730: 7 >>> 22 === 0. Actual: ' + (7 >>> 22)); >-} >- >- >-if (15 >>> 22 !== 0) { >- testFailed('#731: 15 >>> 22 === 0. Actual: ' + (15 >>> 22)); >-} >- >- >-if (31 >>> 22 !== 0) { >- testFailed('#732: 31 >>> 22 === 0. Actual: ' + (31 >>> 22)); >-} >- >- >-if (63 >>> 22 !== 0) { >- testFailed('#733: 63 >>> 22 === 0. Actual: ' + (63 >>> 22)); >-} >- >- >-if (127 >>> 22 !== 0) { >- testFailed('#734: 127 >>> 22 === 0. Actual: ' + (127 >>> 22)); >-} >- >- >-if (255 >>> 22 !== 0) { >- testFailed('#735: 255 >>> 22 === 0. Actual: ' + (255 >>> 22)); >-} >- >- >-if (511 >>> 22 !== 0) { >- testFailed('#736: 511 >>> 22 === 0. Actual: ' + (511 >>> 22)); >-} >- >- >-if (1023 >>> 22 !== 0) { >- testFailed('#737: 1023 >>> 22 === 0. Actual: ' + (1023 >>> 22)); >-} >- >- >-if (2047 >>> 22 !== 0) { >- testFailed('#738: 2047 >>> 22 === 0. Actual: ' + (2047 >>> 22)); >-} >- >- >-if (4095 >>> 22 !== 0) { >- testFailed('#739: 4095 >>> 22 === 0. Actual: ' + (4095 >>> 22)); >-} >- >- >-if (8191 >>> 22 !== 0) { >- testFailed('#740: 8191 >>> 22 === 0. Actual: ' + (8191 >>> 22)); >-} >- >- >-if (16383 >>> 22 !== 0) { >- testFailed('#741: 16383 >>> 22 === 0. Actual: ' + (16383 >>> 22)); >-} >- >- >-if (32767 >>> 22 !== 0) { >- testFailed('#742: 32767 >>> 22 === 0. Actual: ' + (32767 >>> 22)); >-} >- >- >-if (65535 >>> 22 !== 0) { >- testFailed('#743: 65535 >>> 22 === 0. Actual: ' + (65535 >>> 22)); >-} >- >- >-if (131071 >>> 22 !== 0) { >- testFailed('#744: 131071 >>> 22 === 0. Actual: ' + (131071 >>> 22)); >-} >- >- >-if (262143 >>> 22 !== 0) { >- testFailed('#745: 262143 >>> 22 === 0. Actual: ' + (262143 >>> 22)); >-} >- >- >-if (524287 >>> 22 !== 0) { >- testFailed('#746: 524287 >>> 22 === 0. Actual: ' + (524287 >>> 22)); >-} >- >- >-if (1048575 >>> 22 !== 0) { >- testFailed('#747: 1048575 >>> 22 === 0. Actual: ' + (1048575 >>> 22)); >-} >- >- >-if (2097151 >>> 22 !== 0) { >- testFailed('#748: 2097151 >>> 22 === 0. Actual: ' + (2097151 >>> 22)); >-} >- >- >-if (4194303 >>> 22 !== 0) { >- testFailed('#749: 4194303 >>> 22 === 0. Actual: ' + (4194303 >>> 22)); >-} >- >- >-if (8388607 >>> 22 !== 1) { >- testFailed('#750: 8388607 >>> 22 === 1. Actual: ' + (8388607 >>> 22)); >-} >- >- >-if (16777215 >>> 22 !== 3) { >- testFailed('#751: 16777215 >>> 22 === 3. Actual: ' + (16777215 >>> 22)); >-} >- >- >-if (33554431 >>> 22 !== 7) { >- testFailed('#752: 33554431 >>> 22 === 7. Actual: ' + (33554431 >>> 22)); >-} >- >- >-if (67108863 >>> 22 !== 15) { >- testFailed('#753: 67108863 >>> 22 === 15. Actual: ' + (67108863 >>> 22)); >-} >- >- >-if (134217727 >>> 22 !== 31) { >- testFailed('#754: 134217727 >>> 22 === 31. Actual: ' + (134217727 >>> 22)); >-} >- >- >-if (268435455 >>> 22 !== 63) { >- testFailed('#755: 268435455 >>> 22 === 63. Actual: ' + (268435455 >>> 22)); >-} >- >- >-if (536870911 >>> 22 !== 127) { >- testFailed('#756: 536870911 >>> 22 === 127. Actual: ' + (536870911 >>> 22)); >-} >- >- >-if (1073741823 >>> 22 !== 255) { >- testFailed('#757: 1073741823 >>> 22 === 255. Actual: ' + (1073741823 >>> 22)); >-} >- >- >-if (2147483647 >>> 22 !== 511) { >- testFailed('#758: 2147483647 >>> 22 === 511. Actual: ' + (2147483647 >>> 22)); >-} >- >- >-if (4294967295 >>> 22 !== 1023) { >- testFailed('#759: 4294967295 >>> 22 === 1023. Actual: ' + (4294967295 >>> 22)); >-} >- >- >-if (0 >>> 23 !== 0) { >- testFailed('#760: 0 >>> 23 === 0. Actual: ' + (0 >>> 23)); >-} >- >- >-if (1 >>> 23 !== 0) { >- testFailed('#761: 1 >>> 23 === 0. Actual: ' + (1 >>> 23)); >-} >- >- >-if (3 >>> 23 !== 0) { >- testFailed('#762: 3 >>> 23 === 0. Actual: ' + (3 >>> 23)); >-} >- >- >-if (7 >>> 23 !== 0) { >- testFailed('#763: 7 >>> 23 === 0. Actual: ' + (7 >>> 23)); >-} >- >- >-if (15 >>> 23 !== 0) { >- testFailed('#764: 15 >>> 23 === 0. Actual: ' + (15 >>> 23)); >-} >- >- >-if (31 >>> 23 !== 0) { >- testFailed('#765: 31 >>> 23 === 0. Actual: ' + (31 >>> 23)); >-} >- >- >-if (63 >>> 23 !== 0) { >- testFailed('#766: 63 >>> 23 === 0. Actual: ' + (63 >>> 23)); >-} >- >- >-if (127 >>> 23 !== 0) { >- testFailed('#767: 127 >>> 23 === 0. Actual: ' + (127 >>> 23)); >-} >- >- >-if (255 >>> 23 !== 0) { >- testFailed('#768: 255 >>> 23 === 0. Actual: ' + (255 >>> 23)); >-} >- >- >-if (511 >>> 23 !== 0) { >- testFailed('#769: 511 >>> 23 === 0. Actual: ' + (511 >>> 23)); >-} >- >- >-if (1023 >>> 23 !== 0) { >- testFailed('#770: 1023 >>> 23 === 0. Actual: ' + (1023 >>> 23)); >-} >- >- >-if (2047 >>> 23 !== 0) { >- testFailed('#771: 2047 >>> 23 === 0. Actual: ' + (2047 >>> 23)); >-} >- >- >-if (4095 >>> 23 !== 0) { >- testFailed('#772: 4095 >>> 23 === 0. Actual: ' + (4095 >>> 23)); >-} >- >- >-if (8191 >>> 23 !== 0) { >- testFailed('#773: 8191 >>> 23 === 0. Actual: ' + (8191 >>> 23)); >-} >- >- >-if (16383 >>> 23 !== 0) { >- testFailed('#774: 16383 >>> 23 === 0. Actual: ' + (16383 >>> 23)); >-} >- >- >-if (32767 >>> 23 !== 0) { >- testFailed('#775: 32767 >>> 23 === 0. Actual: ' + (32767 >>> 23)); >-} >- >- >-if (65535 >>> 23 !== 0) { >- testFailed('#776: 65535 >>> 23 === 0. Actual: ' + (65535 >>> 23)); >-} >- >- >-if (131071 >>> 23 !== 0) { >- testFailed('#777: 131071 >>> 23 === 0. Actual: ' + (131071 >>> 23)); >-} >- >- >-if (262143 >>> 23 !== 0) { >- testFailed('#778: 262143 >>> 23 === 0. Actual: ' + (262143 >>> 23)); >-} >- >- >-if (524287 >>> 23 !== 0) { >- testFailed('#779: 524287 >>> 23 === 0. Actual: ' + (524287 >>> 23)); >-} >- >- >-if (1048575 >>> 23 !== 0) { >- testFailed('#780: 1048575 >>> 23 === 0. Actual: ' + (1048575 >>> 23)); >-} >- >- >-if (2097151 >>> 23 !== 0) { >- testFailed('#781: 2097151 >>> 23 === 0. Actual: ' + (2097151 >>> 23)); >-} >- >- >-if (4194303 >>> 23 !== 0) { >- testFailed('#782: 4194303 >>> 23 === 0. Actual: ' + (4194303 >>> 23)); >-} >- >- >-if (8388607 >>> 23 !== 0) { >- testFailed('#783: 8388607 >>> 23 === 0. Actual: ' + (8388607 >>> 23)); >-} >- >- >-if (16777215 >>> 23 !== 1) { >- testFailed('#784: 16777215 >>> 23 === 1. Actual: ' + (16777215 >>> 23)); >-} >- >- >-if (33554431 >>> 23 !== 3) { >- testFailed('#785: 33554431 >>> 23 === 3. Actual: ' + (33554431 >>> 23)); >-} >- >- >-if (67108863 >>> 23 !== 7) { >- testFailed('#786: 67108863 >>> 23 === 7. Actual: ' + (67108863 >>> 23)); >-} >- >- >-if (134217727 >>> 23 !== 15) { >- testFailed('#787: 134217727 >>> 23 === 15. Actual: ' + (134217727 >>> 23)); >-} >- >- >-if (268435455 >>> 23 !== 31) { >- testFailed('#788: 268435455 >>> 23 === 31. Actual: ' + (268435455 >>> 23)); >-} >- >- >-if (536870911 >>> 23 !== 63) { >- testFailed('#789: 536870911 >>> 23 === 63. Actual: ' + (536870911 >>> 23)); >-} >- >- >-if (1073741823 >>> 23 !== 127) { >- testFailed('#790: 1073741823 >>> 23 === 127. Actual: ' + (1073741823 >>> 23)); >-} >- >- >-if (2147483647 >>> 23 !== 255) { >- testFailed('#791: 2147483647 >>> 23 === 255. Actual: ' + (2147483647 >>> 23)); >-} >- >- >-if (4294967295 >>> 23 !== 511) { >- testFailed('#792: 4294967295 >>> 23 === 511. Actual: ' + (4294967295 >>> 23)); >-} >- >- >-if (0 >>> 24 !== 0) { >- testFailed('#793: 0 >>> 24 === 0. Actual: ' + (0 >>> 24)); >-} >- >- >-if (1 >>> 24 !== 0) { >- testFailed('#794: 1 >>> 24 === 0. Actual: ' + (1 >>> 24)); >-} >- >- >-if (3 >>> 24 !== 0) { >- testFailed('#795: 3 >>> 24 === 0. Actual: ' + (3 >>> 24)); >-} >- >- >-if (7 >>> 24 !== 0) { >- testFailed('#796: 7 >>> 24 === 0. Actual: ' + (7 >>> 24)); >-} >- >- >-if (15 >>> 24 !== 0) { >- testFailed('#797: 15 >>> 24 === 0. Actual: ' + (15 >>> 24)); >-} >- >- >-if (31 >>> 24 !== 0) { >- testFailed('#798: 31 >>> 24 === 0. Actual: ' + (31 >>> 24)); >-} >- >- >-if (63 >>> 24 !== 0) { >- testFailed('#799: 63 >>> 24 === 0. Actual: ' + (63 >>> 24)); >-} >- >- >-if (127 >>> 24 !== 0) { >- testFailed('#800: 127 >>> 24 === 0. Actual: ' + (127 >>> 24)); >-} >- >- >-if (255 >>> 24 !== 0) { >- testFailed('#801: 255 >>> 24 === 0. Actual: ' + (255 >>> 24)); >-} >- >- >-if (511 >>> 24 !== 0) { >- testFailed('#802: 511 >>> 24 === 0. Actual: ' + (511 >>> 24)); >-} >- >- >-if (1023 >>> 24 !== 0) { >- testFailed('#803: 1023 >>> 24 === 0. Actual: ' + (1023 >>> 24)); >-} >- >- >-if (2047 >>> 24 !== 0) { >- testFailed('#804: 2047 >>> 24 === 0. Actual: ' + (2047 >>> 24)); >-} >- >- >-if (4095 >>> 24 !== 0) { >- testFailed('#805: 4095 >>> 24 === 0. Actual: ' + (4095 >>> 24)); >-} >- >- >-if (8191 >>> 24 !== 0) { >- testFailed('#806: 8191 >>> 24 === 0. Actual: ' + (8191 >>> 24)); >-} >- >- >-if (16383 >>> 24 !== 0) { >- testFailed('#807: 16383 >>> 24 === 0. Actual: ' + (16383 >>> 24)); >-} >- >- >-if (32767 >>> 24 !== 0) { >- testFailed('#808: 32767 >>> 24 === 0. Actual: ' + (32767 >>> 24)); >-} >- >- >-if (65535 >>> 24 !== 0) { >- testFailed('#809: 65535 >>> 24 === 0. Actual: ' + (65535 >>> 24)); >-} >- >- >-if (131071 >>> 24 !== 0) { >- testFailed('#810: 131071 >>> 24 === 0. Actual: ' + (131071 >>> 24)); >-} >- >- >-if (262143 >>> 24 !== 0) { >- testFailed('#811: 262143 >>> 24 === 0. Actual: ' + (262143 >>> 24)); >-} >- >- >-if (524287 >>> 24 !== 0) { >- testFailed('#812: 524287 >>> 24 === 0. Actual: ' + (524287 >>> 24)); >-} >- >- >-if (1048575 >>> 24 !== 0) { >- testFailed('#813: 1048575 >>> 24 === 0. Actual: ' + (1048575 >>> 24)); >-} >- >- >-if (2097151 >>> 24 !== 0) { >- testFailed('#814: 2097151 >>> 24 === 0. Actual: ' + (2097151 >>> 24)); >-} >- >- >-if (4194303 >>> 24 !== 0) { >- testFailed('#815: 4194303 >>> 24 === 0. Actual: ' + (4194303 >>> 24)); >-} >- >- >-if (8388607 >>> 24 !== 0) { >- testFailed('#816: 8388607 >>> 24 === 0. Actual: ' + (8388607 >>> 24)); >-} >- >- >-if (16777215 >>> 24 !== 0) { >- testFailed('#817: 16777215 >>> 24 === 0. Actual: ' + (16777215 >>> 24)); >-} >- >- >-if (33554431 >>> 24 !== 1) { >- testFailed('#818: 33554431 >>> 24 === 1. Actual: ' + (33554431 >>> 24)); >-} >- >- >-if (67108863 >>> 24 !== 3) { >- testFailed('#819: 67108863 >>> 24 === 3. Actual: ' + (67108863 >>> 24)); >-} >- >- >-if (134217727 >>> 24 !== 7) { >- testFailed('#820: 134217727 >>> 24 === 7. Actual: ' + (134217727 >>> 24)); >-} >- >- >-if (268435455 >>> 24 !== 15) { >- testFailed('#821: 268435455 >>> 24 === 15. Actual: ' + (268435455 >>> 24)); >-} >- >- >-if (536870911 >>> 24 !== 31) { >- testFailed('#822: 536870911 >>> 24 === 31. Actual: ' + (536870911 >>> 24)); >-} >- >- >-if (1073741823 >>> 24 !== 63) { >- testFailed('#823: 1073741823 >>> 24 === 63. Actual: ' + (1073741823 >>> 24)); >-} >- >- >-if (2147483647 >>> 24 !== 127) { >- testFailed('#824: 2147483647 >>> 24 === 127. Actual: ' + (2147483647 >>> 24)); >-} >- >- >-if (4294967295 >>> 24 !== 255) { >- testFailed('#825: 4294967295 >>> 24 === 255. Actual: ' + (4294967295 >>> 24)); >-} >- >- >-if (0 >>> 25 !== 0) { >- testFailed('#826: 0 >>> 25 === 0. Actual: ' + (0 >>> 25)); >-} >- >- >-if (1 >>> 25 !== 0) { >- testFailed('#827: 1 >>> 25 === 0. Actual: ' + (1 >>> 25)); >-} >- >- >-if (3 >>> 25 !== 0) { >- testFailed('#828: 3 >>> 25 === 0. Actual: ' + (3 >>> 25)); >-} >- >- >-if (7 >>> 25 !== 0) { >- testFailed('#829: 7 >>> 25 === 0. Actual: ' + (7 >>> 25)); >-} >- >- >-if (15 >>> 25 !== 0) { >- testFailed('#830: 15 >>> 25 === 0. Actual: ' + (15 >>> 25)); >-} >- >- >-if (31 >>> 25 !== 0) { >- testFailed('#831: 31 >>> 25 === 0. Actual: ' + (31 >>> 25)); >-} >- >- >-if (63 >>> 25 !== 0) { >- testFailed('#832: 63 >>> 25 === 0. Actual: ' + (63 >>> 25)); >-} >- >- >-if (127 >>> 25 !== 0) { >- testFailed('#833: 127 >>> 25 === 0. Actual: ' + (127 >>> 25)); >-} >- >- >-if (255 >>> 25 !== 0) { >- testFailed('#834: 255 >>> 25 === 0. Actual: ' + (255 >>> 25)); >-} >- >- >-if (511 >>> 25 !== 0) { >- testFailed('#835: 511 >>> 25 === 0. Actual: ' + (511 >>> 25)); >-} >- >- >-if (1023 >>> 25 !== 0) { >- testFailed('#836: 1023 >>> 25 === 0. Actual: ' + (1023 >>> 25)); >-} >- >- >-if (2047 >>> 25 !== 0) { >- testFailed('#837: 2047 >>> 25 === 0. Actual: ' + (2047 >>> 25)); >-} >- >- >-if (4095 >>> 25 !== 0) { >- testFailed('#838: 4095 >>> 25 === 0. Actual: ' + (4095 >>> 25)); >-} >- >- >-if (8191 >>> 25 !== 0) { >- testFailed('#839: 8191 >>> 25 === 0. Actual: ' + (8191 >>> 25)); >-} >- >- >-if (16383 >>> 25 !== 0) { >- testFailed('#840: 16383 >>> 25 === 0. Actual: ' + (16383 >>> 25)); >-} >- >- >-if (32767 >>> 25 !== 0) { >- testFailed('#841: 32767 >>> 25 === 0. Actual: ' + (32767 >>> 25)); >-} >- >- >-if (65535 >>> 25 !== 0) { >- testFailed('#842: 65535 >>> 25 === 0. Actual: ' + (65535 >>> 25)); >-} >- >- >-if (131071 >>> 25 !== 0) { >- testFailed('#843: 131071 >>> 25 === 0. Actual: ' + (131071 >>> 25)); >-} >- >- >-if (262143 >>> 25 !== 0) { >- testFailed('#844: 262143 >>> 25 === 0. Actual: ' + (262143 >>> 25)); >-} >- >- >-if (524287 >>> 25 !== 0) { >- testFailed('#845: 524287 >>> 25 === 0. Actual: ' + (524287 >>> 25)); >-} >- >- >-if (1048575 >>> 25 !== 0) { >- testFailed('#846: 1048575 >>> 25 === 0. Actual: ' + (1048575 >>> 25)); >-} >- >- >-if (2097151 >>> 25 !== 0) { >- testFailed('#847: 2097151 >>> 25 === 0. Actual: ' + (2097151 >>> 25)); >-} >- >- >-if (4194303 >>> 25 !== 0) { >- testFailed('#848: 4194303 >>> 25 === 0. Actual: ' + (4194303 >>> 25)); >-} >- >- >-if (8388607 >>> 25 !== 0) { >- testFailed('#849: 8388607 >>> 25 === 0. Actual: ' + (8388607 >>> 25)); >-} >- >- >-if (16777215 >>> 25 !== 0) { >- testFailed('#850: 16777215 >>> 25 === 0. Actual: ' + (16777215 >>> 25)); >-} >- >- >-if (33554431 >>> 25 !== 0) { >- testFailed('#851: 33554431 >>> 25 === 0. Actual: ' + (33554431 >>> 25)); >-} >- >- >-if (67108863 >>> 25 !== 1) { >- testFailed('#852: 67108863 >>> 25 === 1. Actual: ' + (67108863 >>> 25)); >-} >- >- >-if (134217727 >>> 25 !== 3) { >- testFailed('#853: 134217727 >>> 25 === 3. Actual: ' + (134217727 >>> 25)); >-} >- >- >-if (268435455 >>> 25 !== 7) { >- testFailed('#854: 268435455 >>> 25 === 7. Actual: ' + (268435455 >>> 25)); >-} >- >- >-if (536870911 >>> 25 !== 15) { >- testFailed('#855: 536870911 >>> 25 === 15. Actual: ' + (536870911 >>> 25)); >-} >- >- >-if (1073741823 >>> 25 !== 31) { >- testFailed('#856: 1073741823 >>> 25 === 31. Actual: ' + (1073741823 >>> 25)); >-} >- >- >-if (2147483647 >>> 25 !== 63) { >- testFailed('#857: 2147483647 >>> 25 === 63. Actual: ' + (2147483647 >>> 25)); >-} >- >- >-if (4294967295 >>> 25 !== 127) { >- testFailed('#858: 4294967295 >>> 25 === 127. Actual: ' + (4294967295 >>> 25)); >-} >- >- >-if (0 >>> 26 !== 0) { >- testFailed('#859: 0 >>> 26 === 0. Actual: ' + (0 >>> 26)); >-} >- >- >-if (1 >>> 26 !== 0) { >- testFailed('#860: 1 >>> 26 === 0. Actual: ' + (1 >>> 26)); >-} >- >- >-if (3 >>> 26 !== 0) { >- testFailed('#861: 3 >>> 26 === 0. Actual: ' + (3 >>> 26)); >-} >- >- >-if (7 >>> 26 !== 0) { >- testFailed('#862: 7 >>> 26 === 0. Actual: ' + (7 >>> 26)); >-} >- >- >-if (15 >>> 26 !== 0) { >- testFailed('#863: 15 >>> 26 === 0. Actual: ' + (15 >>> 26)); >-} >- >- >-if (31 >>> 26 !== 0) { >- testFailed('#864: 31 >>> 26 === 0. Actual: ' + (31 >>> 26)); >-} >- >- >-if (63 >>> 26 !== 0) { >- testFailed('#865: 63 >>> 26 === 0. Actual: ' + (63 >>> 26)); >-} >- >- >-if (127 >>> 26 !== 0) { >- testFailed('#866: 127 >>> 26 === 0. Actual: ' + (127 >>> 26)); >-} >- >- >-if (255 >>> 26 !== 0) { >- testFailed('#867: 255 >>> 26 === 0. Actual: ' + (255 >>> 26)); >-} >- >- >-if (511 >>> 26 !== 0) { >- testFailed('#868: 511 >>> 26 === 0. Actual: ' + (511 >>> 26)); >-} >- >- >-if (1023 >>> 26 !== 0) { >- testFailed('#869: 1023 >>> 26 === 0. Actual: ' + (1023 >>> 26)); >-} >- >- >-if (2047 >>> 26 !== 0) { >- testFailed('#870: 2047 >>> 26 === 0. Actual: ' + (2047 >>> 26)); >-} >- >- >-if (4095 >>> 26 !== 0) { >- testFailed('#871: 4095 >>> 26 === 0. Actual: ' + (4095 >>> 26)); >-} >- >- >-if (8191 >>> 26 !== 0) { >- testFailed('#872: 8191 >>> 26 === 0. Actual: ' + (8191 >>> 26)); >-} >- >- >-if (16383 >>> 26 !== 0) { >- testFailed('#873: 16383 >>> 26 === 0. Actual: ' + (16383 >>> 26)); >-} >- >- >-if (32767 >>> 26 !== 0) { >- testFailed('#874: 32767 >>> 26 === 0. Actual: ' + (32767 >>> 26)); >-} >- >- >-if (65535 >>> 26 !== 0) { >- testFailed('#875: 65535 >>> 26 === 0. Actual: ' + (65535 >>> 26)); >-} >- >- >-if (131071 >>> 26 !== 0) { >- testFailed('#876: 131071 >>> 26 === 0. Actual: ' + (131071 >>> 26)); >-} >- >- >-if (262143 >>> 26 !== 0) { >- testFailed('#877: 262143 >>> 26 === 0. Actual: ' + (262143 >>> 26)); >-} >- >- >-if (524287 >>> 26 !== 0) { >- testFailed('#878: 524287 >>> 26 === 0. Actual: ' + (524287 >>> 26)); >-} >- >- >-if (1048575 >>> 26 !== 0) { >- testFailed('#879: 1048575 >>> 26 === 0. Actual: ' + (1048575 >>> 26)); >-} >- >- >-if (2097151 >>> 26 !== 0) { >- testFailed('#880: 2097151 >>> 26 === 0. Actual: ' + (2097151 >>> 26)); >-} >- >- >-if (4194303 >>> 26 !== 0) { >- testFailed('#881: 4194303 >>> 26 === 0. Actual: ' + (4194303 >>> 26)); >-} >- >- >-if (8388607 >>> 26 !== 0) { >- testFailed('#882: 8388607 >>> 26 === 0. Actual: ' + (8388607 >>> 26)); >-} >- >- >-if (16777215 >>> 26 !== 0) { >- testFailed('#883: 16777215 >>> 26 === 0. Actual: ' + (16777215 >>> 26)); >-} >- >- >-if (33554431 >>> 26 !== 0) { >- testFailed('#884: 33554431 >>> 26 === 0. Actual: ' + (33554431 >>> 26)); >-} >- >- >-if (67108863 >>> 26 !== 0) { >- testFailed('#885: 67108863 >>> 26 === 0. Actual: ' + (67108863 >>> 26)); >-} >- >- >-if (134217727 >>> 26 !== 1) { >- testFailed('#886: 134217727 >>> 26 === 1. Actual: ' + (134217727 >>> 26)); >-} >- >- >-if (268435455 >>> 26 !== 3) { >- testFailed('#887: 268435455 >>> 26 === 3. Actual: ' + (268435455 >>> 26)); >-} >- >- >-if (536870911 >>> 26 !== 7) { >- testFailed('#888: 536870911 >>> 26 === 7. Actual: ' + (536870911 >>> 26)); >-} >- >- >-if (1073741823 >>> 26 !== 15) { >- testFailed('#889: 1073741823 >>> 26 === 15. Actual: ' + (1073741823 >>> 26)); >-} >- >- >-if (2147483647 >>> 26 !== 31) { >- testFailed('#890: 2147483647 >>> 26 === 31. Actual: ' + (2147483647 >>> 26)); >-} >- >- >-if (4294967295 >>> 26 !== 63) { >- testFailed('#891: 4294967295 >>> 26 === 63. Actual: ' + (4294967295 >>> 26)); >-} >- >- >-if (0 >>> 27 !== 0) { >- testFailed('#892: 0 >>> 27 === 0. Actual: ' + (0 >>> 27)); >-} >- >- >-if (1 >>> 27 !== 0) { >- testFailed('#893: 1 >>> 27 === 0. Actual: ' + (1 >>> 27)); >-} >- >- >-if (3 >>> 27 !== 0) { >- testFailed('#894: 3 >>> 27 === 0. Actual: ' + (3 >>> 27)); >-} >- >- >-if (7 >>> 27 !== 0) { >- testFailed('#895: 7 >>> 27 === 0. Actual: ' + (7 >>> 27)); >-} >- >- >-if (15 >>> 27 !== 0) { >- testFailed('#896: 15 >>> 27 === 0. Actual: ' + (15 >>> 27)); >-} >- >- >-if (31 >>> 27 !== 0) { >- testFailed('#897: 31 >>> 27 === 0. Actual: ' + (31 >>> 27)); >-} >- >- >-if (63 >>> 27 !== 0) { >- testFailed('#898: 63 >>> 27 === 0. Actual: ' + (63 >>> 27)); >-} >- >- >-if (127 >>> 27 !== 0) { >- testFailed('#899: 127 >>> 27 === 0. Actual: ' + (127 >>> 27)); >-} >- >- >-if (255 >>> 27 !== 0) { >- testFailed('#900: 255 >>> 27 === 0. Actual: ' + (255 >>> 27)); >-} >- >- >-if (511 >>> 27 !== 0) { >- testFailed('#901: 511 >>> 27 === 0. Actual: ' + (511 >>> 27)); >-} >- >- >-if (1023 >>> 27 !== 0) { >- testFailed('#902: 1023 >>> 27 === 0. Actual: ' + (1023 >>> 27)); >-} >- >- >-if (2047 >>> 27 !== 0) { >- testFailed('#903: 2047 >>> 27 === 0. Actual: ' + (2047 >>> 27)); >-} >- >- >-if (4095 >>> 27 !== 0) { >- testFailed('#904: 4095 >>> 27 === 0. Actual: ' + (4095 >>> 27)); >-} >- >- >-if (8191 >>> 27 !== 0) { >- testFailed('#905: 8191 >>> 27 === 0. Actual: ' + (8191 >>> 27)); >-} >- >- >-if (16383 >>> 27 !== 0) { >- testFailed('#906: 16383 >>> 27 === 0. Actual: ' + (16383 >>> 27)); >-} >- >- >-if (32767 >>> 27 !== 0) { >- testFailed('#907: 32767 >>> 27 === 0. Actual: ' + (32767 >>> 27)); >-} >- >- >-if (65535 >>> 27 !== 0) { >- testFailed('#908: 65535 >>> 27 === 0. Actual: ' + (65535 >>> 27)); >-} >- >- >-if (131071 >>> 27 !== 0) { >- testFailed('#909: 131071 >>> 27 === 0. Actual: ' + (131071 >>> 27)); >-} >- >- >-if (262143 >>> 27 !== 0) { >- testFailed('#910: 262143 >>> 27 === 0. Actual: ' + (262143 >>> 27)); >-} >- >- >-if (524287 >>> 27 !== 0) { >- testFailed('#911: 524287 >>> 27 === 0. Actual: ' + (524287 >>> 27)); >-} >- >- >-if (1048575 >>> 27 !== 0) { >- testFailed('#912: 1048575 >>> 27 === 0. Actual: ' + (1048575 >>> 27)); >-} >- >- >-if (2097151 >>> 27 !== 0) { >- testFailed('#913: 2097151 >>> 27 === 0. Actual: ' + (2097151 >>> 27)); >-} >- >- >-if (4194303 >>> 27 !== 0) { >- testFailed('#914: 4194303 >>> 27 === 0. Actual: ' + (4194303 >>> 27)); >-} >- >- >-if (8388607 >>> 27 !== 0) { >- testFailed('#915: 8388607 >>> 27 === 0. Actual: ' + (8388607 >>> 27)); >-} >- >- >-if (16777215 >>> 27 !== 0) { >- testFailed('#916: 16777215 >>> 27 === 0. Actual: ' + (16777215 >>> 27)); >-} >- >- >-if (33554431 >>> 27 !== 0) { >- testFailed('#917: 33554431 >>> 27 === 0. Actual: ' + (33554431 >>> 27)); >-} >- >- >-if (67108863 >>> 27 !== 0) { >- testFailed('#918: 67108863 >>> 27 === 0. Actual: ' + (67108863 >>> 27)); >-} >- >- >-if (134217727 >>> 27 !== 0) { >- testFailed('#919: 134217727 >>> 27 === 0. Actual: ' + (134217727 >>> 27)); >-} >- >- >-if (268435455 >>> 27 !== 1) { >- testFailed('#920: 268435455 >>> 27 === 1. Actual: ' + (268435455 >>> 27)); >-} >- >- >-if (536870911 >>> 27 !== 3) { >- testFailed('#921: 536870911 >>> 27 === 3. Actual: ' + (536870911 >>> 27)); >-} >- >- >-if (1073741823 >>> 27 !== 7) { >- testFailed('#922: 1073741823 >>> 27 === 7. Actual: ' + (1073741823 >>> 27)); >-} >- >- >-if (2147483647 >>> 27 !== 15) { >- testFailed('#923: 2147483647 >>> 27 === 15. Actual: ' + (2147483647 >>> 27)); >-} >- >- >-if (4294967295 >>> 27 !== 31) { >- testFailed('#924: 4294967295 >>> 27 === 31. Actual: ' + (4294967295 >>> 27)); >-} >- >- >-if (0 >>> 28 !== 0) { >- testFailed('#925: 0 >>> 28 === 0. Actual: ' + (0 >>> 28)); >-} >- >- >-if (1 >>> 28 !== 0) { >- testFailed('#926: 1 >>> 28 === 0. Actual: ' + (1 >>> 28)); >-} >- >- >-if (3 >>> 28 !== 0) { >- testFailed('#927: 3 >>> 28 === 0. Actual: ' + (3 >>> 28)); >-} >- >- >-if (7 >>> 28 !== 0) { >- testFailed('#928: 7 >>> 28 === 0. Actual: ' + (7 >>> 28)); >-} >- >- >-if (15 >>> 28 !== 0) { >- testFailed('#929: 15 >>> 28 === 0. Actual: ' + (15 >>> 28)); >-} >- >- >-if (31 >>> 28 !== 0) { >- testFailed('#930: 31 >>> 28 === 0. Actual: ' + (31 >>> 28)); >-} >- >- >-if (63 >>> 28 !== 0) { >- testFailed('#931: 63 >>> 28 === 0. Actual: ' + (63 >>> 28)); >-} >- >- >-if (127 >>> 28 !== 0) { >- testFailed('#932: 127 >>> 28 === 0. Actual: ' + (127 >>> 28)); >-} >- >- >-if (255 >>> 28 !== 0) { >- testFailed('#933: 255 >>> 28 === 0. Actual: ' + (255 >>> 28)); >-} >- >- >-if (511 >>> 28 !== 0) { >- testFailed('#934: 511 >>> 28 === 0. Actual: ' + (511 >>> 28)); >-} >- >- >-if (1023 >>> 28 !== 0) { >- testFailed('#935: 1023 >>> 28 === 0. Actual: ' + (1023 >>> 28)); >-} >- >- >-if (2047 >>> 28 !== 0) { >- testFailed('#936: 2047 >>> 28 === 0. Actual: ' + (2047 >>> 28)); >-} >- >- >-if (4095 >>> 28 !== 0) { >- testFailed('#937: 4095 >>> 28 === 0. Actual: ' + (4095 >>> 28)); >-} >- >- >-if (8191 >>> 28 !== 0) { >- testFailed('#938: 8191 >>> 28 === 0. Actual: ' + (8191 >>> 28)); >-} >- >- >-if (16383 >>> 28 !== 0) { >- testFailed('#939: 16383 >>> 28 === 0. Actual: ' + (16383 >>> 28)); >-} >- >- >-if (32767 >>> 28 !== 0) { >- testFailed('#940: 32767 >>> 28 === 0. Actual: ' + (32767 >>> 28)); >-} >- >- >-if (65535 >>> 28 !== 0) { >- testFailed('#941: 65535 >>> 28 === 0. Actual: ' + (65535 >>> 28)); >-} >- >- >-if (131071 >>> 28 !== 0) { >- testFailed('#942: 131071 >>> 28 === 0. Actual: ' + (131071 >>> 28)); >-} >- >- >-if (262143 >>> 28 !== 0) { >- testFailed('#943: 262143 >>> 28 === 0. Actual: ' + (262143 >>> 28)); >-} >- >- >-if (524287 >>> 28 !== 0) { >- testFailed('#944: 524287 >>> 28 === 0. Actual: ' + (524287 >>> 28)); >-} >- >- >-if (1048575 >>> 28 !== 0) { >- testFailed('#945: 1048575 >>> 28 === 0. Actual: ' + (1048575 >>> 28)); >-} >- >- >-if (2097151 >>> 28 !== 0) { >- testFailed('#946: 2097151 >>> 28 === 0. Actual: ' + (2097151 >>> 28)); >-} >- >- >-if (4194303 >>> 28 !== 0) { >- testFailed('#947: 4194303 >>> 28 === 0. Actual: ' + (4194303 >>> 28)); >-} >- >- >-if (8388607 >>> 28 !== 0) { >- testFailed('#948: 8388607 >>> 28 === 0. Actual: ' + (8388607 >>> 28)); >-} >- >- >-if (16777215 >>> 28 !== 0) { >- testFailed('#949: 16777215 >>> 28 === 0. Actual: ' + (16777215 >>> 28)); >-} >- >- >-if (33554431 >>> 28 !== 0) { >- testFailed('#950: 33554431 >>> 28 === 0. Actual: ' + (33554431 >>> 28)); >-} >- >- >-if (67108863 >>> 28 !== 0) { >- testFailed('#951: 67108863 >>> 28 === 0. Actual: ' + (67108863 >>> 28)); >-} >- >- >-if (134217727 >>> 28 !== 0) { >- testFailed('#952: 134217727 >>> 28 === 0. Actual: ' + (134217727 >>> 28)); >-} >- >- >-if (268435455 >>> 28 !== 0) { >- testFailed('#953: 268435455 >>> 28 === 0. Actual: ' + (268435455 >>> 28)); >-} >- >- >-if (536870911 >>> 28 !== 1) { >- testFailed('#954: 536870911 >>> 28 === 1. Actual: ' + (536870911 >>> 28)); >-} >- >- >-if (1073741823 >>> 28 !== 3) { >- testFailed('#955: 1073741823 >>> 28 === 3. Actual: ' + (1073741823 >>> 28)); >-} >- >- >-if (2147483647 >>> 28 !== 7) { >- testFailed('#956: 2147483647 >>> 28 === 7. Actual: ' + (2147483647 >>> 28)); >-} >- >- >-if (4294967295 >>> 28 !== 15) { >- testFailed('#957: 4294967295 >>> 28 === 15. Actual: ' + (4294967295 >>> 28)); >-} >- >- >-if (0 >>> 29 !== 0) { >- testFailed('#958: 0 >>> 29 === 0. Actual: ' + (0 >>> 29)); >-} >- >- >-if (1 >>> 29 !== 0) { >- testFailed('#959: 1 >>> 29 === 0. Actual: ' + (1 >>> 29)); >-} >- >- >-if (3 >>> 29 !== 0) { >- testFailed('#960: 3 >>> 29 === 0. Actual: ' + (3 >>> 29)); >-} >- >- >-if (7 >>> 29 !== 0) { >- testFailed('#961: 7 >>> 29 === 0. Actual: ' + (7 >>> 29)); >-} >- >- >-if (15 >>> 29 !== 0) { >- testFailed('#962: 15 >>> 29 === 0. Actual: ' + (15 >>> 29)); >-} >- >- >-if (31 >>> 29 !== 0) { >- testFailed('#963: 31 >>> 29 === 0. Actual: ' + (31 >>> 29)); >-} >- >- >-if (63 >>> 29 !== 0) { >- testFailed('#964: 63 >>> 29 === 0. Actual: ' + (63 >>> 29)); >-} >- >- >-if (127 >>> 29 !== 0) { >- testFailed('#965: 127 >>> 29 === 0. Actual: ' + (127 >>> 29)); >-} >- >- >-if (255 >>> 29 !== 0) { >- testFailed('#966: 255 >>> 29 === 0. Actual: ' + (255 >>> 29)); >-} >- >- >-if (511 >>> 29 !== 0) { >- testFailed('#967: 511 >>> 29 === 0. Actual: ' + (511 >>> 29)); >-} >- >- >-if (1023 >>> 29 !== 0) { >- testFailed('#968: 1023 >>> 29 === 0. Actual: ' + (1023 >>> 29)); >-} >- >- >-if (2047 >>> 29 !== 0) { >- testFailed('#969: 2047 >>> 29 === 0. Actual: ' + (2047 >>> 29)); >-} >- >- >-if (4095 >>> 29 !== 0) { >- testFailed('#970: 4095 >>> 29 === 0. Actual: ' + (4095 >>> 29)); >-} >- >- >-if (8191 >>> 29 !== 0) { >- testFailed('#971: 8191 >>> 29 === 0. Actual: ' + (8191 >>> 29)); >-} >- >- >-if (16383 >>> 29 !== 0) { >- testFailed('#972: 16383 >>> 29 === 0. Actual: ' + (16383 >>> 29)); >-} >- >- >-if (32767 >>> 29 !== 0) { >- testFailed('#973: 32767 >>> 29 === 0. Actual: ' + (32767 >>> 29)); >-} >- >- >-if (65535 >>> 29 !== 0) { >- testFailed('#974: 65535 >>> 29 === 0. Actual: ' + (65535 >>> 29)); >-} >- >- >-if (131071 >>> 29 !== 0) { >- testFailed('#975: 131071 >>> 29 === 0. Actual: ' + (131071 >>> 29)); >-} >- >- >-if (262143 >>> 29 !== 0) { >- testFailed('#976: 262143 >>> 29 === 0. Actual: ' + (262143 >>> 29)); >-} >- >- >-if (524287 >>> 29 !== 0) { >- testFailed('#977: 524287 >>> 29 === 0. Actual: ' + (524287 >>> 29)); >-} >- >- >-if (1048575 >>> 29 !== 0) { >- testFailed('#978: 1048575 >>> 29 === 0. Actual: ' + (1048575 >>> 29)); >-} >- >- >-if (2097151 >>> 29 !== 0) { >- testFailed('#979: 2097151 >>> 29 === 0. Actual: ' + (2097151 >>> 29)); >-} >- >- >-if (4194303 >>> 29 !== 0) { >- testFailed('#980: 4194303 >>> 29 === 0. Actual: ' + (4194303 >>> 29)); >-} >- >- >-if (8388607 >>> 29 !== 0) { >- testFailed('#981: 8388607 >>> 29 === 0. Actual: ' + (8388607 >>> 29)); >-} >- >- >-if (16777215 >>> 29 !== 0) { >- testFailed('#982: 16777215 >>> 29 === 0. Actual: ' + (16777215 >>> 29)); >-} >- >- >-if (33554431 >>> 29 !== 0) { >- testFailed('#983: 33554431 >>> 29 === 0. Actual: ' + (33554431 >>> 29)); >-} >- >- >-if (67108863 >>> 29 !== 0) { >- testFailed('#984: 67108863 >>> 29 === 0. Actual: ' + (67108863 >>> 29)); >-} >- >- >-if (134217727 >>> 29 !== 0) { >- testFailed('#985: 134217727 >>> 29 === 0. Actual: ' + (134217727 >>> 29)); >-} >- >- >-if (268435455 >>> 29 !== 0) { >- testFailed('#986: 268435455 >>> 29 === 0. Actual: ' + (268435455 >>> 29)); >-} >- >- >-if (536870911 >>> 29 !== 0) { >- testFailed('#987: 536870911 >>> 29 === 0. Actual: ' + (536870911 >>> 29)); >-} >- >- >-if (1073741823 >>> 29 !== 1) { >- testFailed('#988: 1073741823 >>> 29 === 1. Actual: ' + (1073741823 >>> 29)); >-} >- >- >-if (2147483647 >>> 29 !== 3) { >- testFailed('#989: 2147483647 >>> 29 === 3. Actual: ' + (2147483647 >>> 29)); >-} >- >- >-if (4294967295 >>> 29 !== 7) { >- testFailed('#990: 4294967295 >>> 29 === 7. Actual: ' + (4294967295 >>> 29)); >-} >- >- >-if (0 >>> 30 !== 0) { >- testFailed('#991: 0 >>> 30 === 0. Actual: ' + (0 >>> 30)); >-} >- >- >-if (1 >>> 30 !== 0) { >- testFailed('#992: 1 >>> 30 === 0. Actual: ' + (1 >>> 30)); >-} >- >- >-if (3 >>> 30 !== 0) { >- testFailed('#993: 3 >>> 30 === 0. Actual: ' + (3 >>> 30)); >-} >- >- >-if (7 >>> 30 !== 0) { >- testFailed('#994: 7 >>> 30 === 0. Actual: ' + (7 >>> 30)); >-} >- >- >-if (15 >>> 30 !== 0) { >- testFailed('#995: 15 >>> 30 === 0. Actual: ' + (15 >>> 30)); >-} >- >- >-if (31 >>> 30 !== 0) { >- testFailed('#996: 31 >>> 30 === 0. Actual: ' + (31 >>> 30)); >-} >- >- >-if (63 >>> 30 !== 0) { >- testFailed('#997: 63 >>> 30 === 0. Actual: ' + (63 >>> 30)); >-} >- >- >-if (127 >>> 30 !== 0) { >- testFailed('#998: 127 >>> 30 === 0. Actual: ' + (127 >>> 30)); >-} >- >- >-if (255 >>> 30 !== 0) { >- testFailed('#999: 255 >>> 30 === 0. Actual: ' + (255 >>> 30)); >-} >- >- >-if (511 >>> 30 !== 0) { >- testFailed('#1000: 511 >>> 30 === 0. Actual: ' + (511 >>> 30)); >-} >- >- >-if (1023 >>> 30 !== 0) { >- testFailed('#1001: 1023 >>> 30 === 0. Actual: ' + (1023 >>> 30)); >-} >- >- >-if (2047 >>> 30 !== 0) { >- testFailed('#1002: 2047 >>> 30 === 0. Actual: ' + (2047 >>> 30)); >-} >- >- >-if (4095 >>> 30 !== 0) { >- testFailed('#1003: 4095 >>> 30 === 0. Actual: ' + (4095 >>> 30)); >-} >- >- >-if (8191 >>> 30 !== 0) { >- testFailed('#1004: 8191 >>> 30 === 0. Actual: ' + (8191 >>> 30)); >-} >- >- >-if (16383 >>> 30 !== 0) { >- testFailed('#1005: 16383 >>> 30 === 0. Actual: ' + (16383 >>> 30)); >-} >- >- >-if (32767 >>> 30 !== 0) { >- testFailed('#1006: 32767 >>> 30 === 0. Actual: ' + (32767 >>> 30)); >-} >- >- >-if (65535 >>> 30 !== 0) { >- testFailed('#1007: 65535 >>> 30 === 0. Actual: ' + (65535 >>> 30)); >-} >- >- >-if (131071 >>> 30 !== 0) { >- testFailed('#1008: 131071 >>> 30 === 0. Actual: ' + (131071 >>> 30)); >-} >- >- >-if (262143 >>> 30 !== 0) { >- testFailed('#1009: 262143 >>> 30 === 0. Actual: ' + (262143 >>> 30)); >-} >- >- >-if (524287 >>> 30 !== 0) { >- testFailed('#1010: 524287 >>> 30 === 0. Actual: ' + (524287 >>> 30)); >-} >- >- >-if (1048575 >>> 30 !== 0) { >- testFailed('#1011: 1048575 >>> 30 === 0. Actual: ' + (1048575 >>> 30)); >-} >- >- >-if (2097151 >>> 30 !== 0) { >- testFailed('#1012: 2097151 >>> 30 === 0. Actual: ' + (2097151 >>> 30)); >-} >- >- >-if (4194303 >>> 30 !== 0) { >- testFailed('#1013: 4194303 >>> 30 === 0. Actual: ' + (4194303 >>> 30)); >-} >- >- >-if (8388607 >>> 30 !== 0) { >- testFailed('#1014: 8388607 >>> 30 === 0. Actual: ' + (8388607 >>> 30)); >-} >- >- >-if (16777215 >>> 30 !== 0) { >- testFailed('#1015: 16777215 >>> 30 === 0. Actual: ' + (16777215 >>> 30)); >-} >- >- >-if (33554431 >>> 30 !== 0) { >- testFailed('#1016: 33554431 >>> 30 === 0. Actual: ' + (33554431 >>> 30)); >-} >- >- >-if (67108863 >>> 30 !== 0) { >- testFailed('#1017: 67108863 >>> 30 === 0. Actual: ' + (67108863 >>> 30)); >-} >- >- >-if (134217727 >>> 30 !== 0) { >- testFailed('#1018: 134217727 >>> 30 === 0. Actual: ' + (134217727 >>> 30)); >-} >- >- >-if (268435455 >>> 30 !== 0) { >- testFailed('#1019: 268435455 >>> 30 === 0. Actual: ' + (268435455 >>> 30)); >-} >- >- >-if (536870911 >>> 30 !== 0) { >- testFailed('#1020: 536870911 >>> 30 === 0. Actual: ' + (536870911 >>> 30)); >-} >- >- >-if (1073741823 >>> 30 !== 0) { >- testFailed('#1021: 1073741823 >>> 30 === 0. Actual: ' + (1073741823 >>> 30)); >-} >- >- >-if (2147483647 >>> 30 !== 1) { >- testFailed('#1022: 2147483647 >>> 30 === 1. Actual: ' + (2147483647 >>> 30)); >-} >- >- >-if (4294967295 >>> 30 !== 3) { >- testFailed('#1023: 4294967295 >>> 30 === 3. Actual: ' + (4294967295 >>> 30)); >-} >- >- >-if (0 >>> 31 !== 0) { >- testFailed('#1024: 0 >>> 31 === 0. Actual: ' + (0 >>> 31)); >-} >- >- >-if (1 >>> 31 !== 0) { >- testFailed('#1025: 1 >>> 31 === 0. Actual: ' + (1 >>> 31)); >-} >- >- >-if (3 >>> 31 !== 0) { >- testFailed('#1026: 3 >>> 31 === 0. Actual: ' + (3 >>> 31)); >-} >- >- >-if (7 >>> 31 !== 0) { >- testFailed('#1027: 7 >>> 31 === 0. Actual: ' + (7 >>> 31)); >-} >- >- >-if (15 >>> 31 !== 0) { >- testFailed('#1028: 15 >>> 31 === 0. Actual: ' + (15 >>> 31)); >-} >- >- >-if (31 >>> 31 !== 0) { >- testFailed('#1029: 31 >>> 31 === 0. Actual: ' + (31 >>> 31)); >-} >- >- >-if (63 >>> 31 !== 0) { >- testFailed('#1030: 63 >>> 31 === 0. Actual: ' + (63 >>> 31)); >-} >- >- >-if (127 >>> 31 !== 0) { >- testFailed('#1031: 127 >>> 31 === 0. Actual: ' + (127 >>> 31)); >-} >- >- >-if (255 >>> 31 !== 0) { >- testFailed('#1032: 255 >>> 31 === 0. Actual: ' + (255 >>> 31)); >-} >- >- >-if (511 >>> 31 !== 0) { >- testFailed('#1033: 511 >>> 31 === 0. Actual: ' + (511 >>> 31)); >-} >- >- >-if (1023 >>> 31 !== 0) { >- testFailed('#1034: 1023 >>> 31 === 0. Actual: ' + (1023 >>> 31)); >-} >- >- >-if (2047 >>> 31 !== 0) { >- testFailed('#1035: 2047 >>> 31 === 0. Actual: ' + (2047 >>> 31)); >-} >- >- >-if (4095 >>> 31 !== 0) { >- testFailed('#1036: 4095 >>> 31 === 0. Actual: ' + (4095 >>> 31)); >-} >- >- >-if (8191 >>> 31 !== 0) { >- testFailed('#1037: 8191 >>> 31 === 0. Actual: ' + (8191 >>> 31)); >-} >- >- >-if (16383 >>> 31 !== 0) { >- testFailed('#1038: 16383 >>> 31 === 0. Actual: ' + (16383 >>> 31)); >-} >- >- >-if (32767 >>> 31 !== 0) { >- testFailed('#1039: 32767 >>> 31 === 0. Actual: ' + (32767 >>> 31)); >-} >- >- >-if (65535 >>> 31 !== 0) { >- testFailed('#1040: 65535 >>> 31 === 0. Actual: ' + (65535 >>> 31)); >-} >- >- >-if (131071 >>> 31 !== 0) { >- testFailed('#1041: 131071 >>> 31 === 0. Actual: ' + (131071 >>> 31)); >-} >- >- >-if (262143 >>> 31 !== 0) { >- testFailed('#1042: 262143 >>> 31 === 0. Actual: ' + (262143 >>> 31)); >-} >- >- >-if (524287 >>> 31 !== 0) { >- testFailed('#1043: 524287 >>> 31 === 0. Actual: ' + (524287 >>> 31)); >-} >- >- >-if (1048575 >>> 31 !== 0) { >- testFailed('#1044: 1048575 >>> 31 === 0. Actual: ' + (1048575 >>> 31)); >-} >- >- >-if (2097151 >>> 31 !== 0) { >- testFailed('#1045: 2097151 >>> 31 === 0. Actual: ' + (2097151 >>> 31)); >-} >- >- >-if (4194303 >>> 31 !== 0) { >- testFailed('#1046: 4194303 >>> 31 === 0. Actual: ' + (4194303 >>> 31)); >-} >- >- >-if (8388607 >>> 31 !== 0) { >- testFailed('#1047: 8388607 >>> 31 === 0. Actual: ' + (8388607 >>> 31)); >-} >- >- >-if (16777215 >>> 31 !== 0) { >- testFailed('#1048: 16777215 >>> 31 === 0. Actual: ' + (16777215 >>> 31)); >-} >- >- >-if (33554431 >>> 31 !== 0) { >- testFailed('#1049: 33554431 >>> 31 === 0. Actual: ' + (33554431 >>> 31)); >-} >- >- >-if (67108863 >>> 31 !== 0) { >- testFailed('#1050: 67108863 >>> 31 === 0. Actual: ' + (67108863 >>> 31)); >-} >- >- >-if (134217727 >>> 31 !== 0) { >- testFailed('#1051: 134217727 >>> 31 === 0. Actual: ' + (134217727 >>> 31)); >-} >- >- >-if (268435455 >>> 31 !== 0) { >- testFailed('#1052: 268435455 >>> 31 === 0. Actual: ' + (268435455 >>> 31)); >-} >- >- >-if (536870911 >>> 31 !== 0) { >- testFailed('#1053: 536870911 >>> 31 === 0. Actual: ' + (536870911 >>> 31)); >-} >- >- >-if (1073741823 >>> 31 !== 0) { >- testFailed('#1054: 1073741823 >>> 31 === 0. Actual: ' + (1073741823 >>> 31)); >-} >- >- >-if (2147483647 >>> 31 !== 0) { >- testFailed('#1055: 2147483647 >>> 31 === 0. Actual: ' + (2147483647 >>> 31)); >-} >- >- >-if (4294967295 >>> 31 !== 1) { >- testFailed('#1056: 4294967295 >>> 31 === 1. Actual: ' + (4294967295 >>> 31)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1-expected.txt >deleted file mode 100644 >index 5b4291cc1be..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1.html >deleted file mode 100644 >index 204f0075e0c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.1_T1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A5.1_T1; >- * @section: 11.7.3, 9.5; >- * @assertion: Operator x >>> y uses ToUint32(ShiftExpression); >- * @description: Checking boundary points; >- */ >- >-//CHECK#1 >-if (2147483648.1 >>> 0 !== 2147483648) { >- testFailed('#1: 2147483648.1 >>> 0 === 2147483648. Actual: ' + (2147483648.1 >>> 0)); >-} >- >-//CHECK#2 >-if (4294967296.1 >>> 0 !== 0) { >- testFailed('#2: 4294967296.1 >>> 0 === 0. Actual: ' + (4294967296.1 >>> 0)); >-} >- >-//CHECK#3 >-if (6442450944.1 >>> 0 !== 2147483648) { >- testFailed('#3: 6442450944.1 >>> 0 === 2147483648. Actual: ' + (6442450944.1 >>> 0)); >-} >- >-//CHECK#4 >-if (4294967295.1 >>> 0 !== 4294967295) { >- testFailed('#4: 4294967295.1 >>> 0 === 4294967295. Actual: ' + (4294967295.1 >>> 0)); >-} >- >-//CHECK#5 >-if (6442450943.1 >>> 0 !== 2147483647) { >- testFailed('#5: 6442450943.1 >>> 0 === 2147483647. Actual: ' + (6442450943.1 >>> 0)); >-} >- >-//CHECK#6 >-if (-2147483649.1 >>> 0 !== 2147483647) { >- testFailed('#6: -2147483649.1 >>> 0 === 2147483647. Actual: ' + (-2147483649.1 >>> 0)); >-} >- >-//CHECK#7 >-if (-4294967297.1 >>> 0 !== 4294967295) { >- testFailed('#7: -4294967297.1 >>> 0 === 4294967295. Actual: ' + (-4294967297.1 >>> 0)); >-} >- >-//CHECK#8 >-if (-6442450945.1 >>> 0 !== 2147483647) { >- testFailed('#8: -6442450945.1 >>> 0 === 2147483647. Actual: ' + (-6442450945.1 >>> 0)); >-} >- >-//CHECK#9 >-if (-4294967296.1 >>> 0 !== 0) { >- testFailed('#9: -4294967296.1 >>> 0 === 0 . Actual: ' + (-4294967296.1 >>> 0)); >-} >- >-//CHECK#10 >-if (-6442450944.1 >>> 0 !== 2147483648) { >- testFailed('#10: -6442450944.1 >>> 0 === 2147483648. Actual: ' + (-6442450944.1 >>> 0)); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1-expected.txt >deleted file mode 100644 >index 4a4dbeb4bd4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.7.3_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1.html >deleted file mode 100644 >index 369750a1548..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A5.2_T1.html >+++ /dev/null >@@ -1,413 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.7.3_A5.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.7.3_A5.2_T1; >- * @section: 11.7.3, 9.5; >- * @assertion: Operator x >>> y uses ToUint32(AdditiveExpression) & 31; >- * @description: Checking distinct points; >- */ >- >-//CHECK#1 >-if (4294967295 >>> -32.1 !== 4294967295) { >- testFailed('#1: 4294967295 >>> -32.1 === 4294967295. Actual: ' + (4294967295 >>> -32.1)); >-} >- >-//CHECK#2 >-if (4294967295 >>> -31.1 !== 2147483647) { >- testFailed('#2: 4294967295 >>> -31.1 === 2147483647. Actual: ' + (4294967295 >>> -31.1)); >-} >- >-//CHECK#3 >-if (4294967295 >>> -30.1 !== 1073741823) { >- testFailed('#3: 4294967295 >>> -30.1 === 1073741823. Actual: ' + (4294967295 >>> -30.1)); >-} >- >-//CHECK#4 >-if (4294967295 >>> -29.1 !== 536870911) { >- testFailed('#4: 4294967295 >>> -29.1 === 536870911. Actual: ' + (4294967295 >>> -29.1)); >-} >- >-//CHECK#5 >-if (4294967295 >>> -28.1 !== 268435455) { >- testFailed('#5: 4294967295 >>> -28.1 === 268435455. Actual: ' + (4294967295 >>> -28.1)); >-} >- >-//CHECK#6 >-if (4294967295 >>> -27.1 !== 134217727) { >- testFailed('#6: 4294967295 >>> -27.1 === 134217727. Actual: ' + (4294967295 >>> -27.1)); >-} >- >-//CHECK#7 >-if (4294967295 >>> -26.1 !== 67108863) { >- testFailed('#7: 4294967295 >>> -26.1 === 67108863. Actual: ' + (4294967295 >>> -26.1)); >-} >- >-//CHECK#8 >-if (4294967295 >>> -25.1 !== 33554431) { >- testFailed('#8: 4294967295 >>> -25.1 === 33554431. Actual: ' + (4294967295 >>> -25.1)); >-} >- >-//CHECK#9 >-if (4294967295 >>> -24.1 !== 16777215) { >- testFailed('#9: 4294967295 >>> -24.1 === 16777215. Actual: ' + (4294967295 >>> -24.1)); >-} >- >-//CHECK#10 >-if (4294967295 >>> -23.1 !== 8388607) { >- testFailed('#10: 4294967295 >>> -23.1 === 8388607. Actual: ' + (4294967295 >>> -23.1)); >-} >- >-//CHECK#11 >-if (4294967295 >>> -22.1 !== 4194303) { >- testFailed('#11: 4294967295 >>> -22.1 === 4194303. Actual: ' + (4294967295 >>> -22.1)); >-} >- >-//CHECK#12 >-if (4294967295 >>> -21.1 !== 2097151) { >- testFailed('#12: 4294967295 >>> -21.1 === 2097151. Actual: ' + (4294967295 >>> -21.1)); >-} >- >-//CHECK#13 >-if (4294967295 >>> -20.1 !== 1048575) { >- testFailed('#13: 4294967295 >>> -20.1 === 1048575. Actual: ' + (4294967295 >>> -20.1)); >-} >- >-//CHECK#14 >-if (4294967295 >>> -19.1 !== 524287) { >- testFailed('#14: 4294967295 >>> -19.1 === 524287. Actual: ' + (4294967295 >>> -19.1)); >-} >- >-//CHECK#15 >-if (4294967295 >>> -18.1 !== 262143) { >- testFailed('#15: 4294967295 >>> -18.1 === 262143. Actual: ' + (4294967295 >>> -18.1)); >-} >- >-//CHECK#16 >-if (4294967295 >>> -17.1 !== 131071) { >- testFailed('#16: 4294967295 >>> -17.1 === 131071. Actual: ' + (4294967295 >>> -17.1)); >-} >- >-//CHECK#17 >-if (4294967295 >>> -16.1 !== 65535) { >- testFailed('#17: 4294967295 >>> -16.1 === 65535. Actual: ' + (4294967295 >>> -16.1)); >-} >- >-//CHECK#18 >-if (4294967295 >>> -15.1 !== 32767) { >- testFailed('#18: 4294967295 >>> -15.1 === 32767. Actual: ' + (4294967295 >>> -15.1)); >-} >- >-//CHECK#19 >-if (4294967295 >>> -14.1 !== 16383) { >- testFailed('#19: 4294967295 >>> -14.1 === 16383. Actual: ' + (4294967295 >>> -14.1)); >-} >- >-//CHECK#20 >-if (4294967295 >>> -13.1 !== 8191) { >- testFailed('#20: 4294967295 >>> -13.1 === 8191. Actual: ' + (4294967295 >>> -13.1)); >-} >- >-//CHECK#21 >-if (4294967295 >>> -12.1 !== 4095) { >- testFailed('#21: 4294967295 >>> -12.1 === 4095. Actual: ' + (4294967295 >>> -12.1)); >-} >- >-//CHECK#22 >-if (4294967295 >>> -11.1 !== 2047) { >- testFailed('#22: 4294967295 >>> -11.1 === 2047. Actual: ' + (4294967295 >>> -11.1)); >-} >- >-//CHECK#23 >-if (4294967295 >>> -10.1 !== 1023) { >- testFailed('#23: 4294967295 >>> -10.1 === 1023. Actual: ' + (4294967295 >>> -10.1)); >-} >- >-//CHECK#24 >-if (4294967295 >>> -9.1 !== 511) { >- testFailed('#24: 4294967295 >>> -9.1 === 511. Actual: ' + (4294967295 >>> -9.1)); >-} >- >-//CHECK#25 >-if (4294967295 >>> -8.1 !== 255) { >- testFailed('#25: 4294967295 >>> -8.1 === 255. Actual: ' + (4294967295 >>> -8.1)); >-} >- >-//CHECK#26 >-if (4294967295 >>> -7.1 !== 127) { >- testFailed('#26: 4294967295 >>> -7.1 === 127. Actual: ' + (4294967295 >>> -7.1)); >-} >- >-//CHECK#27 >-if (4294967295 >>> -6.1 !== 63) { >- testFailed('#27: 4294967295 >>> -6.1 === 63. Actual: ' + (4294967295 >>> -6.1)); >-} >- >-//CHECK#28 >-if (4294967295 >>> -5.1 !== 31) { >- testFailed('#28: 4294967295 >>> -5.1 === 31. Actual: ' + (4294967295 >>> -5.1)); >-} >- >-//CHECK#29 >-if (4294967295 >>> -4.1 !== 15) { >- testFailed('#29: 4294967295 >>> -4.1 === 15. Actual: ' + (4294967295 >>> -4.1)); >-} >- >-//CHECK#30 >-if (4294967295 >>> -3.1 !== 7) { >- testFailed('#30: 4294967295 >>> -3.1 === 7. Actual: ' + (4294967295 >>> -3.1)); >-} >- >-//CHECK#31 >-if (4294967295 >>> -2.1 !== 3) { >- testFailed('#31: 4294967295 >>> -2.1 === 3. Actual: ' + (4294967295 >>> -2.1)); >-} >- >-//CHECK#32 >-if (4294967295 >>> -1.1 !== 1) { >- testFailed('#32: 4294967295 >>> -1.1 === 1. Actual: ' + (4294967295 >>> -1.1)); >-} >- >-//CHECK#33 >-if (4294967295 >>> 32.1 !== 4294967295) { >- testFailed('#33: 4294967295 >>> 32.1 === 4294967295. Actual: ' + (4294967295 >>> 32.1)); >-} >- >-//CHECK#34 >-if (4294967295 >>> 33.1 !== 2147483647) { >- testFailed('#34: 4294967295 >>> 33.1 === 2147483647. Actual: ' + (4294967295 >>> 33.1)); >-} >- >-//CHECK#35 >-if (4294967295 >>> 34.1 !== 1073741823) { >- testFailed('#35: 4294967295 >>> 34.1 === 1073741823. Actual: ' + (4294967295 >>> 34.1)); >-} >- >-//CHECK#36 >-if (4294967295 >>> 35.1 !== 536870911) { >- testFailed('#36: 4294967295 >>> 35.1 === 536870911. Actual: ' + (4294967295 >>> 35.1)); >-} >- >-//CHECK#37 >-if (4294967295 >>> 36.1 !== 268435455) { >- testFailed('#37: 4294967295 >>> 36.1 === 268435455. Actual: ' + (4294967295 >>> 36.1)); >-} >- >-//CHECK#38 >-if (4294967295 >>> 37.1 !== 134217727) { >- testFailed('#38: 4294967295 >>> 37.1 === 134217727. Actual: ' + (4294967295 >>> 37.1)); >-} >- >-//CHECK#39 >-if (4294967295 >>> 38.1 !== 67108863) { >- testFailed('#39: 4294967295 >>> 38.1 === 67108863. Actual: ' + (4294967295 >>> 38.1)); >-} >- >-//CHECK#40 >-if (4294967295 >>> 39.1 !== 33554431) { >- testFailed('#40: 4294967295 >>> 39.1 === 33554431. Actual: ' + (4294967295 >>> 39.1)); >-} >- >-//CHECK#41 >-if (4294967295 >>> 40.1 !== 16777215) { >- testFailed('#41: 4294967295 >>> 40.1 === 16777215. Actual: ' + (4294967295 >>> 40.1)); >-} >- >-//CHECK#42 >-if (4294967295 >>> 41.1 !== 8388607) { >- testFailed('#42: 4294967295 >>> 41.1 === 8388607. Actual: ' + (4294967295 >>> 41.1)); >-} >- >-//CHECK#43 >-if (4294967295 >>> 42.1 !== 4194303) { >- testFailed('#43: 4294967295 >>> 42.1 === 4194303. Actual: ' + (4294967295 >>> 42.1)); >-} >- >-//CHECK#44 >-if (4294967295 >>> 43.1 !== 2097151) { >- testFailed('#44: 4294967295 >>> 43.1 === 2097151. Actual: ' + (4294967295 >>> 43.1)); >-} >- >-//CHECK#45 >-if (4294967295 >>> 44.1 !== 1048575) { >- testFailed('#45: 4294967295 >>> 44.1 === 1048575. Actual: ' + (4294967295 >>> 44.1)); >-} >- >-//CHECK#46 >-if (4294967295 >>> 45.1 !== 524287) { >- testFailed('#46: 4294967295 >>> 45.1 === 524287. Actual: ' + (4294967295 >>> 45.1)); >-} >- >-//CHECK#47 >-if (4294967295 >>> 46.1 !== 262143) { >- testFailed('#47: 4294967295 >>> 46.1 === 262143. Actual: ' + (4294967295 >>> 46.1)); >-} >- >-//CHECK#48 >-if (4294967295 >>> 47.1 !== 131071) { >- testFailed('#48: 4294967295 >>> 47.1 === 131071. Actual: ' + (4294967295 >>> 47.1)); >-} >- >-//CHECK#49 >-if (4294967295 >>> 48.1 !== 65535) { >- testFailed('#49: 4294967295 >>> 48.1 === 65535. Actual: ' + (4294967295 >>> 48.1)); >-} >- >-//CHECK#50 >-if (4294967295 >>> 49.1 !== 32767) { >- testFailed('#50: 4294967295 >>> 49.1 === 32767. Actual: ' + (4294967295 >>> 49.1)); >-} >- >-//CHECK#51 >-if (4294967295 >>> 50.1 !== 16383) { >- testFailed('#51: 4294967295 >>> 50.1 === 16383. Actual: ' + (4294967295 >>> 50.1)); >-} >- >-//CHECK#52 >-if (4294967295 >>> 51.1 !== 8191) { >- testFailed('#52: 4294967295 >>> 51.1 === 8191. Actual: ' + (4294967295 >>> 51.1)); >-} >- >-//CHECK#53 >-if (4294967295 >>> 52.1 !== 4095) { >- testFailed('#53: 4294967295 >>> 52.1 === 4095. Actual: ' + (4294967295 >>> 52.1)); >-} >- >-//CHECK#54 >-if (4294967295 >>> 53.1 !== 2047) { >- testFailed('#54: 4294967295 >>> 53.1 === 2047. Actual: ' + (4294967295 >>> 53.1)); >-} >- >-//CHECK#55 >-if (4294967295 >>> 54.1 !== 1023) { >- testFailed('#55: 4294967295 >>> 54.1 === 1023. Actual: ' + (4294967295 >>> 54.1)); >-} >- >-//CHECK#56 >-if (4294967295 >>> 55.1 !== 511) { >- testFailed('#56: 4294967295 >>> 55.1 === 511. Actual: ' + (4294967295 >>> 55.1)); >-} >- >-//CHECK#57 >-if (4294967295 >>> 56.1 !== 255) { >- testFailed('#57: 4294967295 >>> 56.1 === 255. Actual: ' + (4294967295 >>> 56.1)); >-} >- >-//CHECK#58 >-if (4294967295 >>> 57.1 !== 127) { >- testFailed('#58: 4294967295 >>> 57.1 === 127. Actual: ' + (4294967295 >>> 57.1)); >-} >- >-//CHECK#59 >-if (4294967295 >>> 58.1 !== 63) { >- testFailed('#59: 4294967295 >>> 58.1 === 63. Actual: ' + (4294967295 >>> 58.1)); >-} >- >-//CHECK#60 >-if (4294967295 >>> 59.1 !== 31) { >- testFailed('#60: 4294967295 >>> 59.1 === 31. Actual: ' + (4294967295 >>> 59.1)); >-} >- >-//CHECK#61 >-if (4294967295 >>> 60.1 !== 15) { >- testFailed('#61: 4294967295 >>> 60.1 === 15. Actual: ' + (4294967295 >>> 60.1)); >-} >- >-//CHECK#62 >-if (4294967295 >>> 61.1 !== 7) { >- testFailed('#62: 4294967295 >>> 61.1 === 7. Actual: ' + (4294967295 >>> 61.1)); >-} >- >-//CHECK#63 >-if (4294967295 >>> 62.1 !== 3) { >- testFailed('#63: 4294967295 >>> 62.1 === 3. Actual: ' + (4294967295 >>> 62.1)); >-} >- >-//CHECK#64 >-if (4294967295 >>> 63.1 !== 1) { >- testFailed('#64: 4294967295 >>> 63.1 === 1. Actual: ' + (4294967295 >>> 63.1)); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1-expected.txt >deleted file mode 100644 >index 9e29562b1b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.html >deleted file mode 100644 >index f063dd54bc0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A1; >-* @section: 11.8.1, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between RelationalExpression and "<" or between "<" and ShiftExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("0\u0009<\u00091") !== true) { >- testFailed('#1: (0\\u0009<\\u00091) === true'); >-} >- >-//CHECK#2 >-if (eval("0\u000B<\u000B1") !== true) { >- testFailed('#2: (0\\u000B<\\u000B1) === true'); >-} >- >-//CHECK#3 >-if (eval("0\u000C<\u000C1") !== true) { >- testFailed('#3: (0\\u000C<\\u000C1) === true'); >-} >- >-//CHECK#4 >-if (eval("0\u0020<\u00201") !== true) { >- testFailed('#4: (0\\u0020<\\u00201) === true'); >-} >- >-//CHECK#5 >-if (eval("0\u00A0<\u00A01") !== true) { >- testFailed('#5: (0\\u00A0<\\u00A01) === true'); >-} >- >-//CHECK#6 >-if (eval("0\u000A<\u000A1") !== true) { >- testFailed('#6: (0\\u000A<\\u000A1) === true'); >-} >- >-//CHECK#7 >-if (eval("0\u000D<\u000D1") !== true) { >- testFailed('#7: (0\\u000D<\\u000D1) === true'); >-} >- >-//CHECK#8 >-if (eval("0\u2028<\u20281") !== true) { >- testFailed('#8: (0\\u2028<\\u20281) === true'); >-} >- >-//CHECK#9 >-if (eval("0\u2029<\u20291") !== true) { >- testFailed('#9: (0\\u2029<\\u20291) === true'); >-} >- >-//CHECK#10 >-if (eval("0\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029<\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) { >- testFailed('#10: (0\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029<\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1-expected.txt >deleted file mode 100644 >index 2476b46f571..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.html >deleted file mode 100644 >index 927f0ff4752..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A2.1_T1; >-* @section: 11.8.1, 11.8.5; >-* @assertion: Operator x < y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 < 2 !== true) { >- testFailed('#1: 1 < 2 === true'); >-} >- >-//CHECK#2 >-var x = 1; >-if (x < 2 !== true) { >- testFailed('#2: var x = 1; x < 2 === true'); >-} >- >-//CHECK#3 >-var y = 2; >-if (1 < y !== true) { >- testFailed('#3: var y = 2; 1 < y === true'); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 2; >-if (x < y !== true) { >- testFailed('#4: var x = 1; var y = 2; x < y === true'); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 2; >-if (objectx.prop < objecty.prop !== true) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 2; objectx.prop < objecty.prop === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2-expected.txt >deleted file mode 100644 >index 29e7cf316a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.html >deleted file mode 100644 >index b58dc84d1f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A2.1_T2; >- * @section: 11.8.1, 11.8.5; >- * @assertion: Operator x < y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x < 1; >- testFailed('#1.1: x < 1 throw ReferenceError. Actual: ' + (x < 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x < 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3-expected.txt >deleted file mode 100644 >index f7d709d22b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.html >deleted file mode 100644 >index 3a332b9d9fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A2.1_T3; >- * @section: 11.8.1, 11.8.5; >- * @assertion: Operator x < y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 < y; >- testFailed('#1.1: 1 < y throw ReferenceError. Actual: ' + (1 < y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 < y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1-expected.txt >deleted file mode 100644 >index 3aa88931973..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.html >deleted file mode 100644 >index 211300985dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A2.2_T1; >- * @section: 11.8.1, 8.6.2.6; >- * @assertion: Operator x < y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 0}} < 1 !== true) { >- testFailed('#1: {valueOf: function() {return 1}} < 1 === true. Actual: ' + ({valueOf: function() {return 1}} < 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 0}, toString: function() {return 2}} < 1 !== true) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 0}} < 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} < 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 0}, toString: function() {return {}}} < 1 !== true) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} < 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} < 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 0}, toString: function() {throw "error"}} < 1 !== true) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} < 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} < 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 0}, toString: function() {throw "error"}} < 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 0}, toString: function() {throw "error"}} < 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 < {toString: function() {return 2}} !== true) { >- testFailed('#5: 1 < {toString: function() {return 2}} === true. Actual: ' + (1 < {toString: function() {return 2}})); >-} >- >-//CHECK#6 >-if (1 < {valueOf: function() {return {}}, toString: function() {return 2}} !== true) { >- testFailed('#6: 1 < {valueOf: function() {return {}}, toString: function() {return 2}} === true. Actual: ' + (1 < {valueOf: function() {return {}}, toString: function() {return 2}})); >-} >- >-//CHECK#7 >-try { >- 1 < {valueOf: function() {throw "error"}, toString: function() {return 2}}; >- testFailed('#7.1: 1 < {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (1 < {valueOf: function() {throw "error"}, toString: function() {return 2}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 < {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 < {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 < {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 < {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 < {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1-expected.txt >deleted file mode 100644 >index a22bd062c7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.html >deleted file mode 100644 >index 681afd99522..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A2.3_T1; >- * @section: 11.8.1; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x < y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x < y throw "x". Actual: ' + (x < y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x < y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1-expected.txt >deleted file mode 100644 >index db962296297..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.html >deleted file mode 100644 >index 8983a7f2e7f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A2.4_T1; >- * @section: 11.8.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 1; >-if ((x = 0) < x !== false) { >- testFailed('#1: var x = 1; (x = 0) < x === false'); >-} >- >-//CHECK#2 >-var x = 0; >-if (x < (x = 1) !== true) { >- testFailed('#2: var x = 0; x < (x = 1) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2-expected.txt >deleted file mode 100644 >index 74ebeb1f4c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.html >deleted file mode 100644 >index 042e0eee227..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A2.4_T2; >- * @section: 11.8.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() < y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() < y() throw "x". Actual: ' + (x() < y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() < y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3-expected.txt >deleted file mode 100644 >index a6c9d4afafb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.html >deleted file mode 100644 >index 0e0cfda8834..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A2.4_T3; >- * @section: 11.8.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x < (x = 1); >- testFailed('#1.1: x < (x = 1) throw ReferenceError. Actual: ' + (x < (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x < (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) < y !== false) { >- testFailed('#2: (y = 1) < y === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1-expected.txt >deleted file mode 100644 >index c3020b624a6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.html >deleted file mode 100644 >index e04270de292..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T1.1; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true < true !== false) { >- testFailed('#1: true < true === false'); >-} >- >-//CHECK#2 >-if (new Boolean(true) < true !== false) { >- testFailed('#2: new Boolean(true) < true === false'); >-} >- >-//CHECK#3 >-if (true < new Boolean(true) !== false) { >- testFailed('#3: true < new Boolean(true) === false'); >-} >- >-//CHECK#4 >-if (new Boolean(true) < new Boolean(true) !== false) { >- testFailed('#4: new Boolean(true) < new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2-expected.txt >deleted file mode 100644 >index b7ef25ce764..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.html >deleted file mode 100644 >index 2db16282e95..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T1.2; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 < 1 !== false) { >- testFailed('#1: 1 < 1 === false'); >-} >- >-//CHECK#2 >-if (new Number(1) < 1 !== false) { >- testFailed('#2: new Number(1) < 1 === false'); >-} >- >-//CHECK#3 >-if (1 < new Number(1) !== false) { >- testFailed('#3: 1 < new Number(1) === false'); >-} >- >-//CHECK#4 >-if (new Number(1) < new Number(1) !== false) { >- testFailed('#4: new Number(1) < new Number(1) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3-expected.txt >deleted file mode 100644 >index a10a5741dbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.html >deleted file mode 100644 >index 7381c8374eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T1.3; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (null < undefined !== false) { >- testFailed('#1: null < undefined === false'); >-} >- >-//CHECK#2 >-if (undefined < null !== false) { >- testFailed('#2: undefined < null === false'); >-} >- >-//CHECK#3 >-if (undefined < undefined !== false) { >- testFailed('#3: undefined < undefined === false'); >-} >- >-//CHECK#4 >-if (null < null !== false) { >- testFailed('#4: null < null === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1-expected.txt >deleted file mode 100644 >index e1b7dd2c309..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.html >deleted file mode 100644 >index ae4cf8ddad3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.1; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types are Number (primitive or object) or Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true < 1 !== false) { >- testFailed('#1: true < 1 === false'); >-} >- >-//CHECK#2 >-if (1 < true !== false) { >- testFailed('#2: 1 < true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) < 1 !== false) { >- testFailed('#3: new Boolean(true) < 1 === false'); >-} >- >-//CHECK#4 >-if (1 < new Boolean(true) !== false) { >- testFailed('#4: 1 < new Boolean(true) === false'); >-} >- >-//CHECK#5 >-if (true < new Number(1) !== false) { >- testFailed('#5: true < new Number(1) === false'); >-} >- >-//CHECK#6 >-if (new Number(1) < true !== false) { >- testFailed('#6: new Number(1) < true === false'); >-} >- >-//CHECK#7 >-if (new Boolean(true) < new Number(1) !== false) { >- testFailed('#7: new Boolean(true) < new Number(1) === false'); >-} >- >-//CHECK#8 >-if (new Number(1) < new Boolean(true) !== false) { >- testFailed('#8: new Number(1) < new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2-expected.txt >deleted file mode 100644 >index b8daa38a494..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.html >deleted file mode 100644 >index 306846f8f30..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.2; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" < 1 !== false) { >- testFailed('#1: "1" < 1 === false'); >-} >- >-//CHECK#2 >-if (1 < "1" !== false) { >- testFailed('#2: 1 < "1" === false'); >-} >- >-//CHECK#3 >-if (new String("1") < 1 !== false) { >- testFailed('#3: new String("1") < 1 === false'); >-} >- >-//CHECK#4 >-if (1 < new String("1") !== false) { >- testFailed('#4: 1 < new String("1") === false'); >-} >- >-//CHECK#5 >-if ("1" < new Number(1) !== false) { >- testFailed('#5: "1" < new Number(1) === false'); >-} >- >-//CHECK#6 >-if (new Number(1) < "1" !== false) { >- testFailed('#6: new Number(1) < "1" === false'); >-} >- >-//CHECK#7 >-if (new String("1") < new Number(1) !== false) { >- testFailed('#7: new String("1") < new Number(1) === false'); >-} >- >-//CHECK#8 >-if (new Number(1) < new String("1") !== false) { >- testFailed('#8: new Number(1) < new String("1") === false'); >-} >- >-//CHECK#9 >-if ("x" < 1 !== false) { >- testFailed('#9: "x" < 1 === false'); >-} >- >-//CHECK#10 >-if (1 < "x" !== false) { >- testFailed('#10: 1 < "x" === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3-expected.txt >deleted file mode 100644 >index b2c6be73dff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.html >deleted file mode 100644 >index 49c68fdedab..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.3; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 < null !== false) { >- testFailed('#1: 1 < null === false'); >-} >- >-//CHECK#2 >-if (null < 1 !== true) { >- testFailed('#2: null < 1 === true'); >-} >- >-//CHECK#3 >-if (new Number(1) < null !== false) { >- testFailed('#3: new Number(1) < null === false'); >-} >- >-//CHECK#4 >-if (null < new Number(1) !== true) { >- testFailed('#4: null < new Number(1) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4-expected.txt >deleted file mode 100644 >index 3a4513543ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.html >deleted file mode 100644 >index 26ec0106b0d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.4; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (1 < undefined !== false) { >- testFailed('#1: 1 < undefined === false'); >-} >- >-//CHECK#2 >-if (undefined < 1 !== false) { >- testFailed('#2: undefined < 1 === false'); >-} >- >-//CHECK#3 >-if (new Number(1) < undefined !== false) { >- testFailed('#3: new Number(1) < undefined === false'); >-} >- >-//CHECK#4 >-if (undefined < new Number(1) !== false) { >- testFailed('#4: undefined < new Number(1) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5-expected.txt >deleted file mode 100644 >index f6aa82b0354..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.html >deleted file mode 100644 >index 41807fdc273..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.5; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true < "1" !== false) { >- testFailed('#1: true < "1" === false'); >-} >- >-//CHECK#2 >-if ("1" < true !== false) { >- testFailed('#2: "1" < true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) < "1" !== false) { >- testFailed('#3: new Boolean(true) < "1" === false'); >-} >- >-//CHECK#4 >-if ("1" < new Boolean(true) !== false) { >- testFailed('#4: "1" < new Boolean(true) === false'); >-} >- >-//CHECK#5 >-if (true < new String("1") !== false) { >- testFailed('#5: true < new String("1") === false'); >-} >- >-//CHECK#6 >-if (new String("1") < true !== false) { >- testFailed('#6: new String("1") < true === false'); >-} >- >-//CHECK#7 >-if (new Boolean(true) < new String("1") !== false) { >- testFailed('#7: new Boolean(true) < new String("1") === false'); >-} >- >-//CHECK#8 >-if (new String("1") < new Boolean(true) !== false) { >- testFailed('#8: new String("1") < new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6-expected.txt >deleted file mode 100644 >index bbbd573fcf2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.html >deleted file mode 100644 >index 0a9aff24317..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.6; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ("1" < undefined !== false) { >- testFailed('#1: "1" < undefined === false'); >-} >- >-//CHECK#2 >-if (undefined < "1" !== false) { >- testFailed('#2: undefined < "1" === false'); >-} >- >-//CHECK#3 >-if (new String("1") < undefined !== false) { >- testFailed('#3: new String("1") < undefined === false'); >-} >- >-//CHECK#4 >-if (undefined < new String("1") !== false) { >- testFailed('#4: undefined < new String("1") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7-expected.txt >deleted file mode 100644 >index 0c943271571..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.html >deleted file mode 100644 >index 09027cf29f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.7; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" < null !== false) { >- testFailed('#1: "1" < null === false'); >-} >- >-//CHECK#2 >-if (null < "1" !== true) { >- testFailed('#2: null < "1" === true'); >-} >- >-//CHECK#3 >-if (new String("1") < null !== false) { >- testFailed('#3: new String("1") < null === false'); >-} >- >-//CHECK#4 >-if (null < new String("1") !== true) { >- testFailed('#4: null < new String("1") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8-expected.txt >deleted file mode 100644 >index f65b34b0b39..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.html >deleted file mode 100644 >index 06e324583bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.8; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (true < undefined !== false) { >- testFailed('#1: true < undefined === false'); >-} >- >-//CHECK#2 >-if (undefined < true !== false) { >- testFailed('#2: undefined < true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) < undefined !== false) { >- testFailed('#3: new Boolean(true) < undefined === false'); >-} >- >-//CHECK#4 >-if (undefined < new Boolean(true) !== false) { >- testFailed('#4: undefined < new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9-expected.txt >deleted file mode 100644 >index 902ec606a93..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.html >deleted file mode 100644 >index 1ffee59ddd2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.1_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.1_T2.9; >- * @section: 11.8.1; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true < null !== false) { >- testFailed('#1: true < null === false'); >-} >- >-//CHECK#2 >-if (null < true !== true) { >- testFailed('#2: null < true === true'); >-} >- >-//CHECK#3 >-if (new Boolean(true) < null !== false) { >- testFailed('#3: new Boolean(true) < null === false'); >-} >- >-//CHECK#4 >-if (null < new Boolean(true) !== true) { >- testFailed('#4: null < new Boolean(true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1-expected.txt >deleted file mode 100644 >index 1d3ef59ee50..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.html >deleted file mode 100644 >index fa0f1d01ffc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.2_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.2_T1.1; >- * @section: 11.8.1; >- * @assertion: Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" < "1" !== false) { >- testFailed('#1: "1" < "1" === false'); >-} >- >-//CHECK#2 >-if (new String("1") < "1" !== false) { >- testFailed('#2: new String("1") < "1" === false'); >-} >- >-//CHECK#3 >-if ("1" < new String("1") !== false) { >- testFailed('#3: "1" < new String("1") === false'); >-} >- >-//CHECK#4 >-if (new String("1") < new String("1") !== false) { >- testFailed('#4: new String("1") < new String("1") === false'); >-} >- >-//CHECK#5 >-if ("x" < "1" !== false) { >- testFailed('#5: "x" < "1" === false'); >-} >- >-//CHECK#6 >-if ("1" < "x" !== true) { >- testFailed('#6: "1" < "x" === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2-expected.txt >deleted file mode 100644 >index fcf97ccb3f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.html >deleted file mode 100644 >index f4c4eef4be3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A3.2_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.1_A3.2_T1.2; >- * @section: 11.8.1; >- * @assertion: Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} < function(){return 1}) !== ({}.toString() < function(){return 1}.toString())) { >- testFailed('#1: ({} < function(){return 1}) === ({}.toString() < function(){return 1}.toString())'); >-} >- >-//CHECK#2 >-if ((function(){return 1} < {}) !== (function(){return 1}.toString() < {}.toString())) { >- testFailed('#2: (function(){return 1} < {}) === (function(){return 1}.toString() < {}.toString())'); >-} >- >-//CHECK#3 >-if ((function(){return 1} < function(){return 1}) !== (function(){return 1}.toString() < function(){return 1}.toString())) { >- testFailed('#3: (function(){return 1} < function(){return 1}) === (function(){return 1}.toString() < function(){return 1}.toString())'); >-} >- >-//CHECK#4 >-if (({} < {}) !== ({}.toString() < {}.toString())) { >- testFailed('#4: ({} < {}) === ({}.toString() < {}.toString())'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1-expected.txt >deleted file mode 100644 >index 7e162423588..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.html >deleted file mode 100644 >index 8648e13ac69..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.1; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If x is NaN, return false (if result in 11.8.5 is undefined, return false); >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.NaN < 0) !== false) { >- testFailed('#1: (NaN < 0) === false'); >-} >- >-//CHECK#2 >-if ((Number.NaN < 1.1) !== false) { >- testFailed('#2: (NaN < 1.1) === false'); >-} >- >-//CHECK#3 >-if ((Number.NaN < -1.1) !== false) { >- testFailed('#3: (NaN < -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN < Number.NaN) !== false) { >- testFailed('#4: (NaN < NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.NaN < Number.POSITIVE_INFINITY) !== false) { >- testFailed('#5: (NaN < +Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.NaN < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#6: (NaN < -Infinity) === false'); >-} >- >-//CHECK#7 >-if ((Number.NaN < Number.MAX_VALUE) !== false) { >- testFailed('#7: (NaN < Number.MAX_VALUE) === false'); >-} >- >-//CHECK#8 >-if ((Number.NaN < Number.MIN_VALUE) !== false) { >- testFailed('#8: (NaN < Number.MIN_VALUE) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10-expected.txt >deleted file mode 100644 >index bb52f7a3407..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.html >deleted file mode 100644 >index d32df795fc5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.10; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If y is a prefix of x, return false; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x" < "x") !== false) { >- testFailed('#1: ("x" < "x") === false'); >-} >- >-//CHECK#2 >-if (("x" < "") !== false) { >- testFailed('#2: ("x" < "") === false'); >-} >- >-//CHECK#3 >-if (("abcd" < "ab") !== false) { >- testFailed('#3: ("abcd" < ab") === false'); >-} >- >-//CHECK#4 >-if (("abc\u0064" < "abcd") !== false) { >- testFailed('#4: ("abc\\u0064" < abcd") === false'); >-} >- >-//CHECK#5 >-if (("x" + "y" < "x") !== false) { >- testFailed('#5: ("x" + "y" < "x") === false'); >-} >- >-//CHECK#6 >-var x = "x"; >-if ((x + "y" < x) !== false) { >- testFailed('#6: var x = "x"; (x + "y" < x) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11-expected.txt >deleted file mode 100644 >index 545a4005110..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.html >deleted file mode 100644 >index 0af34278bbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.11; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If x is a prefix of y and x !== y, return true; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x" < "x ") !== true) { >- testFailed('#1: ("x" < "x ") === true'); >-} >- >-//CHECK#2 >-if (("" < "x") !== true) { >- testFailed('#2: ("" < "x") === true'); >-} >- >-//CHECK#3 >-if (("ab" < "abcd") !== true) { >- testFailed('#3: ("ab" < abcd") === true'); >-} >- >-//CHECK#4 >-if (("abcd" < "abc\u0064") !== false) { >- testFailed('#4: ("abcd" < abc\\u0064") === false'); >-} >- >-//CHECK#5 >-if (("x" < "x" + "y") !== true) { >- testFailed('#5: ("x" < "x" + "y") === true'); >-} >- >-//CHECK#6 >-var x = "x"; >-if ((x < x + "y") !== true) { >- testFailed('#6: var x = "x"; (x < x + "y") === true'); >-} >- >-//CHECK#7 >-if (("a\u0000" < "a\u0000a") !== true) { >- testFailed('#7: ("a\\u0000" < "a\\u0000a") === true'); >-} >- >-//CHECK#8 >-if (("x" < " x") !== false) { >- testFailed('#8: ("x" < " x") === false'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1-expected.txt >deleted file mode 100644 >index cd1fd1920fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.html >deleted file mode 100644 >index 0404f4b0c4e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.12_T1; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("xx" < "xy") !== true) { >- testFailed('#1: ("xx" < "xy") === true'); >-} >- >-//CHECK#2 >-if (("xy" < "xx") !== false) { >- testFailed('#2: ("xy" < "xx") === false'); >-} >- >-//CHECK#3 >-if (("x" < "y") !== true) { >- testFailed('#3: ("x" < y") === true'); >-} >- >-//CHECK#4 >-if (("aab" < "aba") !== true) { >- testFailed('#4: ("aab" < aba") === true'); >-} >- >-//CHECK#5 >-if (("\u0061\u0061\u0061\u0062" < "\u0061\u0061\u0061\u0061") !== false) { >- testFailed('#5: ("\\u0061\\u0061\\u0061\\u0062" < \\u0061\\u0061\\u0061\\u0061") === false'); >-} >- >-//CHECK#6 >-if (("a\u0000a" < "a\u0000b") !== true) { >- testFailed('#6: ("a\\u0000a" < "a\\u0000b") === true'); >-} >- >-//CHECK#7 >-if (("aB" < "aa") !== true) { >- testFailed('#7: ("aB" < aa") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2-expected.txt >deleted file mode 100644 >index ff99bb7fb90..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.html >deleted file mode 100644 >index badaa7a78d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.12_T2; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("0" < "x") !== true) { >- testFailed('#1: ("0" < "x") !== true'); >-} >- >-//CHECK#2 >-if (("-" < "0") !== true) { >- testFailed('#2: ("-" < "0") !== true'); >-} >- >-//CHECK#3 >-if (("." < "0") !== true) { >- testFailed('#3: ("." < "0") !== true'); >-} >- >-//CHECK#4 >-if (("+" < "-") !== true) { >- testFailed('#4: ("+" < "-") !== true'); >-} >- >-//CHECK#5 >-if (("-0" < "-1") !== true) { >- testFailed('#5: ("-0" < "-1") !== true'); >-} >- >-//CHECK#6 >-if (("+1" < "-1") !== true) { >- testFailed('#6: ("+1" < "-1") !== true'); >-} >- >-//CHECK#7 >-if (("1" < "1e-10") !== true) { >-testFailed('#7: ("1" < "1e-10") !== true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2-expected.txt >deleted file mode 100644 >index c644abdc219..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.html >deleted file mode 100644 >index 4fc185f9599..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.2; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If y is NaN, return false (if result in 11.8.5 is undefined, return false); >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 < Number.NaN) !== false) { >- testFailed('#1: (0 < NaN) === false'); >-} >- >-//CHECK#2 >-if ((1.1 < Number.NaN) !== false) { >- testFailed('#2: (1.1 < NaN) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 < Number.NaN) !== false) { >- testFailed('#3: (-1.1 < NaN) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN < Number.NaN) !== false) { >- testFailed('#4: (NaN < NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY < Number.NaN) !== false) { >- testFailed('#5: (+Infinity < NaN) === false'); >-} >- >-//CHECK#6 >-if ((Number.NEGATIVE_INFINITY < Number.NaN) !== false) { >- testFailed('#6: (-Infinity < NaN) === false'); >-} >- >-//CHECK#7 >-if ((Number.MAX_VALUE < Number.NaN) !== false) { >- testFailed('#7: (Number.MAX_VALUE < NaN) === false'); >-} >- >-//CHECK#8 >-if ((Number.MIN_VALUE < Number.NaN) !== false) { >- testFailed('#8: (Number.MIN_VALUE < NaN) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3-expected.txt >deleted file mode 100644 >index 5222c9be1de..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.html >deleted file mode 100644 >index 1f58f0f2286..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.html >+++ /dev/null >@@ -1,129 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.3; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If x and y are the same number value, return false; >-* @description: x and y are number primitives; >-*/ >- >-//CHECK#1 >-if ((1 < 1) !== false) { >- testFailed('#1: (1 < 1) === false'); >-} >- >-//CHECK#2 >-if ((1.1 < 1.1) !== false) { >- testFailed('#2: (1.1 < 1.1) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 < -1.1) !== false) { >- testFailed('#3: (-1.1 < -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#4: (-Infinity < -Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY < Number.POSITIVE_INFINITY) !== false) { >- testFailed('#5: (+Infinity < +Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.MAX_VALUE < Number.MAX_VALUE) !== false) { >- testFailed('#6: (Number.MAX_VALUE < Number.MAX_VALUE) === false'); >-} >- >-//CHECK#7 >-if ((Number.MIN_VALUE < Number.MIN_VALUE) !== false) { >- testFailed('#7: (Number.MIN_VALUE < Number.MIN_VALUE) === false'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4-expected.txt >deleted file mode 100644 >index bb9640600e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.html >deleted file mode 100644 >index e6076d4ebbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.4; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If x and y are +0 and -0, return false; >-* @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if ((0 < 0) !== false) { >- testFailed('#1: (0 < 0) === false'); >-} >- >-//CHECK#2 >-if ((-0 < -0) !== false) { >- testFailed('#2: (-0 < -0) === false'); >-} >- >-//CHECK#3 >-if ((+0 < -0) !== false) { >- testFailed('#3: (+0 < -0) === false'); >-} >- >-//CHECK#4 >-if ((-0 < +0) !== false) { >- testFailed('#4: (-0 < +0) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5-expected.txt >deleted file mode 100644 >index 26d4407dae1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.html >deleted file mode 100644 >index 803f611c7d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.5; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If x is +Infinity, return false; >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.POSITIVE_INFINITY < 0) !== false) { >- testFailed('#1: (+Infinity < 0) === false'); >-} >- >-//CHECK#2 >-if ((Number.POSITIVE_INFINITY < 1.1) !== false) { >- testFailed('#2: (+Infinity < 1.1) === false'); >-} >- >-//CHECK#3 >-if ((Number.POSITIVE_INFINITY < -1.1) !== false) { >- testFailed('#3: (+Infinity < -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#4: (+Infinity < -Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY < Number.MAX_VALUE) !== false) { >- testFailed('#5: (+Infinity < Number.MAX_VALUE) === false'); >-} >- >-//CHECK#6 >-if ((Number.POSITIVE_INFINITY < Number.MIN_VALUE) !== false) { >- testFailed('#6: (+Infinity < Number.MIN_VALUE) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6-expected.txt >deleted file mode 100644 >index 546d86a7d4c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.html >deleted file mode 100644 >index 28181e71d80..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.6; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If y is +Infinity and x !== y, return true; >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 < Number.POSITIVE_INFINITY) !== true) { >- testFailed('#1: (0 < +Infinity) === true'); >-} >- >-//CHECK#2 >-if ((1.1 < Number.POSITIVE_INFINITY) !== true) { >- testFailed('#2: (1.1 < +Infinity) === true'); >-} >- >-//CHECK#3 >-if ((-1.1 < Number.POSITIVE_INFINITY) !== true) { >- testFailed('#3: (-1.1 < +Infinity) === true'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY < Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: (-Infinity < +Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.MAX_VALUE < Number.POSITIVE_INFINITY) !== true) { >- testFailed('#5: (Number.MAX_VALUE < +Infinity) === true'); >-} >- >-//CHECK#6 >-if ((Number.MIN_VALUE < Number.POSITIVE_INFINITY) !== true) { >- testFailed('#6: (Number.MIN_VALUE < +Infinity) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7-expected.txt >deleted file mode 100644 >index 25458221bb1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.html >deleted file mode 100644 >index d442c59acb3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.7; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If x is -Infinity and x !== y, return true; >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.NEGATIVE_INFINITY < 0) !== true) { >- testFailed('#1: (-Infinity < 0) === true'); >-} >- >-//CHECK#2 >-if ((Number.NEGATIVE_INFINITY < 1.1) !== true) { >- testFailed('#2: (-Infinity < 1.1) === true'); >-} >- >-//CHECK#3 >-if ((Number.NEGATIVE_INFINITY < -1.1) !== true) { >- testFailed('#3: (-Infinity < -1.1) === true'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY < Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: (-Infinity < +Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.NEGATIVE_INFINITY < Number.MAX_VALUE) !== true) { >- testFailed('#5: (-Infinity < Number.MAX_VALUE) === true'); >-} >- >-//CHECK#6 >-if ((Number.NEGATIVE_INFINITY < Number.MIN_VALUE) !== true) { >- testFailed('#6: (-Infinity < Number.MIN_VALUE) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8-expected.txt >deleted file mode 100644 >index d93b0b1cbae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.html >deleted file mode 100644 >index 660a5f5c624..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.8; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If y is -Infinity, return false; >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#1: (0 < -Infinity) === false'); >-} >- >-//CHECK#2 >-if ((1.1 < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#2: (1.1 < -Infinity) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#3: (-1.1 < -Infinity) === false'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#4: (+Infinity < -Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.MAX_VALUE < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#5: (Number.MAX_VALUE < -Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.MIN_VALUE < Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#6: (Number.MIN_VALUE < -Infinity) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9-expected.txt >deleted file mode 100644 >index 2c0287557f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.1_A4.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.html >deleted file mode 100644 >index a952e849021..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.1_A4.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.1_A4.9; >-* @section: 11.8.1, 11.8.5; >-* @assertion: If x is less than y and these values are both finite non-zero, return true; otherwise, return false; >-* @description: x and y are number primitives; >-*/ >- >-//CHECK#1 >-if ((1.1 < 1) !== false) { >- testFailed('#1: (1.1 < 1) === false'); >-} >- >-//CHECK#2 >-if ((1 < 1.1) !== true) { >- testFailed('#2: (1 < 1.1) === true'); >-} >- >-//CHECK#3 >-if ((-1.1 < -1) !== true) { >- testFailed('#3: (-1.1 < -1) === true'); >-} >- >-//CHECK#4 >-if ((-1 < -1.1) !== false) { >- testFailed('#4: (-1 < -1.1) === false'); >-} >- >-//CHECK#5 >-if ((0 < 0.1) !== true) { >- testFailed('#5: (0 < 0.1) === true'); >-} >- >-//CHECK#6 >-if ((-0.1 < 0) !== true) { >- testFailed('#6: (-0.1 < 0) === true'); >-} >- >-//CHECK#7 >-if ((Number.MAX_VALUE/2 < Number.MAX_VALUE) !== true) { >- testFailed('#7: (Number.MAX_VALUE/2 < Number.MAX_VALUE) === true'); >-} >- >-//CHECK#8 >-if ((Number.MIN_VALUE < Number.MIN_VALUE*2) !== true) { >- testFailed('#8: (Number.MIN_VALUE < Number.MIN_VALUE*2) === true'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1-expected.txt >deleted file mode 100644 >index f26bfd91d5c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.html >deleted file mode 100644 >index f7e1512cb17..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A1; >-* @section: 11.8.2, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between RelationalExpression and ">" or ">" and ShiftExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("0\u0009>\u00091") !== false) { >- testFailed('#1: 0\\u0009>\\u00091) === false'); >-} >- >-//CHECK#2 >-if (eval("0\u000B>\u000B1") !== false) { >- testFailed('#2: 0\\u000B>\\u000B1) === false'); >-} >- >-//CHECK#3 >-if (eval("0\u000C>\u000C1") !== false) { >- testFailed('#3: (0\\u000C>\\u000C1) === false'); >-} >- >-//CHECK#4 >-if (eval("0\u0020>\u00201") !== false) { >- testFailed('#4: (0\\u0020>\\u00201) === false'); >-} >- >-//CHECK#5 >-if (eval("0\u00A0>\u00A01") !== false) { >- testFailed('#5: (0\\u00A0>\\u00A01) === false'); >-} >- >-//CHECK#6 >-if (eval("0\u000A>\u000A1") !== false) { >- testFailed('#6: (0\\u000A>\\u000A1) === false'); >-} >- >-//CHECK#7 >-if (eval("0\u000D>\u000D1") !== false) { >- testFailed('#7: (0\\u000D>\\u000D1) === false'); >-} >- >-//CHECK#8 >-if (eval("0\u2028>\u20281") !== false) { >- testFailed('#8: (0\\u2028>\\u20281) === false'); >-} >- >-//CHECK#9 >-if (eval("0\u2029>\u20291") !== false) { >- testFailed('#9: (0\\u2029>\\u20291) === false'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) { >- testFailed('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1-expected.txt >deleted file mode 100644 >index fe6ebb2e022..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.html >deleted file mode 100644 >index d5d7e3dd10e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A2.1_T1; >-* @section: 11.8.2, 11.8.5; >-* @assertion: Operator x > y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (2 > 1 !== true) { >- testFailed('#1: 2 > 1 === true'); >-} >- >-//CHECK#2 >-var x = 2; >-if (x > 1 !== true) { >- testFailed('#2: var x = 2; x > 1 === true'); >-} >- >-//CHECK#3 >-var y = 1; >-if (2 > y !== true) { >- testFailed('#3: var y = 1; 2 > y === true'); >-} >- >-//CHECK#4 >-var x = 2; >-var y = 1; >-if (x > y !== true) { >- testFailed('#4: var x = 2; var y = 1; x > y === true'); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 2; >-objecty.prop = 1; >-if (objectx.prop > objecty.prop !== true) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 2; objecty.prop = 1; objectx.prop > objecty.prop === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2-expected.txt >deleted file mode 100644 >index fd371525962..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.html >deleted file mode 100644 >index a69d00ccd01..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A2.1_T2; >- * @section: 11.8.2, 11.8.5; >- * @assertion: Operator x > y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x > 1; >- testFailed('#1.1: x > 1 throw ReferenceError. Actual: ' + (x > 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x > 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3-expected.txt >deleted file mode 100644 >index 603e1150820..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.html >deleted file mode 100644 >index 1bd73a60aa2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A2.1_T3; >- * @section: 11.8.2, 11.8.5; >- * @assertion: Operator x > y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 > y; >- testFailed('#1.1: 1 > y throw ReferenceError. Actual: ' + (1 > y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 > y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1-expected.txt >deleted file mode 100644 >index a03f558b10a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.html >deleted file mode 100644 >index 05014f67e68..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A2.2_T1; >- * @section: 11.8.2, 8.6.2.6; >- * @assertion: Operator x > y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 2}} > 1 !== true) { >- testFailed('#1: {valueOf: function() {return 1}} > 1 === true. Actual: ' + ({valueOf: function() {return 1}} > 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 2}, toString: function() {return 0}} > 1 !== true) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 2}} > 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 2}} > 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 2}, toString: function() {return {}}} > 1 !== true) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} > 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} > 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 2}, toString: function() {throw "error"}} > 1 !== true) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} > 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} > 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 2}, toString: function() {throw "error"}} > 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 2}, toString: function() {throw "error"}} > 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 > {toString: function() {return 0}} !== true) { >- testFailed('#5: 1 > {toString: function() {return 0}} === true. Actual: ' + (1 > {toString: function() {return 0}})); >-} >- >-//CHECK#6 >-if (1 > {valueOf: function() {return {}}, toString: function() {return 0}} !== true) { >- testFailed('#6: 1 > {valueOf: function() {return {}}, toString: function() {return 0}} === true. Actual: ' + (1 > {valueOf: function() {return {}}, toString: function() {return 0}})); >-} >- >-//CHECK#7 >-try { >- 1 > {valueOf: function() {throw "error"}, toString: function() {return 0}}; >- testFailed('#7.1: 1 > {valueOf: function() {throw "error"}, toString: function() {return 0}} throw "error". Actual: ' + (1 > {valueOf: function() {throw "error"}, toString: function() {return 0}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 > {valueOf: function() {throw "error"}, toString: function() {return 0}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 > {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 > {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 > {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 > {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1-expected.txt >deleted file mode 100644 >index 310da93bab8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A2.3_T1 >- >-FAIL SputnikError: #1.2: ToNumber(second expression) is called first, and then ToNumber(first expression) >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.html >deleted file mode 100644 >index 11d94fb4abc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A2.3_T1; >- * @section: 11.8.2; >- * @assertion: ToNumber(second expression) is called first, and then ToNumber(first expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x > y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x > y throw "y". Actual: ' + (x > y)); >-} catch (e) { >- if (e === "x") { >- testFailed('#1.2: ToNumber(second expression) is called first, and then ToNumber(first expression)'); >- } else { >- if (e !== "y") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x > y throw "y". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1-expected.txt >deleted file mode 100644 >index a929f3ead45..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.html >deleted file mode 100644 >index 49951899403..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A2.4_T1; >- * @section: 11.8.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) > x !== false) { >- testFailed('#1: var x = 0; (x = 1) > x === false'); >-} >- >-//CHECK#2 >-var x = 1; >-if (x > (x = 0) !== true) { >- testFailed('#2: var x = 1; x > (x = 0) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2-expected.txt >deleted file mode 100644 >index f4676b88bff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.html >deleted file mode 100644 >index be6b1812c8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A2.4_T2; >- * @section: 11.8.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() > y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() > y() throw "x". Actual: ' + (x() > y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() > y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3-expected.txt >deleted file mode 100644 >index 8789afada16..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.html >deleted file mode 100644 >index 00e61fdd153..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A2.4_T3; >- * @section: 11.8.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x > (x = 1); >- testFailed('#1.1: x > (x = 1) throw ReferenceError. Actual: ' + (x > (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x > (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) > y !== false) { >- testFailed('#2: (y = 1) > y === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1-expected.txt >deleted file mode 100644 >index 615b7a15c17..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.html >deleted file mode 100644 >index faf9a44c131..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T1.1; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true > true !== false) { >- testFailed('#1: true > true === false'); >-} >- >-//CHECK#2 >-if (new Boolean(true) > true !== false) { >- testFailed('#2: new Boolean(true) > true === false'); >-} >- >-//CHECK#3 >-if (true > new Boolean(true) !== false) { >- testFailed('#3: true > new Boolean(true) === false'); >-} >- >-//CHECK#4 >-if (new Boolean(true) > new Boolean(true) !== false) { >- testFailed('#4: new Boolean(true) > new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2-expected.txt >deleted file mode 100644 >index 962135f077b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.html >deleted file mode 100644 >index 38ad1e657b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T1.2; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 > 1 !== false) { >- testFailed('#1: 1 > 1 === false'); >-} >- >-//CHECK#2 >-if (new Number(1) > 1 !== false) { >- testFailed('#2: new Number(1) > 1 === false'); >-} >- >-//CHECK#3 >-if (1 > new Number(1) !== false) { >- testFailed('#3: 1 > new Number(1) === false'); >-} >- >-//CHECK#4 >-if (new Number(1) > new Number(1) !== false) { >- testFailed('#4: new Number(1) > new Number(1) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3-expected.txt >deleted file mode 100644 >index 12c28ef8550..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.html >deleted file mode 100644 >index b63d4e93898..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T1.3; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (null > undefined !== false) { >- testFailed('#1: null > undefined === false'); >-} >- >-//CHECK#2 >-if (undefined > null !== false) { >- testFailed('#2: undefined > null === false'); >-} >- >-//CHECK#3 >-if (undefined > undefined !== false) { >- testFailed('#3: undefined > undefined === false'); >-} >- >-//CHECK#4 >-if (null > null !== false) { >- testFailed('#4: null > null === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1-expected.txt >deleted file mode 100644 >index 11cb3977e85..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.html >deleted file mode 100644 >index 6130371938a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.1; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true > 1 !== false) { >- testFailed('#1: true > 1 === false'); >-} >- >-//CHECK#2 >-if (1 > true !== false) { >- testFailed('#2: 1 > true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) > 1 !== false) { >- testFailed('#3: new Boolean(true) > 1 === false'); >-} >- >-//CHECK#4 >-if (1 > new Boolean(true) !== false) { >- testFailed('#4: 1 > new Boolean(true) === false'); >-} >- >-//CHECK#5 >-if (true > new Number(1) !== false) { >- testFailed('#5: true > new Number(1) === false'); >-} >- >-//CHECK#6 >-if (new Number(1) > true !== false) { >- testFailed('#6: new Number(1) > true === false'); >-} >- >-//CHECK#7 >-if (new Boolean(true) > new Number(1) !== false) { >- testFailed('#7: new Boolean(true) > new Number(1) === false'); >-} >- >-//CHECK#8 >-if (new Number(1) > new Boolean(true) !== false) { >- testFailed('#8: new Number(1) > new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2-expected.txt >deleted file mode 100644 >index 5fe2919d8ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.html >deleted file mode 100644 >index 0756c89db2d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.2; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" > 1 !== false) { >- testFailed('#1: "1" > 1 === false'); >-} >- >-//CHECK#2 >-if (1 > "1" !== false) { >- testFailed('#2: 1 > "1" === false'); >-} >- >-//CHECK#3 >-if (new String("1") > 1 !== false) { >- testFailed('#3: new String("1") > 1 === false'); >-} >- >-//CHECK#4 >-if (1 > new String("1") !== false) { >- testFailed('#4: 1 > new String("1") === false'); >-} >- >-//CHECK#5 >-if ("1" > new Number(1) !== false) { >- testFailed('#5: "1" > new Number(1) === false'); >-} >- >-//CHECK#6 >-if (new Number(1) > "1" !== false) { >- testFailed('#6: new Number(1) > "1" === false'); >-} >- >-//CHECK#7 >-if (new String("1") > new Number(1) !== false) { >- testFailed('#7: new String("1") > new Number(1) === false'); >-} >- >-//CHECK#8 >-if (new Number(1) > new String("1") !== false) { >- testFailed('#8: new Number(1) > new String("1") === false'); >-} >- >-//CHECK#9 >-if ("x" > 1 !== false) { >- testFailed('#9: "x" > 1 === false'); >-} >- >-//CHECK#10 >-if (1 > "x" !== false) { >- testFailed('#10: 1 > "x" === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3-expected.txt >deleted file mode 100644 >index 8f76e8026dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.html >deleted file mode 100644 >index 3f7fb0a6ebf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.3; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 > null !== true) { >- testFailed('#1: 1 > null === true'); >-} >- >-//CHECK#2 >-if (null > 1 !== false) { >- testFailed('#2: null > 1 === false'); >-} >- >-//CHECK#3 >-if (new Number(1) > null !== true) { >- testFailed('#3: new Number(1) > null === true'); >-} >- >-//CHECK#4 >-if (null > new Number(1) !== false) { >- testFailed('#4: null > new Number(1) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4-expected.txt >deleted file mode 100644 >index ccf9ed6eecb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.html >deleted file mode 100644 >index 71866b5f0c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.4; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (1 > undefined !== false) { >- testFailed('#1: 1 > undefined === false'); >-} >- >-//CHECK#2 >-if (undefined > 1 !== false) { >- testFailed('#2: undefined > 1 === false'); >-} >- >-//CHECK#3 >-if (new Number(1) > undefined !== false) { >- testFailed('#3: new Number(1) > undefined === false'); >-} >- >-//CHECK#4 >-if (undefined > new Number(1) !== false) { >- testFailed('#4: undefined > new Number(1) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5-expected.txt >deleted file mode 100644 >index e2f1f3e18d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.html >deleted file mode 100644 >index f9c73f8c761..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.5; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true > "1" !== false) { >- testFailed('#1: true > "1" === false'); >-} >- >-//CHECK#2 >-if ("1" > true !== false) { >- testFailed('#2: "1" > true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) > "1" !== false) { >- testFailed('#3: new Boolean(true) > "1" === false'); >-} >- >-//CHECK#4 >-if ("1" > new Boolean(true) !== false) { >- testFailed('#4: "1" > new Boolean(true) === false'); >-} >- >-//CHECK#5 >-if (true > new String("1") !== false) { >- testFailed('#5: true > new String("1") === false'); >-} >- >-//CHECK#6 >-if (new String("1") > true !== false) { >- testFailed('#6: new String("1") > true === false'); >-} >- >-//CHECK#7 >-if (new Boolean(true) > new String("1") !== false) { >- testFailed('#7: new Boolean(true) > new String("1") === false'); >-} >- >-//CHECK#8 >-if (new String("1") > new Boolean(true) !== false) { >- testFailed('#8: new String("1") > new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6-expected.txt >deleted file mode 100644 >index ac6d564ae6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.html >deleted file mode 100644 >index be5c14aa8d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.6; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ("1" > undefined !== false) { >- testFailed('#1: "1" > undefined === false'); >-} >- >-//CHECK#2 >-if (undefined > "1" !== false) { >- testFailed('#2: undefined > "1" === false'); >-} >- >-//CHECK#3 >-if (new String("1") > undefined !== false) { >- testFailed('#3: new String("1") > undefined === false'); >-} >- >-//CHECK#4 >-if (undefined > new String("1") !== false) { >- testFailed('#4: undefined > new String("1") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7-expected.txt >deleted file mode 100644 >index 5740428ddf3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.html >deleted file mode 100644 >index b49d1686ce8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.7; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" > null !== true) { >- testFailed('#1: "1" > null === true'); >-} >- >-//CHECK#2 >-if (null > "1" !== false) { >- testFailed('#2: null > "1" === false'); >-} >- >-//CHECK#3 >-if (new String("1") > null !== true) { >- testFailed('#3: new String("1") > null === true'); >-} >- >-//CHECK#4 >-if (null > new String("1") !== false) { >- testFailed('#4: null > new String("1") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8-expected.txt >deleted file mode 100644 >index b341ca844bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.html >deleted file mode 100644 >index cb032bcc216..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.8; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (true > undefined !== false) { >- testFailed('#1: true > undefined === false'); >-} >- >-//CHECK#2 >-if (undefined > true !== false) { >- testFailed('#2: undefined > true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) > undefined !== false) { >- testFailed('#3: new Boolean(true) > undefined === false'); >-} >- >-//CHECK#4 >-if (undefined > new Boolean(true) !== false) { >- testFailed('#4: undefined > new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9-expected.txt >deleted file mode 100644 >index 3aa0ba9d744..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.html >deleted file mode 100644 >index 33c42747c09..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.1_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.1_T2.9; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true > null !== true) { >- testFailed('#1: true > null === true'); >-} >- >-//CHECK#2 >-if (null > true !== false) { >- testFailed('#2: null > true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) > null !== true) { >- testFailed('#3: new Boolean(true) > null === true'); >-} >- >-//CHECK#4 >-if (null > new Boolean(true) !== false) { >- testFailed('#4: null > new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1-expected.txt >deleted file mode 100644 >index f0efd957c4d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.html >deleted file mode 100644 >index 6282a21c711..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.2_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.2_T1.1; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then operator x > y returns ToString(x) > ToString(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" > "1" !== false) { >- testFailed('#1: "1" > "1" === false'); >-} >- >-//CHECK#2 >-if (new String("1") > "1" !== false) { >- testFailed('#2: new String("1") > "1" === false'); >-} >- >-//CHECK#3 >-if ("1" > new String("1") !== false) { >- testFailed('#3: "1" > new String("1") === false'); >-} >- >-//CHECK#4 >-if (new String("1") > new String("1") !== false) { >- testFailed('#4: new String("1") > new String("1") === false'); >-} >- >-//CHECK#5 >-if ("x" > "1" !== true) { >- testFailed('#5: "x" > "1" === true'); >-} >- >-//CHECK#6 >-if ("1" > "x" !== false) { >- testFailed('#6: "1" > "x" === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2-expected.txt >deleted file mode 100644 >index 3a0dce96aea..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.html >deleted file mode 100644 >index fb4c07ccd41..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A3.2_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.2_A3.2_T1.2; >- * @section: 11.8.2; >- * @assertion: If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then operator x > y returns ToString(x) > ToString(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} > function(){return 1}) !== ({}.toString() > function(){return 1}.toString())) { >- testFailed('#1: ({} > function(){return 1}) === ({}.toString() > function(){return 1}.toString())'); >-} >- >-//CHECK#2 >-if ((function(){return 1} > {}) !== (function(){return 1}.toString() > {}.toString())) { >- testFailed('#2: (function(){return 1} > {}) === (function(){return 1}.toString() > {}.toString())'); >-} >- >-//CHECK#3 >-if ((function(){return 1} > function(){return 1}) !== (function(){return 1}.toString() > function(){return 1}.toString())) { >- testFailed('#3: (function(){return 1} > function(){return 1}) === (function(){return 1}.toString() > function(){return 1}.toString())'); >-} >- >-//CHECK#4 >-if (({} > {}) !== ({}.toString() > {}.toString())) { >- testFailed('#4: ({} > {}) === ({}.toString() > {}.toString())'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1-expected.txt >deleted file mode 100644 >index 632370d65f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.html >deleted file mode 100644 >index 3bda51bb0dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.1; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If x is NaN, return false (if result in 11.8.5 is undefined, return false); >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.NaN > 0) !== false) { >- testFailed('#1: (NaN > 0) === false'); >-} >- >-//CHECK#2 >-if ((Number.NaN > 1.1) !== false) { >- testFailed('#2: (NaN > 1.1) === false'); >-} >- >-//CHECK#3 >-if ((Number.NaN > -1.1) !== false) { >- testFailed('#3: (NaN > -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN > Number.NaN) !== false) { >- testFailed('#4: (NaN > NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.NaN > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#5: (NaN > +Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.NaN > Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#6: (NaN > -Infinity) === false'); >-} >- >-//CHECK#7 >-if ((Number.NaN > Number.MAX_VALUE) !== false) { >- testFailed('#7: (NaN > Number.MAX_VALUE) === false'); >-} >- >-//CHECK#8 >-if ((Number.NaN > Number.MIN_VALUE) !== false) { >- testFailed('#8: (NaN > Number.MIN_VALUE) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10-expected.txt >deleted file mode 100644 >index b66dcd97a68..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.html >deleted file mode 100644 >index bdb51e37919..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.10; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If x is a prefix of y, return false; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x" > "x") !== false) { >- testFailed('#1: ("x" > "x") === false'); >-} >- >-//CHECK#2 >-if (("" > "x") !== false) { >- testFailed('#2: ("" > "x") === false'); >-} >- >-//CHECK#3 >-if (("ab" > "abcd") !== false) { >- testFailed('#3: ("ab" > abcd") === false'); >-} >- >-//CHECK#4 >-if (("abcd" > "abc\u0064") !== false) { >- testFailed('#4: ("abcd" > abc\\u0064") === false'); >-} >- >-//CHECK#5 >-if (("x" > "x" + "y") !== false) { >- testFailed('#5: ("x" > "x" + "y") === false'); >-} >- >-//CHECK#6 >-var x = "x"; >-if ((x > x + "y") !== false) { >- testFailed('#6: var x = "x"; (x > x + "y") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11-expected.txt >deleted file mode 100644 >index 8f3b047ad72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.html >deleted file mode 100644 >index bc746d8547f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.11; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If y is a prefix of x and x !== y, return true; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x " > "x") !== true) { >- testFailed('#1: ("x " > "x") === true'); >-} >- >-//CHECK#2 >-if (("x" > "") !== true) { >- testFailed('#2: ("x" > "") === true'); >-} >- >-//CHECK#3 >-if (("abcd" > "ab") !== true) { >- testFailed('#3: ("abcd" > ab") === true'); >-} >- >-//CHECK#4 >-if (("abc\u0064" > "abcd") !== false) { >- testFailed('#4: ("abc\\u0064" > abc") === false'); >-} >- >-//CHECK#5 >-if (("x" + "y" > "x") !== true) { >- testFailed('#5: ("x" + "y" > "x") === true'); >-} >- >-//CHECK#6 >-var x = "x"; >-if ((x + 'y' > x) !== true) { >- testFailed('#6: var x = "x"; (x + "y" > x) === true'); >-} >- >-//CHECK#7 >-if (("a\u0000a" > "a\u0000") !== true) { >- testFailed('#7: ("a\\u0000a" > "a\\u0000") === true'); >-} >- >-//CHECK#8 >-if ((" x" > "x") !== false) { >- testFailed('#8: (" x" > "x") === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1-expected.txt >deleted file mode 100644 >index 5a1b2018505..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.html >deleted file mode 100644 >index 00c11860f9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.12_T1; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("xy" > "xx") !== true) { >- testFailed('#1: ("xy" > "xx") === true'); >-} >- >-//CHECK#2 >-if (("xx" > "xy") !== false) { >- testFailed('#2: ("xx" > "xy") === false'); >-} >- >-//CHECK#3 >-if (("y" > "x") !== true) { >- testFailed('#3: ("y" > "x") === true'); >-} >- >-//CHECK#4 >-if (("aba" > "aab") !== true) { >- testFailed('#4: ("aba" > aab") === true'); >-} >- >-//CHECK#5 >-if (("\u0061\u0061\u0061\u0061" > "\u0061\u0061\u0061\u0062") !== false) { >- testFailed('#5: ("\\u0061\\u0061\\u0061\\u0061" > \\u0061\\u0061\\u0061\\u0062") === false'); >-} >- >-//CHECK#6 >-if (("a\u0000b" > "a\u0000a") !== true) { >- testFailed('#6: ("a\\u0000b" > "a\\u0000a") === true'); >-} >- >-//CHECK#7 >-if (("aa" > "aB") !== true) { >- testFailed('#7: ("aa" > aB") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2-expected.txt >deleted file mode 100644 >index 00b8bf3350a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.html >deleted file mode 100644 >index 622fb6c6a2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.12_T2; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x" > "0") !== true) { >- testFailed('#1: ("x" > "0") !== true'); >-} >- >-//CHECK#2 >-if (("0" > "-") !== true) { >- testFailed('#2: ("0" > "-") !== true'); >-} >- >-//CHECK#3 >-if (("0" > ".") !== true) { >- testFailed('#3: ("0" > ".") !== true'); >-} >- >-//CHECK#4 >-if (("-" > "+") !== true) { >- testFailed('#4: ("-" > "+") !== true'); >-} >- >-//CHECK#5 >-if (("-1" > "-0") !== true) { >- testFailed('#5: ("-1" > "-0") !== true'); >-} >- >-//CHECK#6 >-if (("-1" > "+1") !== true) { >- testFailed('#6: ("-1" > "+1") !== true'); >-} >- >-//CHECK#7 >-if (("1e-10" > "1") !== true) { >-testFailed('#7: ("1e-10" > "1") !== true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2-expected.txt >deleted file mode 100644 >index 4d0d2cab91d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.html >deleted file mode 100644 >index 7cec2e3bf99..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.2; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If y is NaN, return false (if result in 11.8.5 is undefined, return false); >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 > Number.NaN) !== false) { >- testFailed('#1: (0 > NaN) === false'); >-} >- >-//CHECK#2 >-if ((1.1 > Number.NaN) !== false) { >- testFailed('#2: (1.1 > NaN) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 > Number.NaN) !== false) { >- testFailed('#3: (-1.1 > NaN) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN > Number.NaN) !== false) { >- testFailed('#4: (NaN > NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY > Number.NaN) !== false) { >- testFailed('#5: (+Infinity > NaN) === false'); >-} >- >-//CHECK#6 >-if ((Number.NEGATIVE_INFINITY > Number.NaN) !== false) { >- testFailed('#6: (-Infinity > NaN) === false'); >-} >- >-//CHECK#7 >-if ((Number.MAX_VALUE > Number.NaN) !== false) { >- testFailed('#7: (Number.MAX_VALUE > NaN) === false'); >-} >- >-//CHECK#8 >-if ((Number.MIN_VALUE > Number.NaN) !== false) { >- testFailed('#8: (Number.MIN_VALUE > NaN) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3-expected.txt >deleted file mode 100644 >index 3152289db7a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.html >deleted file mode 100644 >index bcf5bbbcbcc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.html >+++ /dev/null >@@ -1,129 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.3; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If x and y are the same number value, return false; >-* @description: x and y are number primitives; >-*/ >- >-//CHECK#1 >-if ((1 > 1) !== false) { >- testFailed('#1: (1 > 1) === false'); >-} >- >-//CHECK#2 >-if ((1.1 > 1.1) !== false) { >- testFailed('#2: (1.1 > 1.1) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 > -1.1) !== false) { >- testFailed('#3: (-1.1 > -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY > Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#4: (-Infinity > -Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#5: (+Infinity > +Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.MAX_VALUE > Number.MAX_VALUE) !== false) { >- testFailed('#6: (Number.MAX_VALUE > Number.MAX_VALUE) === false'); >-} >- >-//CHECK#7 >-if ((Number.MIN_VALUE > Number.MIN_VALUE) !== false) { >- testFailed('#7: (Number.MIN_VALUE > Number.MIN_VALUE) === false'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4-expected.txt >deleted file mode 100644 >index c7ebda9067b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.html >deleted file mode 100644 >index f508d725396..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.4; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If either variable x or y is +0 and the other is -0, return false; >-* @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if ((0 > 0) !== false) { >- testFailed('#1: (0 > 0) === false'); >-} >- >-//CHECK#2 >-if ((-0 > -0) !== false) { >- testFailed('#2: (-0 > -0) === false'); >-} >- >-//CHECK#3 >-if ((+0 > -0) !== false) { >- testFailed('#3: (+0 > -0) === false'); >-} >- >-//CHECK#4 >-if ((-0 > +0) !== false) { >- testFailed('#4: (-0 > +0) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5-expected.txt >deleted file mode 100644 >index 5a587c20eba..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.html >deleted file mode 100644 >index 8151a930df7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.5; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If x is +Infinity and x !== y, return true; >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.POSITIVE_INFINITY > 0) !== true) { >- testFailed('#1: (+Infinity > 0) === true'); >-} >- >-//CHECK#2 >-if ((Number.POSITIVE_INFINITY > 1.1) !== true) { >- testFailed('#2: (+Infinity > 1.1) === true'); >-} >- >-//CHECK#3 >-if ((Number.POSITIVE_INFINITY > -1.1) !== true) { >- testFailed('#3: (+Infinity > -1.1) === true'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY > Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#4: (+Infinity > -Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY > Number.MAX_VALUE) !== true) { >- testFailed('#5: (+Infinity > Number.MAX_VALUE) === true'); >-} >- >-//CHECK#6 >-if ((Number.POSITIVE_INFINITY > Number.MIN_VALUE) !== true) { >- testFailed('#6: (+Infinity > Number.MIN_VALUE) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6-expected.txt >deleted file mode 100644 >index 76e380104dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.html >deleted file mode 100644 >index 6b6212ad16e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.6; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If y is +Infinity, return false; >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#1: (0 > +Infinity) === false'); >-} >- >-//CHECK#2 >-if ((1.1 > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#2: (1.1 > +Infinity) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#3: (-1.1 > +Infinity) === false'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#4: (-Infinity > +Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.MAX_VALUE > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#5: (Number.MAX_VALUE > +Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.MIN_VALUE > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#6: (Number.MIN_VALUE > +Infinity) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7-expected.txt >deleted file mode 100644 >index dff3ecb635e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.html >deleted file mode 100644 >index 00e6642086c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.7; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If x is -Infinity, return false; >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.NEGATIVE_INFINITY > 0) !== false) { >- testFailed('#1: (-Infinity > 0) === false'); >-} >- >-//CHECK#2 >-if ((Number.NEGATIVE_INFINITY > 1.1) !== false) { >- testFailed('#2: (-Infinity > 1.1) === false'); >-} >- >-//CHECK#3 >-if ((Number.NEGATIVE_INFINITY > -1.1) !== false) { >- testFailed('#3: (-Infinity > -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY > Number.POSITIVE_INFINITY) !== false) { >- testFailed('#4: (-Infinity > +Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.NEGATIVE_INFINITY > Number.MAX_VALUE) !== false) { >- testFailed('#5: (-Infinity > Number.MAX_VALUE) === false'); >-} >- >-//CHECK#6 >-if ((Number.NEGATIVE_INFINITY > Number.MIN_VALUE) !== false) { >- testFailed('#6: (-Infinity > Number.MIN_VALUE) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8-expected.txt >deleted file mode 100644 >index 17d63d1d04c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.html >deleted file mode 100644 >index c7f08c359f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.8; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If y is -Infinity and x !== y, return true; >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 > Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#1: (0 > -Infinity) === true'); >-} >- >-//CHECK#2 >-if ((1.1 > Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#2: (1.1 > -Infinity) === true'); >-} >- >-//CHECK#3 >-if ((-1.1 > Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#3: (-1.1 > -Infinity) === true'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY > Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#4: (+Infinity > -Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.MAX_VALUE > Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#5: (Number.MAX_VALUE > -Infinity) === true'); >-} >- >-//CHECK#6 >-if ((Number.MIN_VALUE > Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#6: (Number.MIN_VALUE > -Infinity) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9-expected.txt >deleted file mode 100644 >index 00de683ba01..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.2_A4.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.html >deleted file mode 100644 >index 6c7c50a8e52..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.2_A4.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.2_A4.9; >-* @section: 11.8.2, 11.8.5; >-* @assertion: If is x greater than y and these values are both finite non-zero, return true; otherwise, return false; >-* @description: x and y are number primitives; >-*/ >- >-//CHECK#1 >-if ((1 > 1.1) !== false) { >- testFailed('#1: (1 > 1.1) === false'); >-} >- >-//CHECK#2 >-if ((1.1 > 1) !== true) { >- testFailed('#2: (1.1 > 1) === true'); >-} >- >-//CHECK#3 >-if ((-1 > -1.1) !== true) { >- testFailed('#3: (-1 > -1.1) === true'); >-} >- >-//CHECK#4 >-if ((-1.1 > -1) !== false) { >- testFailed('#4: (-1.1 > -1) === false'); >-} >- >-//CHECK#5 >-if ((0.1 > 0) !== true) { >- testFailed('#5: (0.1 > 0) === true'); >-} >- >-//CHECK#6 >-if ((0 > -0.1) !== true) { >- testFailed('#6: (0 > -0.1) === true'); >-} >- >-//CHECK#7 >-if ((Number.MAX_VALUE > Number.MAX_VALUE/2) !== true) { >- testFailed('#7: (Number.MAX_VALUE > Number.MAX_VALUE/2) === true'); >-} >- >-//CHECK#8 >-if ((Number.MIN_VALUE*2 > Number.MIN_VALUE) !== true) { >- testFailed('#8: (Number.MIN_VALUE*2 > Number.MIN_VALUE) === true'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1-expected.txt >deleted file mode 100644 >index 48d66742b9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.html >deleted file mode 100644 >index d9043cdd237..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A1; >-* @section: 11.8.3, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between RelationalExpression and "<=" or between "<=" and ShiftExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009<=\u00091") !== true) { >- testFailed('#1: (1\\u0009<=\\u00091) === true'); >-} >- >-//CHECK#2 >-if (eval("1\u000B<=\u000B1") !== true) { >- testFailed('#2: (1\\u000B<=\\u000B1) === true'); >-} >- >-//CHECK#3 >-if (eval("1\u000C<=\u000C1") !== true) { >- testFailed('#3: (1\\u000C<=\\u000C1) === true'); >-} >- >-//CHECK#4 >-if (eval("1\u0020<=\u00201") !== true) { >- testFailed('#4: (1\\u0020<=\\u00201) === true'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0<=\u00A01") !== true) { >- testFailed('#5: (1\\u00A0<=\\u00A01) === true'); >-} >- >-//CHECK#6 >-if (eval("1\u000A<=\u000A1") !== true) { >- testFailed('#6: (1\\u000A<=\\u000A1) === true'); >-} >- >-//CHECK#7 >-if (eval("1\u000D<=\u000D1") !== true) { >- testFailed('#7: (1\\u000D<=\\u000D1) === true'); >-} >- >-//CHECK#8 >-if (eval("1\u2028<=\u20281") !== true) { >- testFailed('#8: (1\\u2028<=\\u20281) === true'); >-} >- >-//CHECK#9 >-if (eval("1\u2029<=\u20291") !== true) { >- testFailed('#9: (1\\u2029<=\\u20291) === true'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== true) { >- testFailed('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1-expected.txt >deleted file mode 100644 >index abdc4daee0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1.html >deleted file mode 100644 >index 6a2c97c1420..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A2.1_T1; >-* @section: 11.8.3, 11.8.5; >-* @assertion: Operator x <= y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 <= 1 !== true) { >- testFailed('#1: 1 <= 1 === true'); >-} >- >-//CHECK#2 >-var x = 1; >-if (x <= 1 !== true) { >- testFailed('#2: var x = 1; x <= 1 === true'); >-} >- >-//CHECK#3 >-var y = 1; >-if (1 <= y !== true) { >- testFailed('#3: var y = 1; 1 <= y === true'); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if (x <= y !== true) { >- testFailed('#4: var x = 1; var y = 1; x <= y === true'); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if (objectx.prop <= objecty.prop !== true) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop <= objecty.prop === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2-expected.txt >deleted file mode 100644 >index 57e1cc9a73d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2.html >deleted file mode 100644 >index d9cc1224d99..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A2.1_T2; >- * @section: 11.8.3, 11.8.5; >- * @assertion: Operator x <= y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x <= 1; >- testFailed('#1.1: x <= 1 throw ReferenceError. Actual: ' + (x <= 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x <= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3-expected.txt >deleted file mode 100644 >index 10897579d29..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.html >deleted file mode 100644 >index 24e7c77e397..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A2.1_T3; >- * @section: 11.8.3, 11.8.5; >- * @assertion: Operator x <= y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 <= y; >- testFailed('#1.1: 1 <= y throw ReferenceError. Actual: ' + (1 <= y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 <= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1-expected.txt >deleted file mode 100644 >index 2cef20e63bd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1.html >deleted file mode 100644 >index 62c4cb20741..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A2.2_T1; >- * @section: 11.8.3, 8.6.2.6; >- * @assertion: Operator x <= y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 0}} <= 1 !== true) { >- testFailed('#1: {valueOf: function() {return 1}} <= 1 === true. Actual: ' + ({valueOf: function() {return 1}} <= 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 0}, toString: function() {return 2}} <= 1 !== true) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 0}} <= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 0}} <= 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 0}, toString: function() {return {}}} <= 1 !== true) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} <= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} <= 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 0}, toString: function() {throw "error"}} <= 1 !== true) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} <= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} <= 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 0}, toString: function() {throw "error"}} <= 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 0}, toString: function() {throw "error"}} <= 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 <= {toString: function() {return 2}} !== true) { >- testFailed('#5: 1 <= {toString: function() {return 2}} === true. Actual: ' + (1 <= {toString: function() {return 2}})); >-} >- >-//CHECK#6 >-if (1 <= {valueOf: function() {return {}}, toString: function() {return 2}} !== true) { >- testFailed('#6: 1 <= {valueOf: function() {return {}}, toString: function() {return 2}} === true. Actual: ' + (1 <= {valueOf: function() {return {}}, toString: function() {return 2}})); >-} >- >-//CHECK#7 >-try { >- 1 <= {valueOf: function() {throw "error"}, toString: function() {return 2}}; >- testFailed('#7.1: 1 <= {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (1 <= {valueOf: function() {throw "error"}, toString: function() {return 2}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 <= {valueOf: function() {throw "error"}, toString: function() {return 2}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 <= {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 <= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 <= {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 <= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1-expected.txt >deleted file mode 100644 >index 09cb357e165..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A2.3_T1 >- >-FAIL SputnikError: #1.2: ToNumber(second expression) is called first, and then ToNumber(first expression) >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1.html >deleted file mode 100644 >index 3dd948e89ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A2.3_T1; >- * @section: 11.8.3; >- * @assertion: ToNumber(second expression) is called first, and then ToNumber(first expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x <= y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x <= y throw "y". Actual: ' + (x <= y)); >-} catch (e) { >- if (e === "x") { >- testFailed('#1.2: ToNumber(second expression) is called first, and then ToNumber(first expression)'); >- } else { >- if (e !== "y") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x <= y throw "y". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1-expected.txt >deleted file mode 100644 >index 0828824062b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1.html >deleted file mode 100644 >index 50c0a52f398..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A2.4_T1; >- * @section: 11.8.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) <= x !== true) { >- testFailed('#1: var x = 0; (x = 1) <= x === true'); >-} >- >-//CHECK#2 >-var x = 1; >-if (x <= (x = 0) !== false) { >- testFailed('#2: var x = 1; x <= (x = 0) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2-expected.txt >deleted file mode 100644 >index 2eae0b3a2fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2.html >deleted file mode 100644 >index 7dd6426f52e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A2.4_T2; >- * @section: 11.8.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() <= y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() <= y() throw "x". Actual: ' + (x() <= y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() <= y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3-expected.txt >deleted file mode 100644 >index 21252a7c4d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3.html >deleted file mode 100644 >index bdedf8b7a7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A2.4_T3; >- * @section: 11.8.3; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x <= (x = 1); >- testFailed('#1.1: x <= (x = 1) throw ReferenceError. Actual: ' + (x <= (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x <= (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) <= y !== true) { >- testFailed('#2: (y = 1) <= y === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1-expected.txt >deleted file mode 100644 >index 57a51e2c7f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1.html >deleted file mode 100644 >index ac44426a45e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T1.1; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true <= true !== true) { >- testFailed('#1: true <= true === true'); >-} >- >-//CHECK#2 >-if (new Boolean(true) <= true !== true) { >- testFailed('#2: new Boolean(true) <= true === true'); >-} >- >-//CHECK#3 >-if (true <= new Boolean(true) !== true) { >- testFailed('#3: true <= new Boolean(true) === true'); >-} >- >-//CHECK#4 >-if (new Boolean(true) <= new Boolean(true) !== true) { >- testFailed('#4: new Boolean(true) <= new Boolean(true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2-expected.txt >deleted file mode 100644 >index 7824533b614..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2.html >deleted file mode 100644 >index a4e3291517f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T1.2; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 <= 1 !== true) { >- testFailed('#1: 1 <= 1 === true'); >-} >- >-//CHECK#2 >-if (new Number(1) <= 1 !== true) { >- testFailed('#2: new Number(1) <= 1 === true'); >-} >- >-//CHECK#3 >-if (1 <= new Number(1) !== true) { >- testFailed('#3: 1 <= new Number(1) === true'); >-} >- >-//CHECK#4 >-if (new Number(1) <= new Number(1) !== true) { >- testFailed('#4: new Number(1) <= new Number(1) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3-expected.txt >deleted file mode 100644 >index d30517b0c4b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3.html >deleted file mode 100644 >index 995906ea5b7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T1.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T1.3; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (null <= undefined !== false) { >- testFailed('#1: null <= undefined === false'); >-} >- >-//CHECK#2 >-if (undefined <= null !== false) { >- testFailed('#2: undefined <= null === false'); >-} >- >-//CHECK#3 >-if (undefined <= undefined !== false) { >- testFailed('#3: undefined <= undefined === false'); >-} >- >-//CHECK#4 >-if (null <= null !== true) { >- testFailed('#4: null <= null === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1-expected.txt >deleted file mode 100644 >index e6e6aec1fad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1.html >deleted file mode 100644 >index 0843d26202a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.1; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true <= 1 !== true) { >- testFailed('#1: true <= 1 === true'); >-} >- >-//CHECK#2 >-if (1 <= true !== true) { >- testFailed('#2: 1 <= true === true'); >-} >- >-//CHECK#3 >-if (new Boolean(true) <= 1 !== true) { >- testFailed('#3: new Boolean(true) <= 1 === true'); >-} >- >-//CHECK#4 >-if (1 <= new Boolean(true) !== true) { >- testFailed('#4: 1 <= new Boolean(true) === true'); >-} >- >-//CHECK#5 >-if (true <= new Number(1) !== true) { >- testFailed('#5: true <= new Number(1) === true'); >-} >- >-//CHECK#6 >-if (new Number(1) <= true !== true) { >- testFailed('#6: new Number(1) <= true === true'); >-} >- >-//CHECK#7 >-if (new Boolean(true) <= new Number(1) !== true) { >- testFailed('#7: new Boolean(true) <= new Number(1) === true'); >-} >- >-//CHECK#8 >-if (new Number(1) <= new Boolean(true) !== true) { >- testFailed('#8: new Number(1) <= new Boolean(true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2-expected.txt >deleted file mode 100644 >index 926c3bff674..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2.html >deleted file mode 100644 >index 101c8314681..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.2; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" <= 1 !== true) { >- testFailed('#1: "1" <= 1 === true'); >-} >- >-//CHECK#2 >-if (1 <= "1" !== true) { >- testFailed('#2: 1 <= "1" === true'); >-} >- >-//CHECK#3 >-if (new String("1") <= 1 !== true) { >- testFailed('#3: new String("1") <= 1 === true'); >-} >- >-//CHECK#4 >-if (1 <= new String("1") !== true) { >- testFailed('#4: 1 <= new String("1") === true'); >-} >- >-//CHECK#5 >-if ("1" <= new Number(1) !== true) { >- testFailed('#5: "1" <= new Number(1) === true'); >-} >- >-//CHECK#6 >-if (new Number(1) <= "1" !== true) { >- testFailed('#6: new Number(1) <= "1" === true'); >-} >- >-//CHECK#7 >-if (new String("1") <= new Number(1) !== true) { >- testFailed('#7: new String("1") <= new Number(1) === true'); >-} >- >-//CHECK#8 >-if (new Number(1) <= new String("1") !== true) { >- testFailed('#8: new Number(1) <= new String("1") === true'); >-} >- >-//CHECK#9 >-if ("x" <= 1 !== false) { >- testFailed('#9: "x" <= 1 === false'); >-} >- >-//CHECK#10 >-if (1 <= "x" !== false) { >- testFailed('#10: 1 <= "x" === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3-expected.txt >deleted file mode 100644 >index 38372792ebe..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3.html >deleted file mode 100644 >index e7aac3eb574..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.3; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 <= null !== false) { >- testFailed('#1: 1 <= null === false'); >-} >- >-//CHECK#2 >-if (null <= 1 !== true) { >- testFailed('#2: null <= 1 === true'); >-} >- >-//CHECK#3 >-if (new Number(1) <= null !== false) { >- testFailed('#3: new Number(1) <= null === false'); >-} >- >-//CHECK#4 >-if (null <= new Number(1) !== true) { >- testFailed('#4: null <= new Number(1) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4-expected.txt >deleted file mode 100644 >index f88d92339c4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4.html >deleted file mode 100644 >index ff526cd0092..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.4; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (1 <= undefined !== false) { >- testFailed('#1: 1 <= undefined === false'); >-} >- >-//CHECK#2 >-if (undefined <= 1 !== false) { >- testFailed('#2: undefined <= 1 === false'); >-} >- >-//CHECK#3 >-if (new Number(1) <= undefined !== false) { >- testFailed('#3: new Number(1) <= undefined === false'); >-} >- >-//CHECK#4 >-if (undefined <= new Number(1) !== false) { >- testFailed('#4: undefined <= new Number(1) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5-expected.txt >deleted file mode 100644 >index 00a10ff9bad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5.html >deleted file mode 100644 >index 854b3491fa8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.5; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true <= "1" !== true) { >- testFailed('#1: true <= "1" === true'); >-} >- >-//CHECK#2 >-if ("1" <= true !== true) { >- testFailed('#2: "1" <= true === true'); >-} >- >-//CHECK#3 >-if (new Boolean(true) <= "1" !== true) { >- testFailed('#3: new Boolean(true) <= "1" === true'); >-} >- >-//CHECK#4 >-if ("1" <= new Boolean(true) !== true) { >- testFailed('#4: "1" <= new Boolean(true) === true'); >-} >- >-//CHECK#5 >-if (true <= new String("1") !== true) { >- testFailed('#5: true <= new String("1") === true'); >-} >- >-//CHECK#6 >-if (new String("1") <= true !== true) { >- testFailed('#6: new String("1") <= true === true'); >-} >- >-//CHECK#7 >-if (new Boolean(true) <= new String("1") !== true) { >- testFailed('#7: new Boolean(true) <= new String("1") === true'); >-} >- >-//CHECK#8 >-if (new String("1") <= new Boolean(true) !== true) { >- testFailed('#8: new String("1") <= new Boolean(true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6-expected.txt >deleted file mode 100644 >index e9ed1749d0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6.html >deleted file mode 100644 >index 89301c244ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.6; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ("1" <= undefined !== false) { >- testFailed('#1: "1" <= undefined === false'); >-} >- >-//CHECK#2 >-if (undefined <= "1" !== false) { >- testFailed('#2: undefined <= "1" === false'); >-} >- >-//CHECK#3 >-if (new String("1") <= undefined !== false) { >- testFailed('#3: new String("1") <= undefined === false'); >-} >- >-//CHECK#4 >-if (undefined <= new String("1") !== false) { >- testFailed('#4: undefined <= new String("1") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7-expected.txt >deleted file mode 100644 >index b6c3ed84234..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7.html >deleted file mode 100644 >index 88e97d67af1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.7; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" <= null !== false) { >- testFailed('#1: "1" <= null === false'); >-} >- >-//CHECK#2 >-if (null <= "1" !== true) { >- testFailed('#2: null <= "1" === true'); >-} >- >-//CHECK#3 >-if (new String("1") <= null !== false) { >- testFailed('#3: new String("1") <= null === false'); >-} >- >-//CHECK#4 >-if (null <= new String("1") !== true) { >- testFailed('#4: null <= new String("1") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8-expected.txt >deleted file mode 100644 >index 7b155d236ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8.html >deleted file mode 100644 >index 42248913813..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.8; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (true <= undefined !== false) { >- testFailed('#1: true <= undefined === false'); >-} >- >-//CHECK#2 >-if (undefined <= true !== false) { >- testFailed('#2: undefined <= true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) <= undefined !== false) { >- testFailed('#3: new Boolean(true) <= undefined === false'); >-} >- >-//CHECK#4 >-if (undefined <= new Boolean(true) !== false) { >- testFailed('#4: undefined <= new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9-expected.txt >deleted file mode 100644 >index 3149a6088a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9.html >deleted file mode 100644 >index abe735dc3d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.1_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.1_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.1_T2.9; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String; >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true <= null !== false) { >- testFailed('#1: true <= null === false'); >-} >- >-//CHECK#2 >-if (null <= true !== true) { >- testFailed('#2: null <= true === true'); >-} >- >-//CHECK#3 >-if (new Boolean(true) <= null !== false) { >- testFailed('#3: new Boolean(true) <= null === false'); >-} >- >-//CHECK#4 >-if (null <= new Boolean(true) !== true) { >- testFailed('#4: null <= new Boolean(true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1-expected.txt >deleted file mode 100644 >index 4bb4af8d3a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1.html >deleted file mode 100644 >index f708cde9a0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.2_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.2_T1.1; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" <= "1" !== true) { >- testFailed('#1: "1" <= "1" === true'); >-} >- >-//CHECK#2 >-if (new String("1") <= "1" !== true) { >- testFailed('#2: new String("1") <= "1" === true'); >-} >- >-//CHECK#3 >-if ("1" <= new String("1") !== true) { >- testFailed('#3: "1" <= new String("1") === true'); >-} >- >-//CHECK#4 >-if (new String("1") <= new String("1") !== true) { >- testFailed('#4: new String("1") <= new String("1") === true'); >-} >- >-//CHECK#5 >-if ("x" <= "1" !== false) { >- testFailed('#5: "x" <= "1" === false'); >-} >- >-//CHECK#6 >-if ("1" <= "x" !== true) { >- testFailed('#6: "1" <= "x" === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2-expected.txt >deleted file mode 100644 >index c367f3b9909..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2.html >deleted file mode 100644 >index 3ab3cd09d0e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A3.2_T1.2.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A3.2_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.3_A3.2_T1.2; >- * @section: 11.8.3; >- * @assertion: Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} <= function(){return 1}) !== ({}.toString() <= function(){return 1}.toString())) { >- testFailed('#1: ({} <= function(){return 1}) === ({}.toString() <= function(){return 1}.toString())'); >-} >- >-//CHECK#2 >-if ((function(){return 1} <= {}) !== (function(){return 1}.toString() <= {}.toString())) { >- testFailed('#2: (function(){return 1} <= {}) === (function(){return 1}.toString() <= {}.toString())'); >-} >- >-//CHECK#3 >-if ((function(){return 1} <= function(){return 1}) !== (function(){return 1}.toString() <= function(){return 1}.toString())) { >- testFailed('#3: (function(){return 1} <= function(){return 1}) === (function(){return 1}.toString() <= function(){return 1}.toString())'); >-} >- >-//CHECK#4 >-if (({} <= {}) !== ({}.toString() <= {}.toString())) { >- testFailed('#4: ({} <= {}) === ({}.toString() <= {}.toString())'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1-expected.txt >deleted file mode 100644 >index 7c5da736af6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.html >deleted file mode 100644 >index d1a2ae06e7f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.1; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If x is NaN, return false (if result in 11.8.5 is undefined, return false); >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.NaN <= 0) !== false) { >- testFailed('#1: (NaN <= 0) === false'); >-} >- >-//CHECK#2 >-if ((Number.NaN <= 1.1) !== false) { >- testFailed('#2: (NaN <= 1.1) === false'); >-} >- >-//CHECK#3 >-if ((Number.NaN <= -1.1) !== false) { >- testFailed('#3: (NaN <= -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN <= Number.NaN) !== false) { >- testFailed('#4: (NaN <= NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.NaN <= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#5: (NaN <= +Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.NaN <= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#6: (NaN <= -Infinity) === false'); >-} >- >-//CHECK#7 >-if ((Number.NaN <= Number.MAX_VALUE) !== false) { >- testFailed('#7: (NaN <= Number.MAX_VALUE) === false'); >-} >- >-//CHECK#8 >-if ((Number.NaN <= Number.MIN_VALUE) !== false) { >- testFailed('#8: (NaN <= Number.MIN_VALUE) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10-expected.txt >deleted file mode 100644 >index 1be4164bb22..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.html >deleted file mode 100644 >index ed41f2bf105..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.10; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If y is a prefix of x and x !== y, return false; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x " <= "x") !== false) { >- testFailed('#1: ("x " <= "x") === false'); >-} >- >-//CHECK#2 >-if (("x" <= "") !== false) { >- testFailed('#2: ("x" <= "") === false'); >-} >- >-//CHECK#3 >-if (("abcd" <= "ab") !== false) { >- testFailed('#3: ("abcd" <= ab") === false'); >-} >- >-//CHECK#4 >-if (("abc\u0064" <= "abcd") !== true) { >- testFailed('#4: ("abc\\u0064" <= abcd") === true'); >-} >- >-//CHECK#5 >-if (("x" + "y" <= "x") !== false) { >- testFailed('#5: ("x" + "y" <= "x") === false'); >-} >- >-//CHECK#6 >-var x = "x"; >-if ((x + 'y' <= x) !== false) { >- testFailed('#6: var x = "x"; (x + "y" <= x) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11-expected.txt >deleted file mode 100644 >index 185e940aeaa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.html >deleted file mode 100644 >index 88e8ebb0081..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.11; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If x is a prefix of y, return true; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x" <= "x") !== true) { >- testFailed('#1: ("x" <= "x") === true'); >-} >- >-//CHECK#2 >-if (("" <= "x") !== true) { >- testFailed('#2: ("" <= "x") === true'); >-} >- >-//CHECK#3 >-if (("ab" <= "abcd") !== true) { >- testFailed('#3: ("ab" <= abcd") === true'); >-} >- >-//CHECK#4 >-if (("abcd" <= "abc\u0064") !== true) { >- testFailed('#4: ("abcd" <= abc\\u0064") === true'); >-} >- >-//CHECK#5 >-if (("x" <= "x" + "y") !== true) { >- testFailed('#5: ("x" <= "x" + "y") === true'); >-} >- >-//CHECK#6 >-var x = "x"; >-if ((x <= x + "y") !== true) { >- testFailed('#6: var x = "x"; (x <= x + "y") === true'); >-} >- >-//CHECK#7 >-if (("a\u0000" <= "a\u0000a") !== true) { >- testFailed('#7: ("a\\u0000" <= "a\\u0000a") === true'); >-} >- >-//CHECK#8 >-if (("x" <= " x") !== false) { >- testFailed('#8: ("x" <= " x") === false'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1-expected.txt >deleted file mode 100644 >index 25ac9eb54f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1.html >deleted file mode 100644 >index 85bbe879b61..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.12_T1; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("xx" <= "xy") !== true) { >- testFailed('#1: ("xx" <= "xy") === true'); >-} >- >-//CHECK#2 >-if (("xy" <= "xx") !== false) { >- testFailed('#2: ("xy" <= "xx") === false'); >-} >- >-//CHECK#3 >-if (("x" <= "y") !== true) { >- testFailed('#3: ("x" <= y") === true'); >-} >- >-//CHECK#4 >-if (("aab" <= "aba") !== true) { >- testFailed('#4: ("aab" <= aba") === true'); >-} >- >-//CHECK#5 >-if (("\u0061\u0061\u0061\u0062" <= "\u0061\u0061\u0061\u0061") !== false) { >- testFailed('#5: ("\\u0061\\u0061\\u0061\\u0062" <= \\u0061\\u0061\\u0061\\u0061") === false'); >-} >- >-//CHECK#6 >-if (("a\u0000a" <= "a\u0000b") !== true) { >- testFailed('#6: ("a\\u0000a" <= "a\\u0000b") === true'); >-} >- >-//CHECK#7 >-if (("aB" <= "aa") !== true) { >- testFailed('#7: ("aB" <= aa") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2-expected.txt >deleted file mode 100644 >index 634f2b3f940..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2.html >deleted file mode 100644 >index da22216c961..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.12_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.12_T2; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("0" <= "x") !== true) { >- testFailed('#1: ("0" <= "x") !== true'); >-} >- >-//CHECK#2 >-if (("-" <= "0") !== true) { >- testFailed('#2: ("-" <= "0") !== true'); >-} >- >-//CHECK#3 >-if (("." <= "0") !== true) { >- testFailed('#3: ("." <= "0") !== true'); >-} >- >-//CHECK#4 >-if (("+" <= "-") !== true) { >- testFailed('#4: ("+" <= "-") !== true'); >-} >- >-//CHECK#5 >-if (("-0" <= "-1") !== true) { >- testFailed('#5: ("-0" <= "-1") !== true'); >-} >- >-//CHECK#6 >-if (("+1" <= "-1") !== true) { >- testFailed('#6: ("+1" <= "-1") !== true'); >-} >- >-//CHECK#7 >-if (("1" <= "1e-10") !== true) { >-testFailed('#7: ("1" <= "1e-10") !== true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2-expected.txt >deleted file mode 100644 >index 001bb7dff74..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.html >deleted file mode 100644 >index c48a1af723b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.2; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If y is NaN, return false (if result in 11.8.5 is undefined, return false); >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 <= Number.NaN) !== false) { >- testFailed('#1: (0 <= NaN) === false'); >-} >- >-//CHECK#2 >-if ((1.1 <= Number.NaN) !== false) { >- testFailed('#2: (1.1 <= NaN) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 <= Number.NaN) !== false) { >- testFailed('#3: (-1.1 <= NaN) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN <= Number.NaN) !== false) { >- testFailed('#4: (NaN <= NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY <= Number.NaN) !== false) { >- testFailed('#5: (+Infinity <= NaN) === false'); >-} >- >-//CHECK#6 >-if ((Number.NEGATIVE_INFINITY <= Number.NaN) !== false) { >- testFailed('#6: (-Infinity <= NaN) === false'); >-} >- >-//CHECK#7 >-if ((Number.MAX_VALUE <= Number.NaN) !== false) { >- testFailed('#7: (Number.MAX_VALUE <= NaN) === false'); >-} >- >-//CHECK#8 >-if ((Number.MIN_VALUE <= Number.NaN) !== false) { >- testFailed('#8: (Number.MIN_VALUE <= NaN) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3-expected.txt >deleted file mode 100644 >index 8f8c99a8d59..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.html >deleted file mode 100644 >index 6b2cb6d03fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.html >+++ /dev/null >@@ -1,129 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.3; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If x and y are the same number value, return true; >-* @description: x and y are number primitives; >-*/ >- >-//CHECK#1 >-if ((1 <= 1) !== true) { >- testFailed('#1: (1 <= 1) === true'); >-} >- >-//CHECK#2 >-if ((1.1 <= 1.1) !== true) { >- testFailed('#2: (1.1 <= 1.1) === true'); >-} >- >-//CHECK#3 >-if ((-1.1 <= -1.1) !== true) { >- testFailed('#3: (-1.1 <= -1.1) === true'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY <= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#4: (-Infinity <= -Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY <= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#5: (+Infinity <= +Infinity) === true'); >-} >- >-//CHECK#6 >-if ((Number.MAX_VALUE <= Number.MAX_VALUE) !== true) { >- testFailed('#6: (Number.MAX_VALUE <= Number.MAX_VALUE) === true'); >-} >- >-//CHECK#7 >-if ((Number.MIN_VALUE <= Number.MIN_VALUE) !== true) { >- testFailed('#7: (Number.MIN_VALUE <= Number.MIN_VALUE) === true'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4-expected.txt >deleted file mode 100644 >index ec96563592d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.html >deleted file mode 100644 >index f56d361f7ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.4; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If either x or y is +0 and the other is -0, return true; >-* @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if ((0 <= 0) !== true) { >- testFailed('#1: (0 <= 0) === true'); >-} >- >-//CHECK#2 >-if ((-0 <= -0) !== true) { >- testFailed('#2: (-0 <= -0) === true'); >-} >- >-//CHECK#3 >-if ((+0 <= -0) !== true) { >- testFailed('#3: (+0 <= -0) === true'); >-} >- >-//CHECK#4 >-if ((-0 <= +0) !== true) { >- testFailed('#4: (-0 <= +0) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5-expected.txt >deleted file mode 100644 >index ebb2ab28ccb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.html >deleted file mode 100644 >index a998f99332b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.5; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If x is +Infinity and x !== y, return false; >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.POSITIVE_INFINITY <= 0) !== false) { >- testFailed('#1: (+Infinity <= 0) === false'); >-} >- >-//CHECK#2 >-if ((Number.POSITIVE_INFINITY <= 1.1) !== false) { >- testFailed('#2: (+Infinity <= 1.1) === false'); >-} >- >-//CHECK#3 >-if ((Number.POSITIVE_INFINITY <= -1.1) !== false) { >- testFailed('#3: (+Infinity <= -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY <= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#4: (+Infinity <= -Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY <= Number.MAX_VALUE) !== false) { >- testFailed('#5: (+Infinity <= Number.MAX_VALUE) === false'); >-} >- >-//CHECK#6 >-if ((Number.POSITIVE_INFINITY <= Number.MIN_VALUE) !== false) { >- testFailed('#6: (+Infinity <= Number.MIN_VALUE) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6-expected.txt >deleted file mode 100644 >index 0ac44490dda..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.html >deleted file mode 100644 >index d149b12b142..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.6; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If y is +Infinity and x !== y, return true; >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 <= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#1: (0 <= +Infinity) === true'); >-} >- >-//CHECK#2 >-if ((1.1 <= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#2: (1.1 <= +Infinity) === true'); >-} >- >-//CHECK#3 >-if ((-1.1 <= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#3: (-1.1 <= +Infinity) === true'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY <= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: (-Infinity <= +Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.MAX_VALUE <= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#5: (Number.MAX_VALUE <= +Infinity) === true'); >-} >- >-//CHECK#6 >-if ((Number.MIN_VALUE <= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#6: (Number.MIN_VALUE <= +Infinity) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7-expected.txt >deleted file mode 100644 >index 3f984c93dac..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.html >deleted file mode 100644 >index bea4ed8085c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.7; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If x is -Infinity, return true; >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.NEGATIVE_INFINITY <= 0) !== true) { >- testFailed('#1: (-Infinity <= 0) === true'); >-} >- >-//CHECK#2 >-if ((Number.NEGATIVE_INFINITY <= 1.1) !== true) { >- testFailed('#2: (-Infinity <= 1.1) === true'); >-} >- >-//CHECK#3 >-if ((Number.NEGATIVE_INFINITY <= -1.1) !== true) { >- testFailed('#3: (-Infinity <= -1.1) === true'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY <= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: (-Infinity <= +Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.NEGATIVE_INFINITY <= Number.MAX_VALUE) !== true) { >- testFailed('#5: (-Infinity <= Number.MAX_VALUE) === true'); >-} >- >-//CHECK#6 >-if ((Number.NEGATIVE_INFINITY <= Number.MIN_VALUE) !== true) { >- testFailed('#6: (-Infinity <= Number.MIN_VALUE) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8-expected.txt >deleted file mode 100644 >index 81d657594d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.html >deleted file mode 100644 >index 1e81d3d8c2d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.8; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If y is -Infinity and x !== y, return false; >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 <= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#1: (0 <= -Infinity) === false'); >-} >- >-//CHECK#2 >-if ((1.1 <= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#2: (1.1 <= -Infinity) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 <= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#3: (-1.1 <= -Infinity) === false'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY <= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#4: (+Infinity <= -Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.MAX_VALUE <= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#5: (Number.MAX_VALUE <= -Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.MIN_VALUE <= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#6: (Number.MIN_VALUE <= -Infinity) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9-expected.txt >deleted file mode 100644 >index 0b21e7ecdf9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.3_A4.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.html >deleted file mode 100644 >index fee17fe728d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.3_A4.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.3_A4.9; >-* @section: 11.8.3, 11.8.5; >-* @assertion: If x is less or equal than y and these values are both finite non-zero, return true; otherwise, return false; >-* @description: x and y are number primitives; >-*/ >- >-//CHECK#1 >-if ((1.1 <= 1) !== false) { >- testFailed('#1: (1.1 <= 1) === false'); >-} >- >-//CHECK#2 >-if ((1 <= 1.1) !== true) { >- testFailed('#2: (1 <= 1.1) === true'); >-} >- >-//CHECK#3 >-if ((-1.1 <= -1) !== true) { >- testFailed('#3: (-1.1 <= -1) === true'); >-} >- >-//CHECK#4 >-if ((-1 <= -1.1) !== false) { >- testFailed('#4: (-1 <= -1.1) === false'); >-} >- >-//CHECK#5 >-if ((0 <= 0.1) !== true) { >- testFailed('#5: (0 <= 0.1) === true'); >-} >- >-//CHECK#6 >-if ((-0.1 <= 0) !== true) { >- testFailed('#6: (-0.1 <= 0) === true'); >-} >- >-//CHECK#7 >-if ((Number.MAX_VALUE/2 <= Number.MAX_VALUE) !== true) { >- testFailed('#7: (Number.MAX_VALUE/2 <= Number.MAX_VALUE) === true'); >-} >- >-//CHECK#8 >-if ((Number.MIN_VALUE <= Number.MIN_VALUE*2) !== true) { >- testFailed('#8: (Number.MIN_VALUE <= Number.MIN_VALUE*2) === true'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1-expected.txt >deleted file mode 100644 >index ea5af045ea0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.html >deleted file mode 100644 >index cca2b112525..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A1; >-* @section: 11.8.4, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between RelationalExpression and "=>" or "=>" and ShiftExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009>=\u00091") !== true) { >- testFailed('#1: (1\\u0009>=\\u00091) === true'); >-} >- >-//CHECK#2 >-if (eval("1\u000B>=\u000B1") !== true) { >- testFailed('#2: (1\\u000B>=\\u000B1) === true'); >-} >- >-//CHECK#3 >-if (eval("1\u000C>=\u000C1") !== true) { >- testFailed('#3: (1\\u000C>=\\u000C1) === true'); >-} >- >-//CHECK#4 >-if (eval("1\u0020>=\u00201") !== true) { >- testFailed('#4: (1\\u0020>=\\u00201) === true'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0>=\u00A01") !== true) { >- testFailed('#5: (1\\u00A0>=\\u00A01) === true'); >-} >- >-//CHECK#6 >-if (eval("1\u000A>=\u000A1") !== true) { >- testFailed('#6: (1\\u000A>=\\u000A1) === true'); >-} >- >-//CHECK#7 >-if (eval("1\u000D>=\u000D1") !== true) { >- testFailed('#7: (1\\u000D>=\\u000D1) === true'); >-} >- >-//CHECK#8 >-if (eval("1\u2028>=\u20281") !== true) { >- testFailed('#8: (1\\u2028>=\\u20281) === true'); >-} >- >-//CHECK#9 >-if (eval("1\u2029>=\u20291") !== true) { >- testFailed('#9: (1\\u2029>=\\u20291) === true'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) { >- testFailed('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1-expected.txt >deleted file mode 100644 >index 9afad3b893e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1.html >deleted file mode 100644 >index 0cff9f91503..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A2.1_T1; >-* @section: 11.8.4, 11.8.5; >-* @assertion: Operator x >= y uses GetValue; >-* @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 >= 1 !== true) { >- testFailed('#1: 1 >= 1 === true'); >-} >- >-//CHECK#2 >-var x = 1; >-if (x >= 1 !== true) { >- testFailed('#2: var x = 1; x >= 1 === true'); >-} >- >-//CHECK#3 >-var y = 1; >-if (1 >= y !== true) { >- testFailed('#3: var y = 1; 1 >= y === true'); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if (x >= y !== true) { >- testFailed('#4: var x = 1; var y = 1; x >= y === true'); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if (objectx.prop >= objecty.prop !== true) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop >= objecty.prop === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2-expected.txt >deleted file mode 100644 >index 344b6fbabf0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2.html >deleted file mode 100644 >index 158e4790aff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A2.1_T2; >- * @section: 11.8.4, 11.8.5; >- * @assertion: Operator x >= y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x >= 1; >- testFailed('#1.1: x >= 1 throw ReferenceError. Actual: ' + (x >= 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x >= 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3-expected.txt >deleted file mode 100644 >index 5b036494703..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3.html >deleted file mode 100644 >index bc7c4d30be4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A2.1_T3; >- * @section: 11.8.4, 11.8.5; >- * @assertion: Operator x >= y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 >= y; >- testFailed('#1.1: 1 >= y throw ReferenceError. Actual: ' + (1 >= y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 >= y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1-expected.txt >deleted file mode 100644 >index 06e90bb4034..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1.html >deleted file mode 100644 >index 740e7cab964..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.2_T1.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A2.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A2.2_T1; >- * @section: 11.8.4, 8.6.2.6; >- * @assertion: Operator x >= y uses [[Default Value]]; >- * @description: If Type(value) is Object, evaluate ToPrimitive(value, Number); >- */ >- >-//CHECK#1 >-if ({valueOf: function() {return 2}} >= 1 !== true) { >- testFailed('#1: {valueOf: function() {return 1}} >= 1 === true. Actual: ' + ({valueOf: function() {return 1}} >= 1)); >-} >- >-//CHECK#2 >-if ({valueOf: function() {return 2}, toString: function() {return 0}} >= 1 !== true) { >- testFailed('#2: {valueOf: function() {return 1}, toString: function() {return 2}} >= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return 2}} >= 1)); >-} >- >-//CHECK#3 >-if ({valueOf: function() {return 2}, toString: function() {return {}}} >= 1 !== true) { >- testFailed('#3: {valueOf: function() {return 1}, toString: function() {return {}}} >= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {return {}}} >= 1)); >-} >- >-//CHECK#4 >-try { >- if ({valueOf: function() {return 2}, toString: function() {throw "error"}} >= 1 !== true) { >- testFailed('#4.1: {valueOf: function() {return 1}, toString: function() {throw "error"}} >= 1 === true. Actual: ' + ({valueOf: function() {return 1}, toString: function() {throw "error"}} >= 1)); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: {valueOf: function() {return 2}, toString: function() {throw "error"}} >= 1 not throw "error"'); >- } else { >- testFailed('#4.3: {valueOf: function() {return 2}, toString: function() {throw "error"}} >= 1 not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (1 >= {toString: function() {return 0}} !== true) { >- testFailed('#5: 1 >= {toString: function() {return 0}} === true. Actual: ' + (1 >= {toString: function() {return 0}})); >-} >- >-//CHECK#6 >-if (1 >= {valueOf: function() {return {}}, toString: function() {return 0}} !== true) { >- testFailed('#6: 1 >= {valueOf: function() {return {}}, toString: function() {return 0}} === true. Actual: ' + (1 >= {valueOf: function() {return {}}, toString: function() {return 0}})); >-} >- >-//CHECK#7 >-try { >- 1 >= {valueOf: function() {throw "error"}, toString: function() {return 0}}; >- testFailed('#7.1: 1 >= {valueOf: function() {throw "error"}, toString: function() {return 0}} throw "error". Actual: ' + (1 >= {valueOf: function() {throw "error"}, toString: function() {return 0}})); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: 1 >= {valueOf: function() {throw "error"}, toString: function() {return 0}} throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- 1 >= {valueOf: function() {return {}}, toString: function() {return {}}}; >- testFailed('#8.1: 1 >= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (1 >= {valueOf: function() {return {}}, toString: function() {return {}}})); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: 1 >= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1-expected.txt >deleted file mode 100644 >index 4f1376451f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1.html >deleted file mode 100644 >index 3d74714c20a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.3_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A2.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A2.3_T1; >- * @section: 11.8.4; >- * @assertion: ToNumber(first expression) is called first, and then ToNumber(second expression); >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = { valueOf: function () { throw "x"; } }; >-var y = { valueOf: function () { throw "y"; } }; >-try { >- x >= y; >- testFailed('#1.1: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >= y throw "x". Actual: ' + (x >= y)); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: ToNumber(first expression) is called first, and then ToNumber(second expression)'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = { valueOf: function () { throw "x"; } }; var y = { valueOf: function () { throw "y"; } }; x >= y throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1-expected.txt >deleted file mode 100644 >index b6b149c3fff..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1.html >deleted file mode 100644 >index 34090452db5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A2.4_T1; >- * @section: 11.8.4; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 1; >-if ((x = 0) >= x !== true) { >- testFailed('#1: var x = 1; (x = 0) >= x === true'); >-} >- >-//CHECK#2 >-var x = 0; >-if (x >= (x = 1) !== false) { >- testFailed('#2: var x = 0; x >= (x = 1) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2-expected.txt >deleted file mode 100644 >index fa5e0f7bb88..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2.html >deleted file mode 100644 >index e64ed915bfc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A2.4_T2; >- * @section: 11.8.4; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() >= y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >= y() throw "x". Actual: ' + (x() >= y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() >= y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3-expected.txt >deleted file mode 100644 >index c73a20f3119..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3.html >deleted file mode 100644 >index f836a994bc1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A2.4_T3; >- * @section: 11.8.4; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x >= (x = 1); >- testFailed('#1.1: x >= (x = 1) throw ReferenceError. Actual: ' + (x >= (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x >= (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) >= y !== true) { >- testFailed('#2: (y = 1) >= y === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1-expected.txt >deleted file mode 100644 >index c6394c3bbcc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1.html >deleted file mode 100644 >index f61106896d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T1.1; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object; >- */ >- >-//CHECK#1 >-if (true >= true !== true) { >- testFailed('#1: true >= true === true'); >-} >- >-//CHECK#2 >-if (new Boolean(true) >= true !== true) { >- testFailed('#2: new Boolean(true) >= true === true'); >-} >- >-//CHECK#3 >-if (true >= new Boolean(true) !== true) { >- testFailed('#3: true >= new Boolean(true) === true'); >-} >- >-//CHECK#4 >-if (new Boolean(true) >= new Boolean(true) !== true) { >- testFailed('#4: new Boolean(true) >= new Boolean(true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2-expected.txt >deleted file mode 100644 >index 5b72e0ff504..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2.html >deleted file mode 100644 >index 7154414de4e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T1.2; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object; >-*/ >- >-//CHECK#1 >-if (1 >= 1 !== true) { >- testFailed('#1: 1 >= 1 === true'); >-} >- >-//CHECK#2 >-if (new Number(1) >= 1 !== true) { >- testFailed('#2: new Number(1) >= 1 === true'); >-} >- >-//CHECK#3 >-if (1 >= new Number(1) !== true) { >- testFailed('#3: 1 >= new Number(1) === true'); >-} >- >-//CHECK#4 >-if (new Number(1) >= new Number(1) !== true) { >- testFailed('#4: new Number(1) >= new Number(1) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3-expected.txt >deleted file mode 100644 >index d7e0f4ee34d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3.html >deleted file mode 100644 >index dfebb0e2c0e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T1.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T1.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T1.3; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined; >- */ >- >-//CHECK#1 >-if (null >= undefined !== false) { >- testFailed('#1: null >= undefined === false'); >-} >- >-//CHECK#2 >-if (undefined >= null !== false) { >- testFailed('#2: undefined >= null === false'); >-} >- >-//CHECK#3 >-if (undefined >= undefined !== false) { >- testFailed('#3: undefined >= undefined === false'); >-} >- >-//CHECK#4 >-if (null >= null !== true) { >- testFailed('#4: null >= null === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1-expected.txt >deleted file mode 100644 >index fa93919f651..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1.html >deleted file mode 100644 >index 0bd1e7d1d59..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.1; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object); >- */ >- >-//CHECK#1 >-if (true >= 1 !== true) { >- testFailed('#1: true >= 1 === true'); >-} >- >-//CHECK#2 >-if (1 >= true !== true) { >- testFailed('#2: 1 >= true === true'); >-} >- >-//CHECK#3 >-if (new Boolean(true) >= 1 !== true) { >- testFailed('#3: new Boolean(true) >= 1 === true'); >-} >- >-//CHECK#4 >-if (1 >= new Boolean(true) !== true) { >- testFailed('#4: 1 >= new Boolean(true) === true'); >-} >- >-//CHECK#5 >-if (true >= new Number(1) !== true) { >- testFailed('#5: true >= new Number(1) === true'); >-} >- >-//CHECK#6 >-if (new Number(1) >= true !== true) { >- testFailed('#6: new Number(1) >= true === true'); >-} >- >-//CHECK#7 >-if (new Boolean(true) >= new Number(1) !== true) { >- testFailed('#7: new Boolean(true) >= new Number(1) === true'); >-} >- >-//CHECK#8 >-if (new Number(1) >= new Boolean(true) !== true) { >- testFailed('#8: new Number(1) >= new Boolean(true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2-expected.txt >deleted file mode 100644 >index 2804b2a86f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2.html >deleted file mode 100644 >index 04146e27f83..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.2.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.2; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object); >-*/ >- >-//CHECK#1 >-if ("1" >= 1 !== true) { >- testFailed('#1: "1" >= 1 === true'); >-} >- >-//CHECK#2 >-if (1 >= "1" !== true) { >- testFailed('#2: 1 >= "1" === true'); >-} >- >-//CHECK#3 >-if (new String("1") >= 1 !== true) { >- testFailed('#3: new String("1") >= 1 === true'); >-} >- >-//CHECK#4 >-if (1 >= new String("1") !== true) { >- testFailed('#4: 1 >= new String("1") === true'); >-} >- >-//CHECK#5 >-if ("1" >= new Number(1) !== true) { >- testFailed('#5: "1" >= new Number(1) === true'); >-} >- >-//CHECK#6 >-if (new Number(1) >= "1" !== true) { >- testFailed('#6: new Number(1) >= "1" === true'); >-} >- >-//CHECK#7 >-if (new String("1") >= new Number(1) !== true) { >- testFailed('#7: new String("1") >= new Number(1) === true'); >-} >- >-//CHECK#8 >-if (new Number(1) >= new String("1") !== true) { >- testFailed('#8: new Number(1) >= new String("1") === true'); >-} >- >-//CHECK#9 >-if ("x" >= 1 !== false) { >- testFailed('#9: "x" >= 1 === false'); >-} >- >-//CHECK#10 >-if (1 >= "x" !== false) { >- testFailed('#10: 1 >= "x" === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3-expected.txt >deleted file mode 100644 >index 7d4a6378593..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3.html >deleted file mode 100644 >index 579cd12a992..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.3; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (1 >= null !== true) { >- testFailed('#1: 1 >= null === true'); >-} >- >-//CHECK#2 >-if (null >= 1 !== false) { >- testFailed('#2: null >= 1 === false'); >-} >- >-//CHECK#3 >-if (new Number(1) >= null !== true) { >- testFailed('#3: new Number(1) >= null === true'); >-} >- >-//CHECK#4 >-if (null >= new Number(1) !== false) { >- testFailed('#4: null >= new Number(1) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4-expected.txt >deleted file mode 100644 >index 933ba1b8066..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4.html >deleted file mode 100644 >index e0e7f544952..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.4; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (1 >= undefined !== false) { >- testFailed('#1: 1 >= undefined === false'); >-} >- >-//CHECK#2 >-if (undefined >= 1 !== false) { >- testFailed('#2: undefined >= 1 === false'); >-} >- >-//CHECK#3 >-if (new Number(1) >= undefined !== false) { >- testFailed('#3: new Number(1) >= undefined === false'); >-} >- >-//CHECK#4 >-if (undefined >= new Number(1) !== false) { >- testFailed('#4: undefined >= new Number(1) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5-expected.txt >deleted file mode 100644 >index e05be2d497f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5.html >deleted file mode 100644 >index e3f27963a7f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.5.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.5; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object); >-*/ >- >-//CHECK#1 >-if (true >= "1" !== true) { >- testFailed('#1: true >= "1" === true'); >-} >- >-//CHECK#2 >-if ("1" >= true !== true) { >- testFailed('#2: "1" >= true === true'); >-} >- >-//CHECK#3 >-if (new Boolean(true) >= "1" !== true) { >- testFailed('#3: new Boolean(true) >= "1" === true'); >-} >- >-//CHECK#4 >-if ("1" >= new Boolean(true) !== true) { >- testFailed('#4: "1" >= new Boolean(true) === true'); >-} >- >-//CHECK#5 >-if (true >= new String("1") !== true) { >- testFailed('#5: true >= new String("1") === true'); >-} >- >-//CHECK#6 >-if (new String("1") >= true !== true) { >- testFailed('#6: new String("1") >= true === true'); >-} >- >-//CHECK#7 >-if (new Boolean(true) >= new String("1") !== true) { >- testFailed('#7: new Boolean(true) >= new String("1") === true'); >-} >- >-//CHECK#8 >-if (new String("1") >= new Boolean(true) !== true) { >- testFailed('#8: new String("1") >= new Boolean(true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6-expected.txt >deleted file mode 100644 >index 9d814ffeb57..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6.html >deleted file mode 100644 >index 2e4f17582be..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.6.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.6; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if ("1" >= undefined !== false) { >- testFailed('#1: "1" >= undefined === false'); >-} >- >-//CHECK#2 >-if (undefined >= "1" !== false) { >- testFailed('#2: undefined >= "1" === false'); >-} >- >-//CHECK#3 >-if (new String("1") >= undefined !== false) { >- testFailed('#3: new String("1") >= undefined === false'); >-} >- >-//CHECK#4 >-if (undefined >= new String("1") !== false) { >- testFailed('#4: undefined >= new String("1") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7-expected.txt >deleted file mode 100644 >index 77bcfc69e5d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7.html >deleted file mode 100644 >index ffc7369136f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.7; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if ("1" >= null !== true) { >- testFailed('#1: "1" >= null === true'); >-} >- >-//CHECK#2 >-if (null >= "1" !== false) { >- testFailed('#2: null >= "1" === false'); >-} >- >-//CHECK#3 >-if (new String("1") >= null !== true) { >- testFailed('#3: new String("1") >= null === true'); >-} >- >-//CHECK#4 >-if (null >= new String("1") !== false) { >- testFailed('#4: null >= new String("1") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8-expected.txt >deleted file mode 100644 >index 24df9f6eb66..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8.html >deleted file mode 100644 >index 3a5c03fbf14..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.8.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.8; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined; >- */ >- >-//CHECK#1 >-if (true >= undefined !== false) { >- testFailed('#1: true >= undefined === false'); >-} >- >-//CHECK#2 >-if (undefined >= true !== false) { >- testFailed('#2: undefined >= true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) >= undefined !== false) { >- testFailed('#3: new Boolean(true) >= undefined === false'); >-} >- >-//CHECK#4 >-if (undefined >= new Boolean(true) !== false) { >- testFailed('#4: undefined >= new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9-expected.txt >deleted file mode 100644 >index 08c13fece68..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9.html >deleted file mode 100644 >index f0edda04de6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.1_T2.9.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.1_T2.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.1_T2.9; >- * @section: 11.8.4; >- * @assertion: If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y); >- * @description: Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null; >- */ >- >-//CHECK#1 >-if (true >= null !== true) { >- testFailed('#1: true >= null === true'); >-} >- >-//CHECK#2 >-if (null >= true !== false) { >- testFailed('#2: null >= true === false'); >-} >- >-//CHECK#3 >-if (new Boolean(true) >= null !== true) { >- testFailed('#3: new Boolean(true) >= null === true'); >-} >- >-//CHECK#4 >-if (null >= new Boolean(true) !== false) { >- testFailed('#4: null >= new Boolean(true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1-expected.txt >deleted file mode 100644 >index e061194255f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1.html >deleted file mode 100644 >index 60f9729e5e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.2_T1.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.2_T1.1; >- * @section: 11.8.4; >- * @assertion: Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object; >-*/ >- >-//CHECK#1 >-if ("1" >= "1" !== true) { >- testFailed('#1: "1" >= "1" === true'); >-} >- >-//CHECK#2 >-if (new String("1") >= "1" !== true) { >- testFailed('#2: new String("1") >= "1" === true'); >-} >- >-//CHECK#3 >-if ("1" >= new String("1") !== true) { >- testFailed('#3: "1" >= new String("1") === true'); >-} >- >-//CHECK#4 >-if (new String("1") >= new String("1") !== true) { >- testFailed('#4: new String("1") >= new String("1") === true'); >-} >- >-//CHECK#5 >-if ("x" >= "1" !== true) { >- testFailed('#5: "x" >= "1" === true'); >-} >- >-//CHECK#6 >-if ("1" >= "x" !== false) { >- testFailed('#6: "1" >= "x" === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2-expected.txt >deleted file mode 100644 >index 55c3b8e4da9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2.html >deleted file mode 100644 >index bc071a295f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A3.2_T1.2.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A3.2_T1.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.4_A3.2_T1.2; >- * @section: 11.8.4; >- * @assertion: Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String; >- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object; >- */ >- >-//CHECK#1 >-if (({} >= function(){return 1}) !== ({}.toString() >= function(){return 1}.toString())) { >- testFailed('#1: ({} >= function(){return 1}) === ({}.toString() >= function(){return 1}.toString())'); >-} >- >-//CHECK#2 >-if ((function(){return 1} >= {}) !== (function(){return 1}.toString() >= {}.toString())) { >- testFailed('#2: (function(){return 1} >= {}) === (function(){return 1}.toString() >= {}.toString())'); >-} >- >-//CHECK#3 >-if ((function(){return 1} >= function(){return 1}) !== (function(){return 1}.toString() >= function(){return 1}.toString())) { >- testFailed('#3: (function(){return 1} >= function(){return 1}) === (function(){return 1}.toString() >= function(){return 1}.toString())'); >-} >- >-//CHECK#4 >-if (({} >= {}) !== ({}.toString() >= {}.toString())) { >- testFailed('#4: ({} >= {}) === ({}.toString() >= {}.toString())'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1-expected.txt >deleted file mode 100644 >index b0e5d6653cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.html >deleted file mode 100644 >index ad9236ad1f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.1; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If x is NaN, return false (if result in 11.8.5 is undefined, return false); >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.NaN >= 0) !== false) { >- testFailed('#1: (NaN >= 0) === false'); >-} >- >-//CHECK#2 >-if ((Number.NaN >= 1.1) !== false) { >- testFailed('#2: (NaN >= 1.1) === false'); >-} >- >-//CHECK#3 >-if ((Number.NaN >= -1.1) !== false) { >- testFailed('#3: (NaN >= -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN >= Number.NaN) !== false) { >- testFailed('#4: (NaN >= NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.NaN >= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#5: (NaN >= +Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.NaN >= Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#6: (NaN >= -Infinity) === false'); >-} >- >-//CHECK#7 >-if ((Number.NaN >= Number.MAX_VALUE) !== false) { >- testFailed('#7: (NaN >= Number.MAX_VALUE) === false'); >-} >- >-//CHECK#8 >-if ((Number.NaN >= Number.MIN_VALUE) !== false) { >- testFailed('#8: (NaN >= Number.MIN_VALUE) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10-expected.txt >deleted file mode 100644 >index d8779290954..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.html >deleted file mode 100644 >index d67f4ec78e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.10; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If x is a prefix of y and x !== y, return false; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x" >= "x ") !== false) { >- testFailed('#1: ("x" >= "x ") === false'); >-} >- >-//CHECK#2 >-if (("" >= "x") !== false) { >- testFailed('#2: ("" >= "x") === false'); >-} >- >-//CHECK#3 >-if (("ab" >= "abcd") !== false) { >- testFailed('#3: ("ab" >= abcd") === false'); >-} >- >-//CHECK#4 >-if (("abcd" >= "abc\u0064") !== true) { >- testFailed('#4: ("abcd" >= abc\\u0064") === true'); >-} >- >-//CHECK#5 >-if (("x" >= "x" + "y") !== false) { >- testFailed('#5: ("x" >= "x" + "y") === false'); >-} >- >-//CHECK#6 >-var x = "x"; >-if ((x >= x + "y") !== false) { >- testFailed('#6: var x = "x"; (x >= x + "y") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11-expected.txt >deleted file mode 100644 >index ee17b7305ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.html >deleted file mode 100644 >index f72c6b650d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.11; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If y is a prefix of x, return true; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x" >= "x") !== true) { >- testFailed('#1: ("x" >= "x") === true'); >-} >- >-//CHECK#2 >-if (("x" >= "") !== true) { >- testFailed('#2: ("x" >= "") === true'); >-} >- >-//CHECK#3 >-if (("abcd" >= "ab") !== true) { >- testFailed('#3: ("abcd" >= ab") === true'); >-} >- >-//CHECK#4 >-if (("abc\u0064" >= "abcd") !== true) { >- testFailed('#4: ("abc\\u0064" >= abc") === true'); >-} >- >-//CHECK#5 >-if (("x" + "y" >= "x") !== true) { >- testFailed('#5: ("x" + "y" >= "x") === true'); >-} >- >-//CHECK#6 >-var x = "x"; >-if ((x + 'y' >= x) !== true) { >- testFailed('#6: var x = "x"; (x + "y" >= x) === true'); >-} >- >-//CHECK#7 >-if (("a\u0000a" >= "a\u0000") !== true) { >- testFailed('#7: ("a\\u0000a" >= "a\\u0000") === true'); >-} >- >-//CHECK#8 >-if ((" x" >= "x") !== false) { >- testFailed('#8: (" x" >= "x") === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1-expected.txt >deleted file mode 100644 >index 66aea208ee9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1.html >deleted file mode 100644 >index 5d94b5482ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.12_T1; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("xy" >= "xx") !== true) { >- testFailed('#1: ("xy" >= "xx") === true'); >-} >- >-//CHECK#2 >-if (("xx" >= "xy") !== false) { >- testFailed('#2: ("xx" >= "xy") === false'); >-} >- >-//CHECK#3 >-if (("y" >= "x") !== true) { >- testFailed('#3: ("y" >= "x") === true'); >-} >- >-//CHECK#4 >-if (("aba" >= "aab") !== true) { >- testFailed('#4: ("aba" >= aab") === true'); >-} >- >-//CHECK#5 >-if (("\u0061\u0061\u0061\u0061" >= "\u0061\u0061\u0061\u0062") !== false) { >- testFailed('#5: ("\\u0061\\u0061\\u0061\\u0061" >= \\u0061\\u0061\\u0061\\u0062") === false'); >-} >- >-//CHECK#6 >-if (("a\u0000b" >= "a\u0000a") !== true) { >- testFailed('#6: ("a\\u0000b" >= "a\\u0000a") === true'); >-} >- >-//CHECK#7 >-if (("aa" >= "aB") !== true) { >- testFailed('#7: ("aa" >= aB") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2-expected.txt >deleted file mode 100644 >index f51944557c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2.html >deleted file mode 100644 >index 34bda7c7850..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.12_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.12_T2; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values; >-* @description: x and y are string primitives; >-*/ >- >-//CHECK#1 >-if (("x" >= "0") !== true) { >- testFailed('#1: ("x" >= "0") !== true'); >-} >- >-//CHECK#2 >-if (("0" >= "-") !== true) { >- testFailed('#2: ("0" >= "-") !== true'); >-} >- >-//CHECK#3 >-if (("0" >= ".") !== true) { >- testFailed('#3: ("0" >= ".") !== true'); >-} >- >-//CHECK#4 >-if (("-" >= "+") !== true) { >- testFailed('#4: ("-" >= "+") !== true'); >-} >- >-//CHECK#5 >-if (("-1" >= "-0") !== true) { >- testFailed('#5: ("-1" >= "-0") !== true'); >-} >- >-//CHECK#6 >-if (("-1" >= "+1") !== true) { >- testFailed('#6: ("-1" >= "+1") !== true'); >-} >- >-//CHECK#7 >-if (("1e-10" >= "1") !== true) { >-testFailed('#7: ("1e-10" >= "1") !== true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2-expected.txt >deleted file mode 100644 >index 96c3b441648..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.html >deleted file mode 100644 >index 82750aad2f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.2; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If y is NaN, return false (if result in 11.8.5 is undefined, return false); >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 >= Number.NaN) !== false) { >- testFailed('#1: (0 >= NaN) === false'); >-} >- >-//CHECK#2 >-if ((1.1 >= Number.NaN) !== false) { >- testFailed('#2: (1.1 >= NaN) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 >= Number.NaN) !== false) { >- testFailed('#3: (-1.1 >= NaN) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN >= Number.NaN) !== false) { >- testFailed('#4: (NaN >= NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY >= Number.NaN) !== false) { >- testFailed('#5: (+Infinity >= NaN) === false'); >-} >- >-//CHECK#6 >-if ((Number.NEGATIVE_INFINITY >= Number.NaN) !== false) { >- testFailed('#6: (-Infinity >= NaN) === false'); >-} >- >-//CHECK#7 >-if ((Number.MAX_VALUE >= Number.NaN) !== false) { >- testFailed('#7: (Number.MAX_VALUE >= NaN) === false'); >-} >- >-//CHECK#8 >-if ((Number.MIN_VALUE >= Number.NaN) !== false) { >- testFailed('#8: (Number.MIN_VALUE >= NaN) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3-expected.txt >deleted file mode 100644 >index 1d77b2c1776..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.html >deleted file mode 100644 >index 1c330e7f13b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.html >+++ /dev/null >@@ -1,129 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.3; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If x and y are the same number value, return true; >-* @description: x and y are number primitives; >-*/ >- >-//CHECK#1 >-if ((1 >= 1) !== true) { >- testFailed('#1: (1 >= 1) === true'); >-} >- >-//CHECK#2 >-if ((1.1 >= 1.1) !== true) { >- testFailed('#2: (1.1 >= 1.1) === true'); >-} >- >-//CHECK#3 >-if ((-1.1 >= -1.1) !== true) { >- testFailed('#3: (-1.1 >= -1.1) === true'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY >= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#4: (-Infinity >= -Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY >= Number.POSITIVE_INFINITY) !== true) { >- testFailed('#5: (+Infinity >= +Infinity) === true'); >-} >- >-//CHECK#6 >-if ((Number.MAX_VALUE >= Number.MAX_VALUE) !== true) { >- testFailed('#6: (Number.MAX_VALUE >= Number.MAX_VALUE) === true'); >-} >- >-//CHECK#7 >-if ((Number.MIN_VALUE >= Number.MIN_VALUE) !== true) { >- testFailed('#7: (Number.MIN_VALUE >= Number.MIN_VALUE) === true'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4-expected.txt >deleted file mode 100644 >index ea981863ff8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.html >deleted file mode 100644 >index 28e68fa8d2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.4; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If either x or y is +0 and the other is -0, return true; >-* @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if ((0 >= 0) !== true) { >- testFailed('#1: (0 >= 0) === true'); >-} >- >-//CHECK#2 >-if ((-0 >= -0) !== true) { >- testFailed('#2: (-0 >= -0) === true'); >-} >- >-//CHECK#3 >-if ((+0 >= -0) !== true) { >- testFailed('#3: (+0 >= -0) === true'); >-} >- >-//CHECK#4 >-if ((-0 >= +0) !== true) { >- testFailed('#4: (-0 >= +0) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5-expected.txt >deleted file mode 100644 >index 9e7b7bc2a58..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.html >deleted file mode 100644 >index f287a2cc3e8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.5; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If x is +Infinity, return true; >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.POSITIVE_INFINITY >= 0) !== true) { >- testFailed('#1: (+Infinity >= 0) === true'); >-} >- >-//CHECK#2 >-if ((Number.POSITIVE_INFINITY >= 1.1) !== true) { >- testFailed('#2: (+Infinity >= 1.1) === true'); >-} >- >-//CHECK#3 >-if ((Number.POSITIVE_INFINITY >= -1.1) !== true) { >- testFailed('#3: (+Infinity >= -1.1) === true'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY >= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#4: (+Infinity >= -Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.POSITIVE_INFINITY >= Number.MAX_VALUE) !== true) { >- testFailed('#5: (+Infinity >= Number.MAX_VALUE) === true'); >-} >- >-//CHECK#6 >-if ((Number.POSITIVE_INFINITY >= Number.MIN_VALUE) !== true) { >- testFailed('#6: (+Infinity >= Number.MIN_VALUE) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6-expected.txt >deleted file mode 100644 >index 3e55d690cd1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.html >deleted file mode 100644 >index 4bb611183fd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.6; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If y is +Infinity and x !== y, return false; >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 >= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#1: (0 >= +Infinity) === false'); >-} >- >-//CHECK#2 >-if ((1.1 >= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#2: (1.1 >= +Infinity) === false'); >-} >- >-//CHECK#3 >-if ((-1.1 >= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#3: (-1.1 >= +Infinity) === false'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY >= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#4: (-Infinity >= +Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.MAX_VALUE >= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#5: (Number.MAX_VALUE >= +Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.MIN_VALUE >= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#6: (Number.MIN_VALUE >= +Infinity) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7-expected.txt >deleted file mode 100644 >index 3af94095eb8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.html >deleted file mode 100644 >index 18fcd7b3602..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.7; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If x is -Infinity and x !== y, return false; >-* @description: y is number primitive; >-*/ >- >-//CHECK#1 >-if ((Number.NEGATIVE_INFINITY >= 0) !== false) { >- testFailed('#1: (-Infinity >= 0) === false'); >-} >- >-//CHECK#2 >-if ((Number.NEGATIVE_INFINITY >= 1.1) !== false) { >- testFailed('#2: (-Infinity >= 1.1) === false'); >-} >- >-//CHECK#3 >-if ((Number.NEGATIVE_INFINITY >= -1.1) !== false) { >- testFailed('#3: (-Infinity >= -1.1) === false'); >-} >- >-//CHECK#4 >-if ((Number.NEGATIVE_INFINITY >= Number.POSITIVE_INFINITY) !== false) { >- testFailed('#4: (-Infinity >= +Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.NEGATIVE_INFINITY >= Number.MAX_VALUE) !== false) { >- testFailed('#5: (-Infinity >= Number.MAX_VALUE) === false'); >-} >- >-//CHECK#6 >-if ((Number.NEGATIVE_INFINITY >= Number.MIN_VALUE) !== false) { >- testFailed('#6: (-Infinity >= Number.MIN_VALUE) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8-expected.txt >deleted file mode 100644 >index 258607606f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.html >deleted file mode 100644 >index dcf44d211f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.8; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If y is -Infinity, return true; >-* @description: x is number primitive; >-*/ >- >-//CHECK#1 >-if ((0 >= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#1: (0 >= -Infinity) === true'); >-} >- >-//CHECK#2 >-if ((1.1 >= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#2: (1.1 >= -Infinity) === true'); >-} >- >-//CHECK#3 >-if ((-1.1 >= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#3: (-1.1 >= -Infinity) === true'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY >= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#4: (+Infinity >= -Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.MAX_VALUE >= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#5: (Number.MAX_VALUE >= -Infinity) === true'); >-} >- >-//CHECK#6 >-if ((Number.MIN_VALUE >= Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#6: (Number.MIN_VALUE >= -Infinity) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9-expected.txt >deleted file mode 100644 >index f42475c607d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.4_A4.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.html >deleted file mode 100644 >index 54689b7933e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.4_A4.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.4_A4.9; >-* @section: 11.8.4, 11.8.5; >-* @assertion: If x is greater or equal than y and these values are both finite non-zero, return true; otherwise, return false; >-* @description: x and y are number primitives; >-*/ >- >-//CHECK#1 >-if ((1 >= 1.1) !== false) { >- testFailed('#1: (1 >= 1.1) === false'); >-} >- >-//CHECK#2 >-if ((1.1 >= 1) !== true) { >- testFailed('#2: (1.1 >= 1) === true'); >-} >- >-//CHECK#3 >-if ((-1 >= -1.1) !== true) { >- testFailed('#3: (-1 >= -1.1) === true'); >-} >- >-//CHECK#4 >-if ((-1.1 >= -1) !== false) { >- testFailed('#4: (-1.1 >= -1) === false'); >-} >- >-//CHECK#5 >-if ((0.1 >= 0) !== true) { >- testFailed('#5: (0.1 >= 0) === true'); >-} >- >-//CHECK#6 >-if ((0 >= -0.1) !== true) { >- testFailed('#6: (0 >= -0.1) === true'); >-} >- >-//CHECK#7 >-if ((Number.MAX_VALUE >= Number.MAX_VALUE/2) !== true) { >- testFailed('#7: (Number.MAX_VALUE >= Number.MAX_VALUE/2) === true'); >-} >- >-//CHECK#8 >-if ((Number.MIN_VALUE*2 >= Number.MIN_VALUE) !== true) { >- testFailed('#8: (Number.MIN_VALUE*2 >= Number.MIN_VALUE) === true'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1-expected.txt >deleted file mode 100644 >index 5906aa4e1d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.html >deleted file mode 100644 >index b45d494387c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A1; >-* @section: 11.8.6, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between RelationalExpression and "instanceof" and between "instanceof" and ShiftExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("({})\u0009instanceof\u0009Object") !== true) { >- testFailed('#1: ({})\\u0009instanceof\\u0009Object === true'); >-} >- >-//CHECK#2 >-if (eval("({})\u000Binstanceof\u000BObject") !== true) { >- testFailed('#2: ({})\\u000Binstanceof\\u000BObject === true'); >-} >- >-//CHECK#3 >-if (eval("({})\u000Cinstanceof\u000CObject") !== true) { >- testFailed('#3: ({})\\u000Cinstanceof\\u000CObject === true'); >-} >- >-//CHECK#4 >-if (eval("({})\u0020instanceof\u0020Object") !== true) { >- testFailed('#4: ({})\\u0020instanceof\\u0020Object === true'); >-} >- >-//CHECK#5 >-if (eval("({})\u00A0instanceof\u00A0Object") !== true) { >- testFailed('#5: ({})\\u00A0instanceof\\u00A0Object === true'); >-} >- >-//CHECK#6 >-if (eval("({})\u000Ainstanceof\u000AObject") !== true) { >- testFailed('#6: ({})\\u000Ainstanceof\\u000AObject === true'); >-} >- >-//CHECK#7 >-if (eval("({})\u000Dinstanceof\u000DObject") !== true) { >- testFailed('#7: ({})\\u000Dinstanceof\\u000DObject === true'); >-} >- >-//CHECK#8 >-if (eval("({})\u2028instanceof\u2028Object") !== true) { >- testFailed('#8: ({})\\u2028instanceof\\u2028Object === true'); >-} >- >-//CHECK#9 >-if (eval("({})\u2029instanceof\u2029Object") !== true) { >- testFailed('#9: ({})\\u2029instanceof\\u2029Object === true'); >-} >- >-//CHECK#10 >-if (eval("({})\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029instanceof\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Object") !== true) { >- testFailed('#10: ({})\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029instanceof\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Object === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1-expected.txt >deleted file mode 100644 >index 083e906eaaf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.html >deleted file mode 100644 >index dd3b7160c17..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.6_A2.1_T1; >- * @section: 11.8.6; >- * @assertion: Operator "instanceof" uses GetValue; >- * @description: Either Expression is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (({}) instanceof Object !== true) { >- testFailed('#1: ({}) instanceof Object === true'); >-} >- >-//CHECK#2 >-var object = {}; >-if (object instanceof Object !== true) { >- testFailed('#2: var object = {}; object instanceof Object === true'); >-} >- >-//CHECK#3 >-var OBJECT = Object; >-if (({}) instanceof OBJECT !== true) { >- testFailed('#3: var OBJECT = Object; ({}) instanceof OBJECT === true'); >-} >- >-//CHECK#4 >-var object = {}; >-var OBJECT = Object; >-if (object instanceof OBJECT !== true) { >- testFailed('#4: var object = {}; var OBJECT = Object; object instanceof OBJECT === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2-expected.txt >deleted file mode 100644 >index 810d9809904..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.html >deleted file mode 100644 >index 6bbb8f2229e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A2.1_T2; >-* @section: 11.8.6; >-* @assertion: Operator "instanceof" uses GetValue; >-* @description: If GetBase(RelationalExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- object instanceof Object; >- testFailed('#1.1: object instanceof Object throw ReferenceError. Actual: ' + (object instanceof Object)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: object instanceof Object throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3-expected.txt >deleted file mode 100644 >index 4915e586744..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.html >deleted file mode 100644 >index da4b34adafb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A2.1_T3; >-* @section: 11.8.6; >-* @assertion: Operator "instanceof" uses GetValue; >-* @description: If GetBase(ShiftExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- ({}) instanceof OBJECT; >- testFailed('#1.1: ({}) instanceof OBJECT throw ReferenceError. Actual: ' + (({}) instanceof OBJECT)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: ({}) instanceof OBJECT throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1-expected.txt >deleted file mode 100644 >index 76e610002b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.html >deleted file mode 100644 >index 5187c89ae4a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.6_A2.4_T1; >- * @section: 11.8.6; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var OBJECT = 0; >-if ((OBJECT = Object, {}) instanceof OBJECT !== true) { >- testFailed('#1: var OBJECT = 0; (OBJECT = Object, {}) instanceof OBJECT === true'); >-} >- >-//CHECK#2 >-var object = {}; >-if (object instanceof (object = 0, Object) !== true) { >- testFailed('#2: var object = {}; object instanceof (object = 0, Object) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2-expected.txt >deleted file mode 100644 >index 9c7904d192a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.html >deleted file mode 100644 >index 168cc475417..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.6_A2.4_T2; >- * @section: 11.8.6; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() instanceof y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() instanceof y() throw "x". Actual: ' + (x() instanceof y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() instanceof y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3-expected.txt >deleted file mode 100644 >index c97083fbdfc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.html >deleted file mode 100644 >index 6b0853e3783..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.6_A2.4_T3; >- * @section: 11.8.6; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- object instanceof (object = {}, Object); >- testFailed('#1.1: object instanceof (object = {}, Object) throw ReferenceError. Actual: ' + (object instanceof (object = {}, Object))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: object instanceof (object = {}, Object) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((OBJECT = Object, {}) instanceof OBJECT !== true) { >- testFailed('#2: (OBJECT = Object, {}) instanceof OBJECT !== true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3-expected.txt >deleted file mode 100644 >index f6b46ce4852..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.html >deleted file mode 100644 >index 28dd5aef853..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A3; >-* @section: 11.8.6; >-* @assertion: If ShiftExpression is not an object, throw TypeError; >-* @description: Checking all the types of primitives; >-*/ >- >-//CHECK#1 >-try { >- true instanceof true; >- testFailed('#1: true instanceof true throw TypeError'); >-} >-catch (e) { >- if (e instanceof TypeError !== true) { >- testFailed('#1: true instanceof true throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- 1 instanceof 1; >- testFailed('#2: 1 instanceof 1 throw TypeError'); >-} >-catch (e) { >- if (e instanceof TypeError !== true) { >- testFailed('#2: 1 instanceof 1 throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- "string" instanceof "string"; >- testFailed('#3: "string" instanceof "string" throw TypeError'); >-} >-catch (e) { >- if (e instanceof TypeError !== true) { >- testFailed('#3: "string" instanceof "string" throw TypeError'); >- } >-} >- >-//CHECK#4 >-try { >- undefined instanceof undefined; >- testFailed('#4: undefined instanceof undefined throw TypeError'); >-} >-catch (e) { >- if (e instanceof TypeError !== true) { >- testFailed('#4: undefined instanceof undefined throw TypeError'); >- } >-} >- >-//CHECK#5 >-try { >- null instanceof null; >- testFailed('#5: null instanceof null throw TypeError'); >-} >-catch (e) { >- if (e instanceof TypeError !== true) { >- testFailed('#5: null instanceof null throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1-expected.txt >deleted file mode 100644 >index 3e3fdf146b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.html >deleted file mode 100644 >index 4cb331d2a5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A4_T1; >-* @section: 11.8.6; >-* @assertion: Only constructor call (with "new" keyword) makes instance; >-* @description: Checking Boolean case; >-*/ >- >-//CHECK#1 >-if (false instanceof Boolean) { >- testFailed('#1: false is not instanceof Boolean'); >-} >- >-//CHECK#2 >-if (Boolean(false) instanceof Boolean) { >- testFailed('#2: Boolean(false) is not instanceof Boolean'); >-} >- >-//CHECK#3 >-if (new Boolean instanceof Boolean !== true) { >- testFailed('#3: new Boolean instanceof Boolean'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2-expected.txt >deleted file mode 100644 >index cc2a9f53c06..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.html >deleted file mode 100644 >index 8b8e58bfe21..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A4_T2; >-* @section: 11.8.6; >-* @assertion: Only constructor call (with "new" keyword) makes instance; >-* @description: Checking Number case; >-*/ >- >-//CHECK#1 >-if (0 instanceof Number) { >- testFailed('#1: 0 is not instanceof Number'); >-} >- >-//CHECK#2 >-if (Number(0) instanceof Number) { >- testFailed('#2: Number(0) is not instanceof Number'); >-} >- >-//CHECK#3 >-if (new Number instanceof Number !== true) { >- testFailed('#3: new Number instanceof Number'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3-expected.txt >deleted file mode 100644 >index 38ca0006580..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.html >deleted file mode 100644 >index c7f2cb38b1a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A4_T3; >-* @section: 11.8.6; >-* @assertion: Only constructor call (with "new" keyword) makes instance; >-* @description: Checking String case; >-*/ >- >-//CHECK#1 >-if ("" instanceof String) { >- testFailed('#1: "" is not instanceof String'); >-} >- >-//CHECK#2 >-if (String("") instanceof String) { >- testFailed('#2: String("") is not instanceof String'); >-} >- >-//CHECK#3 >-if (new String instanceof String !== true) { >- testFailed('#3: new String instanceof String'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1-expected.txt >deleted file mode 100644 >index bd1f394f5fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.html >deleted file mode 100644 >index df9ad7a7426..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.html >+++ /dev/null >@@ -1,129 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A5_T1; >-* @section: 11.8.6; >-* @assertion: TypeError is subclass of Error from instanceof operator point of view; >-* @description: Checking Error case; >-*/ >- >-var __err = new Error; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__err instanceof Error)) { >- testFailed('#1: TypeError is subclass of Error from instanceof operator poit of view'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__err instanceof TypeError) { >- testFailed('#2: TypeError is subclass of Error from instanceof operator poit of view'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var err__ = Error('failed'); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (!(err__ instanceof Error)) { >- testFailed('#3: TypeError is subclass of Error from instanceof operator poit of view'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (err__ instanceof TypeError) { >- testFailed('#4: TypeError is subclass of Error from instanceof operator poit of view'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2-expected.txt >deleted file mode 100644 >index 210629feeea..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.html >deleted file mode 100644 >index 3875bc1ce61..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A5_T2; >-* @section: 11.8.6; >-* @assertion: TypeError is subclass of Error from instanceof operator point of view; >-* @description: Checking TypeError case; >-*/ >- >-var __t__err = new TypeError; >- >-//CHECK#1 >-if (!(__t__err instanceof Error)) { >- testFailed('#1: TypeError is subclass of Error from instanceof operator poit of view'); >-} >- >-//CHECK#2 >-if (!(__t__err instanceof TypeError)) { >- testFailed('#2: TypeError is subclass of Error from instanceof operator poit of view'); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-var err__t__ = TypeError('failed'); >- >-//CHECK#3 >-if (!(err__t__ instanceof Error)) { >- testFailed('#3: TypeError is subclass of Error from instanceof operator poit of view'); >-} >- >-//CHECK#4 >-if (!(err__t__ instanceof TypeError)) { >- testFailed('#4: TypeError is subclass of Error from instanceof operator poit of view'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1-expected.txt >deleted file mode 100644 >index cda8de7126f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.html >deleted file mode 100644 >index c9703dbbc13..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A6_T1; >-* @section: 11.8.6; >-* @assertion: Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently >-* @description: Checking "this" case; >-*/ >- >-//CHECK#1 >-try{ >- ({}) instanceof this; >- testFailed('#1: Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); >-} >-catch(e){ >- if (e instanceof TypeError !== true) { >- testFailed('#1: Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2-expected.txt >deleted file mode 100644 >index 1426a325fe2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.html >deleted file mode 100644 >index 81184824640..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A6_T2; >-* @section: 11.8.6; >-* @assertion: Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently; >-* @description: Checking Math case; >-*/ >- >-//CHECK#1 >-try{ >- 1 instanceof Math; >- testFailed('#1: 1 instanceof Math throw TypeError'); >-} >-catch(e){ >- if (e instanceof TypeError !== true) { >- testFailed('#1: 1 instanceof Math throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3-expected.txt >deleted file mode 100644 >index 02ff863d0fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A6_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.html >deleted file mode 100644 >index a1887fcc6f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A6_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A6_T3; >-* @section: 11.8.6; >-* @assertion: Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently; >-* @description: Checking if RelationalExpression is function; >-*/ >- >-function MyFunct(){return 0}; >- >-//CHECK#1 >-if (MyFunct instanceof MyFunct){ >- testFailed('#1 function MyFunct(){return 0}; MyFunct instanceof MyFunct === false'); >-} >- >-//CHECK#2 >-if (MyFunct instanceof Function !== true){ >- testFailed('#2 function MyFunct(){return 0}; MyFunct instanceof Function === true'); >-} >- >-//CHECK#3 >-if (MyFunct instanceof Object !== true){ >- testFailed('#3 function MyFunct(){return 0}; MyFunct instanceof Object === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4-expected.txt >deleted file mode 100644 >index 0687ce88e13..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A6_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.html >deleted file mode 100644 >index 7fc98283207..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A6_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A6_T4; >-* @section: 11.8.6; >-* @assertion: Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently; >-* @description: Checking if RelationalExpression is object; >-*/ >- >-MyFunct = function(){}; >-__my__funct = new MyFunct; >- >- >-//CHECK#1 >-if (!(__my__funct instanceof MyFunct)){ >- testFailed('#1 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); >-} >- >-//CHECK#2 >-if (__my__funct instanceof Function){ >- testFailed('#2 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); >-} >- >-//CHECK#3 >-if (!(__my__funct instanceof Object)){ >- testFailed('#3 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); >-} >- >-//CHECK#4 >-try{ >- __my__funct instanceof __my__funct; >- testFailed('#4 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); >-} >-catch(e){ >- if (e instanceof TypeError !== true) { >- testFailed('#4 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1-expected.txt >deleted file mode 100644 >index bcac17e8ca8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.html >deleted file mode 100644 >index fc8564de1e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A7_T1; >-* @section: 11.8.6; >-* @assertion: When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression; >-* @description: Checking Object object; >-*/ >- >-var __obj={}; >- >-//CHECK#1 >-if (!(__obj instanceof Object)) { >- testFailed('#1: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); >-} >- >-//CHECK#2 >-if (__obj.constructor !== Object) { >- testFailed('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2-expected.txt >deleted file mode 100644 >index bf398cd4628..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.html >deleted file mode 100644 >index 52f6a15d8dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A7_T2; >-* @section: 11.8.6; >-* @assertion: When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression; >-* @description: Checking Array object; >-*/ >- >-var __arr=[]; >- >-//CHECK#1 >-if (!(__arr instanceof Array)) { >- testFailed('#1: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); >-} >- >-//CHECK#2 >-if (__arr.constructor !== Array) { >- testFailed('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3-expected.txt >deleted file mode 100644 >index 5b9e2baa283..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.6_A7_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.html >deleted file mode 100644 >index bdad2eed558..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.6_A7_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.6_A7_T3; >-* @section: 11.8.6; >-* @assertion: When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression; >-* @description: Checking Function object; >-*/ >- >-var __func = new Function; >- >-//CHECK#1 >-if (!(__func instanceof Function)) { >- testFailed('#1: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); >-} >- >-//CHECK#2 >-if (__func.constructor !== Function) { >- testFailed('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1-expected.txt >deleted file mode 100644 >index bf45bcf5f8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.html >deleted file mode 100644 >index 353978025cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.7_A1; >-* @section: 11.8.7, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between RelationalExpression and "in" and between "in" and ShiftExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("'MAX_VALUE'\u0009in\u0009Number") !== true) { >- testFailed('#1: "MAX_VALUE"\\u0009in\\u0009Number === true'); >-} >- >-//CHECK#2 >-if (eval("'MAX_VALUE'\u000Bin\u000BNumber") !== true) { >- testFailed('#2: "MAX_VALUE"\\u000Bin\\u000BNumber === true'); >-} >- >-//CHECK#3 >-if (eval("'MAX_VALUE'\u000Cin\u000CNumber") !== true) { >- testFailed('#3: "MAX_VALUE"\\u000Cin\\u000CNumber === true'); >-} >- >-//CHECK#4 >-if (eval("'MAX_VALUE'\u0020in\u0020Number") !== true) { >- testFailed('#4: "MAX_VALUE"\\u0020in\\u0020Number === true'); >-} >- >-//CHECK#5 >-if (eval("'MAX_VALUE'\u00A0in\u00A0Number") !== true) { >- testFailed('#5: "MAX_VALUE"\\u00A0in\\u00A0Number === true'); >-} >- >-//CHECK#6 >-if (eval("'MAX_VALUE'\u000Ain\u000ANumber") !== true) { >- testFailed('#6: "MAX_VALUE"\\u000Ain\\u000ANumber === true'); >-} >- >-//CHECK#7 >-if (eval("'MAX_VALUE'\u000Din\u000DNumber") !== true) { >- testFailed('#7: "MAX_VALUE"\\u000Din\\u000DNumber === true'); >-} >- >-//CHECK#8 >-if (eval("'MAX_VALUE'\u2028in\u2028Number") !== true) { >- testFailed('#8: "MAX_VALUE"\\u2028in\\u2028Number === true'); >-} >- >-//CHECK#9 >-if (eval("'MAX_VALUE'\u2029in\u2029Number") !== true) { >- testFailed('#9: "MAX_VALUE"\\u2029in\\u2029Number === true'); >-} >- >-//CHECK#10 >-if (eval("'MAX_VALUE'\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029in\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Number") !== true) { >- testFailed('#10: "MAX_VALUE"\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029in\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Number === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1-expected.txt >deleted file mode 100644 >index 212df1bf5c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.html >deleted file mode 100644 >index 4f8961d1dca..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.7_A2.1_T1; >- * @section: 11.8.7; >- * @assertion: Operator "in" uses GetValue; >- * @description: Either Expression is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ("MAX_VALUE" in Number !== true) { >- testFailed('#1: "MAX_VALUE" in Number === true'); >-} >- >-//CHECK#2 >-var x = "MAX_VALUE"; >-if (x in Number !== true) { >- testFailed('#2: var x = "MAX_VALUE"; x in Number === true'); >-} >- >-//CHECK#3 >-var y = Number; >-if ("MAX_VALUE" in y !== true) { >- testFailed('#3: var y = Number; "MAX_VALUE" in y === true'); >-} >- >-//CHECK#4 >-var x = "MAX_VALUE"; >-var y = Number; >-if (x in y !== true) { >- testFailed('#4: var x = "MAX_VALUE"; var y = Number; x in y === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2-expected.txt >deleted file mode 100644 >index 658cf0d2b0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.html >deleted file mode 100644 >index 334d3eaadd4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.7_A2.1_T2; >-* @section: 11.8.7; >-* @assertion: Operator "in" uses GetValue; >-* @description: If GetBase(RelationalExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- MAX_VALUE in Number; >- testFailed('#1.1: MAX_VALUE in Number throw ReferenceError. Actual: ' + (MAX_VALUE in Number)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: MAX_VALUE in Number throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3-expected.txt >deleted file mode 100644 >index 01c39d29cbc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.html >deleted file mode 100644 >index ddaef94ac25..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.7_A2.1_T3; >-* @section: 11.8.7; >-* @assertion: Operator "in" uses GetValue; >-* @description: If GetBase(ShiftExpression) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- "MAX_VALUE" in NUMBER; >- testFailed('#1.1: "MAX_VALUE" in NUMBER throw ReferenceError. Actual: ' + ("MAX_VALUE" in NUMBER)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: "MAX_VALUE" in NUMBER throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1-expected.txt >deleted file mode 100644 >index 187d01c6289..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.html >deleted file mode 100644 >index 373bda1b0fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.7_A2.4_T1; >- * @section: 11.8.7; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var NUMBER = 0; >-if ((NUMBER = Number, "MAX_VALUE") in NUMBER !== true) { >- testFailed('#1: var NUMBER = 0; (NUMBER = Number, "MAX_VALUE") in NUMBER === true'); >-} >- >-//CHECK#2 >-var max_value = "MAX_VALUE"; >-if (max_value in (max_value = "none", Number) !== true) { >- testFailed('#2: var max_value = "MAX_VALUE"; max_value in (max_value = "none", Number) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2-expected.txt >deleted file mode 100644 >index ec99637ec1c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.html >deleted file mode 100644 >index 0c1077de863..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.7_A2.4_T2; >- * @section: 11.8.7; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() in y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() in y() throw "x". Actual: ' + (x() in y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() in y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3-expected.txt >deleted file mode 100644 >index e28b8c420d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.html >deleted file mode 100644 >index 2fe49da093c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.8.7_A2.4_T3; >- * @section: 11.8.7; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- max_value in (max_value = "MAX_VALUE", Number); >- testFailed('#1.1: max_value in (max_value = "MAX_VALUE", Number) throw ReferenceError. Actual: ' + (max_value in (max_value = "MAX_VALUE", Number))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: max_value in (max_value = "MAX_VALUE", Number) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((NUMBER = Number, "MAX_VALUE") in NUMBER !== true) { >- testFailed('#2: (NUMBER = Number, "MAX_VALUE") in NUMBER !== true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3-expected.txt >deleted file mode 100644 >index 236e005fdf9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.html >deleted file mode 100644 >index dd2182ed951..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.7_A3; >-* @section: 11.8.7; >-* @assertion: If ShiftExpression is not an object, throw TypeError; >-* @description: Checking all the types of primitives; >-*/ >- >-//CHECK#1 >-try { >- "toString" in true; >- testFailed('#1: "toString" in true throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#1: "toString" in true throw TypeError'); >- } >-} >- >-//CHECK#2 >-try { >- "MAX_VALUE" in 1; >- testFailed('#2: "MAX_VALUE" in 1 throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#2: "MAX_VALUE" in 1 throw TypeError'); >- } >-} >- >-//CHECK#3 >-try { >- "length" in "string"; >- testFailed('#3: "length" in "string" throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#3: "length" in "string" throw TypeError'); >- } >-} >- >-//CHECK#4 >-try { >- "toString" in undefined; >- testFailed('#4: "toString" in undefined throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#4: "toString" in undefined throw TypeError'); >- } >-} >- >-//CHECK#5 >-try { >- "toString" in null; >- testFailed('#5: "toString" in null throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#5: "toString" in null throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4-expected.txt >deleted file mode 100644 >index e6c8cb81895..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.8.7_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.html >deleted file mode 100644 >index 33e2e786940..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.8.7_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.8.7_A4; >-* @section: 11.8.7, 9.8; >-* @assertion: Operator "in" calls ToString(ShiftExpression); >-* @description: Checking ToString coversion;; >-*/ >- >-//CHECK#1 >-var object = {}; >-object["true"] = 1; >-if (true in object !== "true" in object) { >- testFailed('#1: "var object = {}; object["true"] = 1; true in object === "true" in object'); >-} >- >-//CHECK#2 >-var object = {}; >-object.Infinity = 1; >-if (Infinity in object !== "Infinity" in object) { >- testFailed('#2: "var object = {}; object.Infinity = 1; Infinity in object === "Infinity" in object'); >-} >- >-//CHECK#4 >-var object = {}; >-object.undefined = 1; >-if (undefined in object !== "undefined" in object) { >- testFailed('#4: "var object = {}; object.undefined = 1; undefined in object === "undefined" in object'); >-} >- >-//CHECK#5 >-var object = {}; >-object["null"] = 1; >-if (null in object !== "null" in object) { >- testFailed('#5: "var object = {}; object["null"] = 1; null in object === "null" in object'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1-expected.txt >deleted file mode 100644 >index eb5a437ba3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.html >deleted file mode 100644 >index 80da0fa083e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.9.1_A1; >-* @section: 11.9.1, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between EqualityExpression and "==" or between "==" and RelationalExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("true\u0009==\u00091") !== true) { >- testFailed('#1: (true\\u0009==\\u00091) === true'); >-} >- >-//CHECK#2 >-if (eval("true\u000B==\u000B1") !== true) { >- testFailed('#2: (true\\u000B==\\u000B1) === true'); >-} >- >-//CHECK#3 >-if (eval("true\u000C==\u000C1") !== true) { >- testFailed('#3: (true\\u000C==\\u000C1) === true'); >-} >- >-//CHECK#4 >-if (eval("true\u0020==\u00201") !== true) { >- testFailed('#4: (true\\u0020==\\u00201) === true'); >-} >- >-//CHECK#5 >-if (eval("true\u00A0==\u00A01") !== true) { >- testFailed('#5: (true\\u00A0==\\u00A01) === true'); >-} >- >-//CHECK#6 >-if (eval("true\u000A==\u000A1") !== true) { >- testFailed('#6: (true\\u000A==\\u000A1) === true'); >-} >- >-//CHECK#7 >-if (eval("true\u000D==\u000D1") !== true) { >- testFailed('#7: (true\\u000D==\\u000D1) === true'); >-} >- >-//CHECK#8 >-if (eval("true\u2028==\u20281") !== true) { >- testFailed('#8: (true\\u2028==\\u20281) === true'); >-} >- >-//CHECK#9 >-if (eval("true\u2029==\u20291") !== true) { >- testFailed('#9: (true\\u2029==\\u20291) === true'); >-} >- >-//CHECK#10 >-if (eval("true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029==\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) { >- testFailed('#10: (true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029==\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1-expected.txt >deleted file mode 100644 >index 2784d499cf5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.html >deleted file mode 100644 >index fadacfa0321..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A2.1_T1; >- * @section: 11.9.1; >- * @assertion: Operator x == y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((1 == 1) !== true) { >- testFailed('#1: (1 == 1) === true'); >-} >- >-//CHECK#2 >-var x = 1; >-if ((x == 1) !== true) { >- testFailed('#2: var x = 1; (x == 1) === true'); >-} >- >-//CHECK#3 >-var y = 1; >-if ((1 == y) !== true) { >- testFailed('#3: var y = 1; (1 == y) === true'); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if ((x == y) !== true) { >- testFailed('#4: var x = 1; var y = 1; (x == y) === true'); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if ((objectx.prop == objecty.prop) !== true) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop == objecty.prop) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2-expected.txt >deleted file mode 100644 >index f4aaa19b07e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.html >deleted file mode 100644 >index 358e19e9ee5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A2.1_T2; >- * @section: 11.9.1; >- * @assertion: Operator x == y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x == 1; >- testFailed('#1.1: x == 1 throw ReferenceError. Actual: ' + (x == 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x == 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3-expected.txt >deleted file mode 100644 >index 663a9830a89..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.html >deleted file mode 100644 >index 7798f743626..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A2.1_T3; >- * @section: 11.9.1; >- * @assertion: Operator x == y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 == y; >- testFailed('#1.1: 1 == y throw ReferenceError. Actual: ' + (1 == y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 == y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1-expected.txt >deleted file mode 100644 >index eae71827b56..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.html >deleted file mode 100644 >index b0c4bab091e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A2.4_T1; >- * @section: 11.9.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if (((x = 1) == x) !== true) { >- testFailed('#1: var x = 0; ((x = 1) == x) === true'); >-} >- >-//CHECK#2 >-var x = 0; >-if ((x == (x = 1)) !== false) { >- testFailed('#2: var x = 0; (x == (x = 1)) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2-expected.txt >deleted file mode 100644 >index 529a4e7b1d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.html >deleted file mode 100644 >index fd1ba361bfc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A2.4_T2; >- * @section: 11.9.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() == y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() == y() throw "x". Actual: ' + (x() == y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() == y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3-expected.txt >deleted file mode 100644 >index 13699bf8b95..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.html >deleted file mode 100644 >index 40b74e0191f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A2.4_T3; >- * @section: 11.9.1; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x == (x = 1); >- testFailed('#1.1: x == (x = 1) throw ReferenceError. Actual: ' + (x == (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x == (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if (((y = 1) == y) !== true) { >- testFailed('#2: ((y = 1) == y) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1-expected.txt >deleted file mode 100644 >index 9e93bc37da4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A3.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.html >deleted file mode 100644 >index f8213e470b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A3.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A3.1; >- * @section: 11.9.1, 11.9.3; >- * @assertion: Return true, if x and y are both true or both false; otherwise, return false; >- * @description: x and y are boolean primitives; >- */ >- >-//CHECK#1 >-if ((true == true) !== true) { >- testFailed('#1: (true == true) === true'); >-} >- >-//CHECK#2 >-if ((false == false) !== true) { >- testFailed('#2: (false == false) === true'); >-} >- >-//CHECK#3 >-if ((true == false) !== false) { >- testFailed('#3: (true == false) === false'); >-} >- >-//CHECK#4 >-if ((false == true) !== false) { >- testFailed('#4: (false == true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2-expected.txt >deleted file mode 100644 >index 221a078d71e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A3.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.html >deleted file mode 100644 >index 3675f63477b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A3.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A3.2; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is Boolean and Type(y) is Number, >- * return the result of comparison ToNumber(x) == y; >- * @description: x is primitive boolean, y is primitive number; >- */ >- >-//CHECK#1 >-if ((true == 1) !== true) { >- testFailed('#1: (true == 1) === true'); >-} >- >-//CHECK#2 >-if ((false == "0") !== true) { >- testFailed('#2: (false == "0") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3-expected.txt >deleted file mode 100644 >index 3d9f59868fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A3.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.html >deleted file mode 100644 >index ad2cc411257..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A3.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A3.3; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(y) is Number and Type(y) is Boolean, >- * return the result of comparison x == ToNumber(y); >- * @description: x is primitive number, y is primitive boolean; >- */ >- >-//CHECK#1 >-if ((0 == false) !== true) { >- testFailed('#1: (0 == false) === true'); >-} >- >-//CHECK#2 >-if (("1" == true) !== true) { >- testFailed('#2: ("1" == true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1-expected.txt >deleted file mode 100644 >index 3b6a95099b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.html >deleted file mode 100644 >index e0cc54fd820..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A4.1_T1; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If x or y is NaN, return false; >- * @description: x is NaN; >-*/ >- >-//CHECK#1 >-if ((Number.NaN == true) !== false) { >- testFailed('#1: (NaN == true) === false'); >-} >- >-//CHECK#2 >-if ((Number.NaN == 1) !== false) { >- testFailed('#2: (NaN == 1) === false'); >-} >- >-//CHECK#3 >-if ((Number.NaN == Number.NaN) !== false) { >- testFailed('#3: (NaN == NaN) === false'); >-} >- >-//CHECK#4 >-if ((Number.NaN == Number.POSITIVE_INFINITY) !== false) { >- testFailed('#4: (NaN == +Infinity) === false'); >-} >- >-//CHECK#5 >-if ((Number.NaN == Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#5: (NaN == -Infinity) === false'); >-} >- >-//CHECK#6 >-if ((Number.NaN == Number.MAX_VALUE) !== false) { >- testFailed('#6: (NaN == Number.MAX_VALUE) === false'); >-} >- >-//CHECK#7 >-if ((Number.NaN == Number.MIN_VALUE) !== false) { >- testFailed('#7: (NaN == Number.MIN_VALUE) === false'); >-} >- >-//CHECK#8 >-if ((Number.NaN == "string") !== false) { >- testFailed('#8: (NaN == "string") === false'); >-} >- >-//CHECK#9 >-if ((Number.NaN == new Object()) !== false) { >- testFailed('#9: (NaN == new Object()) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2-expected.txt >deleted file mode 100644 >index f4d93f38f18..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.html >deleted file mode 100644 >index f49e8c15f8a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A4.1_T2; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If x or y is NaN, return false; >- * @description: y is NaN; >-*/ >- >-//CHECK#1 >-if ((true == Number.NaN) !== false) { >- testFailed('#1: (true == NaN) === false'); >-} >- >-//CHECK#2 >-if ((-1 == Number.NaN) !== false) { >- testFailed('#2: (-1 == NaN) === false'); >-} >- >-//CHECK#3 >-if ((Number.NaN == Number.NaN) !== false) { >- testFailed('#3: (NaN == NaN) === false'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY == Number.NaN) !== false) { >- testFailed('#4: (+Infinity == NaN) === false'); >-} >- >-//CHECK#5 >-if ((Number.NEGATIVE_INFINITY == Number.NaN) !== false) { >- testFailed('#5: (-Infinity == NaN) === false'); >-} >- >-//CHECK#6 >-if ((Number.MAX_VALUE == Number.NaN) !== false) { >- testFailed('#6: (Number.MAX_VALUE == NaN) === false'); >-} >- >-//CHECK#7 >-if ((Number.MIN_VALUE == Number.NaN) !== false) { >- testFailed('#7: (Number.MIN_VALUE == NaN) === false'); >-} >- >-//CHECK#8 >-if (("string" == Number.NaN) !== false) { >- testFailed('#8: ("string" == NaN) === false'); >-} >- >-//CHECK#9 >-if ((new Object() == Number.NaN) !== false) { >- testFailed('#9: (new Object() == NaN) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2-expected.txt >deleted file mode 100644 >index 90c04872ae2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.html >deleted file mode 100644 >index 2aac4e1077f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A4.2; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If x is +0(-0) and y is -0(+0), return true; >- * @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if ((+0 == -0) !== true) { >- testFailed('#1: (+0 == -0) === true'); >-} >- >-//CHECK#2 >-if ((-0 == +0) !== true) { >- testFailed('#2: (-0 == +0) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3-expected.txt >deleted file mode 100644 >index 1527174705e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.html >deleted file mode 100644 >index 1b65b3b4f6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A4.3; >- * @section: 11.9.1, 11.9.3; >- * @assertion: Type(x) and Type(y) are Number-s minus NaN, +0, -0. >- * Return true, if x is the same number value as y; otherwise, return false; >- * @description: x and y are primitive numbers; >-*/ >- >-//CHECK#1 >-if ((Number.POSITIVE_INFINITY == Number.POSITIVE_INFINITY) !== true) { >- testFailed('#1: (+Infinity == +Infinity) === true'); >-} >- >-//CHECK#2 >-if ((Number.NEGATIVE_INFINITY == Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#2: (-Infinity == -Infinity) === true'); >-} >- >-//CHECK#3 >-if ((Number.POSITIVE_INFINITY == -Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#3: (+Infinity == -(-Infinity)) === true'); >-} >- >-//CHECK#4 >-if ((1 == 0.999999999999) !== false) { >- testFailed('#4: (1 == 0.999999999999) === false'); >-} >- >-//CHECK#5 >-if ((1.0 == 1) !== true) { >- testFailed('#5: (1.0 == 1) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1-expected.txt >deleted file mode 100644 >index 6406126907d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A5.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.html >deleted file mode 100644 >index 4999c97eafd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A5.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A5.1; >- * @section: 11.9.1, 11.9.3; >- * @assertion: Type(x) and Type(y) are String-s. >- * Return true, if x and y are exactly the same sequence of characters; otherwise, return false; >- * @description: x and y are primitive string; >- */ >- >-//CHECK#1 >-if (("" == "") !== true) { >- testFailed('#1: ("" == "") === true'); >-} >- >-//CHECK#2 >-if ((" " == " ") !== true) { >- testFailed('#2: " (" == " ") === true'); >-} >- >-//CHECK#3 >-if ((" " == "") !== false) { >- testFailed('#3: " (" == "") === false'); >-} >- >-//CHECK#4 >-if (("string" == "string") !== true) { >- testFailed('#4: ("string" == "string") === true'); >-} >- >-//CHECK#5 >-if ((" string" == "string ") !== false) { >- testFailed('#5: (" string" == "string ") === false'); >-} >- >-//CHECK#6 >-if (("1.0" == "1") !== false) { >- testFailed('#6: ("1.0" == "1") === false'); >-} >- >-//CHECK#7 >-if (("0xff" == "255") !== false) { >- testFailed('#7: ("0xff" == "255") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2-expected.txt >deleted file mode 100644 >index e6215274d17..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A5.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.html >deleted file mode 100644 >index cd06642228a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A5.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A5.2; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is Number and Type(y) is String, >- * return the result of comparison x == ToNumber(y); >- * @description: x is primitive number, y is primitive string; >- */ >- >-//CHECK#1 >-if ((1 == "1") !== true) { >- testFailed('#1: (1 == "1") === true'); >-} >- >-//CHECK#2 >-if ((1.100 == "+1.10") !== true) { >- testFailed('#2: (1.100 == "+1.10") === true'); >-} >- >-//CHECK#3 >-if ((1 == "true") !== false) { >- testFailed('#3: (1 == "true") === false'); >-} >- >-//CHECK#4 >-if ((255 == "0xff") !== true) { >- testFailed('#4: (255 == "0xff") === true'); >-} >- >-//CHECK#5 >-if ((0 == "") !== true) { >- testFailed('#5: (0 == "") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3-expected.txt >deleted file mode 100644 >index a6c9776cd7e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A5.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.html >deleted file mode 100644 >index 035a7e7cd1a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A5.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A5.3; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is String and Type(y) is Number, >- * return the result of comparison ToNumber(x) == y; >- * @description: x is primitive string, y is primitive number; >- */ >- >-//CHECK#1 >-if (("-1" == -1) !== true) { >- testFailed('#1: ("-1" == -1) === true'); >-} >- >-//CHECK#2 >-if (("-1.100" == -1.10) !== true) { >- testFailed('#2: ("-1.100" == -1.10) === true'); >-} >- >-//CHECK#3 >-if (("false" == 0) !== false) { >- testFailed('#3: ("false" == 0) === false'); >-} >- >-//CHECK#4 >-if (("5e-324" == 5e-324) !== true) { >- testFailed('#4: ("5e-324" == 5e-324) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1-expected.txt >deleted file mode 100644 >index 5c80d948042..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A6.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.html >deleted file mode 100644 >index 2c451f6fbef..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A6.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A6.1; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) as well as Type(y) is undefined or null, return true; >- * @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if ((undefined == undefined) !== true) { >- testFailed('#1: (undefined == undefined) === true'); >-} >- >-//CHECK#2 >-if ((void 0 == undefined) !== true) { >- testFailed('#2: (void 0 == undefined) === true'); >-} >- >-//CHECK#3 >-if ((undefined == eval("var x")) !== true) { >- testFailed('#3: (undefined == eval("var x")) === true'); >-} >- >-//CHECK#4 >-if ((undefined == null) !== true) { >- testFailed('#4: (undefined == null) === true'); >-} >- >-//CHECK#5 >-if ((null == void 0) !== true) { >- testFailed('#5: (null == void 0) === true'); >-} >- >-//CHECK#6 >-if ((null == null) !== true) { >- testFailed('#6: (null == null) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1-expected.txt >deleted file mode 100644 >index 4a18832abc5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A6.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.html >deleted file mode 100644 >index 9188a04c300..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A6.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A6.2_T1; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If one expression is undefined or null and another is not, return false; >- * @description: x is null or undefined, y is not; >-*/ >- >-//CHECK#1 >-if ((undefined == true) !== false) { >- testFailed('#1: (undefined == true) === false'); >-} >- >-//CHECK#2 >-if ((undefined == 0) !== false) { >- testFailed('#2: (undefined == 0) === false'); >-} >- >-//CHECK#3 >-if ((undefined == "undefined") !== false) { >- testFailed('#3: (undefined == "undefined") === false'); >-} >- >-//CHECK#4 >-if ((undefined == {}) !== false) { >- testFailed('#4: (undefined == {}) === false'); >-} >- >-//CHECK#5 >-if ((null == false) !== false) { >- testFailed('#5: (null == false) === false'); >-} >- >-//CHECK#6 >-if ((null == 0) !== false) { >- testFailed('#6: (null == 0) === false'); >-} >- >-//CHECK#7 >-if ((null == "null") !== false) { >- testFailed('#7: (null == "null") === false'); >-} >- >-//CHECK#8 >-if ((null == {}) !== false) { >- testFailed('#8: (null == {}) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2-expected.txt >deleted file mode 100644 >index dbd185298d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A6.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.html >deleted file mode 100644 >index d1877bacfb5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A6.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A6.2_T2; >- * @section: 11.9.1, 11.9.3; >-* @assertion: If one expression is undefined or null and another is not, return false; >- * @description: y is null or undefined, x is not; >-*/ >- >-//CHECK#1 >-if ((false == undefined) !== false) { >- testFailed('#1: (false == undefined) === false'); >-} >- >-//CHECK#2 >-if ((Number.NaN == undefined) !== false) { >- testFailed('#2: (Number.NaN == undefined) === false'); >-} >- >-//CHECK#3 >-if (("undefined" == undefined) !== false) { >- testFailed('#3: ("undefined" == undefined) === false'); >-} >- >-//CHECK#4 >-if (({} == undefined) !== false) { >- testFailed('#4: ({} == undefined) === false'); >-} >- >-//CHECK#5 >-if ((false == null) !== false) { >- testFailed('#5: (false == null) === false'); >-} >- >-//CHECK#6 >-if ((0 == null) !== false) { >- testFailed('#6: (0 == null) === false'); >-} >- >-//CHECK#7 >-if (("null" == null) !== false) { >- testFailed('#7: ("null" == null) === false'); >-} >- >-//CHECK#8 >-if (({} == null) !== false) { >- testFailed('#8: ({} == null) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1-expected.txt >deleted file mode 100644 >index 3fb369b9861..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.html >deleted file mode 100644 >index c63f3d56a18..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.1; >- * @section: 11.9.1, 11.9.3; >- * @assertion: Type(x) and Type(y) are Object-s. >- * Return true, if x and y are references to the same Object; otherwise, return false; >- * @description: Checking Boolean object, Number object, String object, Object object; >- */ >- >-//CHECK#1 >-if ((new Boolean(true) == new Boolean(true)) !== false) { >- testFailed('#1: (new Boolean(true) == new Boolean(true)) === false'); >-} >- >-//CHECK#2 >-if ((new Number(1) == new Number(1)) !== false) { >- testFailed('#2: (new Number(1) == new Number(1)) === false'); >-} >- >-//CHECK#3 >-if ((new String("x") == new String("x")) !== false) { >- testFailed('#3: (new String("x") == new String("x")) === false'); >-} >- >-//CHECK#4 >-if ((new Object() == new Object()) !== false) { >- testFailed('#4: (new Object() == new Object()) === false'); >-} >- >-//CHECK#5 >-x = {}; >-y = x; >-if ((x == y) !== true) { >- testFailed('#5: x = {}; y = x; (x == y) === true'); >-} >- >-//CHECK#6 >-if ((new Boolean(true) == new Number(1)) !== false) { >- testFailed('#6 (new Boolean(true) == new Number(1)) === false'); >-} >- >-//CHECK#7 >-if ((new Number(1) == new String("1")) !== false) { >- testFailed('#7: (new Number(1) == new String("1")) === false'); >-} >- >-//CHECK#8 >-if ((new String("1") == new Boolean(true)) !== false) { >- testFailed('#8: (new String("x") == new Boolean(true)) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2-expected.txt >deleted file mode 100644 >index ad69c37cde5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.html >deleted file mode 100644 >index c87b4504539..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.2; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is Object and Type(y) is Boolean, >- * return ToPrimitive(x) == y; >- * @description: x is object, y is primitive boolean; >-*/ >- >-//CHECK#1 >-if ((new Boolean(true) == true) !== true) { >- testFailed('#1: (new Boolean(true) == true) === true'); >-} >- >-//CHECK#2 >-if ((new Number(1) == true) !== true) { >- testFailed('#2: (new Number(1) == true) === true'); >-} >- >-//CHECK#3 >-if ((new String("1") == true) !== true) { >- testFailed('#3: (new String("1") == true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3-expected.txt >deleted file mode 100644 >index 6c30b279ef7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.html >deleted file mode 100644 >index e3e53bfbecf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.3; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is Boolean and Type(y) is Object, >- * return x == ToPrimitive(y); >- * @description: y is object, x is primitive boolean; >- */ >- >-//CHECK#1 >-if ((true == new Boolean(true)) !== true) { >- testFailed('#1: (true == new Boolean(true)) === true'); >-} >- >-//CHECK#2 >-if ((true == new Number(1)) !== true) { >- testFailed('#2: (true == new Number(1)) === true'); >-} >- >-//CHECK#3 >-if ((true == new String("+1")) !== true) { >- testFailed('#3: (true == new String("+1")) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4-expected.txt >deleted file mode 100644 >index 6d501c88a29..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.html >deleted file mode 100644 >index a3497e1ca79..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.4; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is Object and Type(y) is Number, >- * return ToPrimitive(x) == y; >- * @description: x is object, y is primitive number; >-*/ >- >-//CHECK#1 >-if ((new Boolean(true) == 1) !== true) { >- testFailed('#1: (new Boolean(true) == 1) === true'); >-} >- >-//CHECK#2 >-if ((new Number(-1) == -1) !== true) { >- testFailed('#2: (new Number(-1) == -1) === true'); >-} >- >-//CHECK#3 >-if ((new String("-1") == -1) !== true) { >- testFailed('#3: (new String("-1") == -1) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5-expected.txt >deleted file mode 100644 >index a543fc721b9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.html >deleted file mode 100644 >index 58c3c2b20b7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.5; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is Number and Type(y) is Object, >- * return x == ToPrimitive(y); >- * @description: y is object, x is primitive number; >- */ >- >-//CHECK#1 >-if ((1 == new Boolean(true)) !== true) { >- testFailed('#1: (1 == new Boolean(true)) === true'); >-} >- >-//CHECK#2 >-if ((-1 == new Number(-1)) !== true) { >- testFailed('#2: (-1 == new Number(-1)) === true'); >-} >- >-//CHECK#3 >-if ((-1 == new String("-1")) !== true) { >- testFailed('#3: (-1 == new String("-1")) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6-expected.txt >deleted file mode 100644 >index e005121a197..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.html >deleted file mode 100644 >index 6b394e7ec63..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.6; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is Object and Type(y) is String, >- * return ToPrimitive(x) == y; >- * @description: x is object, y is primitive string; >- */ >- >-//CHECK#1 >-if ((new Boolean(true) == "1") !== true) { >- testFailed('#1: (new Boolean(true) == "1") === true'); >-} >- >-//CHECK#2 >-if ((new Number(-1) == "-1") !== true) { >- testFailed('#2: (new Number(-1) == "-1") === true'); >-} >- >-//CHECK#3 >-if ((new String("x") == "x") !== true) { >- testFailed('#3: (new String("x") == "x") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7-expected.txt >deleted file mode 100644 >index d53b2539c31..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.html >deleted file mode 100644 >index 7f927fadeee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.7; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is String and Type(y) is Object, >- * return x == ToPrimitive(y); >- * @description: y is object, x is primitive string; >- */ >- >-//CHECK#1 >-if (("1" == new Boolean(true)) !== true) { >- testFailed('#1: ("1" == new Boolean(true)) === true'); >-} >- >-//CHECK#2 >-if (("-1" == new Number(-1)) !== true) { >- testFailed('#2: ("-1" == new Number(-1)) === true'); >-} >- >-//CHECK#3 >-if (("x" == new String("x")) !== true) { >- testFailed('#3: ("x" == new String("x")) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8-expected.txt >deleted file mode 100644 >index f6132f81466..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.html >deleted file mode 100644 >index b9863e8a994..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.html >+++ /dev/null >@@ -1,158 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.8; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is Object and Type(y) is primitive type, >- * return ToPrimitive(x) == y; >- * @description: x is object, y is primtitive; >- */ >- >-//CHECK#1 >-if (({valueOf: function() {return 1}} == true) !== true) { >- testFailed('#1: ({valueOf: function() {return 1}} == true) === true'); >-} >- >-//CHECK#2 >-if (({valueOf: function() {return 1}, toString: function() {return 0}} == 1) !== true) { >- testFailed('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} == 1) === true'); >-} >- >-//CHECK#3 >-if (({valueOf: function() {return 1}, toString: function() {return {}}} == "+1") !== true) { >- testFailed('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} == "+1") === true'); >-} >- >-//CHECK#4 >-try { >- if (({valueOf: function() {return "+1"}, toString: function() {throw "error"}} == true) !== true) { >- testFailed('#4.1: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} == true) === true'); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} == true) not throw "error"'); >- } else { >- testFailed('#4.3: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} == true) not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (({toString: function() {return "+1"}} == 1) !== true) { >- testFailed('#5: ({toString: function() {return "+1"}} == 1) === true'); >-} >- >-//CHECK#6 >-if (({valueOf: function() {return {}}, toString: function() {return "+1"}} == "1") !== false) { >- testFailed('#6.1: ({valueOf: function() {return {}}, toString: function() {return "+1"}} == "1") === false'); >-} else { >- if (({valueOf: function() {return {}}, toString: function() {return "+1"}} == "+1") !== true) { >- testFailed('#6.2: ({valueOf: function() {return {}}, toString: function() {return "+1"}} == "+1") === true'); >- } >-} >- >-//CHECK#7 >-try { >- ({valueOf: function() {throw "error"}, toString: function() {return 1}} == 1); >- testFailed('#7.1: ({valueOf: function() {throw "error"}, toString: function() {return 1}} == 1) throw "error". Actual: ' + (({valueOf: function() {throw "error"}, toString: function() {return 1}} == 1))); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: ({valueOf: function() {throw "error"}, toString: function() {return 1}} == 1) throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- ({valueOf: function() {return {}}, toString: function() {return {}}} == 1); >- testFailed('#8.1: ({valueOf: function() {return {}}, toString: function() {return {}}} == 1) throw TypeError. Actual: ' + (({valueOf: function() {return {}}, toString: function() {return {}}} == 1))); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: ({valueOf: function() {return {}}, toString: function() {return {}}} == 1) throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9-expected.txt >deleted file mode 100644 >index 8b06e43d11c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.1_A7.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.html >deleted file mode 100644 >index c0e70fd2cd3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.html >+++ /dev/null >@@ -1,158 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.1_A7.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.1_A7.9; >- * @section: 11.9.1, 11.9.3; >- * @assertion: If Type(x) is primitive type and Type(y) is Object, >- * return x == ToPrimitive(y); >- * @description: y is object, x is primtitive; >- */ >- >-//CHECK#1 >-if ((true == {valueOf: function() {return 1}}) !== true) { >- testFailed('#1: (true == {valueOf: function() {return 1}}) === true'); >-} >- >-//CHECK#2 >-if ((1 == {valueOf: function() {return 1}, toString: function() {return 0}}) !== true) { >- testFailed('#2: (1 == {valueOf: function() {return 1}, toString: function() {return 0}}) === true'); >-} >- >-//CHECK#3 >-if (("+1" == {valueOf: function() {return 1}, toString: function() {return {}}}) !== true) { >- testFailed('#3: ("+1" == {valueOf: function() {return 1}, toString: function() {return {}}}) === true'); >-} >- >-//CHECK#4 >-try { >- if ((true == {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) !== true) { >- testFailed('#4.1: (true == {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) === true'); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: (true == {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) not throw "error"'); >- } else { >- testFailed('#4.3: (true == {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if ((1 == {toString: function() {return "+1"}}) !== true) { >- testFailed('#5: (1 == {toString: function() {return "+1"}}) === true'); >-} >- >-//CHECK#6 >-if (("1" == {valueOf: function() {return {}}, toString: function() {return "+1"}}) !== false) { >- testFailed('#6.1: ("1" == {valueOf: function() {return {}}, toString: function() {return "+1"}}) === false'); >-} else { >- if (("+1" == {valueOf: function() {return {}}, toString: function() {return "+1"}}) !== true) { >- testFailed('#6.2: ("+1" == {valueOf: function() {return {}}, toString: function() {return "+1"}}) === true'); >- } >-} >- >-//CHECK#7 >-try { >- (1 == {valueOf: function() {throw "error"}, toString: function() {return 1}}); >- testFailed('#7.1: (1 == {valueOf: function() {throw "error"}, toString: function() {return 1}}) throw "error". Actual: ' + ((1 == {valueOf: function() {throw "error"}, toString: function() {return 1}}))); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: (1 == {valueOf: function() {throw "error"}, toString: function() {return 1}}) throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- (1 == {valueOf: function() {return {}}, toString: function() {return {}}}); >- testFailed('#8.1: (1 == {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError. Actual: ' + ((1 == {valueOf: function() {return {}}, toString: function() {return {}}}))); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: (1 == {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1-expected.txt >deleted file mode 100644 >index 0bd53cfbabf..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.html >deleted file mode 100644 >index c5549ddf4e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.9.2_A1; >-* @section: 11.9.2, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between EqualityExpression and "!=" or between "!=" and RelationalExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("true\u0009!=\u00091") !== false) { >- testFailed('#1: (true\\u0009!=\\u00091) === false'); >-} >- >-//CHECK#2 >-if (eval("true\u000B!=\u000B1") !== false) { >- testFailed('#2: (true\\u000B!=\\u000B1) === false'); >-} >- >-//CHECK#3 >-if (eval("true\u000C!=\u000C1") !== false) { >- testFailed('#3: (true\\u000C!=\\u000C1) === false'); >-} >- >-//CHECK#4 >-if (eval("true\u0020!=\u00201") !== false) { >- testFailed('#4: (true\\u0020!=\\u00201) === false'); >-} >- >-//CHECK#5 >-if (eval("true\u00A0!=\u00A01") !== false) { >- testFailed('#5: (true\\u00A0!=\\u00A01) === false'); >-} >- >-//CHECK#6 >-if (eval("true\u000A!=\u000A1") !== false) { >- testFailed('#6: (true\\u000A!=\\u000A1) === false'); >-} >- >-//CHECK#7 >-if (eval("true\u000D!=\u000D1") !== false) { >- testFailed('#7: (true\\u000D!=\\u000D1) === false'); >-} >- >-//CHECK#8 >-if (eval("true\u2028!=\u20281") !== false) { >- testFailed('#8: (true\\u2028!=\\u20281) === false'); >-} >- >-//CHECK#9 >-if (eval("true\u2029!=\u20291") !== false) { >- testFailed('#9: (true\\u2029!=\\u20291) === false'); >-} >- >-//CHECK#10 >-if (eval("true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029!=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== false) { >- testFailed('#10: (true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029!=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1-expected.txt >deleted file mode 100644 >index e201900ce63..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.html >deleted file mode 100644 >index a340363109e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A2.1_T1; >- * @section: 11.9.2; >- * @assertion: Operator x != y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if ((1 != 1) !== false) { >- testFailed('#1: (1 != 1) === false'); >-} >- >-//CHECK#2 >-var x = 1; >-if ((x != 1) !== false) { >- testFailed('#2: var x = 1; (x != 1) === false'); >-} >- >-//CHECK#3 >-var y = 1; >-if ((1 != y) !== false) { >- testFailed('#3: var y = 1; (1 != y) === false'); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if ((x != y) !== false) { >- testFailed('#4: var x = 1; var y = 1; (x != y) === false'); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if ((objectx.prop != objecty.prop) !== false) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop != objecty.prop) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2-expected.txt >deleted file mode 100644 >index e791c4c810f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.html >deleted file mode 100644 >index 20066b2bc60..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A2.1_T2; >- * @section: 11.9.2; >- * @assertion: Operator x != y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x != 1; >- testFailed('#1.1: x != 1 throw ReferenceError. Actual: ' + (x != 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x != 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3-expected.txt >deleted file mode 100644 >index d2a219c4383..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.html >deleted file mode 100644 >index a139cf0d512..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A2.1_T3; >- * @section: 11.9.2; >- * @assertion: Operator x != y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 != y; >- testFailed('#1: 1 != y throw ReferenceError'); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 != y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1-expected.txt >deleted file mode 100644 >index c66efee4964..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.html >deleted file mode 100644 >index 86dd22cc7a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A2.4_T1; >- * @section: 11.9.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if (((x = 1) != x) !== false) { >- testFailed('#1: var x = 0; ((x = 1) != x) === false'); >-} >- >-//CHECK#2 >-var x = 0; >-if ((x != (x = 1)) !== true) { >- testFailed('#2: var x = 0; (x != (x = 1)) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2-expected.txt >deleted file mode 100644 >index 13fba779e70..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.html >deleted file mode 100644 >index a9634fe1971..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A2.4_T2; >- * @section: 11.9.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() != y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() != y() throw "x". Actual: ' + (x() != y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() != y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3-expected.txt >deleted file mode 100644 >index ab1d4cee9d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.html >deleted file mode 100644 >index 4c5b8b1e57c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A2.4_T3; >- * @section: 11.9.2; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x != (x = 1); >- testFailed('#1.1: x != (x = 1) throw ReferenceError. Actual: ' + (x != (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x != (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if (((y = 1) != y) !== false) { >- testFailed('#2: ((y = 1) != y) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1-expected.txt >deleted file mode 100644 >index 232e06987ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A3.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.html >deleted file mode 100644 >index a3dc174552b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A3.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A3.1; >- * @section: 11.9.2, 11.9.3; >- * @assertion: Return false, if x and y are both true or both false; otherwise, return true; >- * @description: x and y are boolean primitives; >- */ >- >-//CHECK#1 >-if ((true != true) !== false) { >- testFailed('#1: (true != true) === false'); >-} >- >-//CHECK#2 >-if ((false != false) !== false) { >- testFailed('#2: (false != false) === false'); >-} >- >-//CHECK#3 >-if ((true != false) !== true) { >- testFailed('#3: (true != false) === true'); >-} >- >-//CHECK#4 >-if ((false != true) !== true) { >- testFailed('#4: (false != true) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2-expected.txt >deleted file mode 100644 >index ac589e41c4d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A3.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.html >deleted file mode 100644 >index aee80673ed6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A3.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A3.2; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is Boolean and Type(y) is Number, >- * return the result of comparison ToNumber(x) != y; >- * @description: x is primitive boolean, y is primitive number; >- */ >- >-//CHECK#1 >-if ((true != 1) !== false) { >- testFailed('#1: (true != 1) === false'); >-} >- >-//CHECK#2 >-if ((false != "0") !== false) { >- testFailed('#2: (false != "0") === false'); >-} >- >-//CHECK#3 >-if ((true != new Boolean(true)) !== false) { >- testFailed('#3: (true != new Boolean(true)) === false'); >-} >- >-//CHECK#4 >-if ((true != {valueOf: function () {return 1}}) !== false) { >- testFailed('#4: (true != {valueOf: function () {return 1}}) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3-expected.txt >deleted file mode 100644 >index 936d5274479..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A3.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.html >deleted file mode 100644 >index 2d5d0aa2281..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A3.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A3.3; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(y) is Number and Type(y) is Boolean, >- * return the result of comparison x != ToNumber(y); >- * @description: x is primitive number, y is primitive boolean; >- */ >- >-//CHECK#1 >-if ((0 != false) !== false) { >- testFailed('#1: (0 != false) === false'); >-} >- >-//CHECK#2 >-if (("1" != true) !== false) { >- testFailed('#2: ("1" != true) === false'); >-} >- >-//CHECK#3 >-if ((new Boolean(false) != false) !== false) { >- testFailed('#3: (new Boolean(false) != false) === false'); >-} >- >-//CHECK#4 >-if (({valueOf: function () {return "0"}} != false) !== false) { >- testFailed('#4: ({valueOf: function () {return "0"}} != false) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1-expected.txt >deleted file mode 100644 >index bf6dc30f647..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.html >deleted file mode 100644 >index 0e1d335c45f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A4.1_T1; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If x or y is NaN, return true; >- * @description: x is NaN; >-*/ >- >-//CHECK#1 >-if ((Number.NaN != true) !== true) { >- testFailed('#1: (NaN != true) === true'); >-} >- >-//CHECK#2 >-if ((Number.NaN != 1) !== true) { >- testFailed('#2: (NaN != 1) === true'); >-} >- >-//CHECK#3 >-if ((Number.NaN != Number.NaN) !== true) { >- testFailed('#3: (NaN != NaN) === true'); >-} >- >-//CHECK#4 >-if ((Number.NaN != Number.POSITIVE_INFINITY) !== true) { >- testFailed('#4: (NaN != +Infinity) === true'); >-} >- >-//CHECK#5 >-if ((Number.NaN != Number.NEGATIVE_INFINITY) !== true) { >- testFailed('#5: (NaN != -Infinity) === true'); >-} >- >-//CHECK#6 >-if ((Number.NaN != Number.MAX_VALUE) !== true) { >- testFailed('#6: (NaN != Number.MAX_VALUE) === true'); >-} >- >-//CHECK#7 >-if ((Number.NaN != Number.MIN_VALUE) !== true) { >- testFailed('#7: (NaN != Number.MIN_VALUE) === true'); >-} >- >-//CHECK#8 >-if ((Number.NaN != "string") !== true) { >- testFailed('#8: (NaN != "string") === true'); >-} >- >-//CHECK#9 >-if ((Number.NaN != new Object()) !== true) { >- testFailed('#9: (NaN != new Object()) === true'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2-expected.txt >deleted file mode 100644 >index 8d932cfe2f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.html >deleted file mode 100644 >index db741d78d26..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A4.1_T2; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If x or y is NaN, return true; >- * @description: y is NaN; >-*/ >- >-//CHECK#1 >-if ((true != Number.NaN) !== true) { >- testFailed('#1: (true != NaN) === true'); >-} >- >-//CHECK#2 >-if ((-1 != Number.NaN) !== true) { >- testFailed('#2: (-1 != NaN) === true'); >-} >- >-//CHECK#3 >-if ((Number.NaN != Number.NaN) !== true) { >- testFailed('#3: (NaN != NaN) === true'); >-} >- >-//CHECK#4 >-if ((Number.POSITIVE_INFINITY != Number.NaN) !== true) { >- testFailed('#4: (+Infinity != NaN) === true'); >-} >- >-//CHECK#5 >-if ((Number.NEGATIVE_INFINITY != Number.NaN) !== true) { >- testFailed('#5: (-Infinity != NaN) === true'); >-} >- >-//CHECK#6 >-if ((Number.MAX_VALUE != Number.NaN) !== true) { >- testFailed('#6: (Number.MAX_VALUE != NaN) === true'); >-} >- >-//CHECK#7 >-if ((Number.MIN_VALUE != Number.NaN) !== true) { >- testFailed('#7: (Number.MIN_VALUE != NaN) === true'); >-} >- >-//CHECK#8 >-if (("string" != Number.NaN) !== true) { >- testFailed('#8: ("string" != NaN) === true'); >-} >- >-//CHECK#9 >-if ((new Object() != Number.NaN) !== true) { >- testFailed('#9: (new Object() != NaN) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2-expected.txt >deleted file mode 100644 >index f1335ac42a9..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.html >deleted file mode 100644 >index 1101f33769c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A4.2; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If x is +0(-0) and y is -0(+0), return false; >- * @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if ((+0 != -0) !== false) { >- testFailed('#1: (+0 != -0) === false'); >-} >- >-//CHECK#2 >-if ((-0 != +0) !== false) { >- testFailed('#2: (-0 != +0) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3-expected.txt >deleted file mode 100644 >index ce1e12db427..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.html >deleted file mode 100644 >index c660e49809a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A4.3; >- * @section: 11.9.2, 11.9.3; >- * @assertion: Type(x) and Type(y) are Number-s minus NaN, +0, -0. >- * Return false, if x is the same number value as y; otherwise, return true; >- * @description: x and y are primitive numbers; >-*/ >- >-//CHECK#1 >-if ((Number.POSITIVE_INFINITY != Number.POSITIVE_INFINITY) !== false) { >- testFailed('#1: (+Infinity != +Infinity) === false'); >-} >- >-//CHECK#2 >-if ((Number.NEGATIVE_INFINITY != Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#2: (-Infinity != -Infinity) === false'); >-} >- >-//CHECK#3 >-if ((Number.POSITIVE_INFINITY != -Number.NEGATIVE_INFINITY) !== false) { >- testFailed('#3: (+Infinity != -(-Infinity)) === false'); >-} >- >-//CHECK#4 >-if ((1 != 0.999999999999) !== true) { >- testFailed('#4: (1 != 0.999999999999) === true'); >-} >- >-//CHECK#5 >-if ((1.0 != 1) !== false) { >- testFailed('#5: (1.0 != 1) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1-expected.txt >deleted file mode 100644 >index dce4803b94f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A5.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.html >deleted file mode 100644 >index ace20e6c599..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A5.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A5.1; >- * @section: 11.9.2, 11.9.3; >- * @assertion: Type(x) and Type(y) are String-s. >- * Return true, if x and y are exactly the same sequence of characters; otherwise, return false; >- * @description: x and y are primitive strings; >- */ >- >-//CHECK#1 >-if (("" != "") !== false) { >- testFailed('#1: ("" != "") === false'); >-} >- >-//CHECK#2 >-if ((" " != " ") !== false) { >- testFailed('#2: " (" != " ") === false'); >-} >- >-//CHECK#3 >-if ((" " != "") !== true) { >- testFailed('#3: " (" != "") === true'); >-} >- >-//CHECK#4 >-if (("string" != "string") !== false) { >- testFailed('#4: ("string" != "string") === false'); >-} >- >-//CHECK#5 >-if ((" string" != "string ") !== true) { >- testFailed('#5: (" string" != "string ") === true'); >-} >- >-//CHECK#6 >-if (("1.0" != "1") !== true) { >- testFailed('#6: ("1.0" != "1") === true'); >-} >- >-//CHECK#7 >-if (("0xff" != "255") !== true) { >- testFailed('#7: ("0xff" != "255") === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2-expected.txt >deleted file mode 100644 >index 68d0cbbdf91..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A5.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.html >deleted file mode 100644 >index 259f059ea28..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A5.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A5.2; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is Number and Type(y) is String, >- * return the result of comparison x != ToNumber(y); >- * @description: x is primitive number, y is primitive string; >- */ >- >-//CHECK#1 >-if ((1 != "1") !== false) { >- testFailed('#1: (1 != "1") === false'); >-} >- >-//CHECK#2 >-if ((1.100 != "+1.10") !== false) { >- testFailed('#2: (1.100 != "+1.10") === false'); >-} >- >-//CHECK#3 >-if ((1 != "true") !== true) { >- testFailed('#3: (1 != "true") === true'); >-} >- >-//CHECK#4 >-if ((255 != "0xff") !== false) { >- testFailed('#4: (255 != "0xff") === false'); >-} >- >-//CHECK#5 >-if ((0 != "") !== false) { >- testFailed('#5: (0 != "") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3-expected.txt >deleted file mode 100644 >index 1d32c1d0e83..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A5.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.html >deleted file mode 100644 >index 05261645a19..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A5.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A5.3; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is String and Type(y) is Number, >- * return the result of comparison ToNumber(x) != y; >- * @description: x is primitive string, y is primitive number; >- */ >- >-//CHECK#1 >-if (("-1" != -1) !== false) { >- testFailed('#1: ("-1" != -1) === false'); >-} >- >-//CHECK#2 >-if (("-1.100" != -1.10) !== false) { >- testFailed('#2: ("-1.100" != -1.10) === false'); >-} >- >-//CHECK#3 >-if (("false" != 0) !== true) { >- testFailed('#3: ("false" != 0) === true'); >-} >- >-//CHECK#4 >-if (("5e-324" != 5e-324) !== false) { >- testFailed('#4: ("5e-324" != 5e-324) === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1-expected.txt >deleted file mode 100644 >index 4404e5c0608..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A6.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.html >deleted file mode 100644 >index 83c729a0074..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A6.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A6.1; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) as well as Type(y) is Undefined or Null, return true; >- * @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if ((undefined != undefined) !== false) { >- testFailed('#1: (undefined != undefined) === false'); >-} >- >-//CHECK#2 >-if ((void 0 != undefined) !== false) { >- testFailed('#2: (void 0 != undefined) === false'); >-} >- >-//CHECK#3 >-if ((undefined != eval("var x")) !== false) { >- testFailed('#3: (undefined != eval("var x")) === false'); >-} >- >-//CHECK#4 >-if ((undefined != null) !== false) { >- testFailed('#4: (undefined != null) === false'); >-} >- >-//CHECK#5 >-if ((null != void 0) !== false) { >- testFailed('#5: (null != void 0) === false'); >-} >- >-//CHECK#6 >-if ((null != null) !== false) { >- testFailed('#6: (null != null) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1-expected.txt >deleted file mode 100644 >index 4b3f9cb8a37..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A6.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.html >deleted file mode 100644 >index e3236a9be86..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A6.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A6.2_T1; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If one expression is undefined or null and another is not, return false; >- * @description: x is null or undefined, y is not; >-*/ >- >-//CHECK#1 >-if ((undefined != true) !== true) { >- testFailed('#1: (undefined != true) === true'); >-} >- >-//CHECK#2 >-if ((undefined != 0) !== true) { >- testFailed('#2: (undefined != 0) === true'); >-} >- >-//CHECK#3 >-if ((undefined != "undefined") !== true) { >- testFailed('#3: (undefined != "undefined") === true'); >-} >- >-//CHECK#4 >-if ((undefined != {}) !== true) { >- testFailed('#4: (undefined != {}) === true'); >-} >- >-//CHECK#5 >-if ((null != false) !== true) { >- testFailed('#5: (null != false) === true'); >-} >- >-//CHECK#6 >-if ((null != 0) !== true) { >- testFailed('#6: (null != 0) === true'); >-} >- >-//CHECK#7 >-if ((null != "null") !== true) { >- testFailed('#7: (null != "null") === true'); >-} >- >-//CHECK#8 >-if ((null != {}) !== true) { >- testFailed('#8: (null != {}) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2-expected.txt >deleted file mode 100644 >index 5b8955287d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A6.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.html >deleted file mode 100644 >index f8bee93afa7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A6.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A6.2_T2; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If one expression is undefined or null and another is not, return false; >- * @description: y is null or undefined, x is not; >-*/ >- >-//CHECK#1 >-if ((false != undefined) !== true) { >- testFailed('#1: (false != undefined) === true'); >-} >- >-//CHECK#2 >-if ((Number.NaN != undefined) !== true) { >- testFailed('#2: (Number.NaN != undefined) === true'); >-} >- >-//CHECK#3 >-if (("undefined" != undefined) !== true) { >- testFailed('#3: ("undefined" != undefined) === true'); >-} >- >-//CHECK#4 >-if (({} != undefined) !== true) { >- testFailed('#4: ({} != undefined) === true'); >-} >- >-//CHECK#5 >-if ((false != null) !== true) { >- testFailed('#5: (false != null) === true'); >-} >- >-//CHECK#6 >-if ((0 != null) !== true) { >- testFailed('#6: (0 != null) === true'); >-} >- >-//CHECK#7 >-if (("null" != null) !== true) { >- testFailed('#7: ("null" != null) === true'); >-} >- >-//CHECK#8 >-if (({} != null) !== true) { >- testFailed('#8: ({} != null) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1-expected.txt >deleted file mode 100644 >index 73121b396f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.html >deleted file mode 100644 >index 77bfe134915..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.1; >- * @section: 11.9.2, 11.9.3; >- * @assertion: Type(x) and Type(y) are Object-s. >- * Return true, if x and y are references to the same Object; otherwise, return false; >- * @description: Checking Boolean object, Number object, String object, Object object; >- */ >- >-//CHECK#1 >-if ((new Boolean(true) != new Boolean(true)) !== true) { >- testFailed('#1: (new Boolean(true) != new Boolean(true)) === true'); >-} >- >-//CHECK#2 >-if ((new Number(1) != new Number(1)) !== true) { >- testFailed('#2: (new Number(1) != new Number(1)) === true'); >-} >- >-//CHECK#3 >-if ((new String("x") != new String("x")) !== true) { >- testFailed('#3: (new String("x") != new String("x")) === true'); >-} >- >-//CHECK#4 >-if ((new Object() != new Object()) !== true) { >- testFailed('#4: (new Object() != new Object()) === true'); >-} >- >-//CHECK#5 >-x = {}; >-y = x; >-if ((x != y) !== false) { >- testFailed('#5: x = {}; y = x; (x != y) === false'); >-} >- >-//CHECK#6 >-if ((new Boolean(true) != new Number(1)) !== true) { >- testFailed('#6 (new Boolean(true) != new Number(1)) === true'); >-} >- >-//CHECK#7 >-if ((new Number(1) != new String("1")) !== true) { >- testFailed('#7: (new Number(1) != new String("1")) === true'); >-} >- >-//CHECK#8 >-if ((new String("1") != new Boolean(true)) !== true) { >- testFailed('#8: (new String("x") != new Boolean(true)) === true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2-expected.txt >deleted file mode 100644 >index 2b5a9aa32d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.html >deleted file mode 100644 >index d035dcba4c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.2; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is Object and Type(y) is Boolean, >- * return ToPrimitive(x) != y; >- * @description: x is object, y is primitive boolean; >-*/ >- >-//CHECK#1 >-if ((new Boolean(true) != true) !== false) { >- testFailed('#1: (new Boolean(true) != true) === false'); >-} >- >-//CHECK#2 >-if ((new Number(1) != true) !== false) { >- testFailed('#2: (new Number(1) != true) === false'); >-} >- >-//CHECK#3 >-if ((new String("1") != true) !== false) { >- testFailed('#3: (new String("1") != true) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3-expected.txt >deleted file mode 100644 >index bfe7bc00a0f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.html >deleted file mode 100644 >index e45cc415d65..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.3; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is Boolean and Type(y) is Object, >- * return x != ToPrimitive(y); >- * @description: y is object, x is primitive boolean; >- */ >- >-//CHECK#1 >-if ((true != new Boolean(true)) !== false) { >- testFailed('#1: (true != new Boolean(true)) === false'); >-} >- >-//CHECK#2 >-if ((true != new Number(1)) !== false) { >- testFailed('#2: (true != new Number(1)) === false'); >-} >- >-//CHECK#3 >-if ((true != new String("+1")) !== false) { >- testFailed('#3: (true != new String("+1")) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4-expected.txt >deleted file mode 100644 >index d743c40fe6f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.html >deleted file mode 100644 >index 2ce816807db..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.4; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is Object and Type(y) is Number, >- * return ToPrimitive(x) != y; >- * @description: x is object, y is primitive number; >-*/ >- >-//CHECK#1 >-if ((new Boolean(true) != 1) !== false) { >- testFailed('#1: (new Boolean(true) != 1) === false'); >-} >- >-//CHECK#2 >-if ((new Number(-1) != -1) !== false) { >- testFailed('#2: (new Number(-1) != -1) === false'); >-} >- >-//CHECK#3 >-if ((new String("-1") != -1) !== false) { >- testFailed('#3: (new String("-1") != -1) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5-expected.txt >deleted file mode 100644 >index 02cc86f9d7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.html >deleted file mode 100644 >index 3294d4c548c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.5; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is Number and Type(y) is Object, >- * return x != ToPrimitive(y); >- * @description: y is object, x is primitive number; >- */ >- >-//CHECK#1 >-if ((1 != new Boolean(true)) !== false) { >- testFailed('#1: (1 != new Boolean(true)) === false'); >-} >- >-//CHECK#2 >-if ((-1 != new Number(-1)) !== false) { >- testFailed('#2: (-1 != new Number(-1)) === false'); >-} >- >-//CHECK#3 >-if ((-1 != new String("-1")) !== false) { >- testFailed('#3: (-1 != new String("-1")) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6-expected.txt >deleted file mode 100644 >index faaced631db..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.html >deleted file mode 100644 >index 27f0b33e6a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.6; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is Object and Type(y) is String, >- * return ToPrimitive(x) != y; >- * @description: x is object, y is primitive string; >- */ >- >-//CHECK#1 >-if ((new Boolean(true) != "1") !== false) { >- testFailed('#1: (new Boolean(true) != "1") === false'); >-} >- >-//CHECK#2 >-if ((new Number(-1) != "-1") !== false) { >- testFailed('#2: (new Number(-1) != "-1") === false'); >-} >- >-//CHECK#3 >-if ((new String("x") != "x") !== false) { >- testFailed('#3: (new String("x") != "x") === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7-expected.txt >deleted file mode 100644 >index 48d86263695..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.html >deleted file mode 100644 >index b486d204f2e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.7; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is String and Type(y) is Object, >- * return x != ToPrimitive(y); >- * @description: y is object, x is primitive string; >- */ >- >-//CHECK#1 >-if (("1" != new Boolean(true)) !== false) { >- testFailed('#1: ("1" != new Boolean(true)) === false'); >-} >- >-//CHECK#2 >-if (("-1" != new Number(-1)) !== false) { >- testFailed('#2: ("-1" != new Number(-1)) === false'); >-} >- >-//CHECK#3 >-if (("x" != new String("x")) !== false) { >- testFailed('#3: ("x" != new String("x")) === false'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8-expected.txt >deleted file mode 100644 >index 898d5768adb..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.html >deleted file mode 100644 >index ffd1f88a275..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.html >+++ /dev/null >@@ -1,158 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.8; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is Object and Type(y) is primitive type, >- * return ToPrimitive(x) != y; >- * @description: x is object, y is primtitive; >- */ >- >-//CHECK#1 >-if ((true != {valueOf: function() {return 1}}) !== false) { >- testFailed('#1: (true != {valueOf: function() {return 1}}) === false'); >-} >- >-//CHECK#2 >-if ((1 != {valueOf: function() {return 1}, toString: function() {return 0}}) !== false) { >- testFailed('#2: (1 != {valueOf: function() {return 1}, toString: function() {return 0}}) === false'); >-} >- >-//CHECK#3 >-if (("+1" != {valueOf: function() {return 1}, toString: function() {return {}}}) !== false) { >- testFailed('#3: ("+1" != {valueOf: function() {return 1}, toString: function() {return {}}}) === false'); >-} >- >-//CHECK#4 >-try { >- if ((true != {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) !== false) { >- testFailed('#4.1: (true != {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) === false'); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: (true != {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) not throw "error"'); >- } else { >- testFailed('#4.3: (true != {valueOf: function() {return "+1"}, toString: function() {throw "error"}}) not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if ((1 != {toString: function() {return "+1"}}) !== false) { >- testFailed('#5: (1 != {toString: function() {return "+1"}}) === false'); >-} >- >-//CHECK#6 >-if (("1" != {valueOf: function() {return {}}, toString: function() {return "+1"}}) !== true) { >- testFailed('#6.1: ("1" != {valueOf: function() {return {}}, toString: function() {return "+1"}}) === true'); >-} else { >- if (("+1" != {valueOf: function() {return {}}, toString: function() {return "+1"}}) !== false) { >- testFailed('#6.2: ("+1" != {valueOf: function() {return {}}, toString: function() {return "+1"}}) === false'); >- } >-} >- >-//CHECK#7 >-try { >- (1 != {valueOf: function() {throw "error"}, toString: function() {return 1}}); >- testFailed('#7: (1 != {valueOf: function() {throw "error"}, toString: function() {return 1}}) throw "error"'); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7: (1 != {valueOf: function() {throw "error"}, toString: function() {return 1}}) throw "error"'); >- } >-} >- >-//CHECK#8 >-try { >- (1 != {valueOf: function() {return {}}, toString: function() {return {}}}); >- testFailed('#8: (1 != {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError'); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8: (1 != {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9-expected.txt >deleted file mode 100644 >index 810c37a669a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.2_A7.9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.html >deleted file mode 100644 >index d406932349e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.html >+++ /dev/null >@@ -1,158 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.2_A7.9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.2_A7.9; >- * @section: 11.9.2, 11.9.3; >- * @assertion: If Type(x) is primitive type and Type(y) is Object, >- * return x != ToPrimitive(y); >- * @description: y is object, x is primtitive; >- */ >- >-//CHECK#1 >-if (({valueOf: function() {return 1}} != true) !== false) { >- testFailed('#1: ({valueOf: function() {return 1}} != true) === false'); >-} >- >-//CHECK#2 >-if (({valueOf: function() {return 1}, toString: function() {return 0}} != 1) !== false) { >- testFailed('#2: ({valueOf: function() {return 1}, toString: function() {return 0}} != 1) === false'); >-} >- >-//CHECK#3 >-if (({valueOf: function() {return 1}, toString: function() {return {}}} != "+1") !== false) { >- testFailed('#3: ({valueOf: function() {return 1}, toString: function() {return {}}} != "+1") === false'); >-} >- >-//CHECK#4 >-try { >- if (({valueOf: function() {return "+1"}, toString: function() {throw "error"}} != true) !== false) { >- testFailed('#4.1: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} != true) === false'); >- } >-} >-catch (e) { >- if (e === "error") { >- testFailed('#4.2: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} != true) not throw "error"'); >- } else { >- testFailed('#4.3: ({valueOf: function() {return "+1"}, toString: function() {throw "error"}} != true) not throw Error. Actual: ' + (e)); >- } >-} >- >-//CHECK#5 >-if (({toString: function() {return "+1"}} != 1) !== false) { >- testFailed('#5: ({toString: function() {return "+1"}} != 1) === false'); >-} >- >-//CHECK#6 >-if (({valueOf: function() {return {}}, toString: function() {return "+1"}} != "1") !== true) { >- testFailed('#6.1: ({valueOf: function() {return {}}, toString: function() {return "+1"}} != "1") === true'); >-} else { >- if (({valueOf: function() {return {}}, toString: function() {return "+1"}} != "+1") !== false) { >- testFailed('#6.2: ({valueOf: function() {return {}}, toString: function() {return "+1"}} != "+1") === false'); >- } >-} >- >-//CHECK#7 >-try { >- ({valueOf: function() {throw "error"}, toString: function() {return 1}} != 1); >- testFailed('#7.1: ({valueOf: function() {throw "error"}, toString: function() {return 1}} != 1) throw "error". Actual: ' + (({valueOf: function() {throw "error"}, toString: function() {return 1}} != 1))); >-} >-catch (e) { >- if (e !== "error") { >- testFailed('#7.2: ({valueOf: function() {throw "error"}, toString: function() {return 1}} != 1) throw "error". Actual: ' + (e)); >- } >-} >- >-//CHECK#8 >-try { >- ({valueOf: function() {return {}}, toString: function() {return {}}} != 1); >- testFailed('#8.1: ({valueOf: function() {return {}}, toString: function() {return {}}} != 1) throw TypeError. Actual: ' + (({valueOf: function() {return {}}, toString: function() {return {}}} != 1))); >-} >-catch (e) { >- if ((e instanceof TypeError) !== true) { >- testFailed('#8.2: ({valueOf: function() {return {}}, toString: function() {return {}}} != 1) throw TypeError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1-expected.txt >deleted file mode 100644 >index d133d59e81a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.html >deleted file mode 100644 >index afa06b2eae2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A1; >- * @section: 11.9.4, 7.2, 7.3; >- * @assertion: White Space and Line Terminator between EqualityExpression and "===" or between "===" and RelationalExpression are allowed; >- * @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (!(eval("1\u0009===\u00091"))) { >- testFailed('#1: 1\\u0009===\\u00091'); >-} >- >-//CHECK#2 >-if (!(eval("1\u000B===\u000B1"))) { >- testFailed('#2: 1\\u000B===\\u000B1'); >-} >- >-//CHECK#3 >-if (!(eval("1\u000C===\u000C1"))) { >- testFailed('#3: 1\\u000C===\\u000C1'); >-} >- >-//CHECK#4 >-if (!(eval("1\u0020===\u00201"))) { >- testFailed('#4: 1\\u0020===\\u00201'); >-} >- >-//CHECK#5 >-if (!(eval("1\u00A0===\u00A01"))) { >- testFailed('#5: 1\\u00A0===\\u00A01'); >-} >- >-//CHECK#6 >-if (!(eval("1\u000A===\u000A1"))) { >- testFailed('#6: 1\\u000A===\\u000A1'); >-} >- >-//CHECK#7 >-if (!(eval("1\u000D===\u000D1"))) { >- testFailed('#7: 1\\u000D===\\u000D1'); >-} >- >-//CHECK#8 >-if (!(eval("1\u2028===\u20281"))) { >- testFailed('#8: 1\\u2028===\\u20281'); >-} >- >-//CHECK#9 >-if (!(eval("1\u2029===\u20291"))) { >- testFailed('#9: 1\\u2029===\\u20291'); >-} >- >-//CHECK#10 >-if (!(eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029===\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291"))) { >- testFailed('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029===\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1-expected.txt >deleted file mode 100644 >index 3e488a7e6fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.html >deleted file mode 100644 >index 18bc53fd439..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A2.1_T1; >- * @section: 11.9.4; >- * @assertion: Operator x === y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (!(1 === 1)) { >- testFailed('#1: 1 === 1'); >-} >- >-//CHECK#2 >-var x = 1; >-if (!(x === 1)) { >- testFailed('#2: var x = 1; x === 1'); >-} >- >-//CHECK#3 >-var y = 1; >-if (!(1 === y)) { >- testFailed('#3: var y = 1; 1 === y'); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if (!(x === y)) { >- testFailed('#4: var x = 1; var y = 1; x === y'); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if (!(objectx.prop === objecty.prop)) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop === objecty.prop'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2-expected.txt >deleted file mode 100644 >index 073fe2e56dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.html >deleted file mode 100644 >index beec25d5e16..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A2.1_T2; >- * @section: 11.9.4; >- * @assertion: Operator x === y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x === 1; >- testFailed('#1.1: x === 1 throw ReferenceError. Actual: ' + (x === 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x === 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3-expected.txt >deleted file mode 100644 >index a769f92c86b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.html >deleted file mode 100644 >index 455b88e5a43..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A2.1_T3; >- * @section: 11.9.4; >- * @assertion: Operator x === y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 === y; >- testFailed('#1.1: 1 === y throw ReferenceError. Actual: ' + (1 === y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 === y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1-expected.txt >deleted file mode 100644 >index 6b2f3a45905..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.html >deleted file mode 100644 >index 2a937eb164b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A2.4_T1; >- * @section: 11.9.4; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if (!((x = 1) === x)) { >- testFailed('#1: var x = 0; (x = 1) === x'); >-} >- >-//CHECK#2 >-var x = 0; >-if (x === (x = 1)) { >- testFailed('#2: var x = 0; x !== (x = 1)'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2-expected.txt >deleted file mode 100644 >index 3b8c737b658..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.html >deleted file mode 100644 >index 25eb131b025..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A2.4_T2; >- * @section: 11.9.4; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() === y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() === y() throw "x". Actual: ' + (x() === y())); >-} catch (e) { >- if (e === "y") { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (!(e === "x")) { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() === y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3-expected.txt >deleted file mode 100644 >index 1a1395ea920..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.html >deleted file mode 100644 >index ddacc6530b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A2.4_T3; >- * @section: 11.9.4; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x === (x = 1); >- testFailed('#1.1: x === (x = 1) throw ReferenceError. Actual: ' + (x === (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x === (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if (!((y = 1) === y)) { >- testFailed('#2: (y = 1) === y'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3-expected.txt >deleted file mode 100644 >index 765b4354950..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.html >deleted file mode 100644 >index e4a80b0d7fd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A3; >- * @section: 11.9.4, 11.9.6; >- * @assertion: Type(x) and Type(y) are Boolean-s. >- * Return true, if x and y are both true and both false; otherwise, return false; >- * @description: x and y are primitive booleans; >- */ >- >-//CHECK#1 >-if (!(true === true)) { >- testFailed('#1: true === true'); >-} >- >-//CHECK#2 >-if (!(false === false)) { >- testFailed('#2: false === false'); >-} >- >-//CHECK#3 >-if (true === false) { >- testFailed('#3: true !== false'); >-} >- >-//CHECK#4 >-if (false === true) { >- testFailed('#4: false !== true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1-expected.txt >deleted file mode 100644 >index c1fedd31473..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.html >deleted file mode 100644 >index fb4662e80c3..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A4.1_T1; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If x or y is NaN, return false; >- * @description: x is NaN; >-*/ >- >-//CHECK#1 >-if (Number.NaN === true) { >- testFailed('#1: NaN !== true'); >-} >- >-//CHECK#2 >-if (Number.NaN === 1) { >- testFailed('#2: NaN !== 1'); >-} >- >-//CHECK#3 >-if (Number.NaN === Number.NaN) { >- testFailed('#3: NaN !== NaN'); >-} >- >-//CHECK#4 >-if (Number.NaN === Number.POSITIVE_INFINITY) { >- testFailed('#4: NaN !== +Infinity'); >-} >- >-//CHECK#5 >-if (Number.NaN === Number.NEGATIVE_INFINITY) { >- testFailed('#5: NaN !== -Infinity'); >-} >- >-//CHECK#6 >-if (Number.NaN === Number.MAX_VALUE) { >- testFailed('#6: NaN !== Number.MAX_VALUE'); >-} >- >-//CHECK#7 >-if (Number.NaN === Number.MIN_VALUE) { >- testFailed('#7: NaN !== Number.MIN_VALUE'); >-} >- >-//CHECK#8 >-if (Number.NaN === "string") { >- testFailed('#8: NaN !== "string"'); >-} >- >-//CHECK#9 >-if (Number.NaN === new Object()) { >- testFailed('#9: NaN !== new Object()'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2-expected.txt >deleted file mode 100644 >index f48ed499444..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.html >deleted file mode 100644 >index b44f64c8d13..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A4.1_T2; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If x or y is NaN, return false; >- * @description: y is NaN; >-*/ >- >-//CHECK#1 >-if (true === Number.NaN) { >- testFailed('#1: true !== NaN'); >-} >- >-//CHECK#2 >-if (-1 === Number.NaN) { >- testFailed('#2: -1 !== NaN'); >-} >- >-//CHECK#3 >-if (Number.NaN === Number.NaN) { >- testFailed('#3: NaN !== NaN'); >-} >- >-//CHECK#4 >-if (Number.POSITIVE_INFINITY === Number.NaN) { >- testFailed('#4: +Infinity !== NaN'); >-} >- >-//CHECK#5 >-if (Number.NEGATIVE_INFINITY === Number.NaN) { >- testFailed('#5: -Infinity !== NaN'); >-} >- >-//CHECK#6 >-if (Number.MAX_VALUE === Number.NaN) { >- testFailed('#6: Number.MAX_VALUE !== NaN'); >-} >- >-//CHECK#7 >-if (Number.MIN_VALUE === Number.NaN) { >- testFailed('#7: Number.MIN_VALUE !== NaN'); >-} >- >-//CHECK#8 >-if ("string" === Number.NaN) { >- testFailed('#8: "string" !== NaN'); >-} >- >-//CHECK#9 >-if (new Object() === Number.NaN) { >- testFailed('#9: new Object() !== NaN'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2-expected.txt >deleted file mode 100644 >index 37ab94c733f..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.html >deleted file mode 100644 >index 4f4bf816302..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A4.2; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If x is +0(-0) and y is -0(+0), return true; >- * @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if (!(+0 === -0)) { >- testFailed('#1: +0 === -0'); >-} >- >-//CHECK#2 >-if (!(-0 === +0)) { >- testFailed('#2: -0 === +0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3-expected.txt >deleted file mode 100644 >index 34067950a61..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.html >deleted file mode 100644 >index 5728c525dce..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A4.3; >- * @section: 11.9.4, 11.9.6; >- * @assertion: Type(x) and Type(y) are Number-s minus NaN, +0, -0. >- * Return true, if x is the same number value as y; otherwise, return false; >- * @description: x and y are primitive numbers; >-*/ >- >-//CHECK#1 >-if (!(Number.POSITIVE_INFINITY === Number.POSITIVE_INFINITY)) { >- testFailed('#1: +Infinity === +Infinity'); >-} >- >-//CHECK#2 >-if (!(Number.NEGATIVE_INFINITY === Number.NEGATIVE_INFINITY)) { >- testFailed('#2: -Infinity === -Infinity'); >-} >- >-//CHECK#3 >-if (!(13 === 13)) { >- testFailed('#3: 13 === 13'); >-} >- >-//CHECK#4 >-if (!(-13 === -13)) { >- testFailed('#4: -13 === -13'); >-} >- >-//CHECK#5 >-if (!(1.3 === 1.3)) { >- testFailed('#5: 1.3 === 1.3'); >-} >- >-//CHECK#6 >-if (!(-1.3 === -1.3)) { >- testFailed('#6: -1.3 === -1.3'); >-} >- >-//CHECK#7 >-if (!(Number.POSITIVE_INFINITY === -Number.NEGATIVE_INFINITY)) { >- testFailed('#7: +Infinity === -(-Infinity)'); >-} >- >-//CHECK#8 >-if (1 === 0.999999999999) { >- testFailed('#8: 1 !== 0.999999999999'); >-} >- >-//CHECK#9 >-if (!(1.0 === 1)) { >- testFailed('#9: 1.0 === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5-expected.txt >deleted file mode 100644 >index 533477eaa6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.html >deleted file mode 100644 >index 6f47f9f8d72..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A5; >- * @section: 11.9.4, 11.9.6; >- * @assertion: Type(x) and Type(y) are String-s. >- * Return true, if x and y are exactly the same sequence of characters; otherwise, return false; >- * @description: x and y are primitive strings; >- */ >- >-//CHECK#1 >-if (!("" === "")) { >- testFailed('#1: "" === ""'); >-} >- >-//CHECK#2 >-if (!(" " === " ")) { >- testFailed('#2: " " === " "'); >-} >- >-//CHECK#3 >-if (!("string" === "string")) { >- testFailed('#3: "string" === "string"'); >-} >- >-//CHECK#4 >-if (" string" === "string ") { >- testFailed('#4: " string" !== "string "'); >-} >- >-//CHECK#5 >-if ("1.0" === "1") { >- testFailed('#5: "1.0" !== "1"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1-expected.txt >deleted file mode 100644 >index 569c0e3fead..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A6.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.html >deleted file mode 100644 >index 3401faf7f43..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A6.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A6.1; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If Type(x) and Type(y) are Undefined-s, return true; >- * @description: void 0, eval("var x") is undefined; >-*/ >- >-//CHECK#1 >-if (!(undefined === undefined)) { >- testFailed('#1: undefined === undefined'); >-} >- >-//CHECK#2 >-if (!(void 0 === undefined)) { >- testFailed('#2: void 0 === undefined'); >-} >- >-//CHECK#3 >-if (!(undefined === eval("var x"))) { >- testFailed('#3: undefined === eval("var x")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2-expected.txt >deleted file mode 100644 >index 39344fab157..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A6.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.html >deleted file mode 100644 >index 35f5a6ed3a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A6.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A6.2; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If Type(x) and Type(y) are Null-s, return true; >- * @description: null === null; >-*/ >- >-//CHECK#1 >-if (!(null === null)) { >- testFailed('#1: null === null'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7-expected.txt >deleted file mode 100644 >index 58dfef47b6d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.html >deleted file mode 100644 >index 368f7fc81db..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A7; >- * @section: 11.9.4, 11.9.6; >- * @assertion: Type(x) and Type(y) are Object-s. >- * Return true, if x and y are references to the same Object; otherwise, return false; >- * @description: Checking Boolean object, Number object, String object, Object object; >- */ >- >-//CHECK#1 >-if (new Object() === new Object()) { >- testFailed('#1: new Object() !== new Object()'); >-} >- >-//CHECK#2 >-if (new Object(true) === new Object(true)) { >- testFailed('#2: new Object() !== new Object()'); >-} >- >-//CHECK#3 >-if (new Object(false) === new Object(false)) { >- testFailed('#3: new Object() !== new Object()'); >-} >- >-//CHECK#4 >-if (new Object(+0) === new Object(-0)) { >- testFailed('#4: new Object(+0) !== new Object(-0)'); >-} >- >-//CHECK#5 >-x = {}; >-y = x; >-if (!(x === y)) { >- testFailed('#5: x = {}; y = x; x === y'); >-} >- >-//CHECK#6 >-if (new Boolean(true) === new Number(1)) { >- testFailed('#6 new Boolean(true) === new Number(1)'); >-} >- >-//CHECK#7 >-if (new Number(1) === new String("1")) { >- testFailed('#7: new Number(1) === new String("1")'); >-} >- >-//CHECK#8 >-if (new String("1") === new Boolean(true)) { >- testFailed('#8: new String("x") === new Boolean(true)'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1-expected.txt >deleted file mode 100644 >index 9aa928214c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.html >deleted file mode 100644 >index f353439488d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A8_T1; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return false; >- * @description: x or y is primitive boolean; >-*/ >- >-//CHECK#1 >-if (true === new Boolean(true)) { >- testFailed('#1: true !== new Number(true)'); >-} >- >-//CHECK#2 >-if (true === 1) { >- testFailed('#2: true !== 1'); >-} >- >-//CHECK#3 >-if (true === new Number(true)) { >- testFailed('#3: true !== new Number(true)'); >-} >- >-//CHECK#4 >-if (true === "1") { >- testFailed('#4: true !== "1"'); >-} >- >-//CHECK#5 >-if (true === new String(true)) { >- testFailed('#5: true !== new String(true)'); >-} >- >-//CHECK#6 >-if (new Boolean(false) === false) { >- testFailed('#6: new Number(false) !== false'); >-} >- >-//CHECK#7 >-if (0 === false) { >- testFailed('#7: 0 !== false'); >-} >- >-//CHECK#8 >-if (new Number(false) === false) { >- testFailed('#8: new Number(false) !== false'); >-} >- >-//CHECK#9 >-if ("0" === false) { >- testFailed('#9: "0" !== false'); >-} >- >-//CHECK#10 >-if (false === new String(false)) { >- testFailed('#10: false !== new String(false)'); >-} >- >-//CHECK#11 >-if (true === {valueOf: function () {return true}}) { >- testFailed('#11: true === {valueOf: function () {return true}}'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2-expected.txt >deleted file mode 100644 >index e6d1707ac0e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.html >deleted file mode 100644 >index 80b8334dda7..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A8_T2; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return false; >- * @description: x or y is primitive number; >-*/ >- >-//CHECK#1 >-if (1 === new Number(1)) { >- testFailed('#1: 1 !== new Number(1)'); >-} >- >-//CHECK#2 >-if (1 === true) { >- testFailed('#2: 1 !== true'); >-} >- >-//CHECK#3 >-if (1 === new Boolean(1)) { >- testFailed('#3: 1 !== new Boolean(1)'); >-} >- >-//CHECK#4 >-if (1 === "1") { >- testFailed('#4: 1 !== "1"'); >-} >- >-//CHECK#5 >-if (1 === new String(1)) { >- testFailed('#5: 1 !== new String(1)'); >-} >- >-//CHECK#6 >-if (new Number(0) === 0) { >- testFailed('#6: new Number(0) !== 0'); >-} >- >-//CHECK#7 >-if (false === 0) { >- testFailed('#7: false !== 0'); >-} >- >-//CHECK#8 >-if (new Boolean(0) === 0) { >- testFailed('#8: new Boolean(0) !== 0'); >-} >- >-//CHECK#9 >-if ("0" === 0) { >- testFailed('#9: "0" !== 0'); >-} >- >-//CHECK#10 >-if (new String(0) === 0) { >- testFailed('#10: new String(0) !== 0'); >-} >- >-//CHECK#11 >-if (1 === {valueOf: function () {return 1}}) { >- testFailed('#11: 1 === {valueOf: function () {return 1}}'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3-expected.txt >deleted file mode 100644 >index a64610b609b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.html >deleted file mode 100644 >index 6a8ae23b63c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A8_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A8_T3; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return false; >- * @description: x or y is primitive string; >-*/ >- >-//CHECK#1 >-if ("1" === new String("1")) { >- testFailed('#1: "1" !== new String("1")'); >-} >- >-//CHECK#2 >-if ("1" === true) { >- testFailed('#2: "1" !== true'); >-} >- >-//CHECK#3 >-if ("1" === new Boolean("1")) { >- testFailed('#3: "1" !== new Boolean("1")'); >-} >- >-//CHECK#4 >-if ("1" === 1) { >- testFailed('#4: "1" === 1'); >-} >- >-//CHECK#5 >-if ("1" === new Number("1")) { >- testFailed('#5: "1" === new Number("1")'); >-} >- >-//CHECK#6 >-if (new String(false) === false) { >- testFailed('#6: new Number(false) !== false'); >-} >- >-//CHECK#7 >-if (false === "0") { >- testFailed('#7: false !== "0"'); >-} >- >-//CHECK#8 >-if ("0" === new Boolean("0")) { >- testFailed('#8: "0" !== new Boolean("0")'); >-} >- >-//CHECK#9 >-if (false === 0) { >- testFailed('#9: false !== 0'); >-} >- >-//CHECK#10 >-if (false === new Number(false)) { >- testFailed('#10: false !== new Number(false)'); >-} >- >-//CHECK#11 >-if ("1" === {valueOf: function () {return "1"}}) { >- testFailed('#11: "1" === {valueOf: function () {return "1"}}'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4-expected.txt >deleted file mode 100644 >index c6b5c98e03e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.html >deleted file mode 100644 >index c87c32eca75..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A8_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A8_T4; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return false; >- * @description: x or y is null or undefined; >-*/ >- >-//CHECK#1 >-if (undefined === null) { >- testFailed('#1: undefined !== null'); >-} >- >-//CHECK#2 >-if (null === undefined) { >- testFailed('#2: null !== undefined'); >-} >- >-//CHECK#3 >-if (null === 0) { >- testFailed('#3: null !== 0'); >-} >- >-//CHECK#4 >-if (0 === null) { >- testFailed('#4: 0 !== null'); >-} >- >-//CHECK#5 >-if (null === false) { >- testFailed('#5: null !== false'); >-} >- >-//CHECK#6 >-if (false === null) { >- testFailed('#6: false !== null'); >-} >- >-//CHECK#7 >-if (undefined === false) { >- testFailed('#7: undefined !== false'); >-} >- >-//CHECK#8 >-if (false === undefined) { >- testFailed('#8: false !== undefined'); >-} >- >-//CHECK#9 >-if (null === new Object()) { >- testFailed('#9: null !== new Object()'); >-} >- >-//CHECK#10 >-if (new Object() === null) { >- testFailed('#10: new Object() !== null'); >-} >- >-//CHECK#11 >-if (null === "null") { >- testFailed('#11: null !== "null"'); >-} >- >-//CHECK#12 >-if ("null" === null) { >- testFailed('#12: "null" !== null'); >-} >- >-//CHECK#13 >-if (undefined === "undefined") { >- testFailed('#13: undefined !== "undefined"'); >-} >- >-//CHECK#14 >-if ("undefined" === undefined) { >- testFailed('#14: "undefined" !== undefined'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5-expected.txt >deleted file mode 100644 >index 9d373ea31c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.html >deleted file mode 100644 >index 1d4fea4051c..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.4_A8_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.4_A8_T5; >- * @section: 11.9.4, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return false; >- * @description: Checking with such x and y that either x or y is primitive string and the other is primitive number; >-*/ >- >-//CHECK#1 >-try { >- throw 1; >-} catch(e) { >- if (e === "1") { >- testFailed('#1: throw 1 !== "1"'); >- } >-} >- >-//CHECK#2 >-try { >- throw "1"; >-} catch(e) { >- if (1 === e) { >- testFailed('#2: 1 !== throw "1"'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1-expected.txt >deleted file mode 100644 >index 1026850c9ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.html >deleted file mode 100644 >index d76bdbeadec..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.html >+++ /dev/null >@@ -1,142 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S11.9.5_A1; >-* @section: 11.9.5, 7.2, 7.3; >-* @assertion: White Space and Line Terminator between EqualityExpression and "!==" or between "!==" and RelationalExpression are allowed; >-* @description: Checking by using eval; >-*/ >- >-//CHECK#1 >-if (eval("1\u0009!==\u00091")) { >- testFailed('#1: 1\\u0009!==\\u00091'); >-} >- >-//CHECK#2 >-if (eval("1\u000B!==\u000B1")) { >- testFailed('#2: 1\\u000B!==\\u000B1'); >-} >- >-//CHECK#3 >-if (eval("1\u000C!==\u000C1")) { >- testFailed('#3: 1\\u000C!==\\u000C1'); >-} >- >-//CHECK#4 >-if (eval("1\u0020!==\u00201")) { >- testFailed('#4: 1\\u0020!==\\u00201'); >-} >- >-//CHECK#5 >-if (eval("1\u00A0!==\u00A01")) { >- testFailed('#5: 1\\u00A0!==\\u00A01'); >-} >- >-//CHECK#6 >-if (eval("1\u000A!==\u000A1")) { >- testFailed('#6: 1\\u000A!==\\u000A1'); >-} >- >-//CHECK#7 >-if (eval("1\u000D!==\u000D1")) { >- testFailed('#7: 1\\u000D!==\\u000D1'); >-} >- >-//CHECK#8 >-if (eval("1\u2028!==\u20281")) { >- testFailed('#8: 1\\u2028!==\\u20281'); >-} >- >-//CHECK#9 >-if (eval("1\u2029!==\u20291")) { >- testFailed('#9: 1\\u2029!==\\u20291'); >-} >- >-//CHECK#10 >-if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029!==\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) { >- testFailed('#10: 1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029!==\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1-expected.txt >deleted file mode 100644 >index 249ba2e7455..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1.html >deleted file mode 100644 >index 99e97658849..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A2.1_T1; >- * @section: 11.9.5; >- * @assertion: Operator x !== y uses GetValue; >- * @description: Either Type is not Reference or GetBase is not null; >-*/ >- >-//CHECK#1 >-if (1 !== 1) { >- testFailed('#1: 1 === 1'); >-} >- >-//CHECK#2 >-var x = 1; >-if (x !== 1) { >- testFailed('#2: var x = 1; x === 1'); >-} >- >-//CHECK#3 >-var y = 1; >-if (1 !== y) { >- testFailed('#3: var y = 1; 1 === y'); >-} >- >-//CHECK#4 >-var x = 1; >-var y = 1; >-if (x !== y) { >- testFailed('#4: var x = 1; var y = 1; x === y'); >-} >- >-//CHECK#5 >-var objectx = new Object(); >-var objecty = new Object(); >-objectx.prop = 1; >-objecty.prop = 1; >-if (objectx.prop !== objecty.prop) { >- testFailed('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop === objecty.prop'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2-expected.txt >deleted file mode 100644 >index d8ce37f9d39..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2.html >deleted file mode 100644 >index 4e2c206906a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A2.1_T2; >- * @section: 11.9.5; >- * @assertion: Operator x !== y uses GetValue; >- * @description: If GetBase(x) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- x !== 1; >- testFailed('#1.1: x !== 1 throw ReferenceError. Actual: ' + (x !== 1)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x !== 1 throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3-expected.txt >deleted file mode 100644 >index 724a8cc9974..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3.html >deleted file mode 100644 >index 01ae973c4ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A2.1_T3; >- * @section: 11.9.5; >- * @assertion: Operator x !== y uses GetValue; >- * @description: If GetBase(y) is null, throw ReferenceError; >-*/ >- >-//CHECK#1 >-try { >- 1 !== y; >- testFailed('#1.1: 1 !== y throw ReferenceError. Actual: ' + (1 !== y)); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: 1 !== y throw ReferenceError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1-expected.txt >deleted file mode 100644 >index 3f71091c117..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1.html >deleted file mode 100644 >index 135fddc98ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A2.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A2.4_T1; >- * @section: 11.9.5; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "="; >-*/ >- >-//CHECK#1 >-var x = 0; >-if ((x = 1) !== x) { >- testFailed('#1: var x = 0; (x = 1) === x'); >-} >- >-//CHECK#2 >-var x = 0; >-if (!(x !== (x = 1))) { >- testFailed('#2: var x = 0; x !== (x = 1)'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2-expected.txt >deleted file mode 100644 >index 4db29074393..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2.html >deleted file mode 100644 >index bf94010b0df..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A2.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A2.4_T2; >- * @section: 11.9.5; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking with "throw"; >-*/ >- >-//CHECK#1 >-var x = function () { throw "x"; }; >-var y = function () { throw "y"; }; >-try { >- x() !== y(); >- testFailed('#1.1: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() !== y() throw "x". Actual: ' + (x() !== y())); >-} catch (e) { >- if (!(e !== "y")) { >- testFailed('#1.2: First expression is evaluated first, and then second expression'); >- } else { >- if (e !== "x") { >- testFailed('#1.3: var x = function () { throw "x"; }; var y = function () { throw "y"; }; x() !== y() throw "x". Actual: ' + (e)); >- } >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3-expected.txt >deleted file mode 100644 >index 8952f16a083..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3.html >deleted file mode 100644 >index 209af43c44d..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A2.4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A2.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A2.4_T3; >- * @section: 11.9.5; >- * @assertion: First expression is evaluated first, and then second expression; >- * @description: Checking undeclarated variables; >-*/ >- >-//CHECK#1 >-try { >- x !== (x = 1); >- testFailed('#1.1: x !== (x = 1) throw ReferenceError. Actual: ' + (x !== (x = 1))); >-} >-catch (e) { >- if ((e instanceof ReferenceError) !== true) { >- testFailed('#1.2: x !== (x = 1) throw ReferenceError. Actual: ' + (e)); >- } >-} >- >-//CHECK#2 >-if ((y = 1) !== y) { >- testFailed('#2: (y = 1) === y'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3-expected.txt >deleted file mode 100644 >index e08f0f2ee05..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.html >deleted file mode 100644 >index 375c9d49f03..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A3; >- * @section: 11.9.5, 11.9.6; >- * @assertion: Type(x) and Type(y) are Boolean-s. >- * Return false, if x and y are both true or both false; otherwise, return true; >- * @description: x and y are primitive booleans; >- */ >- >-//CHECK#1 >-if (true !== true) { >- testFailed('#1: true === true'); >-} >- >-//CHECK#2 >-if (false !== false) { >- testFailed('#2: false === false'); >-} >- >-//CHECK#3 >-if (!(true !== false)) { >- testFailed('#3: true !== false'); >-} >- >-//CHECK#4 >-if (!(false !== true)) { >- testFailed('#4: false !== true'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1-expected.txt >deleted file mode 100644 >index e99961d5c41..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1.html >deleted file mode 100644 >index 6134c954532..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T1.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A4.1_T1; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If x or y is NaN, return true; >- * @description: x is NaN; >-*/ >- >-//CHECK#1 >-if (!(Number.NaN !== true)) { >- testFailed('#1: NaN !== true'); >-} >- >-//CHECK#2 >-if (!(Number.NaN !== 1)) { >- testFailed('#2: NaN !== 1'); >-} >- >-//CHECK#3 >-if (!(Number.NaN !== Number.NaN)) { >- testFailed('#3: NaN !== NaN'); >-} >- >-//CHECK#4 >-if (!(Number.NaN !== Number.POSITIVE_INFINITY)) { >- testFailed('#4: NaN !== +Infinity'); >-} >- >-//CHECK#5 >-if (!(Number.NaN !== Number.NEGATIVE_INFINITY)) { >- testFailed('#5: NaN !== -Infinity'); >-} >- >-//CHECK#6 >-if (!(Number.NaN !== Number.MAX_VALUE)) { >- testFailed('#6: NaN !== Number.MAX_VALUE'); >-} >- >-//CHECK#7 >-if (!(Number.NaN !== Number.MIN_VALUE)) { >- testFailed('#7: NaN !== Number.MIN_VALUE'); >-} >- >-//CHECK#8 >-if (!(Number.NaN !== "string")) { >- testFailed('#8: NaN !== "string"'); >-} >- >-//CHECK#9 >-if (!(Number.NaN !== new Object())) { >- testFailed('#9: NaN !== new Object()'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2-expected.txt >deleted file mode 100644 >index 7631316e7af..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2.html >deleted file mode 100644 >index 91a928e504b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.1_T2.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A4.1_T2; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If x or y is NaN, return true; >- * @description: y is NaN; >-*/ >- >-//CHECK#1 >-if (!(true !== Number.NaN)) { >- testFailed('#1: true !== NaN'); >-} >- >-//CHECK#2 >-if (!(-1 !== Number.NaN)) { >- testFailed('#2: -1 !== NaN'); >-} >- >-//CHECK#3 >-if (!(Number.NaN !== Number.NaN)) { >- testFailed('#3: NaN !== NaN'); >-} >- >-//CHECK#4 >-if (!(Number.POSITIVE_INFINITY !== Number.NaN)) { >- testFailed('#4: +Infinity !== NaN'); >-} >- >-//CHECK#5 >-if (!(Number.NEGATIVE_INFINITY !== Number.NaN)) { >- testFailed('#5: -Infinity !== NaN'); >-} >- >-//CHECK#6 >-if (!(Number.MAX_VALUE !== Number.NaN)) { >- testFailed('#6: Number.MAX_VALUE !== NaN'); >-} >- >-//CHECK#7 >-if (!(Number.MIN_VALUE !== Number.NaN)) { >- testFailed('#7: Number.MIN_VALUE !== NaN'); >-} >- >-//CHECK#8 >-if (!("string" !== Number.NaN)) { >- testFailed('#8: "string" !== NaN'); >-} >- >-//CHECK#9 >-if (!(new Object() !== Number.NaN)) { >- testFailed('#9: new Object() !== NaN'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2-expected.txt >deleted file mode 100644 >index c15e311f84b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A4.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.html >deleted file mode 100644 >index e5b078839f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A4.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A4.2; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If x is +0(-0) and y is -0(+0), return false; >- * @description: Checking all combinations; >-*/ >- >-//CHECK#1 >-if (+0 !== -0) { >- testFailed('#1: +0 === -0'); >-} >- >-//CHECK#2 >-if (-0 !== +0) { >- testFailed('#2: -0 === +0'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3-expected.txt >deleted file mode 100644 >index a34ed6f939a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A4.3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.html >deleted file mode 100644 >index 5e17ca03027..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A4.3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A4.3; >- * @section: 11.9.5, 11.9.6; >- * @assertion: Type(x) and Type(y) are Number-s minus NaN, +0, -0. >- * Return false, if x is the same number value as y; otherwise, return true; >- * @description: x and y are primitive numbers; >-*/ >- >-//CHECK#1 >-if (Number.POSITIVE_INFINITY !== Number.POSITIVE_INFINITY) { >- testFailed('#1: +Infinity === +Infinity'); >-} >- >-//CHECK#2 >-if (Number.NEGATIVE_INFINITY !== Number.NEGATIVE_INFINITY) { >- testFailed('#2: -Infinity === -Infinity'); >-} >- >-//CHECK#3 >-if (13 !== 13) { >- testFailed('#3: 13 === 13'); >-} >- >-//CHECK#4 >-if (-13 !== -13) { >- testFailed('#4: -13 === -13'); >-} >- >-//CHECK#5 >-if (1.3 !== 1.3) { >- testFailed('#5: 1.3 === 1.3'); >-} >- >-//CHECK#6 >-if (-1.3 !== -1.3) { >- testFailed('#6: -1.3 === -1.3'); >-} >- >-//CHECK#7 >-if (Number.POSITIVE_INFINITY !== -Number.NEGATIVE_INFINITY) { >- testFailed('#7: +Infinity === -(-Infinity)'); >-} >- >-//CHECK#8 >-if (!(1 !== 0.999999999999)) { >- testFailed('#8: 1 !== 0.999999999999'); >-} >- >-//CHECK#9 >-if (1.0 !== 1) { >- testFailed('#9: 1.0 === 1'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5-expected.txt >deleted file mode 100644 >index c9e4b80f925..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.html >deleted file mode 100644 >index 3931a785918..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A5; >- * @section: 11.9.5, 11.9.6; >- * @assertion: Type(x) and Type(y) are String-s. >- * Return false, if x and y are exactly the same sequence of characters; otherwise, return true; >- * @description: x and y are primitive strings; >- */ >- >-//CHECK#1 >-if ("" !== "") { >- testFailed('#1: "" === ""'); >-} >- >-//CHECK#2 >-if (" " !== " ") { >- testFailed('#2: " " === " "'); >-} >- >-//CHECK#3 >-if ("string" !== "string") { >- testFailed('#3: "string" === "string"'); >-} >- >-//CHECK#4 >-if (!(" string" !== "string ")) { >- testFailed('#4: " string" !== "string "'); >-} >- >-//CHECK#5 >-if (!("1.0" !== "1")) { >- testFailed('#5: "1.0" !== "1"'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1-expected.txt >deleted file mode 100644 >index 13d82d78c41..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A6.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.html >deleted file mode 100644 >index d91ee597a00..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A6.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A6.1; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If Type(x) and Type(y) are Undefined-s, return false; >- * @description: void 0, eval("var x") is undefined; >-*/ >- >-//CHECK#1 >-if (undefined !== undefined) { >- testFailed('#1: undefined === undefined'); >-} >- >-//CHECK#2 >-if (void 0 !== undefined) { >- testFailed('#2: void 0 === undefined'); >-} >- >-//CHECK#3 >-if (undefined !== eval("var x")) { >- testFailed('#3: undefined === eval("var x")'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2-expected.txt >deleted file mode 100644 >index 5a30321eb2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A6.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.html >deleted file mode 100644 >index a45775489dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A6.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A6.2; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If Type(x) and Type(y) are Null-s, return false; >- * @description: null === null; >-*/ >- >-//CHECK#1 >-if (null !== null) { >- testFailed('#1: null === null'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7-expected.txt >deleted file mode 100644 >index 38b19b1e07e..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.html >deleted file mode 100644 >index aa280b63a21..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A7; >- * @section: 11.9.5, 11.9.6; >- * @assertion: Type(x) and Type(y) are Object-s. >- * Return false, if x and y are references to the same Object; otherwise, return true; >- * @description: Checking Boolean object, Number object, String object, Object object; >- */ >- >-//CHECK#1 >-if (!(new Object() !== new Object())) { >- testFailed('#1: new Object() !== new Object()'); >-} >- >-//CHECK#2 >-if (!(new Object(true) !== new Object(true))) { >- testFailed('#2: new Object() !== new Object()'); >-} >- >-//CHECK#3 >-if (!(new Object(false) !== new Object(false))) { >- testFailed('#3: new Object() !== new Object()'); >-} >- >-//CHECK#4 >-if (!(new Object(+0) !== new Object(-0))) { >- testFailed('#4: new Object(+0) !== new Object(-0)'); >-} >- >-//CHECK#5 >-x = {}; >-y = x; >-if (x !== y) { >- testFailed('#5: x = {}; y = x; x === y'); >-} >- >-//CHECK#6 >-if (!(new Boolean(true) !== new Number(1))) { >- testFailed('#6 new Boolean(true) !== new Number(1)'); >-} >- >-//CHECK#7 >-if (!(new Number(1) !== new String("1"))) { >- testFailed('#7: new Number(1) !== new String("1")'); >-} >- >-//CHECK#8 >-if (!(new String("1") !== new Boolean(true))) { >- testFailed('#8: new String("x") !== new Boolean(true)'); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1-expected.txt >deleted file mode 100644 >index 4eaff7f8b3b..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.html >deleted file mode 100644 >index f3be02ce6c4..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A8_T1; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return true; >- * @description: x or y is primitive boolean; >-*/ >- >-//CHECK#1 >-if (!(true !== new Boolean(true))) { >- testFailed('#1: true !== new Number(true)'); >-} >- >-//CHECK#2 >-if (!(true !== 1)) { >- testFailed('#2: true !== 1'); >-} >- >-//CHECK#3 >-if (!(true !== new Number(true))) { >- testFailed('#3: true !== new Number(true)'); >-} >- >-//CHECK#4 >-if (!(true !== "1")) { >- testFailed('#4: true !== "1"'); >-} >- >-//CHECK#5 >-if (!(true !== new String(true))) { >- testFailed('#5: true !== new String(true)'); >-} >- >-//CHECK#6 >-if (!(new Boolean(false) !== false)) { >- testFailed('#6: new Number(false) !== false'); >-} >- >-//CHECK#7 >-if (!(0 !== false)) { >- testFailed('#7: 0 !== false'); >-} >- >-//CHECK#8 >-if (!(new Number(false) !== false)) { >- testFailed('#8: new Number(false) !== false'); >-} >- >-//CHECK#9 >-if (!("0" !== false)) { >- testFailed('#9: "0" !== false'); >-} >- >-//CHECK#10 >-if (!(false !== new String(false))) { >- testFailed('#10: false !== new String(false)'); >-} >- >-//CHECK#11 >-if (!(true !== {valueOf: function () {return true}})) { >- testFailed('#11: true !== {valueOf: function () {return true}}'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2-expected.txt >deleted file mode 100644 >index db9ea6cd8fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.html >deleted file mode 100644 >index cb67c0601e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A8_T2; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return true; >- * @description: x or y is primitive number; >-*/ >- >-//CHECK#1 >-if (!(1 !== new Number(1))) { >- testFailed('#1: 1 !== new Number(1)'); >-} >- >-//CHECK#2 >-if (!(1 !== true)) { >- testFailed('#2: 1 !== true'); >-} >- >-//CHECK#3 >-if (!(1 !== new Boolean(1))) { >- testFailed('#3: 1 !== new Boolean(1)'); >-} >- >-//CHECK#4 >-if (!(1 !== "1")) { >- testFailed('#4: 1 !== "1"'); >-} >- >-//CHECK#5 >-if (!(1 !== new String(1))) { >- testFailed('#5: 1 !== new String(1)'); >-} >- >-//CHECK#6 >-if (!(new Number(0) !== 0)) { >- testFailed('#6: new Number(0) !== 0'); >-} >- >-//CHECK#7 >-if (!(false !== 0)) { >- testFailed('#7: false !== 0'); >-} >- >-//CHECK#8 >-if (!(new Boolean(0) !== 0)) { >- testFailed('#8: new Boolean(0) !== 0'); >-} >- >-//CHECK#9 >-if (!("0" !== 0)) { >- testFailed('#9: "0" !== 0'); >-} >- >-//CHECK#10 >-if (!(new String(0) !== 0)) { >- testFailed('#10: new String(0) !== 0'); >-} >- >-//CHECK#11 >-if (!(1 !== {valueOf: function () {return 1}})) { >- testFailed('#11: 1 !== {valueOf: function () {return 1}}'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3-expected.txt >deleted file mode 100644 >index 4f0f8951257..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.html >deleted file mode 100644 >index be276e78ca5..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A8_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A8_T3; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return true; >- * @description: x or y is primitive string; >-*/ >- >-//CHECK#1 >-if (!("1" !== new String("1"))) { >- testFailed('#1: "1" !== new String("1")'); >-} >- >-//CHECK#2 >-if (!("1" !== true)) { >- testFailed('#2: "1" !== true'); >-} >- >-//CHECK#3 >-if (!("1" !== new Boolean("1"))) { >- testFailed('#3: "1" !== new Boolean("1")'); >-} >- >-//CHECK#4 >-if (!("1" !== 1)) { >- testFailed('#4: "1" === 1'); >-} >- >-//CHECK#5 >-if (!("1" !== new Number("1"))) { >- testFailed('#5: "1" === new Number("1")'); >-} >- >-//CHECK#6 >-if (!(new String(false) !== false)) { >- testFailed('#6: new Number(false) !== false'); >-} >- >-//CHECK#7 >-if (!(false !== "0")) { >- testFailed('#7: false !== "0"'); >-} >- >-//CHECK#8 >-if (!("0" !== new Boolean("0"))) { >- testFailed('#8: "0" !== new Boolean("0")'); >-} >- >-//CHECK#9 >-if (!(false !== 0)) { >- testFailed('#9: false !== 0'); >-} >- >-//CHECK#10 >-if (!(false !== new Number(false))) { >- testFailed('#10: false !== new Number(false)'); >-} >- >-//CHECK#11 >-if (!("1" !== {valueOf: function () {return "1"}})) { >- testFailed('#11: "1" !== {valueOf: function () {return "1"}}'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4-expected.txt >deleted file mode 100644 >index 782978455a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.html >deleted file mode 100644 >index 2b43a780826..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A8_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A8_T4; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return true; >- * @description: x or y is null or undefined; >-*/ >- >-//CHECK#1 >-if (!(undefined !== null)) { >- testFailed('#1: undefined !== null'); >-} >- >-//CHECK#2 >-if (!(null !== undefined)) { >- testFailed('#2: null !== undefined'); >-} >- >-//CHECK#3 >-if (!(null !== 0)) { >- testFailed('#3: null !== 0'); >-} >- >-//CHECK#4 >-if (!(0 !== null)) { >- testFailed('#4: 0 !== null'); >-} >- >-//CHECK#5 >-if (!(null !== false)) { >- testFailed('#5: null !== false'); >-} >- >-//CHECK#6 >-if (!(false !== null)) { >- testFailed('#6: false !== null'); >-} >- >-//CHECK#7 >-if (!(undefined !== false)) { >- testFailed('#7: undefined !== false'); >-} >- >-//CHECK#8 >-if (!(false !== undefined)) { >- testFailed('#8: false !== undefined'); >-} >- >-//CHECK#9 >-if (!(null !== new Object())) { >- testFailed('#9: null !== new Object()'); >-} >- >-//CHECK#10 >-if (!(new Object() !== null)) { >- testFailed('#10: new Object() !== null'); >-} >- >-//CHECK#11 >-if (!(null !== "null")) { >- testFailed('#11: null !== "null"'); >-} >- >-//CHECK#12 >-if (!("null" !== null)) { >- testFailed('#12: "null" !== null'); >-} >- >-//CHECK#13 >-if (!(undefined !== "undefined")) { >- testFailed('#13: undefined !== "undefined"'); >-} >- >-//CHECK#14 >-if (!("undefined" !== undefined)) { >- testFailed('#14: "undefined" !== undefined'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5-expected.txt b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5-expected.txt >deleted file mode 100644 >index 2abe052f40a..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.html b/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.html >deleted file mode 100644 >index e97f5dc0084..00000000000 >--- a/LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S11.9.5_A8_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S11.9.5_A8_T5; >- * @section: 11.9.5, 11.9.6; >- * @assertion: If Type(x) is different from Type(y), return true; >- * @description: Checking such x and y that either x or y is primitive string and the other is primitive number; >-*/ >- >-//CHECK#1 >-try { >- throw 1; >-} catch(e) { >- if (!(e !== "1")) { >- testFailed('#1: throw 1 !== "1"'); >- } >-} >- >-//CHECK#2 >-try { >- throw "1"; >-} catch(e) { >- if (!(1 !== e)) { >- testFailed('#2: 1 !== throw "1"'); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1-expected.txt >deleted file mode 100644 >index d8c8720bd62..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.html >deleted file mode 100644 >index 17b422f10c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.html >+++ /dev/null >@@ -1,219 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.10_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.10_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using interation statement within "with" statement leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- do{ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- while(false); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2-expected.txt >deleted file mode 100644 >index 3f4ed49c3d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.html >deleted file mode 100644 >index 2506aa94b72..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.html >+++ /dev/null >@@ -1,228 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.10_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.10_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using iteration statement within "with" statement leading to completion by exception >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- do{ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- while(false); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3-expected.txt >deleted file mode 100644 >index 50be03ec483..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.html >deleted file mode 100644 >index d2360d60fc9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.html >+++ /dev/null >@@ -1,231 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.10_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.10_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using iteration statment withing "with" statement leading to completion by exception >- * iteration statement inside with statement - exception completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- do{ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- while(false); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#0: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 === undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4-expected.txt >deleted file mode 100644 >index 24d2465814e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.html >deleted file mode 100644 >index 3a4ee8c4eb7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.html >+++ /dev/null >@@ -1,221 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.10_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.10_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using iteration statement witthin "with" staement leading to completion by break >- * iteration statement inside with statement - break completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- do{ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- break; >- } >- while(false); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5-expected.txt >deleted file mode 100644 >index 0b5e43250bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.html >deleted file mode 100644 >index 1a5f505ba01..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.html >+++ /dev/null >@@ -1,222 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.10_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.10_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using iteration statement within "with" statement leading to completion by break >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- do{ >- break; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- while(false); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 === undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1-expected.txt >deleted file mode 100644 >index 0e5a3e1b8e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.html >deleted file mode 100644 >index 4abe04487e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.html >+++ /dev/null >@@ -1,227 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.11_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.11_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared without the statement, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >-} >- >-with(myObj){ >- f(); >-} >- >-if(!(p1 === "x1")){ >- testFailed('#1: p1 === "x1". Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-try{ >- p3; >- testFailed('#3: p3 is nod defined'); >-} >-catch(e){ >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === parseInt)){ >- testFailed('#11: st_parseInt === parseInt. Actual: st_parseInt ==='+ st_parseInt ); >-} >- >-if(!isNaN(st_NaN)){ >- testFailed('#12: st_NaN === NaN. Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === Infinity)){ >- testFailed('#13: st_Infinity === Infinity. Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === eval)){ >- testFailed('#14: st_eval === eval. Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === parseFloat)){ >- testFailed('#15: st_parseFloat === parseFloat. Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === isNaN)){ >- testFailed('#16: st_isNaN === isNaN. Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === isFinite)){ >- testFailed('#17: st_isFinite === isFinite. Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try { >- value; >- testFailed('#18: value is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2-expected.txt >deleted file mode 100644 >index b5e188e7c9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.html >deleted file mode 100644 >index e88f8cf9fca..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.html >+++ /dev/null >@@ -1,232 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.11_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.11_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared without the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- return value; >-} >- >-with(myObj){ >- result = f(); >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === "x1")){ >- testFailed('#1: p1 === "x1". Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-try{ >- p3; >- testFailed('#3: p3 is nod defined'); >-} >-catch(e){ >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === parseInt)){ >- testFailed('#11: st_parseInt === parseInt. Actual: st_parseInt ==='+ st_parseInt ); >-} >- >-if(!isNaN(st_NaN)){ >- testFailed('#12: st_NaN === NaN. Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === Infinity)){ >- testFailed('#13: st_Infinity === Infinity. Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === eval)){ >- testFailed('#14: st_eval === eval. Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === parseFloat)){ >- testFailed('#15: st_parseFloat === parseFloat. Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === isNaN)){ >- testFailed('#16: st_isNaN === isNaN. Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === isFinite)){ >- testFailed('#17: st_isFinite === isFinite. Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try { >- value; >- testFailed('#18: value is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3-expected.txt >deleted file mode 100644 >index d270bc83922..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.html >deleted file mode 100644 >index 6fdbb7e7d83..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.html >+++ /dev/null >@@ -1,232 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.11_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.11_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared without the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- return value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >-} >- >-with(myObj){ >- result = f(); >-} >- >-if(!(result === undefined)){ >- testFailed('#0: result === undefined. Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try{ >- p4; >- testFailed('#4: p4 doesn\'t exists'); >-} >-catch(e){ >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try { >- value; >- testFailed('#18: value is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4-expected.txt >deleted file mode 100644 >index 9893578d16a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.html >deleted file mode 100644 >index bb89d8fe03f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.html >+++ /dev/null >@@ -1,235 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.11_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.11_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared without the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- with(myObj){ >- f(); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === "x1")){ >- testFailed('#1: p1 === "x1". Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-try{ >- p3; >- testFailed('#3: p3 is nod defined'); >-} >-catch(e){ >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === parseInt)){ >- testFailed('#11: st_parseInt === parseInt. Actual: st_parseInt ==='+ st_parseInt ); >-} >- >-if(!isNaN(st_NaN)){ >- testFailed('#12: st_NaN === NaN. Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === Infinity)){ >- testFailed('#13: st_Infinity === Infinity. Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === eval)){ >- testFailed('#14: st_eval === eval. Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === parseFloat)){ >- testFailed('#15: st_parseFloat === parseFloat. Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === isNaN)){ >- testFailed('#16: st_isNaN === isNaN. Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === isFinite)){ >- testFailed('#17: st_isFinite === isFinite. Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try { >- value; >- testFailed('#18: value is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5-expected.txt >deleted file mode 100644 >index 5e2a7b878dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.html >deleted file mode 100644 >index 04a50bda9b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.html >+++ /dev/null >@@ -1,235 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.11_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.11_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared without the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- var f = function(){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- with(myObj){ >- f(); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === undefined)){ >- testFailed('#0: result === undefined. Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try{ >- p4; >- testFailed('#4: p4 doesn\'t exists'); >-} >-catch(e){ >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try { >- value; >- testFailed('#18: value is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1-expected.txt >deleted file mode 100644 >index 6476955ba53..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.html >deleted file mode 100644 >index 761ef5f41f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.html >+++ /dev/null >@@ -1,224 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.12_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement declared within the statement, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >-f(); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try{ >- p4; >- testFailed('#4: p4 doesn\'t exists'); >-} >-catch(e){ >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try { >- value; >- testFailed('#18: value is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2-expected.txt >deleted file mode 100644 >index 3290a726a3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.html >deleted file mode 100644 >index 6a6b7e12cb3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.html >+++ /dev/null >@@ -1,230 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.12_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement declared within the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- return value; >- } >-} >-result = f(); >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try{ >- p4; >- testFailed('#4: p4 doesn\'t exists'); >-} >-catch(e){ >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3-expected.txt >deleted file mode 100644 >index af32948dfaf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.html >deleted file mode 100644 >index 2091e3763e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.html >+++ /dev/null >@@ -1,232 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.12_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.12_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement declared within the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- return value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >-result = f(); >- >-if(!(result === undefined)){ >- testFailed('#0: result === undefined. Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4-expected.txt >deleted file mode 100644 >index 02bd189400f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.html >deleted file mode 100644 >index 780a7c8f87a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.html >+++ /dev/null >@@ -1,232 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.12_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.12_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement declared within the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- } >- f(); >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try { >- value; >- testFailed('#18: value is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5-expected.txt >deleted file mode 100644 >index 9fb4abe674e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.html >deleted file mode 100644 >index 59c6ddbab84..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.html >+++ /dev/null >@@ -1,236 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.12_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.12_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement declared within the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- var f = function(){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- } >- f(); >-} catch(e){ >- result = e; >-} >- >-if(!(result === undefined)){ >- testFailed('#0: result === undefined. Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1-expected.txt >deleted file mode 100644 >index 37da43c99f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.html >deleted file mode 100644 >index 11973a1c23b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.html >+++ /dev/null >@@ -1,216 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.1_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" inside of global context leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2-expected.txt >deleted file mode 100644 >index 2e55bc40b9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.html >deleted file mode 100644 >index 6842d21489c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.html >+++ /dev/null >@@ -1,225 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.1_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" inside of global context leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3-expected.txt >deleted file mode 100644 >index 23f318ca027..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.html >deleted file mode 100644 >index 32977b8332c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.html >+++ /dev/null >@@ -1,227 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.1_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" inside of global context leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#0: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 === undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1-expected.txt >deleted file mode 100644 >index d781e88dcb6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.html >deleted file mode 100644 >index 0bfac367c2b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.html >+++ /dev/null >@@ -1,224 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.2_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >-f(); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2-expected.txt >deleted file mode 100644 >index b38b4b28d4d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.html >deleted file mode 100644 >index e99adcd2ba5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.html >+++ /dev/null >@@ -1,229 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.2_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- return value; >- } >-} >-result = f(); >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3-expected.txt >deleted file mode 100644 >index 45b281f4022..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.html >deleted file mode 100644 >index ae325723d1e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.html >+++ /dev/null >@@ -1,232 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.2_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- with(myObj){ >- return value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >-result = f(); >- >-if(!(result === "myObj_value")){ >- testFailed('#0: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4-expected.txt >deleted file mode 100644 >index 29b7a3e5c7f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.html >deleted file mode 100644 >index 4af47a5e0e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.html >+++ /dev/null >@@ -1,233 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.2_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- var f = function(){ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- } >- f(); >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5-expected.txt >deleted file mode 100644 >index 78aa3bcb9ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.html >deleted file mode 100644 >index 0d1ed9b4b9d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.html >+++ /dev/null >@@ -1,231 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.2_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- var f = function(){ >- with(myObj){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- } >- f(); >-} catch(e){ >- result = e; >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#0: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1-expected.txt >deleted file mode 100644 >index 5c1c52a1ad2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.html >deleted file mode 100644 >index 08525622fee..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.html >+++ /dev/null >@@ -1,224 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.3_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within function constructor, leading to normal completition; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >-var obj = new f(); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2-expected.txt >deleted file mode 100644 >index a34b206c2ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.html >deleted file mode 100644 >index 4ba39fda4f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.html >+++ /dev/null >@@ -1,225 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.3_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within function constructor, leading to normal completition by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- return value; >- } >-} >-var obj = new f(); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3-expected.txt >deleted file mode 100644 >index bd5f0536fd0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.html >deleted file mode 100644 >index b9ad3ef3d6c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.html >+++ /dev/null >@@ -1,228 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.3_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within function constructor, leading to normal completition by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-var f = function(){ >- with(myObj){ >- return value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >-var obj = new f(); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4-expected.txt >deleted file mode 100644 >index 786340aa6cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.html >deleted file mode 100644 >index 4609f95112f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.html >+++ /dev/null >@@ -1,229 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.3_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within function constructor, leading to completition by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- var f = function(){ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- } >- var obj = new f(); >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5-expected.txt >deleted file mode 100644 >index 38fef0b7ad3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.html >deleted file mode 100644 >index f5ffcb32713..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.html >+++ /dev/null >@@ -1,236 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.3_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within function constructor, leading to completition by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- var f = function(){ >- with(myObj){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- } >- var obj = new f(); >-} catch(e){ >- result = e; >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#0: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1-expected.txt >deleted file mode 100644 >index 6609fd7ee1b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.html >deleted file mode 100644 >index 558e65618d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.html >+++ /dev/null >@@ -1,219 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.4_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within iteration statement, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-do{ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >-while(false); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2-expected.txt >deleted file mode 100644 >index 8a09a375092..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.html >deleted file mode 100644 >index 4a96c915cf0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.html >+++ /dev/null >@@ -1,228 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.4_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within iteration statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- do{ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- } >- while(false); >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3-expected.txt >deleted file mode 100644 >index e93ad6c9587..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.html >deleted file mode 100644 >index 12b135e90e6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.html >+++ /dev/null >@@ -1,230 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.4_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within iteration statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- do{ >- with(myObj){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- } >- while(false); >-} catch(e){ >- result = e; >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#0: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 === undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4-expected.txt >deleted file mode 100644 >index f5f8ea8b364..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.html >deleted file mode 100644 >index b9b9b95ba2a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.html >+++ /dev/null >@@ -1,220 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.4_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within iteration statement, leading to completion by break; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-do{ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- break; >- } >-} >-while(false); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5-expected.txt >deleted file mode 100644 >index aa9326ab5b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.html >deleted file mode 100644 >index 36c4c680bc5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.html >+++ /dev/null >@@ -1,222 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.4_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within iteration statement, leading to completion by break; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-do{ >- with(myObj){ >- break; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >-while(false); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 ===undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1-expected.txt >deleted file mode 100644 >index 7d535a64dff..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.html >deleted file mode 100644 >index a3b52102c46..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.html >+++ /dev/null >@@ -1,224 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.5_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within "for-in" statement, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-for(var prop in myObj){ >- with(myObj){ >- if(prop === 'p1') { >- st_p1 = p1; >- p1 = 'x1'; >- } >- if(prop === 'p2') { >- st_p2 = p2; >- this.p2 = 'x2'; >- } >- if(prop === 'p3') { >- st_p3 = p3; >- del = delete p3; >- } >- if(prop === 'parseInt') st_parseInt = parseInt; >- if(prop === 'NaN') st_NaN = NaN; >- if(prop === 'Infinity') st_Infinity = Infinity; >- if(prop === 'eval') st_eval = eval; >- if(prop === 'parseFloat') st_parseFloat = parseFloat; >- if(prop === 'isNaN') st_isNaN = isNaN; >- if(prop === 'isFinite') st_isFinite = isFinite; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2-expected.txt >deleted file mode 100644 >index b8071caf2f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.html >deleted file mode 100644 >index c42aa9b0a90..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.html >+++ /dev/null >@@ -1,227 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.5_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within "for-in" statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- for(var prop in myObj){ >- with(myObj){ >- st_p1 = p1; >- p1 = 'x1'; >- st_p2 = p2; >- this.p2 = 'x2'; >- st_p3 = p3; >- del = delete p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3-expected.txt >deleted file mode 100644 >index 1b41d7264ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.html >deleted file mode 100644 >index 18d9dadce7e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.html >+++ /dev/null >@@ -1,235 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.5_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within "for-in" statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- for(var prop in myObj){ >- with(myObj){ >- throw value; >- if(prop === 'p1') { >- st_p1 = p1; >- p1 = 'x1'; >- } >- if(prop === 'p2') { >- st_p2 = p2; >- this.p2 = 'x2'; >- } >- if(prop === 'p3') { >- st_p3 = p3; >- del = delete p3; >- } >- if(prop === 'parseInt') st_parseInt = parseInt; >- if(prop === 'NaN') st_NaN = NaN; >- if(prop === 'Infinity') st_Infinity = Infinity; >- if(prop === 'eval') st_eval = eval; >- if(prop === 'parseFloat') st_parseFloat = parseFloat; >- if(prop === 'isNaN') st_isNaN = isNaN; >- if(prop === 'isFinite') st_isFinite = isFinite; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#0: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 === undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4-expected.txt >deleted file mode 100644 >index 7de101ea8df..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.html >deleted file mode 100644 >index 622b59ca2b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.html >+++ /dev/null >@@ -1,219 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.5_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within "for-in" statement, leading to completion by break; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-for(var prop in myObj){ >- with(myObj){ >- st_p1 = p1; >- p1 = 'x1'; >- st_p2 = p2; >- this.p2 = 'x2'; >- st_p3 = p3; >- del = delete p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- break; >- } >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5-expected.txt >deleted file mode 100644 >index cd922f5db12..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.html >deleted file mode 100644 >index 2bd7f4b3e9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.html >+++ /dev/null >@@ -1,227 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.5_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.5_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within "for-in" statement, leading to completion by break; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-for(var prop in myObj){ >- with(myObj){ >- break; >- if(prop === 'p1') { >- st_p1 = p1; >- p1 = 'x1'; >- } >- if(prop === 'p2') { >- st_p2 = p2; >- this.p2 = 'x2'; >- } >- if(prop === 'p3') { >- st_p3 = p3; >- del = delete p3; >- } >- if(prop === 'parseInt') st_parseInt = parseInt; >- if(prop === 'NaN') st_NaN = NaN; >- if(prop === 'Infinity') st_Infinity = Infinity; >- if(prop === 'eval') st_eval = eval; >- if(prop === 'parseFloat') st_parseFloat = parseFloat; >- if(prop === 'isNaN') st_isNaN = isNaN; >- if(prop === 'isFinite') st_isFinite = isFinite; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 === undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1-expected.txt >deleted file mode 100644 >index 4408225c520..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.html >deleted file mode 100644 >index 7db287cf784..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.html >+++ /dev/null >@@ -1,218 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.6_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within another "with" statement, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2-expected.txt >deleted file mode 100644 >index 41f82deb008..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.html >deleted file mode 100644 >index 6ae8ca7ac1d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.html >+++ /dev/null >@@ -1,227 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.6_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within another "with" statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- with(myObj){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3-expected.txt >deleted file mode 100644 >index 5798bf02390..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.6_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.html >deleted file mode 100644 >index b02eca3f23c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.html >+++ /dev/null >@@ -1,229 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.6_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.6_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "with" statement within another "with" statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- with(myObj){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#0: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 === undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1-expected.txt >deleted file mode 100644 >index a9abbb66e91..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.html >deleted file mode 100644 >index 3712cfa4047..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.html >+++ /dev/null >@@ -1,224 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.7_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared within the statement, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- f(); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2-expected.txt >deleted file mode 100644 >index ab66902ec7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.html >deleted file mode 100644 >index cdc9e8de4da..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.html >+++ /dev/null >@@ -1,229 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.7_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared within the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- return value; >- } >- result = f(); >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3-expected.txt >deleted file mode 100644 >index 0fdbbdc440f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.html >deleted file mode 100644 >index d938a895978..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.html >+++ /dev/null >@@ -1,231 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.7_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.7_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared within the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- return value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- result = f(); >-} >- >-if(!(result === undefined)){ >- testFailed('#0: result === undefined. Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4-expected.txt >deleted file mode 100644 >index 81fcf55949d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.html >deleted file mode 100644 >index 4c68302d1e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.html >+++ /dev/null >@@ -1,233 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.7_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.7_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared within the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- f(); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5-expected.txt >deleted file mode 100644 >index ba2cd3c31ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.html >deleted file mode 100644 >index 020d99b10ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.html >+++ /dev/null >@@ -1,235 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.7_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.7_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Calling a function within "with" statement declared within the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- var f = function(){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- f(); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === undefined)){ >- testFailed('#0: result === undefined. Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1-expected.txt >deleted file mode 100644 >index 2b3b53c5dc7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.html >deleted file mode 100644 >index 9fcc16a0379..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.html >+++ /dev/null >@@ -1,224 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.8_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Declaring function constructor within "with" statement, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- var obj = new f(); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2-expected.txt >deleted file mode 100644 >index 0f469722a12..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.html >deleted file mode 100644 >index 6001070015c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.html >+++ /dev/null >@@ -1,224 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.8_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Declaring function constructor within "with" statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- return value; >- } >- var obj = new f(); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3-expected.txt >deleted file mode 100644 >index 11e19165ba3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.html >deleted file mode 100644 >index 19efd13ba92..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.html >+++ /dev/null >@@ -1,227 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.8_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.8_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Declaring function constructor within "with" statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- var f = function(){ >- return value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- var obj = new f(); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4-expected.txt >deleted file mode 100644 >index 6c38bd5ce29..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.html >deleted file mode 100644 >index 03e10a2bfea..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.html >+++ /dev/null >@@ -1,232 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.8_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.8_T4; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Declaring function constructor within "with" statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- var f = function(){ >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- throw value; >- } >- var obj = new f(); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === "value")){ >- testFailed('#0: result === "value". Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5-expected.txt >deleted file mode 100644 >index 7323c79b5db..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.html >deleted file mode 100644 >index c5cbe9e264b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.html >+++ /dev/null >@@ -1,235 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.8_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.8_T5; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Declaring function constructor within "with" statement, leading to completion by exception; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-try { >- with(myObj){ >- var f = function(){ >- throw value; >- st_p1 = p1; >- st_p2 = p2; >- st_p3 = p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- p1 = 'x1'; >- this.p2 = 'x2'; >- del = delete p3; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >- var obj = new f(); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(result === undefined)){ >- testFailed('#0: result === undefined. Actual: result ==='+ result ); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-try { >- p4; >- testFailed('#4: p4 is not defined'); >-} catch(e) { >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-try{ >- value; >- testFailed('#18: value is not defined'); >-} >-catch(e){ >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1-expected.txt >deleted file mode 100644 >index aae66bbafd7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.html >deleted file mode 100644 >index 90b4e74431e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.html >+++ /dev/null >@@ -1,224 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.9_T1; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "for-in" statement within "with" statement, leading to normal completion; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- for(var prop in myObj){ >- if(prop === 'p1') { >- st_p1 = p1; >- p1 = 'x1'; >- } >- if(prop === 'p2') { >- st_p2 = p2; >- this.p2 = 'x2'; >- } >- if(prop === 'p3') { >- st_p3 = p3; >- del = delete p3; >- } >- if(prop === 'parseInt') st_parseInt = parseInt; >- if(prop === 'NaN') st_NaN = NaN; >- if(prop === 'Infinity') st_Infinity = Infinity; >- if(prop === 'eval') st_eval = eval; >- if(prop === 'parseFloat') st_parseFloat = parseFloat; >- if(prop === 'isNaN') st_isNaN = isNaN; >- if(prop === 'isFinite') st_isFinite = isFinite; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2-expected.txt >deleted file mode 100644 >index 1c8962cd4ab..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.html >deleted file mode 100644 >index 85d3dd0ea39..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.html >+++ /dev/null >@@ -1,219 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.9_T2; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "for-in" statement within "with" statement, leading to completion by break; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- for(var prop in myObj){ >- st_p1 = p1; >- p1 = 'x1'; >- st_p2 = p2; >- this.p2 = 'x2'; >- st_p3 = p3; >- del = delete p3; >- st_parseInt = parseInt; >- st_NaN = NaN; >- st_Infinity = Infinity; >- st_eval = eval; >- st_parseFloat = parseFloat; >- st_isNaN = isNaN; >- st_isFinite = isFinite; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- break; >- } >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === "x2")){ >- testFailed('#2: p2 === "x2". Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === "x4")){ >- testFailed('#4: p4 === "x4". Actual: p4 ==='+ p4 ); >-} >- >-if(!(p5 === "x5")){ >- testFailed('#5: p5 === "x5". Actual: p5 ==='+ p5 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#6: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === undefined)){ >- testFailed('#8: myObj.p3 === undefined. Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt !== parseInt)){ >- testFailed('#11: myObj.parseInt !== parseInt'); >-} >- >-if(!(st_NaN === "obj_NaN")){ >- testFailed('#12: myObj.NaN !== NaN'); >-} >- >-if(!(st_Infinity !== Infinity)){ >- testFailed('#13: myObj.Infinity !== Infinity'); >-} >- >-if(!(st_eval !== eval)){ >- testFailed('#14: myObj.eval !== eval'); >-} >- >-if(!(st_parseFloat !== parseFloat)){ >- testFailed('#15: myObj.parseFloat !== parseFloat'); >-} >- >-if(!(st_isNaN !== isNaN)){ >- testFailed('#16: myObj.isNaN !== isNaN'); >-} >- >-if(!(st_isFinite !== isFinite)){ >- testFailed('#17: myObj.isFinite !== isFinite'); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "value")){ >- testFailed('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3-expected.txt >deleted file mode 100644 >index 042c8289636..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A1.9_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.html >deleted file mode 100644 >index 54878bf1081..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.html >+++ /dev/null >@@ -1,227 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A1.9_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A1.9_T3; >- * @section: 12.10; >- * @assertion: The with statement adds a computed object to the front of the >- * scope chain of the current execution context; >- * @description: Using "for-in" statement within "with" statement, leading to completion by break; >- */ >-this.p1 = 1; >-this.p2 = 2; >-this.p3 = 3; >-var result = "result"; >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >-var del; >-var st_p1 = "p1"; >-var st_p2 = "p2"; >-var st_p3 = "p3"; >-var st_parseInt = "parseInt"; >-var st_NaN = "NaN"; >-var st_Infinity = "Infinity"; >-var st_eval = "eval"; >-var st_parseFloat = "parseFloat"; >-var st_isNaN = "isNaN"; >-var st_isFinite = "isFinite"; >- >-with(myObj){ >- for(var prop in myObj){ >- break; >- if(prop === 'p1') { >- st_p1 = p1; >- p1 = 'x1'; >- } >- if(prop === 'p2') { >- st_p2 = p2; >- this.p2 = 'x2'; >- } >- if(prop === 'p3') { >- st_p3 = p3; >- del = delete p3; >- } >- if(prop === 'parseInt') st_parseInt = parseInt; >- if(prop === 'NaN') st_NaN = NaN; >- if(prop === 'Infinity') st_Infinity = Infinity; >- if(prop === 'eval') st_eval = eval; >- if(prop === 'parseFloat') st_parseFloat = parseFloat; >- if(prop === 'isNaN') st_isNaN = isNaN; >- if(prop === 'isFinite') st_isFinite = isFinite; >- var p4 = 'x4'; >- p5 = 'x5'; >- var value = 'value'; >- } >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(p2 === 2)){ >- testFailed('#2: p2 === 2. Actual: p2 ==='+ p2 ); >-} >- >-if(!(p3 === 3)){ >- testFailed('#3: p3 === 3. Actual: p3 ==='+ p3 ); >-} >- >-if(!(p4 === undefined)){ >- testFailed('#4: p4 === undefined. Actual: p4 ==='+ p4 ); >-} >- >-try { >- p5; >- testFailed('#5: p5 is not defined'); >-} catch(e) { >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#6: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(myObj.p2 === "b")){ >- testFailed('#7: myObj.p2 === "b". Actual: myObj.p2 ==='+ myObj.p2 ); >-} >- >-if(!(myObj.p3 === "c")){ >- testFailed('#8: myObj.p3 === "c". Actual: myObj.p3 ==='+ myObj.p3 ); >-} >- >-if(!(myObj.p4 === undefined)){ >- testFailed('#9: myObj.p4 === undefined. Actual: myObj.p4 ==='+ myObj.p4 ); >-} >- >-if(!(myObj.p5 === undefined)){ >- testFailed('#10: myObj.p5 === undefined. Actual: myObj.p5 ==='+ myObj.p5 ); >-} >- >-if(!(st_parseInt === "parseInt")){ >- testFailed('#11: myObj.parseInt === "parseInt". Actual: myObj.parseInt ==='+ myObj.parseInt ); >-} >- >-if(!(st_NaN === "NaN")){ >- testFailed('#12: st_NaN === "NaN". Actual: st_NaN ==='+ st_NaN ); >-} >- >-if(!(st_Infinity === "Infinity")){ >- testFailed('#13: st_Infinity === "Infinity". Actual: st_Infinity ==='+ st_Infinity ); >-} >- >-if(!(st_eval === "eval")){ >- testFailed('#14: st_eval === "eval". Actual: st_eval ==='+ st_eval ); >-} >- >-if(!(st_parseFloat === "parseFloat")){ >- testFailed('#15: st_parseFloat === "parseFloat". Actual: st_parseFloat ==='+ st_parseFloat ); >-} >- >-if(!(st_isNaN === "isNaN")){ >- testFailed('#16: st_isNaN === "isNaN". Actual: st_isNaN ==='+ st_isNaN ); >-} >- >-if(!(st_isFinite === "isFinite")){ >- testFailed('#17: st_isFinite === "isFinite". Actual: st_isFinite ==='+ st_isFinite ); >-} >- >-if(!(value === undefined)){ >- testFailed('#18: value === undefined. Actual: value ==='+ value ); >-} >- >-if(!(myObj.value === "myObj_value")){ >- testFailed('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1-expected.txt >deleted file mode 100644 >index b2ffea39aa1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.html >deleted file mode 100644 >index 4a572f9e08d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.10_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.10_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using iteration statement within "with" statement, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- do{ >- p1 = 'x1'; >- } while(false); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2-expected.txt >deleted file mode 100644 >index 8f826f13cf4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.html >deleted file mode 100644 >index 4a46936b822..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.10_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.10_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using iteration statement within "with" statement, leading completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- with(myObj){ >- do{ >- p1 = 'x1'; >- throw value; >- } while(false); >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "x1"){ >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3-expected.txt >deleted file mode 100644 >index 27cfed389ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.html >deleted file mode 100644 >index ac7fcf1dd72..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.10_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.10_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using iteration statement within "with" statement, leading completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- with(myObj){ >- do{ >- throw value; >- p1 = 'x1'; >- } while(false); >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "a"){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4-expected.txt >deleted file mode 100644 >index dabbebd97ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.html >deleted file mode 100644 >index 2e231c00a8c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.10_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.10_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using iteration statement within "with" statement, leading completion be break; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- do{ >- p1 = 'x1'; >- break; >- } while(false); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5-expected.txt >deleted file mode 100644 >index a18334d3ab5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.html >deleted file mode 100644 >index 9c2b5dfa347..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.10_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.10_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using iteration statement within "with" statement, leading completion be break; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- do{ >- break; >- p1 = 'x1'; >- } while(false); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1-expected.txt >deleted file mode 100644 >index 04c63883e26..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.html >deleted file mode 100644 >index b2782dcb715..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.11_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.11_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function within "with" statement declared without the statement, leading to normal completion; >- */ >-this.p1 = 1; >-var result = "result"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var f = function(){ >- p1 = 'x1'; >-} >- >-with(myObj){ >- f(); >-} >- >-if(!(p1 === "x1")){ >- testFailed('#1: p1 === "x1". Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2-expected.txt >deleted file mode 100644 >index fe24d454009..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.html >deleted file mode 100644 >index 32c2aeb2e17..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.11_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.11_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function within "with" statement declared without the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-var result = "result"; >-var value = "value"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var f = function(){ >- p1 = 'x1'; >- return value; >-} >- >-with(myObj){ >- result = f(); >-} >- >-if(!(p1 === "x1")){ >- testFailed('#1: p1 === "x1". Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(result === "value")){ >- testFailed('#3: result === "value". Actual: result ==='+ result ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3-expected.txt >deleted file mode 100644 >index ff5ccf645f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.html >deleted file mode 100644 >index 3fa45a65a55..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.11_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.11_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function within "with" statement declared without the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-var result = "result"; >-var value = "value"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var f = function(){ >- return value; >- p1 = 'x1'; >-} >- >-with(myObj){ >- result = f(); >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(result === "value")){ >- testFailed('#3: result === "value". Actual: result ==='+ result ); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4-expected.txt >deleted file mode 100644 >index 2c88d47356f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.html >deleted file mode 100644 >index 18952aaffec..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.11_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.11_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function within "with" statement declared without the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-var result = "result"; >-var value = "value"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- var f = function(){ >- p1 = 'x1'; >- throw value; >- } >- >- with(myObj){ >- f(); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(p1 === "x1")){ >- testFailed('#1: p1 === "x1". Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(result === "value")){ >- testFailed('#3: result === "value". Actual: result ==='+ result ); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5-expected.txt >deleted file mode 100644 >index 22b5adc49ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.html >deleted file mode 100644 >index a7a7a8cb55f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.11_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.11_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function within "with" statement declared without the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-var result = "result"; >-var value = "value"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- var f = function(){ >- throw value; >- p1 = 'x1'; >- } >- with(myObj){ >- f(); >- } >-} catch(e){ >- result = e; >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(result === "value")){ >- testFailed('#3: result === "value". Actual: result ==='+ result ); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1-expected.txt >deleted file mode 100644 >index f3c6775f5ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.html >deleted file mode 100644 >index 66665d8e090..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.12_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function without "with" statement declared within the statement, leading to normal completion; >- */ >-this.p1 = 1; >-var result = "result"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- var f = function(){ >- p1 = 'x1'; >- } >-} >- >-f(); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2-expected.txt >deleted file mode 100644 >index ee957b449d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.html >deleted file mode 100644 >index a88571abb31..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.12_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function without "with" statement declared within the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-var result = "result"; >-var value = "value"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- var f = function(){ >- p1 = 'x1' >- return value; >- } >-} >- >-result = f(); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#3: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3-expected.txt >deleted file mode 100644 >index 83a514a0222..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.html >deleted file mode 100644 >index 64ad5cfa282..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.12_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.12_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function without "with" statement declared within the statement, leading to normal completion by "return"; >- */ >-this.p1 = 1; >-var result = "result"; >-var value = "value"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- var f = function(){ >- return value; >- p1 = 'x1'; >- } >-} >-result = f(); >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#3: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4-expected.txt >deleted file mode 100644 >index 3ce5842bd3b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.html >deleted file mode 100644 >index fce8a46c84c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.12_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.12_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function without "with" statement declared within the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-var result = "result"; >-var value = "value"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- with(myObj){ >- var f = function(){ >- p1 = 'x1'; >- throw value; >- } >- } >- f(); >-} catch(e){ >- result = e; >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "x1")){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#3: result === "myObj_value". Actual: result ==='+ result ); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5-expected.txt >deleted file mode 100644 >index 9f68fc70f8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.html >deleted file mode 100644 >index 96234fd2b1f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.12_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.12_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Calling a function without "with" statement declared within the statement, leading to completion by exception; >- */ >-this.p1 = 1; >-var result = "result"; >-var value = "value"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- with(myObj){ >- var f = function(){ >- throw value; >- p1 = 'x1'; >- } >- } >- f(); >-} catch(e){ >- result = e; >-} >- >-if(!(p1 === 1)){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >- >-if(!(myObj.p1 === "a")){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >- >-if(!(result === "myObj_value")){ >- testFailed('#3: result === "myObj_value". Actual: result ==='+ result ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1-expected.txt >deleted file mode 100644 >index 719b8964c8b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.html >deleted file mode 100644 >index 11d801f54c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.1_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within global context - normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >- >-with(myObj){ >- p1 = 'x1'; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2-expected.txt >deleted file mode 100644 >index fa2016ffead..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.html >deleted file mode 100644 >index ab741a46e67..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.html >+++ /dev/null >@@ -1,140 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.1_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within global context, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- >- with(myObj){ >- >- p1 = 'x1' >- throw value; >- >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (myObj.p1 !== "x1") { >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3-expected.txt >deleted file mode 100644 >index cc83d616b5d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.html >deleted file mode 100644 >index 9e21cf0ee03..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.1_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within global context, leading to completion by exception; >- */ >-this.p1 = 1; >-var result = "result"; >-var myObj = {p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- >- with(myObj){ >- >- throw value; >- p1 = 'x1' >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(!(result === 1)){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(!(p1 === 1)){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(!(myObj.p1 === "a")){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1-expected.txt >deleted file mode 100644 >index aec193a673d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.html >deleted file mode 100644 >index 8c218df202a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.2_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function body, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var f = function(){ >- with(myObj){ >- p1 = 'x1'; >- } >-} >- >-f(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2-expected.txt >deleted file mode 100644 >index b41ca01cdd8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.html >deleted file mode 100644 >index 81feb395afe..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.html >+++ /dev/null >@@ -1,130 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.2_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function body, leading to normal completion by "return"; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var f = function(){ >- with(myObj){ >- p1 = 'x1'; >- return value; >- } >-}; >- >-f(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1 !== "x1"){ >- testFailed('#1: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3-expected.txt >deleted file mode 100644 >index ad18cf91537..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.html >deleted file mode 100644 >index 65f2feb34ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.2_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function body, leading to normal completion by "return"; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var f = function(){ >- with(myObj){ >- return value; >- p1 = 'x1'; >- } >-}; >- >-f(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4-expected.txt >deleted file mode 100644 >index 2f3e70ffc6a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.html >deleted file mode 100644 >index ea7059dc4ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.html >+++ /dev/null >@@ -1,141 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.2_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function body, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- var f = function(){ >- with(myObj){ >- p1 = 'x1'; >- throw value; >- } >- }; >- >- f(); >-} catch(e){ >- result = p1; >-} >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "x1"){ >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5-expected.txt >deleted file mode 100644 >index 06fca38cf69..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.html >deleted file mode 100644 >index d82793e89cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.html >+++ /dev/null >@@ -1,144 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.2_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function body, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-}; >- >-try { >- var f = function(){ >- with(myObj){ >- throw value; >- p1 = 'x1'; >- } >- }; >- f(); >-} catch(e){ >- result = p1; >-} >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "a"){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1-expected.txt >deleted file mode 100644 >index 370bcdf0bc9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.html >deleted file mode 100644 >index 469a6f1a629..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.html >+++ /dev/null >@@ -1,129 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.3_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function constructor, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-function __FACTORY(){ >- with(myObj){ >- p1 = 'x1'; >- } >-} >- >-var obj = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2-expected.txt >deleted file mode 100644 >index cc278a08095..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.html >deleted file mode 100644 >index 24936fed160..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.3_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function constructor, leading to normal completion by "return"; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-function __FACTORY(){ >- with(myObj){ >- p1 = 'x1'; >- return value; >- } >-} >- >-var obj = new __FACTORY; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3-expected.txt >deleted file mode 100644 >index 34316113b48..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.html >deleted file mode 100644 >index cecd87afd95..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.html >+++ /dev/null >@@ -1,130 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.3_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function constructor, leading to normal completion by "return"; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-function __FACTORY(){ >- with(myObj){ >- return value; >- p1 = 'x1'; >- } >-} >- >-var obj = new __FACTORY; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4-expected.txt >deleted file mode 100644 >index 932e3a0cedf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.html >deleted file mode 100644 >index dc9c473adc2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.3_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function constructor, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- function __FACTORY(){ >- with(myObj){ >- p1 = 'x1'; >- throw value; >- } >- } >- var obj = new __FACTORY(); >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "x1"){ >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5-expected.txt >deleted file mode 100644 >index 65d496a81d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.html >deleted file mode 100644 >index c801ed84fa1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.html >+++ /dev/null >@@ -1,140 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.3_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring "with" statement within a function constructor, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- function __FACTORY(){ >- with(myObj){ >- throw value; >- p1 = 'x1'; >- } >- } >- var obj = new __FACTORY(); >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "a"){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1-expected.txt >deleted file mode 100644 >index 135d30191da..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.html >deleted file mode 100644 >index fb6aac8ca6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.4_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within iteration statement, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-do { >- with(myObj){ >- p1 = 'x1'; >- } >-} while(false); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2-expected.txt >deleted file mode 100644 >index e796efae6a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.html >deleted file mode 100644 >index 552205065ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.4_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within iteration statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- do{ >- with(myObj){ >- p1 = 'x1'; >- throw value; >- } >- } while(false); >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "x1"){ >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3-expected.txt >deleted file mode 100644 >index 70ecf40c651..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.html >deleted file mode 100644 >index 9440bce5947..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.4_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within iteration statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- do{ >- with(myObj){ >- throw value; >- p1 = 'x1'; >- } >- } while(false); >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "a"){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4-expected.txt >deleted file mode 100644 >index 3f4d95f5a05..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.html >deleted file mode 100644 >index d6c74c0d69c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.4_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within iteration statement, leading to completion by break; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-do { >- with(myObj){ >- p1 = 'x1'; >- break; >- } >-} while(false); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5-expected.txt >deleted file mode 100644 >index d68ac09edde..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.html >deleted file mode 100644 >index 7c80dfeda4f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.4_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within iteration statement, leading to completion by break; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-do { >- with(myObj){ >- break; >- p1 = 'x1'; >- } >-} while(false); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1-expected.txt >deleted file mode 100644 >index 3b2e5848d1b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.html >deleted file mode 100644 >index 0c581b362f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.html >+++ /dev/null >@@ -1,125 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.5_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within "for-in" statement, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-for(var prop in myObj){ >- with(myObj){ >- p1 = 'x1'; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2-expected.txt >deleted file mode 100644 >index 8ca4fd8ed37..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.html >deleted file mode 100644 >index c3049bcd54d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.5_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within "for-in" statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- for(var prop in myObj){ >- with(myObj){ >- p1 = 'x1'; >- throw value; >- } >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "x1"){ >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3-expected.txt >deleted file mode 100644 >index 479701989a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.html >deleted file mode 100644 >index 32e10c6dc8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.5_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within "for-in" statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- for(var prop in myObj){ >- with(myObj){ >- throw value; >- p1 = 'x1'; >- } >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "a"){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4-expected.txt >deleted file mode 100644 >index 8c006320d6a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.html >deleted file mode 100644 >index b115710fd3a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.5_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within "for-in" statement, leading to completion by break; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-for(var prop in myObj){ >- with(myObj){ >- p1 = 'x1'; >- break; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5-expected.txt >deleted file mode 100644 >index f543571f22c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.html >deleted file mode 100644 >index 0da9b0165cd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.html >+++ /dev/null >@@ -1,129 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.5_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.5_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within "for-in" statement, leading to completion by break; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-for(var prop in myObj){ >- with(myObj){ >- break; >- p1 = 'x1'; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1 !== "a"){ >- testFailed('#1: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1-expected.txt >deleted file mode 100644 >index b5a5a0acba2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.html >deleted file mode 100644 >index 024e9e36571..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.html >+++ /dev/null >@@ -1,141 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.6_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within another "with" statement, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var theirObj = { >- p1: true, >- value: 'theirObj_value', >- valueOf : function(){return 'thr_valueOf';} >-} >- >-with(myObj){ >- with(theirObj){ >- p1 = 'x1'; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(theirObj.p1 !== "x1"){ >- testFailed('#3: theirObj.p1 === "x1". Actual: theirObj.p1 ==='+ theirObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2-expected.txt >deleted file mode 100644 >index 1d28867766c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.html >deleted file mode 100644 >index 2be1a6fc8ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.html >+++ /dev/null >@@ -1,146 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.6_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within another "with" statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var theirObj = { >- p1: true, >- value: 'theirObj_value', >- valueOf : function(){return 'thr_valueOf';} >-} >- >- >-try { >- with(myObj){ >- with(theirObj){ >- p1 = 'x1'; >- throw value; >- } >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(theirObj.p1 !== "x1"){ >- testFailed('#3: theirObj.p1 === "x1". Actual: theirObj.p1 ==='+ theirObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3-expected.txt >deleted file mode 100644 >index 48e40711ae3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.6_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.html >deleted file mode 100644 >index 49606a07388..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.html >+++ /dev/null >@@ -1,147 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.6_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.6_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "with" statement within another "with" statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-var theirObj = { >- p1: true, >- value: 'theirObj_value', >- valueOf : function(){return 'thr_valueOf';} >-} >- >- >-try { >- with(myObj){ >- with(theirObj){ >- throw value; >- p1 = 'x1'; >- >- } >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(theirObj.p1 !== true){ >- testFailed('#3: theirObj.p1 === true. Actual: theirObj.p1 ==='+ theirObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1-expected.txt >deleted file mode 100644 >index 01387bbd9ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.html >deleted file mode 100644 >index a745c7887cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.7_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring and calling a function within "with" statement, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- (function(){ >- p1 = 'x1'; >- })(); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2-expected.txt >deleted file mode 100644 >index 1aa0f33382a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.html >deleted file mode 100644 >index 74f31c1beb6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.7_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring and calling a function within "with" statement, leading to normal completion by "return"; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- result=(function(){ >- p1 = 'x1'; >- return value; >- })(); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(result !== "myObj_value"){ >- testFailed('#2: result === "myObj_value". Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "x1"){ >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3-expected.txt >deleted file mode 100644 >index 02f18727b88..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.html >deleted file mode 100644 >index 5b57a008e43..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.7_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.7_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring and calling a function within "with" statement, leading to normal completion by "return"; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- result=(function(){ >- return value; >- p1 = 'x1'; >- })(); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(result !== 'myObj_value'){ >- testFailed('#2: result === \'myObj_value\'. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "a"){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4-expected.txt >deleted file mode 100644 >index 270b2592790..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.html >deleted file mode 100644 >index b468b5d7d6f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.7_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.7_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring and calling a function within "with" statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- with(myObj){ >- (function (){ >- p1 = 'x1'; >- throw value; >- })(); >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "x1"){ >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5-expected.txt >deleted file mode 100644 >index a28e1df065d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.html >deleted file mode 100644 >index 2eba632f2c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.7_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.7_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring and calling a function within "with" statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- with(myObj){ >- (function f(){ >- throw value; >- p1 = 'x1'; >- })(); >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "a"){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1-expected.txt >deleted file mode 100644 >index 34930fa2894..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.html >deleted file mode 100644 >index ee288548175..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.8_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring function constructor within "with" statement, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- var __FACTORY = function(){ >- p1 = 'x1'; >- } >- var obj = new __FACTORY; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2-expected.txt >deleted file mode 100644 >index 38b80885e64..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.html >deleted file mode 100644 >index a8ba52ae624..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.8_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring function constructor within "with" statement, leading to normal completion by "return"; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- var __FACTORY = function(){ >- p1 = 'x1'; >- return value; >- } >- var obj = new __FACTORY; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3-expected.txt >deleted file mode 100644 >index ed19f87c568..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.html >deleted file mode 100644 >index 4677e46463c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.8_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.8_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring function constructor within "with" statement, leading to normal completion by "return"; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- var __FACTORY = function(){ >- return value; >- p1 = 'x1'; >- } >- var obj = new __FACTORY; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4-expected.txt >deleted file mode 100644 >index 50a1aa8cbc4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.html >deleted file mode 100644 >index c7da27774f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.8_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.8_T4; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring function constructor within "with" statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- with(myObj){ >- var __FACTORY = function(){ >- p1 = 'x1'; >- throw value; >- } >- var obj = new __FACTORY; >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "x1"){ >- testFailed('#3: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5-expected.txt >deleted file mode 100644 >index 12483890039..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.html >deleted file mode 100644 >index 87e2adf0eb7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.8_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.8_T5; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Declaring function constructor within "with" statement, leading to completion by exception; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-try { >- with(myObj){ >- var __FACTORY = function(){ >- throw value; >- p1 = 'x1'; >- } >- var obj = new __FACTORY; >- } >-} catch(e){ >- result = p1; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(result !== 1){ >- testFailed('#1: result === 1. Actual: result ==='+ result ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(p1 !== 1){ >- testFailed('#2: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 !== "a"){ >- testFailed('#3: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1-expected.txt >deleted file mode 100644 >index d34fe5b2d79..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.html >deleted file mode 100644 >index 3bfb5a3606f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.9_T1; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "for-in" statement within "with" statement, leading to normal completion; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- for(var prop in myObj){ >- p1 = 'x1'; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2-expected.txt >deleted file mode 100644 >index fb2a4b157e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.html >deleted file mode 100644 >index db5b9f32b3b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.9_T2; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "for-in" statement within "with" statement, leading to completion by break; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- for(var prop in myObj){ >- p1 = 'x1'; >- break; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "x1"){ >- testFailed('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3-expected.txt >deleted file mode 100644 >index 8332d359676..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A3.9_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.html >deleted file mode 100644 >index ed6da02b52f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A3.9_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A3.9_T3; >- * @section: 12.10; >- * @assertion: No matter how control leaves the embedded 'Statement', >- * the scope chain is always restored to its former state; >- * @description: Using "for-in" statement within "with" statement, leading to completion by break; >- */ >- >-this.p1 = 1; >- >-var result = "result"; >- >-var myObj = { >- p1: 'a', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';} >-} >- >-with(myObj){ >- for(var prop in myObj){ >- break; >- p1 = 'x1'; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(p1 !== 1){ >- testFailed('#1: p1 === 1. Actual: p1 ==='+ p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== "a"){ >- testFailed('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1-expected.txt >deleted file mode 100644 >index e4a2b379a43..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.html >deleted file mode 100644 >index 2aa2ae89ca0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A4_T1; >- * @section: 12.10; >- * @assertion: Changing property using "eval" statement containing "with" statement; >- * @description: Changing string property; >- */ >- >-this.p1 = 1; >-var myObj = { >- p1: 'a', >-} >-eval("with(myObj){p1='b'}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1 !== 'b'){ >- testFailed('#1: myObj.p1 === "b". Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 === 1){ >- testFailed('#2: myObj.p1 !== 1'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2-expected.txt >deleted file mode 100644 >index a5f0473200f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.html >deleted file mode 100644 >index 8bb9d4fe43a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A4_T2; >- * @section: 12.10; >- * @assertion: Changing property using "eval" statement containing "with" statement; >- * @description: Changing number property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: 1, >-} >-eval("with(myObj){p1=2}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1 !== 2){ >- testFailed('#1: myObj.p1 === 2. Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 === 'a'){ >- testFailed('#2: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3-expected.txt >deleted file mode 100644 >index 4d83d9df147..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.html >deleted file mode 100644 >index cdc15d512e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A4_T3; >- * @section: 12.10; >- * @assertion: Changing property using "eval" statement containing "with" statement; >- * @description: Changing boolean property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: true, >-} >-eval("with(myObj){p1=false}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1 !== false){ >- testFailed('#1: myObj.p1 === false. Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 === 'a'){ >- testFailed('#2: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4-expected.txt >deleted file mode 100644 >index 3ff148448e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.html >deleted file mode 100644 >index 1fdbdaa1fb9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A4_T4; >- * @section: 12.10; >- * @assertion: Changing property using "eval" statement containing "with" statement; >- * @description: Changing object property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: {a:"hello"}, >-} >-eval("with(myObj){p1={b:'hi'}}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1.a === "hello"){ >- testFailed('#1: myObj.p1.a !== "hello"'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1.b !== "hi"){ >- testFailed('#2: myObj.p1.b === "hi". Actual: myObj.p1.b ==='+ myObj.p1.b ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 === 'a'){ >- testFailed('#3: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5-expected.txt >deleted file mode 100644 >index cd78a37253e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.html >deleted file mode 100644 >index 5e923d511bd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A4_T5; >- * @section: 12.10; >- * @assertion: Changing property using "eval" statement containing "with" statement; >- * @description: Changing array property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: [1,2,3], >-} >-eval("with(myObj){p1=[3,2,1]}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1[2] !== 1){ >- testFailed('#1: myObj.p1[2] === 1. Actual: myObj.p1[2] ==='+ myObj.p1[2] ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 === 'a'){ >- testFailed('#2: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6-expected.txt >deleted file mode 100644 >index a51b8d0ae85..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A4_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.html >deleted file mode 100644 >index 36a15ce6620..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A4_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A4_T6; >- * @section: 12.10; >- * @assertion: Changing property using "eval" statement containing "with" statement; >- * @description: Changing function property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: function(){return 0;}, >-} >-eval("with(myObj){p1=function(){return 1;}}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1() !== 1){ >- testFailed('#1: myObj.p1 === 1. Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.p1 === 'a'){ >- testFailed('#2: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1-expected.txt >deleted file mode 100644 >index 409a861bcbf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.html >deleted file mode 100644 >index ff5aaf1272d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A5_T1; >- * @section: 12.10; >- * @assertion: Deleting property using "eval" statement containing "with" statement; >- * @description: Deleting string property; >- */ >- >-this.p1 = 1; >-var myObj = { >- p1: 'a', >- del:false >-} >-eval("with(myObj){del = delete p1}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1 === 'a'){ >- testFailed('#1: myObj.p1 !== "a"'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== undefined){ >- testFailed('#2: myObj.p1 === undefined. Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.del !== true){ >- testFailed('#3: myObj.del === true. Actual: myObj.del ==='+ myObj.del ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(myObj.p1 === 1){ >- testFailed('#4: myObj.p1 !== 1'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2-expected.txt >deleted file mode 100644 >index e6a62fef12c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.html >deleted file mode 100644 >index f6546d2c7a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A5_T2; >- * @section: 12.10; >- * @assertion: Deleting property using "eval" statement containing "with" statement; >- * @description: Deleting number property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: 1, >- del:false >-} >-eval("with(myObj){del = delete p1}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1 === 1){ >- testFailed('#1: myObj.p1 !== 1'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== undefined){ >- testFailed('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.del !== true){ >- testFailed('#3: myObj.del === true. Actual: myObj.del ===. Actual: myObj.del ==='+ myObj.del +myObj.del); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(myObj.p1 === 'a'){ >- testFailed('#4: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3-expected.txt >deleted file mode 100644 >index 8dd952e7b74..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.html >deleted file mode 100644 >index a75138ae845..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A5_T3; >- * @section: 12.10; >- * @assertion: Deleting property using "eval" statement containing "with" statement; >- * @description: Deleting boolean property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: true, >- del:false >-} >- >-eval("with(myObj){del = delete p1}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(myObj.p1 === true){ >- testFailed('#1: myObj.p1 !== true '); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== undefined){ >- testFailed('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.del !== true){ >- testFailed('#3: myObj.del === true . Actual: myObj.del ==='+ myObj.del ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(myObj.p1 === 'a'){ >- testFailed('#4: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4-expected.txt >deleted file mode 100644 >index c88e9c15b93..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.html >deleted file mode 100644 >index 3d5eb23c81e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A5_T4; >- * @section: 12.10; >- * @assertion: Deleting property using "eval" statement containing "with" statement; >- * @description: Deleting object property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: {a:"hello"}, >- del:false >-} >-eval("with(myObj){del = delete p1}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >-if(myObj.p1.a === "hello"){ >- testFailed('#1: myObj.p1.a !== "hello" '); >-} >-}catch(e){var x=1}; >-if(x !== 1){ >- testFailed('#1: x === 1. Actual: x ==='+ x ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== undefined){ >- testFailed('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.del !== true){ >- testFailed('#3: myObj.del === true . Actual: myObj.del ==='+ myObj.del ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(myObj.p1 === 'a'){ >- testFailed('#4: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5-expected.txt >deleted file mode 100644 >index 9337efabf76..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A5_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.html >deleted file mode 100644 >index 11dbef1acf1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A5_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A5_T5; >- * @section: 12.10; >- * @assertion: Deleting property using "eval" statement containing "with" statement; >- * @description: Deleting array property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: [1,2,3], >- del:false >-} >-eval("with(myObj){del = delete p1}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >-if(myObj.p1[2] === 3){ >- testFailed('#1: myObj.p1[2] !== 3 '); >-} >-}catch(e){var x=1}; >-if(x !== 1){ >- testFailed('#1: x === 1. Actual: x ==='+ x ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== undefined){ >- testFailed('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.del !== true){ >- testFailed('#3: myObj.del === true . Actual: myObj.del ==='+ myObj.del ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(myObj.p1 === 'a'){ >- testFailed('#4: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6-expected.txt >deleted file mode 100644 >index 29157a0a40d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.10_A5_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.html >deleted file mode 100644 >index 288b6c9dd39..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.10_A5_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.10_A5_T6; >- * @section: 12.10; >- * @assertion: Deleting property using "eval" statement containing "with" statement; >- * @description: Deleting function property; >- */ >- >-this.p1 = 'a'; >-var myObj = { >- p1: function(){return 0;}, >- del:false >-} >-eval("with(myObj){del = delete p1}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >-if(myObj.p1() === 0){ >- testFailed('#1: myObj.p1() !== 0 '); >-} >-}catch(e){var x=1}; >-if(x !== 1){ >- testFailed('#1: x === 1. Actual: x ==='+ x ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(myObj.p1 !== undefined){ >- testFailed('#2: myObj.p1 === undefined . Actual: myObj.p1 ==='+ myObj.p1 ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(myObj.del !== true){ >- testFailed('#3: myObj.del === true . Actual: myObj.del ==='+ myObj.del ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(myObj.p1 === 'a'){ >- testFailed('#4: myObj.p1 !== \'a\''); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1-expected.txt >deleted file mode 100644 >index c23ad77fb5f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.11_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.html >deleted file mode 100644 >index 7095560a9b0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.html >+++ /dev/null >@@ -1,156 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A1_T1; >- * @section: 12.11; >- * @assertion: If Result.type is break and Result.target is in the current >- * label set, return (normal, Result.value, empty); >- * @description: Simple test using switch statement; >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch(value) { >- case 0: >- result += 2; >- case 1: >- result += 4; >- break; >- case 2: >- result += 8; >- case 3: >- result += 16; >- default: >- result += 32; >- break; >- case 4: >- result += 64; >- } >- >- return result; >-} >- >-if(!(SwitchTest(0) === 6)){ >- testFailed("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); >-} >- >-if(!(SwitchTest(1) === 4)){ >- testFailed("#2: SwitchTest(1) === 4. Actual: SwitchTest(1) ==="+ SwitchTest(1) ); >-} >- >-if(!(SwitchTest(2) === 56)){ >- testFailed("#3: SwitchTest(2) === 56. Actual: SwitchTest(2) ==="+ SwitchTest(2) ); >-} >- >-if(!(SwitchTest(3) === 48)){ >- testFailed("#4: SwitchTest(3) === 48. Actual: SwitchTest(3) ==="+ SwitchTest(3) ); >-} >- >-if(!(SwitchTest(4) === 64)){ >- testFailed("#5: SwitchTest(4) === 64. Actual: SwitchTest(4) ==="+ SwitchTest(4) ); >-} >- >-if(!(SwitchTest(true) === 32)){ >- testFailed("#6: SwitchTest(true) === 32. Actual: SwitchTest(true) ==="+ SwitchTest(true) ); >-} >- >-if(!(SwitchTest(false) === 32)){ >- testFailed("#7: SwitchTest(false) === 32. Actual: SwitchTest(false) ==="+ SwitchTest(false) ); >-} >- >-if(!(SwitchTest(null) === 32)){ >- testFailed("#8: SwitchTest(null) === 32. Actual: SwitchTest(null) ==="+ SwitchTest(null) ); >-} >- >-if(!(SwitchTest(void 0) === 32)){ >- testFailed("#9: SwitchTest(void 0) === 32. Actual: SwitchTest(void 0) ==="+ SwitchTest(void 0) ); >-} >- >-if(!(SwitchTest('0') === 32)){ >- testFailed("#10: SwitchTest('0') === 32. Actual: SwitchTest('0') ==="+ SwitchTest('0') ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2-expected.txt >deleted file mode 100644 >index f26b039d860..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.11_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.html >deleted file mode 100644 >index 1ad7325b3dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.html >+++ /dev/null >@@ -1,170 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A1_T2; >- * @section: 12.11; >- * @assertion: If Result.type is break and Result.target is in the current >- * label set, return (normal, Result.value, empty); >- * @description: Switch with different types of variables; >-*/ >- >-var x = new Number(2); >- >-function SwitchTest(value){ >- var result = 0; >- >- switch(value) { >- case 0: >- result += 2; >- case '1': >- result += 4; >- break; >- case new Number(2): >- result += 8; >- case 3: >- result += 16; >- default: >- result += 32; >- break; >- case 4: >- result += 64; >- break; >- case x: >- result += 128; >- break; >- case 0: >- result += 256; >- case 1: >- result += 512; >- } >- >- return result; >-} >- >-if(!(SwitchTest(0) === 6)){ >- testFailed("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); >-} >- >-if(!(SwitchTest(1) === 512)){ >- testFailed("#2: SwitchTest(1) === 512. Actual: SwitchTest(1) ==="+ SwitchTest(1) ); >-} >- >-if(!(SwitchTest(2) === 32)){ >- testFailed("#3: SwitchTest(2) === 32. Actual: SwitchTest(2) ==="+ SwitchTest(2) ); >-} >- >-if(!(SwitchTest(3) === 48)){ >- testFailed("#4: SwitchTest(3) === 48. Actual: SwitchTest(3) ==="+ SwitchTest(3) ); >-} >- >-if(!(SwitchTest(4) === 64)){ >- testFailed("#5: SwitchTest(4) === 64. Actual: SwitchTest(4) ==="+ SwitchTest(4) ); >-} >- >-if(!(SwitchTest(true) === 32)){ >- testFailed("#6: SwitchTest(true) === 32. Actual: SwitchTest(true) ==="+ SwitchTest(true) ); >-} >- >-if(!(SwitchTest(false) === 32)){ >- testFailed("#7: SwitchTest(false) === 32. Actual: SwitchTest(false) ==="+ SwitchTest(false) ); >-} >- >-if(!(SwitchTest(null) === 32)){ >- testFailed("#8: SwitchTest(null) === 32. Actual: SwitchTest(null) ==="+ SwitchTest(null) ); >-} >- >-if(!(SwitchTest(void 0) === 32)){ >- testFailed("#9: SwitchTest(void 0) === 32. Actual: SwitchTest(void 0) ==="+ SwitchTest(void 0) ); >-} >- >-if(!(SwitchTest('0') === 32)){ >- testFailed("#10: SwitchTest('0') === 32. Actual: SwitchTest('0') ==="+ SwitchTest('0') ); >-} >- >-if(!(SwitchTest(x) === 128)){ >- testFailed("#10: SwitchTest(x) === 128. Actual: SwitchTest(x) ==="+ SwitchTest(x) ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3-expected.txt >deleted file mode 100644 >index 5539051fcc1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.11_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.html >deleted file mode 100644 >index d8981705ae4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.html >+++ /dev/null >@@ -1,174 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A1_T3; >- * @section: 12.11; >- * @assertion: If Result.type is break and Result.target is in the current >- * label set, return (normal, Result.value, empty); >- * @description: Using case with null, NaN, Infinity; >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch(value) { >- case 0: >- result += 2; >- case 1: >- result += 4; >- break; >- case 2: >- result += 8; >- case 3: >- result += 16; >- default: >- result += 32; >- break; >- case null: >- result += 64; >- case NaN: >- result += 128; >- break; >- case Infinity: >- result += 256; >- case 2+3: >- result += 512; >- break; >- case undefined: >- result += 1024; >- } >- >- return result; >-} >- >-if(!(SwitchTest(0) === 6)){ >- testFailed("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); >-} >- >-if(!(SwitchTest(1) === 4)){ >- testFailed("#2: SwitchTest(1) === 4. Actual: SwitchTest(1) ==="+ SwitchTest(1) ); >-} >- >-if(!(SwitchTest(2) === 56)){ >- testFailed("#3: SwitchTest(2) === 56. Actual: SwitchTest(2) ==="+ SwitchTest(2) ); >-} >- >-if(!(SwitchTest(3) === 48)){ >- testFailed("#4: SwitchTest(3) === 48. Actual: SwitchTest(3) ==="+ SwitchTest(3) ); >-} >- >-if(!(SwitchTest(4) === 32)){ >- testFailed("#5: SwitchTest(4) === 32. Actual: SwitchTest(4) ==="+ SwitchTest(4) ); >-} >- >-if(!(SwitchTest(5) === 512)){ >- testFailed("#5: SwitchTest(5) === 512. Actual: SwitchTest(5) ==="+ SwitchTest(5) ); >-} >- >-if(!(SwitchTest(true) === 32)){ >- testFailed("#6: SwitchTest(true) === 32. Actual: SwitchTest(true) ==="+ SwitchTest(true) ); >-} >- >-if(!(SwitchTest(false) === 32)){ >- testFailed("#7: SwitchTest(false) === 32. Actual: SwitchTest(false) ==="+ SwitchTest(false) ); >-} >- >-if(!(SwitchTest(null) === 192)){ >- testFailed("#8: SwitchTest(null) === 192. Actual: SwitchTest(null) ==="+ SwitchTest(null) ); >-} >- >-if(!(SwitchTest(void 0) === 1024)){ >- testFailed("#9: SwitchTest(void 0) === 1024. Actual: SwitchTest(void 0) ==="+ SwitchTest(void 0) ); >-} >- >-if(!(SwitchTest(NaN) === 32)){ >- testFailed("#10: SwitchTest(NaN) === 32. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) ); >-} >- >-if(!(SwitchTest(Infinity) === 768)){ >- testFailed("#10: SwitchTest(NaN) === 768. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4-expected.txt >deleted file mode 100644 >index fa8d14dbaee..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.11_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.html >deleted file mode 100644 >index ac173000457..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A1_T4; >- * @section: 12.11; >- * @assertion: If Result.type is break and Result.target is in the current >- * label set, return (normal, Result.value, empty); >- * @description: Using case with isNaN and isNaN(value); >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch(value) { >- case 0: >- result += 2; >- case 1: >- result += 4; >- break; >- case 2: >- result += 8; >- case isNaN(value): >- result += 16; >- default: >- result += 32; >- break; >- case null: >- result += 64; >- case isNaN: >- result += 128; >- break; >- case Infinity: >- result += 256; >- case 2+3: >- result += 512; >- break; >- case undefined: >- result += 1024; >- } >- >- return result; >-} >- >-if(!(SwitchTest(eval('Number(false)')) === 6)){ >- testFailed("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); >-} >- >-if(!(SwitchTest(parseInt) === 32)){ >- testFailed("#2: SwitchTest(parseInt) === 32. Actual: SwitchTest(parseInt) ==="+ SwitchTest(parseInt) ); >-} >- >-if(!(SwitchTest(isNaN) === 128)){ >- testFailed("#3: SwitchTest(isNaN) === 128. Actual: SwitchTest(isNaN) ==="+ SwitchTest(isNaN) ); >-} >- >-if(!(SwitchTest(true) === 32)){ >- testFailed("#6: SwitchTest(true) === 32. Actual: SwitchTest(true) ==="+ SwitchTest(true) ); >-} >- >-if(!(SwitchTest(false) === 48)){ >- testFailed("#7: SwitchTest(false) === 48. Actual: SwitchTest(false) ==="+ SwitchTest(false) ); >-} >- >-if(!(SwitchTest(null) === 192)){ >- testFailed("#8: SwitchTest(null) === 192. Actual: SwitchTest(null) ==="+ SwitchTest(null) ); >-} >- >-if(!(SwitchTest(void 0) === 1024)){ >- testFailed("#9: SwitchTest(void 0) === 1024. Actual: SwitchTest(void 0) ==="+ SwitchTest(void 0) ); >-} >- >-if(!(SwitchTest(NaN) === 32)){ >- testFailed("#10: SwitchTest(NaN) === 32. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) ); >-} >- >-if(!(SwitchTest(Infinity) === 768)){ >- testFailed("#10: SwitchTest(NaN) === 768. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt >deleted file mode 100644 >index 028ed62afa2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 85: SyntaxError: Unexpected keyword 'default'. Expected '}' to end a body of a 'switch'. >-S12.11_A2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.html >deleted file mode 100644 >index d0069b19d5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A2_T1; >- * @section: 12.11; >- * @assertion: There can be only one DefaultClause; >- * @description: Duplicate DefaultClause; >- * @negative; >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch(value) { >- case 0: >- result += 2; >- default: >- result += 32; >- break; >- default: >- result += 32; >- break; >- } >- >- return result; >-} >- >-var x = SwitchTest(0); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt >deleted file mode 100644 >index 026b067a25b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ')' >-S12.11_A3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.html >deleted file mode 100644 >index 457f74c6846..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A3_T1; >- * @section: 12.11; >- * @assertion: Syntax constructions of switch statement; >- * @description: Checking if execution of "switch() {}" fails; >- * @negative; >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch() { >- case 0: >- result += 2; >- default: >- result += 32; >- break; >- } >- >- return result; >-} >- >-var x = SwitchTest(0); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt >deleted file mode 100644 >index d800bf3f3d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '{'. Expected '(' to start a subject of a 'switch'. >-S12.11_A3_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.html >deleted file mode 100644 >index fd398f75aef..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A3_T2; >- * @section: 12.11; >- * @assertion: Syntax constructions of switch statement; >- * @description: Checking if execution of "switch {}" fails; >- * @negative; >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch { >- case 0: >- result += 2; >- default: >- result += 32; >- break; >- } >- >- return result; >-} >- >-var x = SwitchTest(0); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt >deleted file mode 100644 >index fb670f90fc7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token ';'. Expected '{' to start a body of a 'switch'. >-S12.11_A3_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.html >deleted file mode 100644 >index 30c7b63e61b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A3_T3; >- * @section: 12.11; >- * @assertion: Syntax constructions of switch statement; >- * @description: Checking if execution of "switch(value)" fails; >- * @negative; >-*/ >- >-switch(value); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt >deleted file mode 100644 >index 0162ef785b2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ':' >-S12.11_A3_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.html >deleted file mode 100644 >index c662f63c3fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A3_T4; >- * @section: 12.11; >- * @assertion: Syntax constructions of switch statement; >- * @description: Using "case" that has no Expresson after it. "CaseClause: case Expression : [StatementList]"; >- * @negative; >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch(value) { >- case: >- result += 2; >- default: >- result += 32; >- break; >- } >- >- return result; >-} >- >-var x = SwitchTest(0); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt >deleted file mode 100644 >index b7506531033..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected identifier 'result'. Expected '}' to end a body of a 'switch'. >-S12.11_A3_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.html >deleted file mode 100644 >index c6a7c94b2c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A3_T5; >- * @section: 12.11; >- * @assertion: Syntax constructions of switch statement; >- * @description: Introducing statement not followed by "case" keyword; >- * @negative; >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch(value) { >- result =2; >- case 0: >- result += 2; >- default: >- result += 32; >- break; >- } >- >- return result; >-} >- >-var x = SwitchTest(0); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1-expected.txt >deleted file mode 100644 >index d3733b37fa7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.11_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.html >deleted file mode 100644 >index 1d342e1bb3d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.11_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.11_A4_T1; >- * @section: 12.11; >- * @assertion: Embedded syntax constructions of switch statement; >- * @description: Nesting one "switch" statement into StatementList of the other's; >-*/ >- >-function SwitchTest(value){ >- var result = 0; >- >- switch(value) { >- case 0: >- switch(value) { >- case 0: >- result += 3; >- break; >- default: >- result += 32; >- break; >- } >- result *= 2; >- break; >- result=3; >- default: >- result += 32; >- break; >- } >- return result; >-} >- >-var x = SwitchTest(0); >-if(x!==6) testFailed("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) ); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1-expected.txt >deleted file mode 100644 >index e5cf0a1f778..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.12_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.html >deleted file mode 100644 >index 278a6e2cb67..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.12_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.12_A1_T1; >- * @section: 12.12; >- * @assertion: Labelled statements are only used in conjunction with labelled >- * break and continue statements; >- * @description: Checking if labelled break works. See continue and break sections; >-*/ >- >-var object = {p1: 1, p2: 1}; >-var result = 0; >-lbl: for(var i in object){ >- result += object[i]; >- break lbl; >-} >- >-if(!(result === 1)){ >- testFailed("'break label' should break execution of labelled iteration statement"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1-expected.txt >deleted file mode 100644 >index 7bf436187c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A1 >- >-PASS error >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1.html >deleted file mode 100644 >index 156c4f1effc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A1; >- * @section: 12.13; >- * @assertion: Sanity test for throw statement; >- * @description: Trying to throw exception with "throw"; >- * @negative; >- */ >- >-throw "error"; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1-expected.txt >deleted file mode 100644 >index 82912b9a3bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.html >deleted file mode 100644 >index 8e2b5590dcd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A2_T1; >- * @section: 12.13; >- * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; >- * @description: Throwing undefined; >- */ >- >-// CHECK#1 >-try{ >- throw undefined; >-} >-catch(e){ >- if (e!==undefined) testFailed('#1: Exception === undefined. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2-expected.txt >deleted file mode 100644 >index a04934c6a86..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.html >deleted file mode 100644 >index 611f251d726..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A2_T2; >- * @section: 12.13; >- * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; >- * @description: Throwing null; >- */ >- >-// CHECK#1 >-try{ >- throw null; >-} >-catch(e){ >- if (e!==null) testFailed('#1: Exception === null. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3-expected.txt >deleted file mode 100644 >index 2f9556994f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.html >deleted file mode 100644 >index f1ac01c49ad..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A2_T3; >- * @section: 12.13; >- * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; >- * @description: Throwing boolean; >- */ >- >-// CHECK#1 >-try{ >- throw true; >-} >-catch(e){ >- if (e!==true) testFailed('#1: Exception ===true. Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-try{ >- throw false; >-} >-catch(e){ >- if (e!==false) testFailed('#2: Exception ===false. Actual: Exception ==='+ e ); >-} >- >-// CHECK#3 >-var b=false; >-try{ >- throw b; >-} >-catch(e){ >- if (e!==false) testFailed('#3: Exception ===false. Actual: Exception ==='+ e ); >-} >- >-// CHECK#4 >-var b=true; >-try{ >- throw b; >-} >-catch(e){ >- if (e!==true) testFailed('#4: Exception ===true. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4-expected.txt >deleted file mode 100644 >index 588c41a3b14..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.html >deleted file mode 100644 >index 4da58bc7bf6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A2_T4; >- * @section: 12.13; >- * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; >- * @description: Throwing string; >- */ >- >-// CHECK#1 >-try{ >- throw "exception #1"; >-} >-catch(e){ >- if (e!=="exception #1") testFailed('#1: Exception ==="exception #1". Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-var b="exception #1"; >-try{ >- throw b; >-} >-catch(e){ >- if (e!=="exception #1") testFailed('#2: Exception ==="exception #1". Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5-expected.txt >deleted file mode 100644 >index 8d96848af1d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.html >deleted file mode 100644 >index 8fdbc00cd0d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.html >+++ /dev/null >@@ -1,157 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A2_T5; >- * @section: 12.13; >- * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; >- * @description: Throwing number; >- */ >- >-// CHECK#1 >-try{ >- throw 13; >-} >-catch(e){ >- if (e!==13) testFailed('#1: Exception ===13. Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-var b=13; >-try{ >- throw b; >-} >-catch(e){ >- if (e!==13) testFailed('#2: Exception ===13. Actual: Exception ==='+ e ); >-} >- >-// CHECK#3 >-try{ >- throw 2.13; >-} >-catch(e){ >- if (e!==2.13) testFailed('#3: Exception ===2.13. Actual: Exception ==='+ e ); >-} >- >-// CHECK#4 >-try{ >- throw NaN; >-} >-catch(e){ >- if (!isNaN(e)) testFailed('#4: Exception is NaN'); >-} >- >-// CHECK#5 >-try{ >- throw +Infinity; >-} >-catch(e){ >- if (e!==+Infinity) testFailed('#5: Exception ===+Infinity. Actual: Exception ==='+ e ); >-} >- >-// CHECK#6 >-try{ >- throw -Infinity; >-} >-catch(e){ >- if (e!==-Infinity) testFailed('#6: Exception ===-Infinity. Actual: Exception ==='+ e ); >-} >- >-// CHECK#7 >-try{ >- throw +0; >-} >-catch(e){ >- if (e!==+0) testFailed('#7: Exception ===+0. Actual: Exception ==='+ e ); >-} >- >-// CHECK#8 >-try{ >- throw -0; >-} >-catch(e){ >- if (e!==-0) testFailed('#8: Exception ===-0. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6-expected.txt >deleted file mode 100644 >index 2df43619d5f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A2_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.html >deleted file mode 100644 >index c61e4baf5b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A2_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A2_T6; >- * @section: 12.13; >- * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; >- * @description: Throwing object; >- */ >- >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';}, >- i:7 >-} >- >-try{ >- throw myObj; >-} >-catch(e){ >-// CHECK#1 >- if (e.p1!=="a") testFailed('#1: e.p1 === "a". Actual: e.p1 ==='+ e.p1 ); >-// CHECK#2 >- if (e.value!=='myObj_value') testFailed('#2: e.p1 === \'myObj_value\'. Actual: e.p1 ==='+ e.p1 ); >-// CHECK#3 >- if (e.eval()!=='obj_eval') testFailed('#3: e.p1 === \'obj_eval\'. Actual: e.p1 ==='+ e.p1 ); >-} >- >-// CHECK#4 >-myObj.i=6 >-try{ >- throw myObj; >-} >-catch(e){} >-if (myObj.i!==6) testFailed('#4: Handling of catch must be correct'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7-expected.txt >deleted file mode 100644 >index a4cb10a340a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A2_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.html >deleted file mode 100644 >index 17d02617036..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A2_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A2_T7; >- * @section: 12.13; >- * @assertion: "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression; >- * @description: Throwing Array; >- */ >- >-var mycars = new Array(); >-mycars[0] = "Saab"; >-mycars[1] = "Volvo"; >-mycars[2] = "BMW"; >- >-var mycars2 = new Array(); >-mycars2[0] = "Mercedes"; >-mycars2[1] = "Jeep"; >-mycars2[2] = "Suzuki"; >- >-// CHECK#1 >-try{ >- throw mycars; >-} >-catch(e){ >- for (var i=0;i<3;i++){ >- if (e[i]!==mycars[i]) testFailed('#1.'+i+': Exception['+i+'] === mycars['+i+']. Actual: Exception['+i+'] ==='+ e[i] ); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1-expected.txt >deleted file mode 100644 >index cf299e27c91..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.html >deleted file mode 100644 >index eff4b554928..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A3_T1; >- * @section: 12.13; >- * @assertion: 1. Evaluate Expression; >- * @description: Evaluating boolean expression; >- */ >- >-// CHECK#1 >-var b=true; >-try{ >- throw b&&false; >-} >-catch(e){ >- if (e!==false) testFailed('#1: Exception === false(operaton &&). Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-var b=true; >-try{ >- throw b||false; >-} >-catch(e){ >- if (e!==true) testFailed('#2: Exception === true(operaton ||). Actual: Exception ==='+ e ); >-} >- >-// CHECK#3 >-try{ >- throw !false; >-} >-catch(e){ >- if (e!==true) testFailed('#3: Exception === true(operaton !). Actual: Exception ==='+ e ); >-} >- >-// CHECK#4 >-var b=true; >-try{ >- throw !(b&&false); >-} >-catch(e){ >- if (e!==true) testFailed('#4: Exception === true(operaton &&). Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2-expected.txt >deleted file mode 100644 >index 0510fdf21d4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.html >deleted file mode 100644 >index 83f745d0bd9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A3_T2; >- * @section: 12.13; >- * @assertion: 1. Evaluate Expression; >- * @description: Evaluating string expression; >- */ >- >-// CHECK#1 >-try{ >- throw "exception"+" #1"; >-} >-catch(e){ >- if (e!=="exception #1") testFailed('#1: Exception === "exception #1"(operaton +). Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-var b="exception" >-var a=" #1"; >-try{ >- throw b+a; >-} >-catch(e){ >- if (e!=="exception #1") testFailed('#2: Exception === "exception #1"(operaton +). Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3-expected.txt >deleted file mode 100644 >index 7df89420aa0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.html >deleted file mode 100644 >index e1e0b0b862b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.html >+++ /dev/null >@@ -1,174 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A3_T3; >- * @section: 12.13; >- * @assertion: 1. Evaluate Expression; >- * @description: Evaluating number expression; >- */ >- >-// CHECK#1 >-try{ >- throw 10+3; >-} >-catch(e){ >- if (e!==13) testFailed('#1: Exception ===13(operaton +). Actual: Exception ==='+ e); >-} >- >-// CHECK#2 >-var b=10; >-var a=3; >-try{ >- throw a+b; >-} >-catch(e){ >- if (e!==13) testFailed('#2: Exception ===13(operaton +). Actual: Exception ==='+ e); >-} >- >-// CHECK#3 >-try{ >- throw 3.15-1.02; >-} >-catch(e){ >- if (e!==2.13) testFailed('#3: Exception ===2.13(operaton -). Actual: Exception ==='+ e); >-} >- >-// CHECK#4 >-try{ >- throw 2*2; >-} >-catch(e){ >- if (e!==4) testFailed('#4: Exception ===4(operaton *). Actual: Exception ==='+ e); >-} >- >-// CHECK#5 >-try{ >- throw 1+Infinity; >-} >-catch(e){ >- if (e!==+Infinity) testFailed('#5: Exception ===+Infinity(operaton +). Actual: Exception ==='+ e); >-} >- >-// CHECK#6 >-try{ >- throw 1-Infinity; >-} >-catch(e){ >- if (e!==-Infinity) testFailed('#6: Exception ===-Infinity(operaton -). Actual: Exception ==='+ e); >-} >- >-// CHECK#7 >-try{ >- throw 10/5; >-} >-catch(e){ >- if (e!==2) testFailed('#7: Exception ===2(operaton /). Actual: Exception ==='+ e); >-} >- >-// CHECK#8 >-try{ >- throw 8>>2; >-} >-catch(e){ >- if (e!==2) testFailed('#8: Exception ===2(operaton >>). Actual: Exception ==='+ e); >-} >- >-// CHECK#9 >-try{ >- throw 2<<2; >-} >-catch(e){ >- if (e!==8) testFailed('#9: Exception ===8(operaton <<). Actual: Exception ==='+ e); >-} >- >-// CHECK#10 >-try{ >- throw 123%100; >-} >-catch(e){ >- if (e!==23) testFailed('#10: Exception ===23(operaton %). Actual: Exception ==='+ e); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4-expected.txt >deleted file mode 100644 >index d349ead31dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.html >deleted file mode 100644 >index 5ed2ed0fab0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A3_T4; >- * @section: 12.13; >- * @assertion: 1. Evaluate Expression; >- * @description: Evaluating array expression; >- */ >- >-var mycars = new Array(); >-mycars[0] = "Saab"; >-mycars[1] = "Volvo"; >-mycars[2] = "BMW"; >- >-var mycars2 = new Array(); >-mycars2[0] = "Mercedes"; >-mycars2[1] = "Jeep"; >-mycars2[2] = "Suzuki"; >- >-// CHECK#1 >-try{ >- throw mycars.concat(mycars2); >-} >-catch(e){ >- for (var i=0;i<3;i++){ >- if (e[i]!==mycars[i]) testFailed('#1.'+i+': Exception['+i+']===mycars['+i+'](operation .concat). Actual: Exception['+i+']==='+ e[i] ); >- } >- for (var i=3;i<6;i++){ >- if (e[i]!==mycars2[i-3]) testFailed('#1.'+i+': Exception['+i+']===mycars2['+(i-3)+'](operation .concat). Actual: Exception['+i+']==='+ e[i] ); >- } >-} >- >-// CHECK#2 >-try{ >- throw new Array("Mercedes","Jeep","Suzuki"); >-} >-catch(e){ >- for (var i=0;i<3;i++){ >- if (e[i]!==mycars2[i]) testFailed('#2.'+i+': Exception['+i+']===mycars2['+i+'](operation new). Actual: Exception['+i+']==='+ e[i] ); >- } >-} >- >-// CHECK#3 >-try{ >- throw mycars.concat(new Array("Mercedes","Jeep","Suzuki")); >-} >-catch(e){ >- for (var i=0;i<3;i++){ >- if (e[i]!==mycars[i]) testFailed('#3.'+i+': Exception['+i+']===mycars['+i+'](operation .concat(new)). Actual: Exception['+i+']==='+ e[i] ); >- } >- for (var i=3;i<6;i++){ >- if (e[i]!==mycars2[i-3]) testFailed('#3.'+i+': Exception['+i+']===mycars2['+(i-3)+'](operation .concat(new)). Actual: Exception['+i+']==='+ e[i] ); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5-expected.txt >deleted file mode 100644 >index 7a5e5d0178f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.html >deleted file mode 100644 >index 212cfc9933d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A3_T5; >- * @section: 12.13; >- * @assertion: 1. Evaluate Expression; >- * @description: Evaluating equation expression; >- */ >- >-// CHECK#1 >-var a=true; >-var b=false; >-try{ >- throw ((a&&(!b))?"exception":" #1"); >-} >-catch(e){ >- if (e!=="exception") testFailed('#1: Exception ==="exception"(operaton ? , ). Actual: Exception ==='+e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6-expected.txt >deleted file mode 100644 >index 4674b9f7dd3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.13_A3_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.html >deleted file mode 100644 >index f904d7d24d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.html >+++ /dev/null >@@ -1,140 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.13_A3_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.13_A3_T6; >- * @section: 12.13; >- * @assertion: 1. Evaluate Expression; >- * @description: Evaluating functions; >- */ >- >-// CHECK#1 >-var i=0; >-function adding1(){ >- i++; >- return 1; >-} >-try{ >- throw (adding1()); >-} >-catch(e){ >- if (e!==1) testFailed('#1: Exception ===1. Actual: Exception ==='+ e); >-} >- >-// CHECK#2 >-var i=0; >-function adding2(){ >- i++; >- return i; >-} >-try{ >- throw adding2(); >-} >-catch(e){} >-if (i!==1) testFailed('#2: i===1. Actual: i==='+ i); >- >-// CHECK#3 >-var i=0; >-function adding3(){ >- i++; >-} >-try{ >- throw adding3(); >-} >-catch(e){} >-if (i!==1) testFailed('#3: i===1. Actual: i==='+i); >- >-// CHECK#4 >-function adding4(i){ >- i++; >- return i; >-} >-try{ >- throw (adding4(1)); >-} >-catch(e){ >- if (e!==2) testFailed('#4: Exception ===2. Actual: Exception ==='+ e); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1-expected.txt >deleted file mode 100644 >index 08449271024..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1.html >deleted file mode 100644 >index 236c909b446..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A1; >- * @section: 12.14; >- * @assertion: The production TryStatement : try Block Catch is evaluated as follows: 2. If Result(1).type is not throw, return Result(1); >- * @description: Executing TryStatement : try Block Catch. The statements doesn't cause actual exceptions; >- */ >- >-// CHECK#1 >-try { >- var x=0; >-} >-catch (e) { >- testFailed('#1: If Result(1).type is not throw, return Result(1). Actual: 4 Return(Result(3))'); >-} >- >-// CHECK#2 >-var c1=0; >-try{ >- var x1=1; >-} >-finally >-{ >- c1=1; >-} >-if(x1!==1){ >- testFailed('#2.1: "try" block must be evaluated. Actual: try Block has not been evaluated'); >-} >-if (c1!==1){ >- testFailed('#2.2: "finally" block must be evaluated. Actual: finally Block has not been evaluated'); >-} >- >-// CHECK#3 >-var c2=0; >-try{ >- var x2=1; >-} >-catch(e){ >- testFailed('#3.1: If Result(1).type is not throw, return Result(1). Actual: 4 Return(Result(3))'); >-} >-finally{ >- c2=1; >-} >-if(x2!==1){ >- testFailed('#3.2: "try" block must be evaluated. Actual: try Block has not been evaluated'); >-} >-if (c2!==1){ >- testFailed('#3.3: "finally" block must be evaluated. Actual: finally Block has not been evaluated'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1-expected.txt >deleted file mode 100644 >index 5aa7c48b3ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A10_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.html >deleted file mode 100644 >index 7c2fc12b896..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A10_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A10_T1; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; >- * @description: Throwing exception while executing iteration statement placed into try Block; >- */ >- >-// CHECK#1 >-var i=0; >-try{ >-while(i<10){ >- if(i===5) throw i; >- i++; >-} >-} >-catch(e){ >- if(e!==5)testFailed('#1: Exception === 5. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2-expected.txt >deleted file mode 100644 >index 5eb0449ea12..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A10_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.html >deleted file mode 100644 >index 978a1def042..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.html >+++ /dev/null >@@ -1,198 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A10_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A10_T2; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; >- * @description: Try statement inside loop, where use continue loop; >- */ >- >-// CHECK#1 >-var c1=0,fin=0; >-while(c1<2){ >- try{ >- c1+=1; >- continue; >- } >- catch(er1){} >- finally{ >- fin=1; >- } >- fin=-1; >-}; >-if(fin!==1){ >- testFailed('#1: "finally" block must be evaluated at "try{continue} catch finally" construction'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-while(c2<2){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- continue; >- } >- finally{ >- fin2=1; >- } >- fin2=-1; >-} >-if(fin2!==1){ >- testFailed('#2: "finally" block must be evaluated at "try catch{continue} finally" construction'); >-} >- >-// CHECK#3 >-var c3=0,fin3=0; >-while(c3<2){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c3+=1; >- } >- finally{ >- fin3=1; >- continue; >- } >- fin3=0; >-} >-if(fin3!==1){ >- testFailed('#3: "finally" block must be evaluated at "try catch finally{continue}" construction'); >-} >- >-// CHECK#4 >-var c4=0,fin4=0; >-while(c4<2){ >- try{ >- c4+=1; >- continue; >- } >- finally{ >- fin4=1; >- } >- fin4=-1; >-}; >-if(fin4!==1){ >- testFailed('#4: "finally" block must be evaluated at "try{continue} finally" construction'); >-} >- >-// CHECK#5 >-var c5=0; >-while(c5<2){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c5+=1; >- continue; >- } >-} >-if(c5!==2){ >- testFailed('#5: "try catch{continue}" must work correctly'); >-} >- >-// CHECK#6 >-var c6=0,fin6=0; >-while(c6<2){ >- try{ >- c6+=1; >- throw "ex1" >- } >- finally{ >- fin6=1; >- continue; >- } >- fin6=-1; >-} >-if(fin6!==1){ >- testFailed('#6.1: "finally" block must be evaluated'); >-} >-if(c6!==2){ >- testFailed('#6.2: "try finally{continue}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3-expected.txt >deleted file mode 100644 >index 0d052d6d209..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A10_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.html >deleted file mode 100644 >index 4eb109d1879..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.html >+++ /dev/null >@@ -1,233 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A10_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A10_T3; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; >- * @description: Try statement inside loop, where use break; >- */ >- >-// CHECK#1 >-var c1=0,fin=0; >-while(c1<2){ >- try{ >- c1+=1; >- break; >- } >- catch(er1){} >- finally{ >- fin=1; >- } >- fin=-1; >- c1+=2; >-} >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(c1!==1){ >- testFailed('#1.2: "try{break}catch finally" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-while(c2<2){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- break; >- } >- finally{ >- fin2=1; >- } >- c2+=2; >- fin2=-1; >-} >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==1){ >- testFailed('#2.2: "try catch{break} finally" must work correctly'); >-} >- >-// CHECK#3 >-var c3=0,fin3=0; >-while(c3<2){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c3+=1; >- } >- finally{ >- fin3=1; >- break; >- } >- c3+=2; >- fin3=0; >-} >-if(fin3!==1){ >- testFailed('#3.1: "finally" block must be evaluated'); >-} >-if(c3!==1){ >- testFailed('#3.2: "try catch finally{break}" must work correctly'); >-} >- >-// CHECK#4 >-var c4=0,fin4=0; >-while(c4<2){ >- try{ >- c4+=1; >- break; >- } >- finally{ >- fin4=1; >- } >- fin4=-1; >- c4+=2; >-} >-if(fin4!==1){ >- testFailed('#4.1: "finally" block must be evaluated'); >-} >-if(c4!==1){ >- testFailed('#4.2: "try{break} finally" must work correctly'); >-} >- >-// CHECK#5 >-var c5=0; >-while(c5<2){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- break; >- } >-} >-if(c5!==0){ >- testFailed('#5: "try catch{break}" must work correctly'); >-} >- >-// CHECK#6 >-var c6=0; >-while(c6<2){ >- try{ >- c6+=1; >- break; >- } >- catch(er1){} >- c6+=2; >-} >-if(c6!==1){ >- testFailed('#6: "try{break} catch" must work correctly'); >-} >- >-// CHECK#7 >-var c7=0,fin7=0; >-try{ >- while(c7<2){ >- try{ >- c7+=1; >- throw "ex1"; >- } >- finally{ >- fin7=1; >- break; >- } >- fin7=-1; >- c7+=2; >- } >-} >-catch(ex1){ >- c7=10; >-} >-if(fin7!==1){ >- testFailed('#7.1: "finally" block must be evaluated'); >-} >-if(c7!==1){ >- testFailed('#7.2: "try finally{break}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4-expected.txt >deleted file mode 100644 >index 29892bb9332..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A10_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.html >deleted file mode 100644 >index d06f57c696d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A10_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A10_T4; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; >- * @description: Try statement inside loop, where combinate using break and continue; >- */ >- >-// CHECK#1 >-var c1=0,fin=0; >-while(c1<2){ >- try{ >- c1+=1; >- break; >- } >- catch(er1){} >- finally{ >- fin=1; >- continue; >- } >- fin=-1; >- c1+=2; >-} >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(c1!==2){ >- testFailed('#1.2: "try{break} catch finally{continue}" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-while(c2<2){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- break; >- } >- finally{ >- fin2=1; >- continue; >- } >- c2+=2; >- fin2=-1; >-} >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==2){ >- testFailed('#2.2: "try catch{break} finally{continue} must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5-expected.txt >deleted file mode 100644 >index 41723d66f7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A10_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.html >deleted file mode 100644 >index b67bea2ad73..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A10_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A10_T5; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement; >- * @description: Throw some exceptions from different place of loop body; >- */ >- >-// CHECK#1 >-var c=0, i=0; >-var fin=0; >-while(i<10){ >- i+=1; >- try{ >- if(c===0){ >- throw "ex1"; >- testFailed('#1.1: throw "ex1" lead to throwing exception'); >- } >- c+=2; >- if(c===1){ >- throw "ex2"; >- testFailed('#1.2: throw "ex2" lead to throwing exception'); >- } >- } >- catch(er1){ >- c-=1; >- continue; >- testFailed('#1.3: "try catch{continue} finally" must work correctly'); >- } >- finally{ >- fin+=1; >- } >-} >-if(fin!==10){ >- testFailed('#1.4: "finally" block must be evaluated'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1-expected.txt >deleted file mode 100644 >index 6dd01ec8992..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A11_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.html >deleted file mode 100644 >index f9efdd092e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A11_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A11_T1; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for" statement; >- * @description: Loop inside try Block, where throw exception; >- */ >- >-// CHECK#1 >-try{ >- for(var i=0;i<10;i++){ >- if(i===5) throw i; >- } >-} >-catch(e){ >- if(e!==5)testFailed('#1: Exception === 5. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2-expected.txt >deleted file mode 100644 >index abfa56a0bb8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A11_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.html >deleted file mode 100644 >index 35831924ea0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.html >+++ /dev/null >@@ -1,205 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A11_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A11_T2; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for" statement; >- * @description: Try statement inside loop, where use continue loop; >- */ >- >-// CHECK#1 >-var fin=0; >-for(var i=0;i<5;i++){ >- try{ >- i+=1; >- continue; >- } >- catch(er1){} >- finally{ >- fin=1; >- } >- fin=-1; >-} >-if(fin!==1){ >- testFailed('#1: "finally" block must be evaluated at "try{continue} catch finally" construction'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-for(var i=0;i<5;i++){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- continue; >- } >- finally{ >- fin2=1; >- } >- fin2=-1; >-} >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==5){ >- testFailed('#2.1: "try catch{continue} finally" must work correctly'); >-} >- >-// CHECK#3 >-var c3=0,fin3=0; >-for(var i=0;i<5;i++){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c3+=1; >- } >- finally{ >- fin3=1; >- continue; >- } >- fin3=0; >-} >-if(fin3!==1){ >- testFailed('#3.1: "finally" block must be evaluated'); >-} >-if(c3!==5){ >- testFailed('#3.2: "try catch finally{continue}" must work correctly'); >-} >- >-// CHECK#4 >-var fin=0; >-for(var i=0;i<5;i++){ >- try{ >- i+=1; >- continue; >- } >- finally{ >- fin=1; >- } >- fin=-1; >-}; >-if(fin!==1){ >- testFailed('#4: "finally" block must be evaluated at "try{continue} finally" construction'); >-} >- >-// CHECK#5 >-var c5=0; >-for(var c5=0;c5<10;){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c5+=1; >- continue; >- } >- c5+=12; >-}; >-if(c5!==10){ >- testFailed('#5: "try catch{continue} must work correctly'); >-} >- >-// CHECK#6 >-var c6=0,fin6=0; >-for(var c6=0;c6<10;){ >- try{ >- c6+=1; >- throw "ex1" >- } >- finally{ >- fin6=1; >- continue; >- } >- fin6=-1; >-}; >-if(fin6!==1){ >- testFailed('#6.1: "finally" block must be evaluated'); >-} >-if(c6!==10){ >- testFailed('#6.2: "try finally{continue}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3-expected.txt >deleted file mode 100644 >index 35cba7d6d15..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A11_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.html >deleted file mode 100644 >index 53c004ea768..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.html >+++ /dev/null >@@ -1,232 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A11_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A11_T3; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for" statement; >- * @description: Try statement inside loop, where use break; >- */ >- >-// CHECK#1 >-var c1=0,fin=0; >-for(var i=0;i<5;i++){ >- try{ >- c1+=1; >- break; >- } >- catch(er1){} >- finally{ >- fin=1; >- } >- fin=-1; >- c1+=2; >-}; >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(c1!==1){ >- testFailed('#1.2: "try{break}catch finally" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-for(var i=0;i<5;i++){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- break; >- } >- finally{ >- fin2=1; >- } >- c2+=2; >- fin2=-1; >-}; >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==1){ >- testFailed('#2.2: "try catch{break} finally" must work correctly'); >-} >- >-// CHECK#3 >-var c3=0,fin3=0; >-for(var i=0;i<5;i++){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c3+=1; >- } >- finally{ >- fin3=1; >- break; >- } >- c3+=2; >- fin3=0; >-}; >-if(fin3!==1){ >- testFailed('#3.1: "finally" block must be evaluated'); >-} >-if(c3!==1){ >- testFailed('#3.2: "try catch finally{break}" must work correctly'); >-} >- >-// CHECK#4 >-var c4=0,fin4=0; >-for(var i=0;i<5;i++){ >- try{ >- c4+=1; >- break; >- } >- finally{ >- fin4=1; >- } >- fin4=-1; >- c4+=2; >-}; >-if(fin4!==1){ >- testFailed('#4.1: "finally" block must be evaluated'); >-} >-if(c4!==1){ >- testFailed('#4.2: "try{break} finally" must work correctly'); >-} >- >-// CHECK#5 >-for(var i=0;i<5;i++){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- break; >- } >-}; >-if(i!==0){ >- testFailed('#5: "try catch{break}" must work correctly'); >-} >- >-// CHECK#6 >-var c6=0; >-for(var c6=0;c6<5;){ >- try{ >- c6+=1; >- break; >- } >- catch(er1){} >- c6+=2; >-}; >-if(c6!==1){ >- testFailed('#6: "try{break} catch" must work correctly'); >-} >- >-// CHECK#7 >-var c7=0,fin7=0; >-try{ >- for(var c7=0;c7<5;){ >- try{ >- c7+=1; >- throw "ex1"; >- } >- finally{ >- fin7=1; >- break; >- } >- fin7=-1; >- c7+=2; >- } >-} >-catch(ex1){ >- c7=10; >-} >-if(fin7!==1){ >- testFailed('#7.1: "finally" block must be evaluated'); >-} >-if(c7!==1){ >- testFailed('#7.2: "try finally{break}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4-expected.txt >deleted file mode 100644 >index fcda955e12f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A11_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.html >deleted file mode 100644 >index aaa23a01780..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A11_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A11_T4; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for" statement; >- * @description: Try statement inside loop, where combinate using break and continue; >- */ >- >-// CHECK#1 >-var c1=0,fin=0; >-for(var i=0;i<5;i++){ >- try{ >- c1+=1; >- break; >- } >- catch(er1){} >- finally{ >- fin=1; >- continue; >- } >- fin=-1; >- c1+=2; >-} >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(c1!==5){ >- testFailed('#1.2: "try{break} catch finally{continue}" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-for(var i=0;i<5;i++){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- break; >- } >- finally{ >- fin2=1; >- continue; >- } >- c2+=2; >- fin2=-1; >-} >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==5){ >- testFailed('#2.2: "try catch{break} finally{continue}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1-expected.txt >deleted file mode 100644 >index 70e56dd995f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.html >deleted file mode 100644 >index f35be58a3d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A12_T1; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement; >- * @description: Loop inside try Block, where throw exception; >- */ >- >-var x; >-var mycars = new Array(); >-mycars[0] = "Saab"; >-mycars[1] = "Volvo"; >-mycars[2] = "BMW"; >- >-// CHECK#1 >-try{ >- for (x in mycars){ >- if (mycars[x]==="BMW") throw "ex"; >- } >-} >-catch(e){ >- if(e!=="ex")testFailed('#1: Exception ==="ex". Actual: Exception ==='+ e ); >-} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2-expected.txt >deleted file mode 100644 >index e4abcd30191..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.html >deleted file mode 100644 >index c8953388ffe..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.html >+++ /dev/null >@@ -1,214 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A12_T2; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement; >- * @description: Try statement inside loop, where use continue loop; >- */ >- >-var x; >-var mycars = new Array(); >-mycars[0] = "Saab"; >-mycars[1] = "Volvo"; >-mycars[2] = "BMW"; >- >-// CHECK#1 >-var fin=0; >-var i=0; >-for (x in mycars){ >- try{ >- i+=1; >- continue; >- } >- catch(er1){} >- finally{ >- fin=1; >- } >- fin=-1; >-} >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(i!==3){ >- testFailed('#1.2: "try{continue} catch finally" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-for (x in mycars){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- continue; >- } >- finally{ >- fin2=1; >- } >- fin2=-1; >-} >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==3){ >- testFailed('#2.1: "try catch{continue} finally" must work correctly'); >-} >- >-// CHECK#3 >-var c3=0,fin3=0; >-for (x in mycars){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c3+=1; >- } >- finally{ >- fin3=1; >- continue; >- } >- fin3=0; >-} >-if(c3!==3){ >- testFailed('#3.1: "finally" block must be evaluated'); >-} >-if(fin3!==1){ >- testFailed('#3.2: "try catch finally{continue}" must work correctly'); >-} >- >-// CHECK#4 >-var fin=0; >-for (x in mycars){ >- try{ >- continue; >- } >- finally{ >- fin=1; >- } >- fin=-1; >-} >-if(fin!==1){ >- testFailed('#4: "finally" block must be evaluated at "try{continue} finally" construction'); >-} >- >-// CHECK#5 >-var c5=0; >-for (x in mycars){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c5+=1; >- continue; >- } >- c5+=12; >-} >-if(c5!==3){ >- testFailed('#5: "try catch{continue}" must work correctly'); >-} >- >-// CHECK#6 >-var c6=0,fin6=0; >-for (x in mycars){ >- try{ >- c6+=1; >- throw "ex1"; >- } >- finally{ >- fin6=1; >- continue; >- } >- fin6=-1; >-} >-if(fin6!==1){ >- testFailed('#6.1: "finally" block must be evaluated'); >-} >-if(c6!==3){ >- testFailed('#6.2: "try finally{continue}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3-expected.txt >deleted file mode 100644 >index bef6069dd95..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A12_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.html >deleted file mode 100644 >index 816fde26079..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.html >+++ /dev/null >@@ -1,244 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A12_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A12_T3; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement; >- * @description: Try statement inside loop, where use break; >- */ >- >-var x; >-var mycars = new Array(); >-mycars[0] = "Saab"; >-mycars[1] = "Volvo"; >-mycars[2] = "BMW"; >- >-// CHECK#1 >-var c1=0,fin=0; >-for (x in mycars){ >- try{ >- c1+=1; >- break; >- } >- catch(er1){ >- c1+=1; >- } >- finally{ >- fin=1; >- } >- fin=-1; >- c1+=2; >-}; >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(c1!==1){ >- testFailed('#1.2: "try{break}catch finally" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-for (x in mycars){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- break; >- } >- finally{ >- fin2=1; >- } >- c2+=2; >- fin2=-1; >-} >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==1){ >- testFailed('#2.2: "try catch{break} finally" must work correctly'); >-} >- >-// CHECK#3 >-var c3=0,fin3=0; >-for (x in mycars){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c3+=1; >- } >- finally{ >- fin3=1; >- break; >- } >- c3+=2; >- fin3=0; >-} >-if(fin3!==1){ >- testFailed('#3.1: "finally" block must be evaluated'); >-} >-if(c3!==1){ >- testFailed('#3.2: "try catch finally{break}" must work correctly'); >-} >- >-// CHECK#4 >-var c4=0,fin4=0; >-for (x in mycars){ >- try{ >- c4+=1; >- break; >- } >- finally{ >- fin4=1; >- } >- fin4=-1; >- c4+=2; >-} >-if(fin4!==1){ >- testFailed('#4.1: "finally" block must be evaluated'); >-} >-if(c4!==1){ >- testFailed('#4.2: "try{break} finally" must work correctly'); >-} >- >-// CHECK#5 >-var c5=0; >-for (x in mycars){ >- try{ >- throw "ex1"; >- c5++; >- } >- catch(er1){ >- break; >- c5++; >- } >- c5++; >-} >-if(c5!==0){ >- testFailed('#5: "try catch{break}" must work correctly'); >-} >- >-// CHECK#6 >-var c6=0; >-for (x in mycars){ >- try{ >- c6+=1; >- break; >- } >- catch(er1){} >- c6+=2; >-} >-if(c6!==1){ >- testFailed('#6: "try{break} catch" must work correctly'); >-} >- >-// CHECK#7 >-var c7=0,fin7=0; >-try{ >- for (x in mycars){ >- try{ >- c7+=1; >- throw "ex1"; >- } >- finally{ >- fin7=1; >- break; >- } >- fin7=-1; >- c7+=2; >- } >-} >-catch(ex1){ >- c7=10; >-} >-if(fin7!==1){ >- testFailed('#7.1: "finally" block must be evaluated'); >-} >-if(c7!==1){ >- testFailed('#7.2: "try finally{break}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4-expected.txt >deleted file mode 100644 >index b56410a212a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A12_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.html >deleted file mode 100644 >index 72dbc99ef11..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.html >+++ /dev/null >@@ -1,144 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A12_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A12_T4; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement; >- * @description: Try statement inside loop, where combinate using break and continue; >- */ >- >-var x; >-var mycars = new Array(); >-mycars[0] = "Saab"; >-mycars[1] = "Volvo"; >-mycars[2] = "BMW"; >- >-// CHECK#1 >-var c1=0,fin=0; >-for (x in mycars){ >- try{ >- c1+=1; >- break; >- } >- catch(er1){} >- finally{ >- fin=1; >- continue; >- } >- fin=-1; >- c1+=2; >-} >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(c1!==3){ >- testFailed('#1.2: "try{break} catch finally{continue}" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-for (x in mycars){ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- break; >- } >- finally{ >- fin2=1; >- continue; >- } >- c2+=2; >- fin2=-1; >-} >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==3){ >- testFailed('#2.2: "try catch{break} finally{continue}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1-expected.txt >deleted file mode 100644 >index 463b61264d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A13_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.html >deleted file mode 100644 >index 3ffc9847105..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.html >+++ /dev/null >@@ -1,161 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A13_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A13_T1; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement with a "return" statement; >- * @description: Using try/catch syntax construction; >- */ >- >-// CHECK#1 >-function myFunction1(){ >- try{ >- return 1; >- } >- catch(err){ >- testFailed('#1.1: "return 1" inside function does not lead to throwing exception'); >- return 0; >- } >- return 2; >-} >-var x1=myFunction1(); >-if(x1!==1){ >- testFailed('#1.2: x1===1. Actual: x1==='+x1); >-} >- >-// CHECK#2 >-function myFunction2(){ >- try{ >- throw "exc"; >- return 1; >- }catch(err){ >- return 2; >- } >- return 3; >-} >-var x2=myFunction2(); >-if (x2!==2){ >- testFailed('#2: x2===2. Actual: x2==='+x2); >-} >- >-// CHECK#3 >-function myFunction3(){ >- try{ >- return someValue; >- }catch(err){ >- return 1; >- } >- return 2; >-} >-var x3=myFunction3(); >-if (x3!==1){ >- testFailed('#3: x3===1. Actual: x3==='+x3); >-} >- >-// CHECK#4 >-function myFunction4(){ >- try{ >- throw "ex1"; >- return 1; >- }catch(err){ >- throw "ex2" >- return 0; >- } >- return 2; >-} >-try{ >- var x4=myFunction4(); >- testFailed('#4.1: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if(e==="ex1"){ >- testFailed('#4.2: Exception !=="ex1". Actual: catch previous exception'); >- } >- if(e!=="ex2"){ >- testFailed('#4.3: Exception ==="ex2". Actual: Exception ==='+ e ); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2-expected.txt >deleted file mode 100644 >index 10f687b962f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A13_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.html >deleted file mode 100644 >index 1cf30c3514d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.html >+++ /dev/null >@@ -1,264 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A13_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A13_T2; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement with a "return" statement; >- * @description: Using try/finally syntax construction; >- */ >- >-// CHECK#1 >-var c1=0; >-function myFunction1(){ >- try{ >- return 1; >- }finally{ >- c1=1; >- } >- return 2; >-} >-var x1=myFunction1(); >-if(x1!==1){ >- testFailed('#1.1: x1===1. Actual: x1==='+x1); >-} >-if (c1!==1){ >- testFailed('#1.2: "finally" block must be evaluated'); >-} >- >-// CHECK#2 >-var c2=0; >-function myFunction2(){ >- try{ >- throw "exc"; >- return 1; >- }finally{ >- c2=1; >- } >- return 2; >-} >-try{ >- var x2=myFunction2(); >- testFailed('#2.1: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if (c2!==1){ >- testFailed('#2.2: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#3 >-var c3=0; >-function myFunction3(){ >- try{ >- return someValue; >- }finally{ >- c3=1; >- } >- return 2; >-} >-try{ >- var x3=myFunction3(); >- testFailed('#3.1: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if (c3!==1){ >- testFailed('#3.2: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#4 >-var c4=0; >-function myFunction4(){ >- try{ >- return 1; >- }finally{ >- c4=1; >- throw "exc"; >- return 0; >- } >- return 2; >-} >-try{ >- var x4=myFunction4(); >- testFailed('#4.2: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if (c4!==1){ >- testFailed('#4.3: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#5 >-var c5=0; >-function myFunction5(){ >- try{ >- return 1; >- }finally{ >- c5=1; >- return someValue; >- return 0; >- } >- return 2; >-} >-try{ >- var x5=myFunction5(); >- testFailed('#5.2: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if (c5!==1){ >- testFailed('#5.3: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#6 >-var c6=0; >-function myFunction6(){ >- try{ >- throw "ex1"; >- return 1; >- }finally{ >- c6=1; >- throw "ex2"; >- return 2; >- } >- return 3; >-} >-try{ >- var x6=myFunction6(); >- testFailed('#6.1: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if(e==="ex1"){ >- testFailed('#6.2: Exception !=="ex1". Actual: catch previous exception'); >- } >- if(e!=="ex2"){ >- testFailed('#6.3: Exception !=="ex1". Actual: '+e); >- } >- if (c6!==1){ >- testFailed('#6.4: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#7 >-var c7=0; >-function myFunction7(){ >- try{ >- return 1; >- }finally{ >- c7=1; >- return 2; >- } >- return 3; >-} >-var x7=myFunction7(); >-if(x7!==2){ >- testFailed('#7.1: "catch" block must be evaluated'); >-} >-if (c7!==1){ >- testFailed('#7.2: "finally" block must be evaluated'); >-} >- >-// CHECK#8 >-var c8=0; >-function myFunction8(){ >- try{ >- throw "ex1"; >- }finally{ >- c8=1; >- return 2; >- } >- return 3; >-} >-try{ >- var x8=myFunction8(); >-} >-catch(ex1){ >- c8=10; >-} >-if (c8!==1){ >- testFailed('#8: "finally" block must be evaluated'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3-expected.txt >deleted file mode 100644 >index 9d308686361..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A13_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.html >deleted file mode 100644 >index b53a53ecd41..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.html >+++ /dev/null >@@ -1,268 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A13_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A13_T3; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement with a "return" statement; >- * @description: Using try/catch/finally syntax construction; >- */ >- >-// CHECK#1 >-var c1=0; >-function myFunction1(){ >- try{ >- return 1; >- }catch(err){ >- testFailed('#1.1: "return 1" inside function does not lead to throwing exception'); >- return 0; >- }finally{ >- c1=1; >- } >- return 2; >-} >-var x1=myFunction1(); >-if(x1!==1){ >- testFailed('#1.3: x1===1. Actual: x1==='+x1); >-} >-if (c1!==1){ >- testFailed('#1.4: "finally" block must be evaluated'); >-} >- >-// CHECK#2 >-var c2=0; >-function myFunction2(){ >- try{ >- throw "exc"; >- return 1; >- }catch(err){ >- return 0; >- }finally{ >- c2=1; >- } >- return 2; >-} >-var x2=myFunction2(); >-if (c2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if (x2!==0){ >- testFailed('#2.2: x2===0. Actual: x2==='+x2); >-} >- >-// CHECK#3 >-var c3=0; >-function myFunction3(){ >- try{ >- return someValue; >- }catch(err){ >- return 1; >- }finally{ >- c3=1; >- } >- return 2; >-} >-var x3=myFunction3(); >-if (c3!==1){ >- testFailed('#3.1: "finally" block must be evaluated'); >-} >-if (x3!==1){ >- testFailed('#3.2: x3===1. Actual: x3==='+x3); >-} >- >-// CHECK#4 >-var c4=0; >-function myFunction4(){ >- try{ >- throw "ex1"; >- return 1; >- }catch(err){ >- throw "ex2" >- return 0; >- }finally{ >- c4=1; >- } >- return 2; >-} >-try{ >- var x4=myFunction4(); >- testFailed('#4.1: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if(e==="ex1"){ >- testFailed('#4.2: Exception !== "ex1". Actual: catch previous exception'); >- } >- if(e!=="ex2"){ >- testFailed('#4.3: Exception === "ex2". Actual: Exception ==='+ e ); >- } >- if (c4!==1){ >- testFailed('#4.4: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#5 >-var c5=0; >-function myFunction5(){ >- try{ >- throw "ex1"; >- return 1; >- }catch(err){ >- return 0; >- }finally{ >- c5=1; >- throw "ex2"; >- } >- return 2; >-} >-try{ >- var x5=myFunction5(); >- testFailed('#5.1: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if(e==="ex1"){ >- testFailed('#5.2: Exception !== "ex1". Actual: catch previous exception'); >- } >- if(e!=="ex2"){ >- testFailed('#5.3: Exception === "ex2". Actual: Exception ==='+ e ); >- } >- if (c5!==1){ >- testFailed('#5.4: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#6 >-var c6=0; >-function myFunction6(){ >- try{ >- throw "ex1"; >- return 1; >- }catch(err){ >- throw "ex2"; >- return 0; >- }finally{ >- c6=1; >- throw "ex3"; >- } >- return 2; >-} >-try{ >- var x6=myFunction6(); >- testFailed('#6.1: Throwing exception inside function lead to throwing exception outside this function'); >-} >-catch(e){ >- if(e==="ex1"){ >- testFailed('#6.2: Exception !== "ex1". Actual: catch previous exception'); >- } >- if(e==="ex2"){ >- testFailed('#6.3: Exception !== "ex2". Actual: catch previous exception'); >- } >- if(e!=="ex3"){ >- testFailed('#6.4: Exception === "ex3". Actual: Exception ==='+ e ); >- } >- if(c6!==1) testFailed('#6.5: "finally" block must be evaluated'); >-} >- >-// CHECK#7 >-var c7=0; >-function myFunction7(){ >- try{ >- throw "ex1"; >- return 1; >- }catch(err){ >- throw "ex2"; >- return 0; >- }finally{ >- c7=1; >- return 2; >- } >- return 3; >-} >-try{ >- var x7=myFunction7(); >- if(x7!==2) testFailed('#7.1: x7===2. Actual: x7==='+x7); >-} >-catch(e){} >-if(c7!==1) testFailed('#7.2: "finally" block must be evaluated'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14-expected.txt >deleted file mode 100644 >index 1fd0ad9b24a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A14 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14.html >deleted file mode 100644 >index 114c3ecf186..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14.html >+++ /dev/null >@@ -1,160 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A14; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "with" statement; >- * @description: Using try/catch/finally in With and With in try/catch/finally; >- */ >- >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';} >-} >- >-// CHECK#1 >-try{ >- with(myObj){ >- throw "ex"; >- } >-} >-catch(e){ >- if (e!=="ex") testFailed('#1: Exception ==="ex". Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-with(myObj){ >- try{ >- throw p1; >- } >- catch(e){ >- if (e!=="a") testFailed('#2.1: Exception ==="a". Actual: Exception ==='+ e ); >- p1='pass'; >- } >-} >-if(myObj.p1!=='pass') testFailed('#2.2: "throw p1" lead to throwing exception'); >- >-// CHECK#3 >-with(myObj){ >- try{ >- p1='fail'; >- throw p2; >- } >- catch(e){ >- if (e!=="b") testFailed('#3.1: Exception ==="b". Actual: Exception ==='+ e ); >- p1='pass'; >- } >- finally{ >- p2='pass'; >- } >-} >-if(myObj.p1!=='pass') testFailed('#3.2: "throw p2" lead to throwing exception'); >-if(myObj.p2!=='pass') testFailed('#3.3: "finally" block must be evaluated'); >- >-// CHECK#4 >-myObj.p1='fail'; >-try{ >- with(myObj){ >- try{ >- throw p3; >- } >- finally{ >- p1='pass'; >- } >- } >-} >-catch(e){} >-if(myObj.p1!=='pass') testFailed('#4: "finally" block must be evaluated'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15-expected.txt >deleted file mode 100644 >index 03ee89e6eea..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A15 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15.html >deleted file mode 100644 >index ac29dfe497b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15.html >+++ /dev/null >@@ -1,174 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A15; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement within/without a "switch" statement; >- * @description: Insert try/catch/finally to switch statement; >- */ >- >-// CHECK#1 >-function SwitchTest1(value){ >- var result = 0; >- try{ >- switch(value) { >- case 1: >- result += 4; >- throw result; >- break; >- default: >- result += 32; >- break; >- case 4: >- result += 64; >- throw "ex"; >- } >- return result; >- } >- catch(e){ >- if ((value===1)&&(e!==4)) testFailed('#1.1: Exception ===4. Actual: Exception ==='+ e ); >- if ((value===4)&&(e!=="ex")) testFailed('#1.2: Exception ==="ex". Actual: Exception ==='+ e ); >- } >- finally{ >- return result; >- } >-} >-if (SwitchTest1(1)!==4) testFailed('#1.3: SwitchTest1(1)===4. Actual: SwitchTest1(1)==='+ SwitchTest1(1) ); >-if (SwitchTest1(4)!==64) testFailed('#1.4: SwitchTest1(4)===64. Actual: SwitchTest1(4)==='+ SwitchTest1(4) ); >- >-// CHECK#2 >-var c2=0; >-function SwitchTest2(value){ >- var result = 0; >- switch(value) { >- case 0: >- try{ >- result += 2; >- break; >- } >- finally{ >- c2=1; >- } >- case 1: >- result += 4; >- break; >- default: >- result += 32; >- break; >- } >- return result; >-} >-if (SwitchTest2(1)!==4) testFailed('#2.1: SwitchTest1(1)===4. Actual: SwitchTest1(1)==='+ SwitchTest1(1) ); >-if (c2===1) testFailed('#2.2: Evaluate finally block'); >-if (SwitchTest2(0)!==2) testFailed('#2.3: SwitchTest1(0)===2. Actual: SwitchTest1(0)==='+ SwitchTest1(0) ); >-if (c2!==1) testFailed('#2.4: "finally" block must be evaluated'); >- >-// CHECK#3 >-function SwitchTest3(value){ >- var result = 0; >- switch(value) { >- case 0: >- try{ >- result += 2; >- throw "ex"; >- } >- finally{ >- break; >- } >- default: >- result += 32; >- break; >- } >- return result; >-} >-try{ >- var x3=SwitchTest3(0); >- if (x3!==2) testFailed('#3.1: x3===2. Actual: x3==='+x3); >-} >-catch(e){ >- testFailed('#3.2: Catching exception inside function does not lead to throwing exception outside this function'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt >deleted file mode 100644 >index b7b5fbe6fe7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '}'. Expected a block statement as body of a try statement. >-S12.14_A16_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.html >deleted file mode 100644 >index be6f56421e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T1; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Checking if pure "try" syntax construction passes; >- * @negative >- */ >- >-// CHECK#1 >-try >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt >deleted file mode 100644 >index 686304a6581..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected a parameter pattern or a ')' in parameter list. >-S12.14_A16_T10 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html >deleted file mode 100644 >index 96bbd69f602..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T10; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Catch: "catch (Identifier ) Block"; >- * @negative >- */ >- >-// CHECK#1 >-try{} >-catch(){} >-finally{} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt >deleted file mode 100644 >index cdd3830ff08..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected keyword 'catch' >-S12.14_A16_T11 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.html >deleted file mode 100644 >index f38317fb4bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T11; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Catch and Finally are placed into the Block of "try" (whitle expected outside); >- * @negative >- */ >- >-// CHECK#1 >-try{ >- { >- } >- catch(e){} >- finally{} >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt >deleted file mode 100644 >index 45075285ef5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Unexpected token '}'. Try statements must have at least a catch or finally block. >-S12.14_A16_T12 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.html >deleted file mode 100644 >index ae3120cdec5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T12; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Embedded "try" statements followed by two "catch" statements; >- * @negative >- */ >- >-// CHECK#1 >-try >-{ >- try >- { >- } >-} >-catch(e1){} >-catch(e2){} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt >deleted file mode 100644 >index f09724822f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected string literal "22". Expected a parameter pattern or a ')' in parameter list. >-S12.14_A16_T13 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html >deleted file mode 100644 >index 136fa03f69a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T13; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Catch: "catch (Identifier ) Block". Checking if execution of "22" passes at the place of Identifier of "catch"; >- * @negative >- */ >- >-// CHECK#1 >-try >-{ >-} >-catch("22") >-{ >-} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt >deleted file mode 100644 >index e90e2ece55e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '('. Expected a block statement as body of a try statement. >-S12.14_A16_T14 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.html >deleted file mode 100644 >index c900d863103..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T14; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Checking if passing argument to "try" statement fails; >- * @negative >- */ >- >-// CHECK#1 >-try(e1){ >-} >-catch(e){} >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt >deleted file mode 100644 >index d15f7139a89..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '('. Expected block statement for finally body. >-S12.14_A16_T15 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.html >deleted file mode 100644 >index dc951bb044c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T15; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Finally: "finally Block". Checking if passing argument to "try" statement fails; >- * @negative >- */ >- >-// CHECK#1 >-try{ >-} >-finally(e){} >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt >deleted file mode 100644 >index 01e0631fea8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'catch' >-S12.14_A16_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.html >deleted file mode 100644 >index 7605ed08c99..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T2; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Checking if execution of "catch" with no "try" fails; >- * @negative >- */ >- >-// CHECK#1 >-catch >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt >deleted file mode 100644 >index bdc1851935b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'finally' >-S12.14_A16_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.html >deleted file mode 100644 >index 828c995ac3d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T3; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Checking if execution of "finally" with no "try" fails; >- * @negative >- */ >- >-// CHECK#1 >-finally >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt >deleted file mode 100644 >index 7ef7a2aa976..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A16_T4 >- >-PASS No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.html >deleted file mode 100644 >index 492eceb2a01..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T4; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Catch: "catch (Identifier ) Block". Checking if execution of "catch" that takes no arguments fails; >- * @negative >- */ >- >-// CHECK#1 >-try{} >-catch{} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('Expected parsing failure'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt >deleted file mode 100644 >index 35c28f0b646..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected a parameter pattern or a ')' in parameter list. >-S12.14_A16_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html >deleted file mode 100644 >index 10f40b790ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T5; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Catch: "catch (Identifier ) Block". Checking if execution of "catch" with no Block fails; >- * @negative >- */ >- >-// CHECK#1 >-try{} >-catch() >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt >deleted file mode 100644 >index 100139a6728..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'catch' >-S12.14_A16_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.html >deleted file mode 100644 >index 197b6ec7a69..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T6; >- * @section: 12.14, 12.1; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Block: "{ StatementList }". Checking if execution of "try{ catch{}{}" fails; >- * @negative >- */ >- >-// CHECK#1 >-try{ >-catch(){} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt >deleted file mode 100644 >index aef36a7ebbd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected a parameter pattern or a ')' in parameter list. >-S12.14_A16_T7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html >deleted file mode 100644 >index 85ad8bff06f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html >+++ /dev/null >@@ -1,98 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T7; >- * @section: 12.14, 12.1; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Block: "{ StatementList }". Checking if execution of "try{} catch(){" fails; >- * @negative >- */ >- >-// CHECK#1 >-try{} >-catch(){ >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt >deleted file mode 100644 >index 4b2c59d3934..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected a parameter pattern or a ')' in parameter list. >-S12.14_A16_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html >deleted file mode 100644 >index 5ab0bd6300f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T8; >- * @section: 12.14, 12.1; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Block: "{ StatementList }". Catch: "catch (Identifier ) Block". Checking if execution of "try{} catch(){finally{}" fails; >- * @negative >- */ >- >-// CHECK#1 >-try{} >-catch(){ >-finally{} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt >deleted file mode 100644 >index 90b19d701dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'catch' >-S12.14_A16_T9 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.html >deleted file mode 100644 >index b2347890de0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A16_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A16_T9; >- * @section: 12.14; >- * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"; >- * @description: Checking if execution of "catch(){} finally{}" fails; >- * @negative >- */ >- >-// CHECK#1 >-catch(){} >-finally{} >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17-expected.txt >deleted file mode 100644 >index 487810a6cbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A17 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17.html >deleted file mode 100644 >index e06f21b1e0a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A17</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A17; >- * @section: 12.14; >- * @assertion: Using "try" with "catch" or "finally" statement in a constructor; >- * @description: Creating exceptions within constructor; >- */ >- >-var i=1; >-function Integer( value, exception ) { >- try{ >- this.value = checkValue( value ); >- if(exception) testFailed('#'+i+'.1: Must be exception'); >- } >- catch(e){ >- this.value = e.toString(); >- if(!exception) testFailed('#'+i+'.2: Don`t must be exception'); >- } >- i++; >-} >- >-function checkValue(value){ >- if(Math.floor(value)!=value||isNaN(value)){ >- throw (INVALID_INTEGER_VALUE +": " + value); >- } >- else{ >- return value; >- } >-} >- >-// CHECK#1 >-new Integer(13, false); >-// CHECK#2 >-new Integer(NaN, true); >-// CHECK#3 >-new Integer(0, false); >-// CHECK#4 >-new Integer(Infinity, false); >-// CHECK#5 >-new Integer(-1.23, true); >-// CHECK#6 >-new Integer(Math.LN2, true); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1-expected.txt >deleted file mode 100644 >index 6a7b911513a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A18_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.html >deleted file mode 100644 >index 5ab6aba3788..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A18_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A18_T1; >- * @section: 12.14, 12.13; >- * @assertion: Catching objects with try/catch/finally statement; >- * @description: Catching undefined; >- */ >- >-// CHECK#1 >-try{ >- throw undefined; >-} >-catch(e){ >- if (e!==undefined) testFailed('#1: Exception === undefined. Actual: '+e); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2-expected.txt >deleted file mode 100644 >index 1a58bdfd17c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A18_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.html >deleted file mode 100644 >index 84a4a1d6db5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A18_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A18_T2; >- * @section: 12.14, 12.13; >- * @assertion: Catching objects with try/catch/finally statement; >- * @description: Catching null; >- */ >- >-// CHECK#1 >-try{ >- throw null; >-} >-catch(e){ >- if (e!==null) testFailed('#1: Exception ===null. Actual: '+e); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3-expected.txt >deleted file mode 100644 >index 549debfb524..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A18_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.html >deleted file mode 100644 >index abbfb8b109d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.html >+++ /dev/null >@@ -1,144 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A18_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A18_T3; >- * @section: 12.14, 12.13; >- * @assertion: Catching objects with try/catch/finally statement; >- * @description: Catching boolean; >- */ >- >-// CHECK#1 >-try{ >- throw true; >-} >-catch(e){ >- if (e!==true) testFailed('#1: Exception ===true. Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-try{ >- throw false; >-} >-catch(e){ >- if (e!==false) testFailed('#2: Exception ===false. Actual: Exception ==='+ e ); >-} >- >-// CHECK#3 >-var b=false; >-try{ >- throw b; >-} >-catch(e){ >- if (e!==false) testFailed('#3: Exception ===false. Actual: Exception ==='+ e ); >-} >- >-// CHECK#4 >-var b=true; >-try{ >- throw b; >-} >-catch(e){ >- if (e!==true) testFailed('#4: Exception ===true. Actual: Exception ==='+ e ); >-} >- >-// CHECK#5 >-var b=true; >-try{ >- throw b&&false; >-} >-catch(e){ >- if (e!==false) testFailed('#5: Exception ===false. Actual: Exception ==='+ e ); >-} >- >-// CHECK#5 >-var b=true; >-try{ >- throw b||false; >-} >-catch(e){ >- if (e!==true) testFailed('#6: Exception ===true. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4-expected.txt >deleted file mode 100644 >index b01749158d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A18_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.html >deleted file mode 100644 >index 8401c5b4bc3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A18_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A18_T4; >- * @section: 12.14, 12.13; >- * @assertion: Catching objects with try/catch/finally statement; >- * @description: Catching string; >- */ >- >-// CHECK#1 >-try{ >- throw "exception #1"; >-} >-catch(e){ >- if (e!=="exception #1") testFailed('#1: Exception ==="exception #1". Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-try{ >- throw "exception"+" #1"; >-} >-catch(e){ >- if (e!=="exception #1") testFailed('#2: Exception ==="exception #1". Actual: Exception ==='+ e ); >-} >- >-// CHECK#3 >-var b="exception #1"; >-try{ >- throw b; >-} >-catch(e){ >- if (e!=="exception #1") testFailed('#3: Exception ==="exception #1". Actual: Exception ==='+ e ); >-} >- >-// CHECK#4 >-var a="exception"; >-var b=" #1"; >-try{ >- throw a+b; >-} >-catch(e){ >- if (e!=="exception #1") testFailed('#4: Exception ==="exception #1". Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5-expected.txt >deleted file mode 100644 >index 8328a384d37..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A18_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.html >deleted file mode 100644 >index a73a09966fb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.html >+++ /dev/null >@@ -1,184 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A18_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A18_T5; >- * @section: 12.14, 12.13; >- * @assertion: Catching objects with try/catch/finally statement; >- * @description: Catching Number; >- */ >- >-// CHECK#1 >-try{ >- throw 13; >-} >-catch(e){ >- if (e!==13) testFailed('#1: Exception ===13. Actual: Exception ==='+ e ); >-} >- >-// CHECK#2 >-try{ >- throw 10+3; >-} >-catch(e){ >- if (e!==13) testFailed('#2: Exception ===13. Actual: Exception ==='+ e ); >-} >- >-// CHECK#3 >-var b=13; >-try{ >- throw b; >-} >-catch(e){ >- if (e!==13) testFailed('#3: Exception ===13. Actual: Exception ==='+ e ); >-} >- >-// CHECK#4 >-var a=3; >-var b=10; >-try{ >- throw a+b; >-} >-catch(e){ >- if (e!==13) testFailed('#4: Exception ===13. Actual: Exception ==='+ e ); >-} >- >-// CHECK#5 >-try{ >- throw 2.13; >-} >-catch(e){ >- if (e!==2.13) testFailed('#5: Exception ===2.13. Actual: Exception ==='+ e ); >-} >- >-// CHECK#6 >-var ex=2/3; >-try{ >- throw 2/3; >-} >-catch(e){ >- if (e!==ex) testFailed('#6: Exception ===2/3. Actual: Exception ==='+ e ); >-} >- >-// CHECK#7 >-try{ >- throw NaN; >-} >-catch(e){ >- if (!isNaN(e)) testFailed('#7: Exception is NaN'); >-} >- >-// CHECK#8 >-try{ >- throw +Infinity; >-} >-catch(e){ >- if (e!==+Infinity) testFailed('#8: Exception ===+Infinity. Actual: Exception ==='+ e ); >-} >- >-// CHECK#9 >-try{ >- throw -Infinity; >-} >-catch(e){ >- if (e!==-Infinity) testFailed('#9: Exception ===-Infinity. Actual: Exception ==='+ e ); >-} >- >-// CHECK#10 >-try{ >- throw +0; >-} >-catch(e){ >- if (e!==+0) testFailed('#10: Exception ===+0. Actual: Exception ==='+ e ); >-} >- >-// CHECK#11 >-try{ >- throw -0; >-} >-catch(e){ >- if (e!==-0) testFailed('#11: Exception ===-0. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6-expected.txt >deleted file mode 100644 >index ab0d7ccd69e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A18_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.html >deleted file mode 100644 >index aa626333d17..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A18_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A18_T6; >- * @section: 12.14, 12.13; >- * @assertion: Catching objects with try/catch/finally statement; >- * @description: Catching Object; >- */ >-var myObj = {p1: 'a', >- p2: 'b', >- p3: 'c', >- value: 'myObj_value', >- valueOf : function(){return 'obj_valueOf';}, >- parseInt : function(){return 'obj_parseInt';}, >- NaN : 'obj_NaN', >- Infinity : 'obj_Infinity', >- eval : function(){return 'obj_eval';}, >- parseFloat : function(){return 'obj_parseFloat';}, >- isNaN : function(){return 'obj_isNaN';}, >- isFinite : function(){return 'obj_isFinite';}, >- i:7, >-} >- >-try{ >- throw myObj; >-} >-catch(e){ >-// CHECK#1 >- if (e.p1!=="a") testFailed('#1: e.p1==="a". Actual: e.p1==='+ e.p1 ); >-// CHECK#2 >- if (e.value!=='myObj_value') testFailed('#2: e.value===\'myObj_value\'. Actual: e.value==='+ e.value ); >-// CHECK#3 >- if (e.eval()!=='obj_eval') testFailed('#3: e.eval()===\'obj_eval\'. Actual: e.eval()==='+ e.eval() ); >-} >- >-// CHECK#4 >-myObj.i=6; >-try{ >- throw myObj; >-} >-catch(e){} >-if (myObj.i!==6) testFailed('#4: Handling of catch must be correct'); >- >-// CHECK#5 >-myObj.i=6; >-try{ >- throw myObj; >-} >-catch(e){ >- e.i=10; >-} >-if (myObj.i!==10) testFailed('#5: Handling of catch must be correct'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7-expected.txt >deleted file mode 100644 >index f98dc379bc4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A18_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.html >deleted file mode 100644 >index 716fcbe31ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.html >+++ /dev/null >@@ -1,148 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A18_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A18_T7; >- * @section: 12.14, 12.13; >- * @assertion: Catching objects with try/catch/finally statement; >- * @description: Catching Array; >- */ >- >-var mycars = new Array(); >-mycars[0] = "Saab"; >-mycars[1] = "Volvo"; >-mycars[2] = "BMW"; >- >-var mycars2 = new Array(); >-mycars2[0] = "Mercedes"; >-mycars2[1] = "Jeep"; >-mycars2[2] = "Suzuki"; >- >-// CHECK#1 >-try{ >- throw mycars; >-} >-catch(e){ >- for (var i=0;i<3;i++){ >- if (e[i]!==mycars[i]) testFailed('#1.'+i+': Exception['+i+']===mycars['+i+']. Actual: Exception['+i+']==='+ e[i] ); >- } >-} >- >-// CHECK#2 >-try{ >- throw mycars.concat(mycars2); >-} >-catch(e){ >- for (var i=0;i<3;i++){ >- if (e[i]!==mycars[i]) testFailed('#2.'+i+': Exception['+i+']===mycars['+i+']. Actual: Exception['+i+']==='+ e[i] ); >- } >- for (var i=3;i<6;i++){ >- if (e[i]!==mycars2[i-3]) testFailed('#2.'+i+': Exception['+i+']===mycars2['+i+']. Actual: Exception['+i+']==='+ e[i] ); >- } >-} >- >-// CHECK#3 >-try{ >- throw new Array("Mercedes","Jeep","Suzuki"); >-} >-catch(e){ >- for (var i=0;i<3;i++){ >- if (e[i]!==mycars2[i]) testFailed('#3.'+i+': Exception['+i+']===mycars2['+i+']. Actual: Exception['+i+']==='+ e[i]); >- } >-} >- >-// CHECK#4 >-try{ >- throw mycars.concat(new Array("Mercedes","Jeep","Suzuki")); >-} >-catch(e){ >- for (var i=0;i<3;i++){ >- if (e[i]!==mycars[i]) testFailed('#4.'+i+': Exception['+i+']===mycars['+i+']. Actual: Exception['+i+']==='+ e[i] ); >- } >- for (var i=3;i<6;i++){ >- if (e[i]!==mycars2[i-3]) testFailed('#4.'+i+': Exception['+i+']===mycars2['+(i-3)+']. Actual: Exception['+i+']==='+ e[i]); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1-expected.txt >deleted file mode 100644 >index 03bd15d28ab..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A19_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.html >deleted file mode 100644 >index 2158d647c94..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.html >+++ /dev/null >@@ -1,150 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A19_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A19_T1; >- * @section: 12.14, 15.11, 16; >- * @assertion: Catching system exceptions of different types with try statement; >- * @description: Testing try/catch syntax construction; >- */ >- >-// CHECK#1 >-try{ >- throw (Error("hello")); >-} >-catch(e){ >- if (e.toString()!=="Error: hello") testFailed('#1: Exception.toString()==="Error: hello". Actual: Exception is '+e); >-} >- >-// CHECK#2 >-try{ >- throw (new Error("hello")); >-} >-catch(e){ >- if (e.toString()!=="Error: hello") testFailed('#2: Exception.toString()==="Error: hello". Actual: Exception is '+e); >-} >- >-// CHECK#3 >-var c3=0; >-try{ >- throw EvalError(1); >-} >-catch(e){ >- if (e.toString()!=="EvalError: 1") testFailed('#3: Exception.toString()==="EvalError: 1". Actual: Exception is '+e); >-} >- >-// CHECK#4 >-try{ >- throw RangeError(1); >-} >-catch(e){ >- if (e.toString()!=="RangeError: 1") testFailed('#4: Exception.toString()==="RangeError: 1". Actual: Exception is '+e); >-} >- >-// CHECK#5 >-try{ >- throw ReferenceError(1); >-} >-catch(e){ >- if (e.toString()!=="ReferenceError: 1") testFailed('#5: Exception.toString()==="ReferenceError: 1". Actual: Exception is '+e); >-} >- >-// CHECK#6 >-var c6=0; >-try{ >- throw TypeError(1); >-} >-catch(e){ >- if (e.toString()!=="TypeError: 1") testFailed('#6: Exception.toString()==="TypeError: 1". Actual: Exception is '+e); >-} >- >-// CHECK#7 >-try{ >- throw URIError("message", "fileName", "1"); >-} >-catch(e){ >- if (e.toString()!=="URIError: message") testFailed('#7: Exception.toString()==="URIError: message". Actual: Exception is '+e); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2-expected.txt >deleted file mode 100644 >index 98d55c38fd0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A19_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.html >deleted file mode 100644 >index d6a70622d60..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.html >+++ /dev/null >@@ -1,184 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A19_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A19_T2; >- * @section: 12.14; >- * @assertion: Catching system exceptions of different types with try statement; >- * @description: Testing try/catch/finally syntax construction; >- */ >- >-var fin=0; >-// CHECK#1 >-try{ >- throw (Error("hello")); >-} >-catch(e){ >- if (e.toString()!=="Error: hello") testFailed('#1.1: Exception.toString()==="Error: hello". Actual: Exception is '+e); >-} >-finally{ >- fin=1; >-} >-if (fin!==1) testFailed('#1.2: "finally" block must be evaluated'); >- >-// CHECK#2 >-fin=0; >-try{ >- throw (new Error("hello")); >-} >-catch(e){ >- if (e.toString()!=="Error: hello") testFailed('#2.1: Exception.toString()==="Error: hello". Actual: Exception is '+e); >-} >-finally{ >- fin=1; >-} >-if (fin!==1) testFailed('#2.2: "finally" block must be evaluated'); >- >-// CHECK#3 >-fin=0; >-var c3=0; >-try{ >- throw EvalError(1); >-} >-catch(e){ >- if (e.toString()!=="EvalError: 1") testFailed('#3.1: Exception.toString()==="EvalError: 1". Actual: Exception is '+e); >-} >-finally{ >- fin=1; >-} >-if (fin!==1) testFailed('#3.2: "finally" block must be evaluated'); >- >-// CHECK#4 >-fin=0; >-try{ >- throw RangeError(1); >-} >-catch(e){ >- if (e.toString()!=="RangeError: 1") testFailed('#4.1: Exception.toString()==="RangeError: 1". Actual: Exception is '+e); >-} >-finally{ >- fin=1; >-} >-if (fin!==1) testFailed('#4.2: "finally" block must be evaluated'); >- >-// CHECK#5 >-fin=0; >-try{ >- throw ReferenceError(1); >-} >-catch(e){ >- if (e.toString()!=="ReferenceError: 1") testFailed('#5.1: Exception.toString()==="ReferenceError: 1". Actual: Exception is '+e); >-} >-finally{ >- fin=1; >-} >-if (fin!==1) testFailed('#5.2: "finally" block must be evaluated'); >- >-// CHECK#6 >-fin=0; >-try{ >- throw TypeError(1); >-} >-catch(e){ >- if (e.toString()!=="TypeError: 1") testFailed('#6.1: Exception.toString()==="TypeError: 1". Actual: Exception is '+e); >-} >-finally{ >- fin=1; >-} >-if (fin!==1) testFailed('#6.2: "finally" block must be evaluated'); >- >-// CHECK#7 >-fin=0; >-try{ >- throw URIError("message", "fileName", "1"); >-} >-catch(e){ >- if (e.toString()!=="URIError: message") testFailed('#7.1: Exception.toString()==="URIError: message". Actual: Exception is '+e); >-} >-finally{ >- fin=1; >-} >-if (fin!==1) testFailed('#7.2: "finally" block must be evaluated'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2-expected.txt >deleted file mode 100644 >index dda829d40b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2.html >deleted file mode 100644 >index 0917dece514..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A2; >- * @section: 12.14; >- * @assertion: Throwing exception with "throw" and catching it with "try" statement; >- * @description: Checking if execution of "catch" catches an exception thrown with "throw"; >- */ >- >-// CHECK#1 >-try { >- throw "catchme"; >- testFailed('#1: throw "catchme" lead to throwing exception'); >-} >-catch(e){} >- >-// CHECK#2 >-var c2=0; >-try{ >- try{ >- throw "exc"; >- testFailed('#2.1: throw "exc" lead to throwing exception'); >- }finally{ >- c2=1; >- } >-} >-catch(e){ >- if (c2!==1){ >- testFailed('#2.2: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#3 >-var c3=0; >-try{ >- throw "exc"; >- testFailed('#3.1: throw "exc" lead to throwing exception'); >-} >-catch(err){ >- var x3=1; >-} >-finally{ >- c3=1; >-} >-if (x3!==1){ >- testFailed('#3.2: "catch" block must be evaluated'); >-} >-if (c3!==1){ >- testFailed('#3.3: "finally" block must be evaluated'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3-expected.txt >deleted file mode 100644 >index 858419080cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3.html >deleted file mode 100644 >index 6f9b71f5ab8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A3; >- * @section: 12.14; >- * @assertion: Catching system exception with "try" statement; >- * @description: Checking if execution of "catch" catches system exceptions; >- */ >- >-// CHECK#1 >-try{ >- y; >- testFailed('#1: "y" lead to throwing exception'); >-} >-catch(e){} >- >-// CHECK#2 >-var c2=0; >-try{ >- try{ >- someValue; >- testFailed('#3.1: "someValues" lead to throwing exception'); >- } >- finally{ >- c2=1; >- } >-} >-catch(e){ >- if (c2!==1){ >- testFailed('#3.2: "finally" block must be evaluated'); >- } >-} >- >-// CHECK#3 >-var c3=0,x3=0; >-try{ >- x3=someValue; >- testFailed('#3.1: "x3=someValues" lead to throwing exception'); >-} >-catch(err){ >- x3=1; >-} >-finally{ >- c3=1; >-} >-if (x3!==1){ >- testFailed('#3.2: "catch" block must be evaluated'); >-} >-if (c3!==1){ >- testFailed('#3.3: "finally" block must be evaluated'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4-expected.txt >deleted file mode 100644 >index 57be06e367f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4.html >deleted file mode 100644 >index 049249548bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A4; >- * @section: 12.14; >- * @assertion: Sanity test for "catch(Indetifier) statement"; >- * @description: Checking if deleting an exception fails; >- */ >- >-// CHECK#1 >-try { >- throw "catchme"; >- testFailed('#1.1: throw "catchme" lead to throwing exception'); >-} >-catch (e) { >- if (delete e){ >- testFailed('#1.2: Exception has DontDelete property'); >- } >- if (e!=="catchme") { >- testFailed('#1.3: Exception === "catchme". Actual: Exception ==='+ e ); >- } >-} >- >-// CHECK#2 >-try { >- throw "catchme"; >- testFailed('#2.1: throw "catchme" lead to throwing exception'); >-} >-catch(e){} >-try{ >- e; >- testFailed('#2.2: Deleting catching exception after ending "catch" block'); >-} >-catch(err){} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5-expected.txt >deleted file mode 100644 >index 426c014a20c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5.html >deleted file mode 100644 >index 9e3f86e87cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5.html >+++ /dev/null >@@ -1,133 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A5; >- * @section: 12.14; >- * @assertion: The production TryStatement: "try Block Finally" and the production TryStatement: "try Block Catch Finally"; >- * @description: Checking "catch" catches the Identifier in appropriate way; >- */ >- >-// CHECK#1 >-try { >- throw "catchme"; >- throw "dontcatchme"; >- testFailed('#1.1: throw "catchme" lead to throwing exception'); >-} >-catch (e) { >- if(e==="dontcatchme"){ >- testFailed('#1.2: Exception !== "dontcatchme"'); >- } >- if (e!=="catchme") { >- testFailed('#1.3: Exception === "catchme". Actual: Exception ==='+ e ); >- } >-} >- >-// CHECK#2 >-function SwitchTest1(value){ >- var result = 0; >- try{ >- switch(value) { >- case 1: >- result += 4; >- throw result; >- break; >- case 4: >- result += 64; >- throw "ex"; >- } >- return result; >- } >- catch(e){ >- if ((value===1)&&(e!==4)) testFailed('#2.1: Exception === 4. Actual: '+e); >- if ((value===4)&&(e!=="ex"))testFailed('#2.2: Exception === "ex". Actual: '+e); >- } >- finally{ >- return result; >- } >-} >-if (SwitchTest1(1)!==4) testFailed('#2.3: "finally" block must be evaluated'); >-if (SwitchTest1(4)!==64)testFailed('#2.4: "finally" block must be evaluated'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6-expected.txt >deleted file mode 100644 >index c5eaff7dd9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6.html >deleted file mode 100644 >index a12a10fdf54..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6.html >+++ /dev/null >@@ -1,149 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A6; >- * @section: 12.14; >- * @assertion: The production TryStatement: "try Block Catch Finally"; >- * @description: Executing sequence of "try" statements, using counters with varying values within; >- */ >- >-// CHECK#1 >-var c1=0; >-try { >- c1+=1; >- y; >- testFailed('#1.1: "y" lead to throwing exception'); >-} >-catch (e) { >- c1*=2; >-} >-if (c1!==2){ >- testFailed('#1.2: Sequence evaluation of commands try/catch is 1. try, 2. catch'); >-} >- >-// CHECK#2 >-var c2=0; >-try{ >- c2+=1; >-} >-finally{ >- c2*=2; >-} >-if (c2!==2){ >- testFailed('#2: Sequence evaluation of commands try/finally is 1. try, 2. finally'); >-} >- >-// CHECK#3 >-var c3=0; >-try{ >- c3=1; >- z; >-} >-catch(err){ >- c3*=2; >-} >-finally{ >- c3+=1; >-} >-if (c3!==3){ >- testFailed('#3: Sequence evaluation of commands try/catch/finally(with exception) is 1. try, 2. catch, 3. finally'); >-} >- >-// CHECK#4 >-var c4=0; >-try{ >- c4=1; >-} >-catch(err){ >- c4*=3; >-} >-finally{ >- c4+=1; >-} >-if (c4!==2){ >- testFailed('#4: Sequence evaluation of commands try/catch/finally(without exception) is 1. try, 2. finally'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1-expected.txt >deleted file mode 100644 >index 039ffb8865d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.html >deleted file mode 100644 >index 18985269cb3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.html >+++ /dev/null >@@ -1,220 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A7_T1; >- * @section: 12.14; >- * @assertion: Evaluating the nested productions TryStatement; >- * @description: Checking if the production of nested TryStatement statements evaluates correct; >- */ >- >-// CHECK#1 >-try{ >- try{ >- throw "ex2"; >- } >- catch(er2){ >- if (er2!=="ex2") >- testFailed('#1.1: Exception === "ex2". Actual: Exception ==='+ e ); >- throw "ex1"; >- } >- } >- catch(er1){ >- if (er1!=="ex1") testFailed('#1.2: Exception === "ex1". Actual: '+er1); >- if (er1==="ex2") testFailed('#1.3: Exception !== "ex2". Actual: catch previous embedded exception'); >-} >- >-// CHECK#2 >-try{ >- throw "ex1"; >-} >-catch(er1){ >- try{ >- throw "ex2"; >- } >- catch(er1){ >- if (er1==="ex1") testFailed('#2.1: Exception !== "ex1". Actual: catch previous catching exception'); >- if (er1!=="ex2") testFailed('#2.2: Exception === "ex2". Actual: Exception ==='+ er1 ); >- } >- if (er1!=="ex1") testFailed('#2.3: Exception === "ex1". Actual: Exception ==='+ er1 ); >- if (er1==="ex2") testFailed('#2.4: Exception !== "ex2". Actual: catch previous catching exception'); >-} >- >-// CHECK#3 >-try{ >- throw "ex1"; >-} >-catch(er1){ >- if (er1!=="ex1") testFailed('#3.1: Exception ==="ex1". Actual: Exception ==='+ er1 ); >-} >-finally{ >- try{ >- throw "ex2"; >- } >- catch(er1){ >- if (er1==="ex1") testFailed('#3.2: Exception !=="ex1". Actual: catch previous embedded exception'); >- if (er1!=="ex2") testFailed('#3.3: Exception ==="ex2". Actual: Exception ==='+ er1 ); >- } >-} >- >-// CHECK#4 >-var c4=0; >-try{ >- throw "ex1"; >-} >-catch(er1){ >- try{ >- throw "ex2"; >- } >- catch(er1){ >- if (er1==="ex1") testFailed('#4.1: Exception !=="ex1". Actual: catch previous catching exception'); >- if (er1!=="ex2") testFailed('#4.2: Exception ==="ex2". Actual: Exception ==='+ er1 ); >- } >- if (er1!=="ex1") testFailed('#4.3: Exception ==="ex1". Actual: Exception ==='+ er1 ); >- if (er1==="ex2") testFailed('#4.4: Exception !=="ex2". Actual: Catch previous embedded exception'); >-} >-finally{ >- c4=1; >-} >-if (c4!==1) testFailed('#4.5: "finally" block must be evaluated'); >- >-// CHECK#5 >-var c5=0; >-try{ >- try{ >- throw "ex2"; >- } >- catch(er1){ >- if (er1!=="ex2") testFailed('#5.1: Exception ==="ex2". Actual: Exception ==='+ er1 ); >- } >- throw "ex1"; >-} >-catch(er1){ >- if (er1!=="ex1") testFailed('#5.2: Exception ==="ex1". Actual: Exception ==='+ er1 ); >- if (er1==="ex2") testFailed('#5.3: Exception !=="ex2". Actual: catch previous embedded exception'); >-} >-finally{ >- c5=1; >-} >-if (c5!==1) testFailed('#5.4: "finally" block must be evaluated'); >- >-// CHECK#6 >-var c6=0; >-try{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- if (er1!=="ex1") testFailed('#6.1: Exception ==="ex1". Actual: Exception ==='+ er1 ); >- } >-} >-finally{ >- c6=1; >-} >-if (c6!==1) testFailed('#6.2: "finally" block must be evaluated'); >- >-// CHECK#7 >-var c7=0; >-try{ >- try{ >- throw "ex1"; >- } >- finally{ >- try{ >- c7=1; >- throw "ex2"; >- } >- catch(er1){ >- if (er1!=="ex2") testFailed('#7.1: Exception ==="ex2". Actual: Exception ==='+ er1 ); >- if (er1==="ex1") testFailed('#7.2: Exception !=="ex1". Actual: catch previous embedded exception'); >- c7++; >- } >- } >-} >-catch(er1){ >- if (er1!=="ex1") testFailed('#7.3: Exception ==="ex1". Actual: Exception ==='+ er1 ); >-} >-if (c7!==2) testFailed('#7.4: "finally" block must be evaluated'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2-expected.txt >deleted file mode 100644 >index 49e68af38c8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.html >deleted file mode 100644 >index 14434617e62..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.html >+++ /dev/null >@@ -1,234 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A7_T2; >- * @section: 12.14; >- * @assertion: Evaluating the nested productions TryStatement; >- * @description: Checking if the production of nested TryStatement statements evaluates correct; >- */ >- >-// CHECK#1 >-try{ >- try{ >- throw "ex2"; >- } >- finally{ >- throw "ex1"; >- } >-} >-catch(er1){ >- if (er1!=="ex1") testFailed('#1.2: Exception === "ex1". Actual: Exception ==='+er1 ); >- if (er1==="ex2") testFailed('#1.3: Exception !== "ex2". Actual: catch previous embedded exception'); >-} >- >-// CHECK#2 >-try{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- if (er1!=="ex1") testFailed('#2.1: Exception === "ex1". Actual: Exception ==='+er1 ); >- try{ >- throw "ex2"; >- } >- finally{ >- throw "ex3"; >- } >- testFailed('#2.2: throw "ex1" lead to throwing exception'); >- } >-} >-catch(er1){ >- if (er1!=="ex3") testFailed('#2.3: Exception === "ex3". Actual: Exception ==='+er1 ); >-} >- >-// CHECK#3 >-try{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- if (er1!=="ex1") testFailed('#3.1: Exception === "ex1". Actual: Exception ==='+er1 ); >- } >- finally{ >- try{ >- throw "ex2"; >- } >- finally{ >- throw "ex3"; >- } >- } >-} >-catch(er1){ >- if (er1!=="ex3") testFailed('#3.2: Exception === "ex3". Actual: Exception ==='+er1 ); >-} >- >-// CHECK#4 >-var c4=0; >-try{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- if (er1!=="ex1") testFailed('#4.1: Exception === "ex1". Actual: Exception ==='+er1 ); >- try{ >- throw "ex2"; >- } >- finally{ >- throw "ex3"; >- } >- } >- finally{ >- c4=1; >- } >-} >-catch(er1){ >- if (er1!=="ex3") testFailed('#4.2: Exception === "ex3". Actual: Exception ==='+er1 ); >-} >-if (c4!==1) testFailed('#4.3: "finally" block must be evaluated'); >- >-// CHECK#5 >-var c5=0; >-try{ >- try{ >- throw "ex2"; >- } >- finally{ >- throw "ex3"; >- } >- throw "ex1"; >-} >-catch(er1){ >- if (er1!=="ex3") testFailed('#5.1: Exception === "ex3". Actual: Exception ==='+er1 ); >- if (er1==="ex2") testFailed('#5.2: Exception !== "ex2". Actual: catch previous embedded exception'); >- if (er1==="ex1") testFailed('#5.3: Exception !=="ex1". Actual: catch previous embedded exception'); >-} >-finally{ >- c5=1; >-} >-if (c5!==1) testFailed('#5.4: "finally" block must be evaluated'); >- >-// CHECK#6 >-var c6=0; >-try{ >- try{ >- try{ >- throw "ex1"; >- } >- finally{ >- throw "ex2"; >- } >- } >- finally{ >- c6=1; >- } >-} >-catch(er1){ >- if (er1!=="ex2") testFailed('#6.1: Exception === "ex2". Actual: Exception ==='+er1 ); >-} >-if (c6!==1) testFailed('#6.2: "finally" block must be evaluated'); >- >-// CHECK#7 >-var c7=0; >-try{ >- try{ >- throw "ex1"; >- } >- finally{ >- try{ >- c7=1; >- throw "ex2"; >- } >- finally{ >- c7++; >- throw "ex3"; >- } >- } >-} >-catch(er1){ >- if (er1!=="ex3") testFailed('#7.1: Exception === "ex3". Actual: Exception ==='+er1 ); >-} >-if (c7!==2) testFailed('#7.2: Embedded "try/finally" blocks must be evaluated'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3-expected.txt >deleted file mode 100644 >index 7bc6d85cb12..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A7_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.html >deleted file mode 100644 >index fdbc133e302..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.html >+++ /dev/null >@@ -1,251 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A7_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A7_T3; >- * @section: 12.14; >- * @assertion: Evaluating the nested productions TryStatement; >- * @description: Checking if the production of nested TryStatement statements evaluates correct; >- */ >- >-// CHECK#1 >-try{ >- try{ >- throw "ex2"; >- } >- catch(er2){ >- if (er2!=="ex2") testFailed('#1.1: Exception === "ex2". Actual: Exception ==='+er2); >- throw "ex1"; >- } >- finally{ >- throw "ex3"; >- } >-} >-catch(er1){ >- if (er1!=="ex3") testFailed('#1.2: Exception === "ex3". Actual: Exception ==='+er1); >- if (er1==="ex2") testFailed('#1.3: Exception !=="ex2". Actual: catch previous catched exception'); >- if (er1==="ex1") testFailed('#1.4: Exception !=="ex1". Actual: catch previous embedded exception'); >-} >- >-// CHECK#2 >-var c2=0; >-try{ >- throw "ex1"; >-} >-catch(er1){ >- try{ >- throw "ex2"; >- } >- catch(er1){ >- if (er1==="ex1") testFailed('#2.1: Exception !=="ex1". Actual: catch previous catched exception'); >- if (er1!=="ex2") testFailed('#2.2: Exception === "ex2". Actual: Exception ==='+er1); >- } >- finally{ >- c2=1; >- } >- if (er1!=="ex1") testFailed('#2.3: Exception === "ex1". Actual: Exception ==='+er1); >- if (er1==="ex2") testFailed('#2.4: Exception !== "ex2". Actual: catch previous embedded exception'); >-} >-if (c2!==1) testFailed('#2.5: "finally" block must be evaluated'); >- >-// CHECK#3 >-var c3=0; >-try{ >- throw "ex1"; >-} >-catch(er1){ >- if (er1!=="ex1") testFailed('#3.1: Exception === "ex1". Actual: Exception ==='+er1); >-} >-finally{ >- try{ >- throw "ex2"; >- } >- catch(er1){ >- if (er1==="ex1") testFailed('#3.2: Exception !=="ex1". Actual: catch previous catched exception'); >- if (er1!=="ex2") testFailed('#3.3: Exception === "ex2". Actual: Exception ==='+er1); >- } >- finally{ >- c3=1; >- } >-} >-if (c3!==1) testFailed('#3.4: "finally" block must be evaluated'); >- >-// CHECK#4 >-var c4=0; >-try{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- try{ >- throw "ex2"; >- } >- catch(er1){ >- if (er1==="ex1") testFailed('#4.1: Exception !=="ex2". Actual: catch previous catched exception'); >- if (er1!=="ex2") testFailed('#4.2: Exception === "ex2". Actual: Exception ==='+er1); >- } >- finally{ >- c4=2; >- throw "ex3"; >- } >- if (er1!=="ex1") testFailed('#4.3: Exception === "ex2". Actual: Exception ==='+er1); >- if (er1==="ex2") testFailed('#4.4: Exception !=="ex2". Actual: catch previous catched exception'); >- if (er1==="ex3") testFailed('#4.5: Exception !=="ex3". Actual: Catch previous embedded exception'); >- } >- finally{ >- c4*=2; >- } >-} >-catch(er1){} >-if (c4!==4) testFailed('#4.6: "finally" block must be evaluated'); >- >-// CHECK#5 >-var c5=0; >-try{ >- try{ >- throw "ex2"; >- } >- catch(er1){ >- if (er1!=="ex2") testFailed('#5.1: Exception === "ex2". Actual: Exception ==='+er1); >- } >- finally{ >- throw "ex3"; >- } >- throw "ex1"; >-} >-catch(er1){ >- if (er1!=="ex3") testFailed('#5.2: Exception === "ex3". Actual: Exception ==='+er1); >- if (er1==="ex2") testFailed('#5.3: Exception !=="ex2". Actual: catch previous catched exception'); >- if (er1==="ex1") testFailed('#5.4: Exception !=="ex1". Actual: catch previous embedded exception'); >-} >-finally{ >- c5=1; >-} >-if (c5!==1) testFailed('#5.5: "finally" block must be evaluated'); >- >-// CHECK#6 >-var c6=0; >-try{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- if (er1!=="ex1") testFailed('#6.1: Exception === "ex1". Actual: Exception ==='+er1); >- } >- finally{ >- c6=2; >- } >-} >-finally{ >- c6*=2; >-} >-if (c6!==4) testFailed('#6.2: "finally" block must be evaluated'); >- >-// CHECK#7 >-var c7=0; >-try{ >- try{ >- throw "ex1"; >- } >- finally{ >- try{ >- c7=1; >- throw "ex2"; >- } >- catch(er1){ >- if (er1!=="ex2") testFailed('#7.1: Exception === "ex2". Actual: Exception ==='+er1); >- if (er1==="ex1") testFailed('#7.2: Exception !=="ex2". Actual: catch previous catched exception'); >- c7++; >- } >- finally{ >- c7*=2; >- } >- } >-} >-catch(er1){ >- if (er1!=="ex1") testFailed('#7.3: Exception === "ex1". Actual: Exception ==='+er1); >-} >-if (c7!==4) testFailed('#7.4: "finally" block must be evaluated'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8-expected.txt >deleted file mode 100644 >index e038455149a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8.html >deleted file mode 100644 >index b03fda78939..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A8; >- * @section: 12.14; >- * @assertion: "try" with "catch" or "finally" statement within/without an "if" statement; >- * @description: Throwing exception within an "if" statement; >- */ >- >-// CHECK#1 >-var c1=1; >-try{ >- if(c1===1){ >- throw "ex1"; >- testFailed('#1.1: throw "ex1" lead to throwing exception'); >- } >- testFailed('#1.2: throw "ex1" inside the "if" statement lead to throwing exception'); >-} >-catch(er1){ >- if (er1!=="ex1") testFailed('#1.3: Exception ==="ex1". Actual: Exception ==='+er1); >-} >- >-// CHECK#2 >-var c2=1; >-if(c2===1){ >- try{ >- throw "ex1"; >- testFailed('#2.1: throw "ex1" lead to throwing exception'); >- } >- catch(er1){ >- if(er1!="ex1") testFailed('#2.2: Exception ==="ex1". Actual: Exception ==='+er1); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1-expected.txt >deleted file mode 100644 >index 5fdf3c31e4e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.html >deleted file mode 100644 >index 7a750e1a1ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A9_T1; >- * @section: 12.14; >- * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; >- * @description: Loop within a "try" Block, from where exception is thrown; >- */ >- >-// CHECK#1 >-var i=0; >-try{ >- do{ >- if(i===5) throw i; >- i++; >- } >- while(i<10); >-} >-catch(e){ >- if(e!==5)testFailed('#1: Exception ===5. Actual: Exception ==='+ e ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2-expected.txt >deleted file mode 100644 >index 586608f042e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.html >deleted file mode 100644 >index 1fff723789d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.html >+++ /dev/null >@@ -1,204 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A9_T2; >- * @section: 12.14; >- * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; >- * @description: "try" statement within a loop, the statement contains "continue" statement; >- */ >- >-// CHECK#1 >-var c1=0,fin=0; >-do{ >- try{ >- c1+=1; >- continue; >- } >- catch(er1){} >- finally{ >- fin=1; >- } >- fin=-1; >-} >-while(c1<2); >-if(fin!==1){ >- testFailed('#1: "finally" block must be evaluated at "try{continue} catch finally" construction'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-do{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- continue; >- } >- finally{ >- fin2=1; >- } >- fin2=-1; >-} >-while(c2<2); >-if(fin2!==1){ >- testFailed('#2: "finally" block must be evaluated at "try catch{continue} finally" construction'); >-} >- >-// CHECK#3 >-var c3=0,fin3=0; >-do{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c3+=1; >- } >- finally{ >- fin3=1; >- continue; >- } >- fin3=0; >-} >-while(c3<2); >-if(fin3!==1){ >- testFailed('#3: "finally" block must be evaluated at "try catch finally{continue}" construction'); >-} >- >-// CHECK#4 >-var c4=0,fin4=0; >-do{ >- try{ >- c4+=1; >- continue; >- } >- finally{ >- fin4=1; >- } >- fin4=-1; >-} >-while(c4<2); >-if(fin4!==1){ >- testFailed('#4: "finally" block must be evaluated at "try{continue} finally" construction'); >-} >- >-// CHECK#5 >-var c5=0; >-do{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c5+=1; >- continue; >- } >-} >-while(c5<2); >-if(c5!==2){ >- testFailed('#5: "try catch{continue}" must work correctly'); >-} >- >-// CHECK#6 >-var c6=0,fin6=0; >-do{ >- try{ >- c6+=1; >- throw "ex1" >- } >- finally{ >- fin6=1; >- continue; >- } >- fin6=-1; >-} >-while(c6<2); >-if(fin6!==1){ >- testFailed('#6.1: "finally" block must be evaluated'); >-} >-if(c6!==2){ >- testFailed('#6.2: "try finally{continue}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3-expected.txt >deleted file mode 100644 >index 811fd7da406..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A9_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.html >deleted file mode 100644 >index c49f325bbf7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.html >+++ /dev/null >@@ -1,240 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A9_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A9_T3; >- * @section: 12.14; >- * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; >- * @description: "try" statement within a loop, the statement contains "break" statement; >- */ >- >-// CHECK#1 >-var c1=0,fin=0; >-do{ >- try{ >- c1+=1; >- break; >- } >- catch(er1){} >- finally{ >- fin=1; >- } >- fin=-1; >- c1+=2; >-} >-while(c1<2); >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(c1!==1){ >- testFailed('#1.2: "try{break}catch finally" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-do{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- break; >- } >- finally{ >- fin2=1; >- } >- c2+=2; >- fin2=-1; >-} >-while(c2<2); >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==1){ >- testFailed('#2.2: "try catch{break} finally" must work correctly'); >-} >- >-// CHECK#3 >-var c3=0,fin3=0; >-do{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c3+=1; >- } >- finally{ >- fin3=1; >- break; >- } >- c3+=2; >- fin3=0; >-} >-while(c3<2); >-if(fin3!==1){ >- testFailed('#3.1: "finally" block must be evaluated'); >-} >-if(c3!==1){ >- testFailed('#3.2: "try catch finally{break}" must work correctly'); >-} >- >-// CHECK#4 >-var c4=0,fin4=0; >-do{ >- try{ >- c4+=1; >- break; >- } >- finally{ >- fin4=1; >- } >- fin4=-1; >- c4+=2; >-} >-while(c4<2); >-if(fin4!==1){ >- testFailed('#4.1: "finally" block must be evaluated'); >-} >-if(c4!==1){ >- testFailed('#4.2: "try{break} finally" must work correctly'); >-} >- >-// CHECK#5 >-var c5=0; >-do{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- break; >- } >-} >-while(c5<2); >-if(c5!==0){ >- testFailed('#5: "try catch{break}" must work correctly'); >-} >- >-// CHECK#6 >-var c6=0; >-do{ >- try{ >- c6+=1; >- break; >- } >- catch(er1){} >- c6+=2; >-} >-while(c6<2); >-if(c6!==1){ >- testFailed('#6: "try{break} catch" must work correctly'); >-} >- >-// CHECK#7 >-var c7=0,fin7=0; >-try{ >- do{ >- try{ >- c7+=1; >- throw "ex1"; >- } >- finally{ >- fin7=1; >- break; >- } >- fin7=-1; >- c7+=2; >- } >- while(c7<2); >-} >-catch(ex1){ >- c7=10; >-} >-if(fin7!==1){ >- testFailed('#7.1: "finally" block must be evaluated'); >-} >-if(c7!==1){ >- testFailed('#7.2: try finally{break} error'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4-expected.txt >deleted file mode 100644 >index 9c6d3dcda8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A9_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.html >deleted file mode 100644 >index b9404f08f6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.html >+++ /dev/null >@@ -1,140 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A9_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A9_T4; >- * @section: 12.14; >- * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; >- * @description: "try" statement within a loop, the statement contains "continue" and "break" statements; >- */ >- >-// CHECK#1 >-var c1=0,fin=0; >-do{ >- try{ >- c1+=1; >- break; >- } >- catch(er1){} >- finally{ >- fin=1; >- continue; >- } >- fin=-1; >- c1+=2; >-} >-while(c1<2); >-if(fin!==1){ >- testFailed('#1.1: "finally" block must be evaluated'); >-} >-if(c1!==2){ >- testFailed('#1.2: "try{break} catch finally{continue}" must work correctly'); >-} >- >-// CHECK#2 >-var c2=0,fin2=0; >-do{ >- try{ >- throw "ex1"; >- } >- catch(er1){ >- c2+=1; >- break; >- } >- finally{ >- fin2=1; >- continue; >- } >- c2+=2; >- fin2=-1; >-} >-while(c2<2); >-if(fin2!==1){ >- testFailed('#2.1: "finally" block must be evaluated'); >-} >-if(c2!==2){ >- testFailed('#2.2: "try catch{break} finally{continue}" must work correctly'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5-expected.txt >deleted file mode 100644 >index 6c810627274..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.14_A9_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.html >deleted file mode 100644 >index 063a27dcd17..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.14_A9_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.14_A9_T5; >- * @section: 12.14; >- * @assertion: "try" with "catch" or "finally" statement within/without an "do while" statement; >- * @description: Checking if exceptions are thrown correctly from wherever of loop body; >- */ >- >- >-// CHECK#1 >-var c=0, i=0; >-var fin=0; >-do{ >- i+=1; >- try{ >- if(c===0){ >- throw "ex1"; >- testFailed('#1.1: throw "ex1" lead to throwing exception'); >- } >- c+=2; >- if(c===1){ >- throw "ex2"; >- testFailed('#1.2: throw "ex2" lead to throwing exception'); >- } >- } >- catch(er1){ >- c-=1; >- continue; >- testFailed('#1.3: "try catch{continue} finally" must work correctly'); >- } >- finally{ >- fin+=1; >- } >-} >-while(i<10); >-if(fin!==10){ >- testFailed('#1.4: "finally" block must be evaluated'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1-expected.txt >deleted file mode 100644 >index 2b969d54f51..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.1_A1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.html >deleted file mode 100644 >index fafba323bba..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.html >+++ /dev/null >@@ -1,96 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.1_A1; >-* @section: 12.1; >-* @assertion: The production Block { } can't contain function declaration; >-* @description: Trying to declare function at the Block statement; >-* @negative; >-*/ >-{ >- function __func(){} >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2-expected.txt >deleted file mode 100644 >index 18f7aa81d71..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-S12.1_A2 >- >-Can't find variable: x >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2.html >deleted file mode 100644 >index 7f9cb24eb21..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.1_A2; >-* @section: 12.1; >-* @assertion: The production StatementList Statement is evaluated as follows >-* 1. Evaluate Statement. >-* 2. If an exception was thrown, return (throw, V, empty) where V is the exception; >-* @description: Throwing exception within a Block; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- x(); >- testFailed('#1: "x()" lead to throwing exception'); >-} catch (e) { >- testPrint(e.message); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try { >- throw "catchme"; >- testFailed('#2: throw "catchme" lead to throwing exception'); >-} catch (e) { >- if (e!=="catchme") { >- testFailed('#2.1: Exception === "catchme". Actual: Exception ==='+ e ); >- } >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt >deleted file mode 100644 >index 569f971abc8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.1_A4_T1 >- >-PASS TypeError: {__func} is not a function. (In '{__func}()', '{__func}' is an instance of Object) >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1.html >deleted file mode 100644 >index ab40a300bf6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.1_A4_T1; >-* @section: 12.1; >-* @assertion: The production Block can't be inside of expression; >-* @description: Checking if execution of "y={__func}()" fails; >-* @negative; >-*/ >- >-function __func(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-y={__func}(); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt >deleted file mode 100644 >index 122cb4e1e91..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.1_A4_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2.html >deleted file mode 100644 >index b54af424c44..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.1_A4_T2; >-* @section: 12.1; >-* @assertion: The production Block can't be inside of expression; >-* @description: Checking if execution of "y={x}" fails; >-* @negative; >-*/ >- >-x=1; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-y={x}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5-expected.txt >deleted file mode 100644 >index 0fe3623388f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.1_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5.html >deleted file mode 100644 >index c1b8c9bb97e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.1_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.1_A5; >-* @section: 12.1; >-* @assertion: StatementList: StatementList Statement inside the Block is evaluated from left to right; >-* @description: Throwing exceptions within embedded/sequence Blocks; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- throw 1; >- throw 2; >- throw 3; >- testFailed('1.1: throw 1 lead to throwing exception'); >-} catch (e) { >- if (e!==1) { >- testFailed('#1.2: Exception === 1. Actual: Exception ==='+ e); >- } >-} >-//////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try { >- { >- throw 1; >- throw 2; >- } >- throw 3; >- testFailed('#2.1: throw 1 lead to throwing exception'); >-} catch (e) { >- if (e!==1) { >- testFailed('#2.2: Exception === 1. Actual: Exception ==='+ e); >- } >-} >-//////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try { >- throw 1; >- { >- throw 2; >- throw 3; >- } >- testFailed('#3.1: throw 1 lead to throwing exception'); >-} catch (e) { >- if (e!==1) { >- testFailed('#3.2: Exception === 1. Actual: Exception ==='+ e); >- } >-} >-//////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1-expected.txt >deleted file mode 100644 >index 0add15721f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-S12.2_A1 >- >-Can't find variable: __something__undefined >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1.html >deleted file mode 100644 >index 5b7aacbb953..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A1; >-* @section: 12.2; >-* @assertion: Variables are created when the program is entered. Variables are initialised to "undefined" >-* when created. A variable with an Initialiser is assigned the value of its AssignmentExpression when the >-* VariableStatement is executed, not when the variable is created; >-* @description: Creating variables after entering the execution scope; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- __x = __x; >- __y = __x ? "good fellow" : "liar"; // __y assigned to "liar" since __x undefined >- __z = __z === __x ? 1 : 0; // __z assigned to 1 since both __x and __z are undefined >-} catch (e) { >- testFailed('#1: Using declarated variable before it declaration is admitted'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try{ >- __something__undefined = __something__undefined; >- testFailed('#2: "__something__undefined = __something__undefined" lead to throwing exception'); >-} catch(e){ >- testPrint(e.message); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if ((__y !== "liar")&(__z !== 1)) { >- testFailed('#3: (__y === "liar") and (__z === 1). Actual: __y ==='+__y+' and __z ==='+__z ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __x, __y = true, __z = __y ? "smeagol" : "golum"; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (!__y&!(__z = "smeagol")) { >- testFailed('#4: A variable with an Initialiser is assigned the value of its AssignmentExpression when the VariableStatement is executed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10-expected.txt >deleted file mode 100644 >index 087453a7692..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10.html >deleted file mode 100644 >index 22cd8445f6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A10; >-* @section: 12.2; >-* @assertion: "var" statement within "for" statement is allowed; >-* @description: Declaring variable within a "for" IterationStatement; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- __ind=__ind; >-} catch (e) { >- testFailed('#1: var inside "for" is admitted '+e.message); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-for (var __ind;;){ >- break; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11-expected.txt >deleted file mode 100644 >index bf2f3f8db3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11.html >deleted file mode 100644 >index 859ee236b76..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A11; >-* @section: 12.2; >-* @assertion: When using property attributes, {ReadOnly} is not used; >-* @description: Changing variable value using property attributes; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-this['__declared__var'] = "baloon"; >-if (this['__declared__var'] !== "baloon") { >- testFailed('#1: this[\'__declared__var\'] === "baloon". Actual: this[\'__declared__var\'] ==='+ this['__declared__var'] ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__declared__var !== "baloon") { >- testFailed('#2: __declared__var === "baloon". Actual: __declared__var ==='+ __declared__var ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __declared__var; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12-expected.txt >deleted file mode 100644 >index 5b53ac51d13..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A12 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12.html >deleted file mode 100644 >index 4af6ce9165a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A12; >-* @section: 12.2; >-* @assertion: VariableDeclaration within "do-while" loop is allowed; >-* @description: Declaring variable within "do-while" statement; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- x=x; >-} catch (e) { >- testFailed('#1: Declaration variable inside "do-while" statement is admitted'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-do var x; while (false); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2-expected.txt >deleted file mode 100644 >index c6ac14bd57a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2.html >deleted file mode 100644 >index 16de4c75e7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2.html >+++ /dev/null >@@ -1,129 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A2; >-* @section: 12.2; >-* @assertion: Variables are defined with global scope (that is, they are created as members of the global object, as described in 10.1.3) using property attributes { DontDelete}; >-* @description: Checking if deleting global variables that have the attributes {DontDelete} fails; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (delete(__variable)) { >- testFailed('#1: delete(__variable)===false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (delete(this["__variable"])) { >- testFailed('#2: delete(this["__variable"])===false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-var __variable; >-var __variable = "defined"; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (delete(__variable) | delete(this["__variable"])) { >- testFailed('#3: (delete(__variable) | delete(this["__variable"]))===false' ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if ((__variable !== "defined")|(this["__variable"] !=="defined")) { >- testFailed('#4: __variable === "defined" and this["__variable"] ==="defined"'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3-expected.txt >deleted file mode 100644 >index c1bcb6f9b56..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3.html >deleted file mode 100644 >index f6a6181aad4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3.html >+++ /dev/null >@@ -1,137 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A3; >-* @section: 12.2; >-* @assertion: FunctionDeclaration produces a new scope; >-* @description: Using Global scope and Function scope together; >-*/ >- >-var __var = "OUT"; >- >-(function(){ >- var __var ="IN"; >- (function(){__var = "INNER_SPACE";})(); >- (function(){var __var = "INNER_SUN";})(); >- ////////////////////////////////////////////////////////////////////////////// >- //CHECK#1 >- if (__var !== "INNER_SPACE") { >- testFailed('#1: __var === "INNER_SPACE". Actual: __var ==='+ __var ); >- } >- // >- ////////////////////////////////////////////////////////////////////////////// >-})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__var !== "OUT") { >- testFailed('#2: __var === "OUT". Actual: __var ==='+ __var ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-(function(){ >- __var ="IN"; >- (function(){__var = "INNERED"})(); >- (function(){var __var = "INNAGER"})(); >- ////////////////////////////////////////////////////////////////////////////// >- //CHECK#3 >- if (__var!=="INNERED") { >- testFailed('#3: __var==="INNERED". Actual: __var==='+ __var ); >- } >- // >- ////////////////////////////////////////////////////////////////////////////// >-})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__var!=="INNERED") { >- testFailed('#4: __var==="INNERED". Actual: __var==='+ __var ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4-expected.txt >deleted file mode 100644 >index 1de78faa054..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4.html >deleted file mode 100644 >index b104da1d24a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A4; >-* @section: 12.2; >-* @assertion: Unicode characters in variable Identifier are allowed; >-* @description: Create and use unicode characters in variable Identifier; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- __var=__var; >-} catch (e) { >- testFailed('#1: Unicode characters in variable Identifier allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var \u005f\u005f\u0076\u0061\u0072 = 1; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__var !== 1) { >- testFailed('#2: __var === 1. Actual: __var ==='+ __var ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5-expected.txt >deleted file mode 100644 >index c8dbe290b23..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-S12.2_A5 >- >-Can't find variable: x >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5.html >deleted file mode 100644 >index dc9766f92c9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A5; >-* @section: 12.2; >-* @assertion: VariableDeclaration within Eval statement is initialized as the program reaches the eval statement; >-* @description: Executing eval("var x"); >-*/ >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- x=x; >- testFailed('#1: "x=x" lead to throwing exception'); >-}catch(e){ >- testPrint(e.message); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-eval("var x"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try{ >- x=x; >-}catch(e){ >- testFailed('#2: VariableDeclaration inside Eval statement is initialized when program reaches the eval statement '+e.message); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1-expected.txt >deleted file mode 100644 >index 5c831b8f3fd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.html >deleted file mode 100644 >index 7159584146f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A6_T1; >-* @section: 12.2; >-* @assertion: VariableDeclaration within "try-catch" statement is allowed; >-* @description: Declaring variable within "try-catch" statement; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- intry__var=intry__var; >-}catch(e){ >- testFailed('#1: Variable declaration inside "try" block is admitted'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try{ >- incatch__var=incatch__var; >-}catch(e){ >- testFailed('#2: Variable declaration inside "catch" block is admitted'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-try{ >- var intry__var; >-}catch(e){ >- var incatch__var; >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2-expected.txt >deleted file mode 100644 >index 2b23db3e0cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.html >deleted file mode 100644 >index b2b8689fc27..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A6_T2; >-* @section: 12.2; >-* @assertion: VariableDeclaration within "try-catch" statement is allowed; >-* @description: Declaring variables within "try-catch" statement; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- intry__intry__var=intry__intry__var; >- intry__incatch__var=intry__incatch__var; >- incatch__intry__var=incatch__intry__var; >- incatch__incatch__var=incatch__incatch__var; >-}catch(e){ >- testFailed('#1: Variable declaration inside "try-catch" block is admitted'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-try{ >- try { >- var intry__intry__var; >- } catch (e) { >- var intry__incatch__var; >- } >-}catch(e){ >- try { >- var incatch__intry__var; >- } catch (e) { >- var incatch__incatch__var; >- } >- >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7-expected.txt >deleted file mode 100644 >index 808c20cbc94..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7.html >deleted file mode 100644 >index fbd612d4a39..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A7; >-* @section: 12.2; >-* @assertion: VariableDeclaration within "for" statement is allowed; >-* @description: Declaring variable within "for" statement; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- infor_var = infor_var; >-}catch(e){ >- testFailed('#1: Variable declaration inside "for" loop is admitted'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-for (;;){ >- break; >- var infor_var; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt >deleted file mode 100644 >index 8b9a28a03a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '+='. Expected ';' after variable declaration. >-S12.2_A8_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.html >deleted file mode 100644 >index 77c2de75840..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A8_T1; >-* @section: 12.2; >-* @assertion: Only AssignmentExpression is admitted when variable is initialized; >-* @description: Checking if execution of "var x += 1" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x += 1; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt >deleted file mode 100644 >index 3b3efa2f99a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '|'. Expected ';' after variable declaration. >-S12.2_A8_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.html >deleted file mode 100644 >index 719d19bfa06..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A8_T2; >-* @section: 12.2; >-* @assertion: Only AssignmentExpression is admitted when variable is initialized; >-* @description: Checking if execution of "var x | true" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x | true; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt >deleted file mode 100644 >index d05a38da5ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '&&'. Expected ';' after variable declaration. >-S12.2_A8_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.html >deleted file mode 100644 >index 63d871d1dae..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A8_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A8_T3; >-* @section: 12.2; >-* @assertion: Only AssignmentExpression is admitted when variable is initialized; >-* @description: Checking if execution of "var x && 1" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x && 1; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt >deleted file mode 100644 >index 7e9bb63b584..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '++'. Expected ';' after variable declaration. >-S12.2_A8_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.html >deleted file mode 100644 >index 721108b883c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A8_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A8_T4; >-* @section: 12.2; >-* @assertion: Only AssignmentExpression is admitted when variable is initialized; >-* @description: Checking if execution of "var x++" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x++; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt >deleted file mode 100644 >index b1e9bd47e49..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '--'. Expected a parameter pattern or a ')' in parameter list. >-S12.2_A8_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.html >deleted file mode 100644 >index ce0752119a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A8_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A8_T5; >-* @section: 12.2; >-* @assertion: Only AssignmentExpression is admitted when variable is initialized; >-* @description: Checking if execution of "var --x" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var --x; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt >deleted file mode 100644 >index 7704f6dfd6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '*'. Expected ';' after variable declaration. >-S12.2_A8_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.html >deleted file mode 100644 >index 091d7f34447..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A8_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A8_T6; >-* @section: 12.2; >-* @assertion: Only AssignmentExpression is admitted when variable is initialized; >-* @description: Checking if execution of "var x*1" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x*1; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt >deleted file mode 100644 >index abaf4cc8a9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '>>'. Expected ';' after variable declaration. >-S12.2_A8_T7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.html >deleted file mode 100644 >index 31483b180de..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A8_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A8_T7; >-* @section: 12.2; >-* @assertion: Only AssignmentExpression is admitted when variable is initialized; >-* @description: Checking if execution of "var x>>1" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x>>1; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt >deleted file mode 100644 >index 9f87d5410e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected keyword 'in'. Expected ';' after variable declaration. >-S12.2_A8_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.html >deleted file mode 100644 >index da07c9fc919..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A8_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A8_T8; >-* @section: 12.2; >-* @assertion: Only AssignmentExpression is admitted when variable is initialized; >-* @description: Checking if execution of "var x in __arr" fails; >-* @negative; >-*/ >- >-__arr = []; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x in __arr; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9-expected.txt >deleted file mode 100644 >index f29281d245a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.2_A9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9.html b/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9.html >deleted file mode 100644 >index 7e6224fa0d9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.2_A9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.2_A9; >-* @section: 12.2; >-* @assertion: When using property attributes, {DontEnum} is not used; >-* @description: Enumerating property attributes of "this" and then searching for the declared variable; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for (__prop in this){ >- if (__prop === "__declared__var") >- enumed=true; >-} >-if (!(enumed)) { >- testFailed('#1: When using property attributes, {DontEnum} not used'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __declared__var; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1-expected.txt >deleted file mode 100644 >index 025885cc1e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1.html >deleted file mode 100644 >index c8e9e4b7005..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.3_A1; >-* @section: 12.3; >-* @assertion: The production EmptyStatement ; is evaluated as follows Return (normal, empty, empty); >-* @description: Using EmptyStatement ;; >-*/ >- >-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >-;;;;; ;;;;;; ;; ;; ;;;;;; ;;;;;;;; ;; ;; ;;;;; >-;;;;; ;; ;;;; ;;;; ;; ;; ;; ;; ;; ;;;;; >-;;;;; ;;;; ;; ;;;; ;; ;;;;;; ;; ;;;; ;;;;; >-;;;;; ;; ;; ;; ;; ;; ;; ;; ;;;;; >-;;;;; ;;;;;; ;; ;; ;; ;; ;; ;;;;; >-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt >deleted file mode 100644 >index 84e2abdfea4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Function statements must have a name. >-S12.4_A1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1.html >deleted file mode 100644 >index d8ae97410aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.4_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.4_A1; >-* @section: 12.4; >-* @assertion: An ExpressionStatement can not start with the function keyword because that might make it ambiguous with a FunctionDeclaration; >-* @description: Checking if execution of "function(){}()" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-function(){}(); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1-expected.txt >deleted file mode 100644 >index c4cdcf536ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.4_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.html >deleted file mode 100644 >index 7e75a38fb58..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.4_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.4_A2_T1; >-* @section: 12.4; >-* @assertion: The production ExpressionStatement : [lookahead \notin {{, function}] Expression; is evaluated as follows: >-* 1. Evaluate Expression. >-* 2. Call GetValue(Result(1)). >-* 3. Return (normal, Result(2), empty); >-* @description: Checking by using eval "(eval("x+1+x==1"))"; >-*/ >- >-x=1; >- >-__evaluated = eval("x+1+x==1"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__evaluated !== false) { >- testFailed('#1: __evaluated === false. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__evaluated = eval("1+1+1==1"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__evaluated !== false) { >- testFailed('#2: __evaluated === false. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2-expected.txt >deleted file mode 100644 >index 493d172fa5c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.4_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.html >deleted file mode 100644 >index efc89943d9d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.4_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.4_A2_T2; >-* @section: 12.4; >-* @assertion: The production ExpressionStatement : [lookahead \notin {{, function}] Expression; is evaluated as follows: >-* 1. Evaluate Expression. >-* 2. Call GetValue(Result(1)). >-* 3. Return (normal, Result(2), empty); >-* @description: Checking by using eval(eval(x), where x is any string); >-*/ >- >-x="5+1|0===0"; >- >-__evaluated = eval(x); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__evaluated !== 7) { >- testFailed('#1: __evaluated === 7. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__evaluated = eval("2*"+x+">-1"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__evaluated !== 11) { >- testFailed('#2: __evaluated === 11. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1-expected.txt >deleted file mode 100644 >index 3bdd1545c43..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.html >deleted file mode 100644 >index 12c4a548c82..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A1.1_T1; >-* @section: 12.5; >-* @assertion: 0, null, undefined, false, empty string, NaN in expression is evaluated to false; >-* @description: Using "if" without "else" construction; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >- >-if(0) >- testFailed('#1: 0 in expression is evaluated to false '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(false) >- testFailed('#2: false in expression is evaluated to false '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(null) >- testFailed('#3: null in expression is evaluated to false '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(undefined) >- testFailed('#4: undefined in expression is evaluated to false '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if("") >- testFailed('#5: empty string in expression is evaluated to false '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-if(NaN) >- testFailed('#5: NaN in expression is evaluated to false '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2-expected.txt >deleted file mode 100644 >index cc93f0c10e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.html >deleted file mode 100644 >index eb663ac9467..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.html >+++ /dev/null >@@ -1,153 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A1.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A1.1_T2; >-* @section: 12.5; >-* @assertion: 0, null, undefined, false, empty string, NaN in expression is evaluated to false; >-* @description: Using "if/else" construction; >-*/ >- >-var c=0; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(0) >- testFailed('#1.1: 0 in expression is evaluated to false '); >-else >- c++; >-if (c!=1) testFailed('#1.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(false) >- testFailed('#2.1: false in expression is evaluated to false '); >-else >- c++; >-if (c!=2) testFailed('#2.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(null) >- testFailed('#3.1: null in expression is evaluated to false '); >-else >- c++; >-if (c!=3) testFailed('#3.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(undefined) >- testFailed('#4.1: undefined in expression is evaluated to false '); >-else >- c++; >-if (c!=4) testFailed('#4.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if("") >- testFailed('#5.1: empty string in expression is evaluated to false '); >-else >- c++; >-if (c!=5) testFailed('#5.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-if(NaN) >- testFailed('#6.1: NaN in expression is evaluated to false '); >-else >- c++; >-if (c!=6) testFailed('#6.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1-expected.txt >deleted file mode 100644 >index 7e801261f77..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.html >deleted file mode 100644 >index d92131ecad2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.html >+++ /dev/null >@@ -1,154 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A1.2_T1; >-* @section: 12.5; >-* @assertion: 1, true, non-empty string and others in expression is evaluated to true when using operator "new"; >-* @description: Using "if" without "else" construction; >-*/ >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(!(new Number(1))) >- testFailed('#1: new 1 in expression is evaluated to true'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(!(new Boolean(true))) >- testFailed('#2: new true in expression is evaluated to true'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(!(new String("1"))) >- testFailed('#3: new "1" in expression is evaluated to true'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(!(new String("A"))) >- testFailed('#4: new "A" in expression is evaluated to true'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if(!(new Boolean(false))) >- testFailed('#2: new false in expression is evaluated to true '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-if(!(new Number(NaN))) >- testFailed('#6: new NaN in expression is evaluated to true '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#7 >-if(!(new Number(null))) >- testFailed('#7: new null in expression is evaluated to true '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#8 >-if(!(new String(undefined))) >- testFailed('#8: new undefined in expression is evaluated to true '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#9 >-if(!(new String(""))) >- testFailed('#9: new empty string in expression is evaluated to true '); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2-expected.txt >deleted file mode 100644 >index 18761a70320..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.html >deleted file mode 100644 >index 1a870a63b5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.html >+++ /dev/null >@@ -1,183 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A1.2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A1.2_T2; >-* @section: 12.5; >-* @assertion: 1, true, non-empty string and others in expression is evaluated to true when using operator "new"; >-* @description: Using "if/else" construction; >-*/ >- >-var c=0; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(!(new Number(1))) >- testFailed('#1.1: new 1 in expression is evaluated to true'); >-else >- c++; >-if (c!=1) testFailed('#1.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(!(new Boolean(true))) >- testFailed('#2.1: new true in expression is evaluated to true'); >-else >- c++; >-if (c!=2) testFailed('#2.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(!(new String("1"))) >- testFailed('#3.1: new "1" in expression is evaluated to true'); >-else >- c++; >-if (c!=3) testFailed('#3.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(!(new String("A"))) >- testFailed('#4.1: new "A" in expression is evaluated to true'); >-else >- c++; >-if (c!=4) testFailed('#4.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if(!(new Boolean(false))) >- testFailed('#5.1: new false in expression is evaluated to true '); >-else >- c++; >-if (c!=5) testFailed('#5.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-if(!(new Number(NaN))) >- testFailed('#6.1: new NaN in expression is evaluated to true '); >-else >- c++; >-if (c!=6) testFailed('#6.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#7 >-if(!(new Number(null))) >- testFailed('#7.1: new null in expression is evaluated to true '); >-else >- c++; >-if (c!=7) testFailed('#7.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#8 >-if(!(new String(undefined))) >- testFailed('#8.1: new undefined in expression is evaluated to true '); >-else >- c++; >-if (c!=8) testFailed('#8.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#9 >-if(!(new String(""))) >- testFailed('#9.1: new empty string in expression is evaluated to true '); >-else >- c++; >-if (c!=9) testFailed('#9.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1-expected.txt >deleted file mode 100644 >index a452fa503b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A10_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.html >deleted file mode 100644 >index 73a285d5c94..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A10_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A10_T1; >-* @section: 12.5; >-* @assertion: Function expession inside the "if" expression is allowed; >-* @description: Using function expession(function __func(){return 0;}) inside the "if" expression ; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-if(function __func(){return 0;}){ >- ; >-}else { >- testFailed('#1: Function expession inside the "if" expression is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2-expected.txt >deleted file mode 100644 >index 3c2910ec72d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A10_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.html >deleted file mode 100644 >index 854b73f842b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A10_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A10_T2; >-* @section: 12.5; >-* @assertion: Function expession inside the "if" expression is allowed; >-* @description: Using function expession "function __func(){return 0;}()" within "if" expression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-if(function __func(){return 0;}()){ >- testFailed('#1: Function expession inside the if expression is allowed'); >-}else { >- ; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt >deleted file mode 100644 >index e12b7a21ea9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '}'. Expected ':' after property name. >-S12.5_A11 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11.html >deleted file mode 100644 >index 9724e94aca5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A11; >-* @section: 12.5; >-* @assertion: {} within the "if" expression is not allowed; >-* @description: Checking if execution of "if({1})" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-if({1}) >- { >- ; >- }else >- { >- ; >- } >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1-expected.txt >deleted file mode 100644 >index ad3f3f35a22..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.html >deleted file mode 100644 >index c44a3bc875c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.html >+++ /dev/null >@@ -1,140 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A12_T1; >-* @section: 12.5; >-* @assertion: Embedded "if/else" constructions are allowed; >-* @description: Using embedded "if/else" into "if/else" constructions; >-*/ >- >-//CHECK# 1 >-if(true) >- if (false) >- testFailed('#1.1: At embedded "if/else" constructions engine must select right branches'); >- else >- ; >-else >- if (true) >- testFailed('#1.2: At embedded "if/else" constructions engine must select right branches'); >- else >- testFailed('#1.3: At embedded "if/else" constructions engine must select right branches'); >- >-//CHECK# 2 >-if(true) >- if (true) >- ; >- else >- testFailed('#2.1: At embedded "if/else" constructions engine must select right branches'); >-else >- if (true) >- testFailed('#2.2: At embedded "if/else" constructions engine must select right branches'); >- else >- testFailed('#2.3: At embedded "if/else" constructions engine must select right branches'); >- >-//CHECK# 3 >-if(false) >- if (true) >- testFailed('#3.1: At embedded "if/else" constructions engine must select right branches'); >- else >- testFailed('#3.2: At embedded "if/else" constructions engine must select right branches'); >-else >- if (true) >- ; >- else >- testFailed('#3.3: At embedded "if/else" constructions engine must select right branches'); >- >-//CHECK# 4 >-if(false) >- if (true) >- testFailed('#4.1: At embedded "if/else" constructions engine must select right branches'); >- else >- testFailed('#4.2: At embedded "if/else" constructions engine must select right branches'); >-else >- if (false) >- testFailed('#4.3: At embedded "if/else" constructions engine must select right branches'); >- else >- ; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2-expected.txt >deleted file mode 100644 >index 40fd4f50ade..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.html >deleted file mode 100644 >index 9b7dfc90f0f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.html >+++ /dev/null >@@ -1,132 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A12_T2; >-* @section: 12.5; >-* @assertion: Embedded "if/else" constructions are allowed; >-* @description: Using embedded "if" into "if/else" constructions; >-*/ >- >-//CHECK# 1 >-if(true){ >- if (false) >- testFailed('#1.1: At embedded "if/else" constructions engine must select right branches'); >-} >-else{ >- if (true) >- testFailed('#1.2: At embedded "if/else" constructions engine must select right branches'); >-} >- >-//CHECK# 2 >-if(true){ >- if (true) >- ; >-} >-else{ >- if (true) >- testFailed('#2.2: At embedded "if/else" constructions engine must select right branches'); >-} >- >-//CHECK# 3 >-if(false){ >- if (true) >- testFailed('#3.1: At embedded "if/else" constructions engine must select right branches'); >-} >-else{ >- if (true) >- ; >-} >- >-//CHECK# 4 >-if(false){ >- if (true) >- testFailed('#4.1: At embedded "if/else" constructions engine must select right branches'); >-} >-else{ >- if (false) >- testFailed('#4.3: At embedded "if/else" constructions engine must select right branches'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3-expected.txt >deleted file mode 100644 >index 235c9b3119a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A12_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.html >deleted file mode 100644 >index ccd4a831f40..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A12_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A12_T3; >-* @section: 12.5; >-* @assertion: Embedded "if/else" constructions are allowed; >-* @description: Using embedded "if/else" into "if" without "else" constructions; >-*/ >- >-//CHECK# 1 >-if(true) >- if (false) >- testFailed('#1.1: At embedded "if/else" constructions engine must select right branches'); >- else >- ; >- >-//CHECK# 2 >-if(true) >- if (true) >- ; >- else >- testFailed('#2.1: At embedded "if/else" constructions engine must select right branches'); >- >-//CHECK# 3 >-if(false) >- if (true) >- testFailed('#3.1: At embedded "if/else" constructions engine must select right branches'); >- else >- testFailed('#3.2: At embedded "if/else" constructions engine must select right branches'); >- >-//CHECK# 4 >-if(false) >- if (true) >- testFailed('#4.1: At embedded "if/else" constructions engine must select right branches'); >- else >- testFailed('#4.2: At embedded "if/else" constructions engine must select right branches'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4-expected.txt >deleted file mode 100644 >index 8b66350243e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A12_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.html >deleted file mode 100644 >index 05764b63a8c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A12_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A12_T4; >-* @section: 12.5; >-* @assertion: Embedded "if/else" constructions are allowed; >-* @description: Using embedded "if" into "if" constructions; >-*/ >- >-//CHECK# 1 >-if(true) >- if (false) >- testFailed('#1.1: At embedded "if/else" constructions engine must select right branches'); >- >-//CHECK# 2 >-var c=0; >-if(true) >- if (true) >- c=2; >-if (c!==2) >- testFailed('#2: At embedded "if/else" constructions engine must select right branches'); >- >-//CHECK# 3 >-if(false) >- if (true) >- testFailed('#3.1: At embedded "if/else" constructions engine must select right branches'); >- >-//CHECK# 4 >-if(false) >- if (true) >- testFailed('#4.1: At embedded "if/else" constructions engine must select right branches'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1-expected.txt >deleted file mode 100644 >index bd5951498c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.html >deleted file mode 100644 >index 3b7c88b40b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A1_T1; >-* @section: 12.5; >-* @assertion: 1, true, non-empty string in expression is evaluated to true; >-* @description: Using "if" without "else" construction; >-*/ >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(!(1)) >- testFailed('#1: 1 in expression is evaluated to true'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(!(true)) >- testFailed('#2: true in expression is evaluated to true'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(!("1")) >- testFailed('#3: "1" in expression is evaluated to true'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(!("A")) >- testFailed('#4: "A" in expression is evaluated to true'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2-expected.txt >deleted file mode 100644 >index e6593aed256..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.html >deleted file mode 100644 >index 6e2feed63c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A1_T2; >-* @section: 12.5; >-* @assertion: 1, true, non-empty string in expression is evaluated to true; >-* @description: Using "if/else" construction; >-*/ >- >-var c=0; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(!(1)) >- testFailed('#1.1: 1 in expression is evaluated to true'); >-else >- c++; >-if (c!=1) testFailed('#1.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if(!(true)) >- testFailed('#2.1: true in expression is evaluated to true'); >-else >- c++; >-if (c!=2) testFailed('#2.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if(!("1")) >- testFailed('#3.1: "1" in expression is evaluated to true'); >-else >- c++; >-if (c!=3) testFailed('#3.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if(!("A")) >- testFailed('#4.1: "A" in expression is evaluated to true'); >-else >- c++; >-if (c!=4) testFailed('#4.2: else branch don`t execute'); >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2-expected.txt >deleted file mode 100644 >index dacb8c46572..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A2 >- >-PASS SputnikError: #1: In the "if" Statement eval as Expression is admitted >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2.html >deleted file mode 100644 >index ccda47a1106..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A2; >-* @section: 12.5; >-* @assertion: In the "if" Statement eval in Expression is admitted; >-* @description: Checking by using eval "eval("true")"; >-* @negative; >-*/ >- >-if (eval("true")) testFailed('#1: In the "if" Statement eval as Expression is admitted'); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3-expected.txt >deleted file mode 100644 >index 5539dc04883..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3.html >deleted file mode 100644 >index 09ea57d4675..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A3; >-* @section: 12.5; >-* @assertion: When the production "IfStatement: if ( Expression ) Statement else Statement" is evaluated, Expression is evaluated first; >-* @description: The Expression is "(function(){throw 1})()"; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- if ((function(){throw 1})()) abracadabra >-} catch (e) { >- if (e !== 1) { >- testFailed('#1: Exception === 1. Actual: Exception ==='+ e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try { >- if ((function(){throw 1})()) abracadabra; else blablachat; >-} catch (e) { >- if (e !== 1) { >- testFailed('#2: Exception === 1. Actual: Exception ==='+ e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4-expected.txt >deleted file mode 100644 >index f2b7b5acf8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4.html >deleted file mode 100644 >index 69684e7cff2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A4; >-* @section: 12.5; >-* @assertion: When the production "IfStatement: if ( Expression ) Statement else Statement" is evaluated, Statement(s) is(are) evaluated second; >-* @description: The first statement is "(function(){throw "instatement"})()"; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- if (true) (function(){throw "instatement"})(); >- testFailed("#1 failed") >-} catch (e) { >- if (e !== "instatement") { >- testFailed('#1: Exception === "instatement". Actual: Exception ==='+ e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try { >- if (false) (function(){throw "truebranch"})(); (function(){throw "missbranch"})(); >- testFailed("#2 failed") >-} catch (e) { >- if (e !== "missbranch") { >- testFailed('#2: Exception === "missbranch". Actual: Exception ==='+ e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5-expected.txt >deleted file mode 100644 >index 75f4af8852d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5.html >deleted file mode 100644 >index b1a214187c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5.html >+++ /dev/null >@@ -1,130 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A5; >-* @section: 12.5; >-* @assertion: FunctionDeclaration inside the "if" Expression is evaluated as true and function will not be declarated; >-* @description: The "if" Expression is "function __func(){throw "FunctionExpression";}"; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- __func=__func; >- testFailed('#1: "__func=__func" lead to throwing exception'); >-} catch (e) { >- ; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try { >- if(function __func(){throw "FunctionExpression";}) (function(){throw "TrueBranch"})(); else (function(){"MissBranch"})(); >-} catch (e) { >- if (e !== "TrueBranch") { >- testFailed('#2: Exception ==="TrueBranch". Actual: Exception ==='+ e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try { >- __func=__func; >- testFailed('#3: "__func=__func" lead to throwing exception'); >-} catch (e) { >- ; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt >deleted file mode 100644 >index b8e2c4151ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'true'. Expected '(' to start an 'if' condition. >-S12.5_A6_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.html >deleted file mode 100644 >index 4e7115a4bf8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A6_T1; >-* @section: 12.5; >-* @assertion: In the If statement expression must be enclosed in braces; >-* @description: Checking if execution of "if true" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if true; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt >deleted file mode 100644 >index a777ab8caa5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'false'. Expected '(' to start an 'if' condition. >-S12.5_A6_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.html >deleted file mode 100644 >index 77d7ed82676..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A6_T2; >-* @section: 12.5; >-* @assertion: In the If statement expression must be enclosed in braces; >-* @description: Checking if execution of "if false" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if false; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7-expected.txt >deleted file mode 100644 >index ef909647f7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7.html >deleted file mode 100644 >index 49636f308b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A7; >-* @section: 12.5; >-* @assertion: In the "if" statement empty statement is allowed and is evaluated to "undefined"; >-* @description: Checking by using eval "eval("if(1);"))"; >-*/ >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- __evaluated = eval("if(1);"); >- if (__evaluated !== undefined) { >- testFailed('#1: __evaluated === undefined. Actual: __evaluated ==='+ __evaluated ); >- } >- >-} catch (e) { >- testFailed('#1.1: "__evaluated = eval("if(1);")" does not lead to throwing exception'); >- >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt >deleted file mode 100644 >index 1765578317a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')' >-S12.5_A8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8.html >deleted file mode 100644 >index 9c0c9c8fc36..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A8; >-* @section: 12.5; >-* @assertion: In the "if" Statement empty expression is not allowed; >-* @description: Checking if execution of "if()" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if(); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1-expected.txt >deleted file mode 100644 >index 81f336e8312..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A9_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.html >deleted file mode 100644 >index 199ffd147d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A9_T1; >-* @section: 12.5; >-* @assertion: Function declaration within an "if" statement is not allowed; >-* @description: Declaring function within an "if" statement; >-* @negative; >-*/ >- >-if (true) { >- function __func(){}; >-} else { >- function __func(){}; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2-expected.txt >deleted file mode 100644 >index 600ff23e5ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.5_A9_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.html >deleted file mode 100644 >index b3063f4d5a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A9_T2; >-* @section: 12.5; >-* @assertion: Function declaration within an "if" statement is not allowed; >-* @description: Declaring function within and "if" that is declared within the function call; >-* @negative; >-*/ >- >-(function(){ >- >-if (true) { >- function __func(){}; >-} else { >- function __func(){}; >-} >- >-})(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt >deleted file mode 100644 >index 6be197abbe2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Function statements must have a name. >-S12.5_A9_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.html >deleted file mode 100644 >index f0b40666182..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.5_A9_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.5_A9_T3; >-* @section: 12.5; >-* @assertion: Function declaration within an "if" statement is not allowed; >-* @description: Declaring function within an "if" statement that is declared within the function declaration; >-* @negative; >-*/ >- >-function(){ >- >-if (true) { >- function __func(){}; >-} else { >- function __func(){}; >-} >- >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1-expected.txt >deleted file mode 100644 >index b5ae7d2ca71..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.html >deleted file mode 100644 >index 63b9b840a4a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A1; >-* @section: 12.6.1; >-* @assertion: When the production "do Statement while ( Expression )" is evaluated, Statement is evaluated first; >-* @description: Evaluating various Expressions; >-*/ >- >-do __in__do=1; while ( false ); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do!==1) { >- testFailed('#1: false evaluates to false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-do __in__do=2; while ( 0 ); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__in__do!==2) { >- testFailed('#2: 0 evaluates to false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-do __in__do=3; while ( "" ); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__in__do!==3) { >- testFailed('#3: "" evaluates to false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10-expected.txt >deleted file mode 100644 >index 431a6a2c9a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.html >deleted file mode 100644 >index b426f4d6773..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A10; >-* @section: 12.6.1, 13; >-* @assertion: FunctionExpression within a "do-while" statement is allowed, but no function with the given name will appear in the global context; >-* @description: Also this a test on FunctionExpression; >-*/ >- >-var check = 0; >-do { >- if(typeof(f) === "function"){ >- check = -1; >- break; >- } else { >- check = 1; >- break; >- } >-} while(function f(){}); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (check !== 1) { >- testFailed('#1: FunctionExpression within a "do-while" statement is allowed, but no function with the given name will appear in the global context'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11-expected.txt >deleted file mode 100644 >index d16e86fd23c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.html >deleted file mode 100644 >index fba685ca144..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A11; >-* @section: 12.6.1; >-* @assertion: Block "{}" in a "do-while" Expression is evaluated to true; >-* @description: Checking if execution of "do {} while({})" passes; >-*/ >- >-do { >- var __in__do=1; >- if(__in__do)break; >-} while({}); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do !== 1) { >- testFailed('#1: "{}" in do-while expression evaluates to true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt >deleted file mode 100644 >index e9b13171be6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'var'. Expected 'while' to end a do-while loop. >-S12.6.1_A12 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.html >deleted file mode 100644 >index 025fe30f1e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A12; >-* @section: 12.6.1; >-* @assertion: Any statement within "do-while" construction must be a compound; >-* @description: Checking if execution of "do var x=1; var y =2; while (0)" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do var x=1; var y =2; while (0); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1-expected.txt >deleted file mode 100644 >index 39cbf7d171b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A13_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.html >deleted file mode 100644 >index 37b7a151d5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A13_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A13_T1; >-* @section: 12.6.1, 13; >-* @assertion: FunctionDeclaration within a "do-while" Block is not allowed; >-* @description: Declaring function within a "do-while" loop; >-* @negative; >-*/ >- >-do{ >- function __func(){}; >-} while(0); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2-expected.txt >deleted file mode 100644 >index dc548cde3a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A13_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.html >deleted file mode 100644 >index 254277be05a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A13_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A13_T2; >-* @section: 12.6.1, 13; >-* @assertion: FunctionDeclaration within a "do-while" Block is not allowed; >-* @description: Declaring a function within a "do-while" loop that is within a function call; >-* @negative; >-*/ >- >-(function(){ >- >-do{ >- function __func(){}; >-}while(0); >- >-})(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt >deleted file mode 100644 >index 5e381a5470b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Function statements must have a name. >-S12.6.1_A13_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.html >deleted file mode 100644 >index b27f90e0012..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A13_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A13_T3; >-* @section: 12.6.1, 13; >-* @assertion: FunctionDeclaration within a "do-while" Block is not allowed; >-* @description: Declaring a function within a "do-while" loop that is within a function declaration itself; >-* @negative; >-*/ >- >-function(){ >- >-do{ >- function __func(){}; >-}while(0); >- >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1-expected.txt >deleted file mode 100644 >index 0e65a476d3b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A14_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.html >deleted file mode 100644 >index b30808b8eba..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A14_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A14_T1; >-* @section: 12.6.1, 13; >-* @assertion: FunctionExpression within a "do-while" Expression is allowed; >-* @description: Using FunctionExpression "function __func(){return 0;}" as an Expression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-do{ >- var __reached = 1; >- break; >-}while(function __func(){return 0;}); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__reached !== 1) { >- testFailed('#2: function expession inside of do-while expression is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2-expected.txt >deleted file mode 100644 >index 2b38ecc3e6d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A14_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.html >deleted file mode 100644 >index 69c8047d741..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A14_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A14_T2; >-* @section: 12.6.1; >-* @assertion: FunctionExpression within a "do-while" Expression is allowed; >-* @description: Using FunctionExpression "function __func(){return 0;}()" as an Expression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-do{ >- var __reached = 1; >- break; >-}while(function __func(){return 0;}()); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__reached !== 1) { >- testFailed('#2: function expession inside of do-while expression is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt >deleted file mode 100644 >index 5c5fadab03b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}'. Expected ':' after property name. >-S12.6.1_A15 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.html >deleted file mode 100644 >index 5f9d6e1a9a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A15; >-* @section: 12.6.1; >-* @assertion: Block within a "do-while" Expression is not allowed; >-* @description: Using "{0}" Block as an Expression; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-do{ >- ; >-}while({0}); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2-expected.txt >deleted file mode 100644 >index 4990e3d135b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.html >deleted file mode 100644 >index 5eccfd4ba74..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A2; >-* @section: 12.6.1; >-* @assertion: While evaluating "do Statement while ( Expression )", Statement is evaluated first and only after it is done Expression is checked; >-* @description: Evaluating Statement with error Expression; >-*/ >- >-try { >- do __in__do = "reached"; while (abbracadabra); >- testFailed('#1: \'do __in__do = "reached"; while (abbracadabra)\' lead to throwing exception'); >-} catch (e) {} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do !== "reached") { >- testFailed('#1.1: __in__do === "reached". Actual: __in__do ==='+ __in__do ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3-expected.txt >deleted file mode 100644 >index 58c0b844294..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.html >deleted file mode 100644 >index dbecb6a1b67..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A3; >-* @section: 12.6.1; >-* @assertion: When the production "do Statement while ( Expression )" is evaluated, then (normal, V, empty) is returned; >-* @description: Using eval "eval("do __in__do=1; while (false)")"; >-*/ >- >-__evaluated = eval("do __in__do=1; while (false)"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-if (__in__do !== 1) { >- testFailed('#1: __in__do === 1. Actual: __in__do ==='+ __in__do ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__evaluated !== 1) { >- testFailed('#2: __evaluated === 1. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1-expected.txt >deleted file mode 100644 >index 3ec3b04140d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.html >deleted file mode 100644 >index dc340b18316..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A4_T1; >-* @section: 12.6.1, 12.8; >-* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; >-* @description: Using "break" within a "do-while" loop; >-*/ >- >-do { >- __in__do__before__break="reached"; >- break; >- __in__do__after__break="where am i"; >-} while(2===1); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do__before__break !== "reached") { >- testFailed('#1: __in__do__before__break === "reached". Actual: __in__do__before__break ==='+ __in__do__before__break ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __in__do__after__break !== "undefined") { >- testFailed('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2-expected.txt >deleted file mode 100644 >index 70981c874b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.html >deleted file mode 100644 >index e311b2be785..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A4_T2; >-* @section: 12.6.1, 12.8; >-* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; >-* @description: "break" and VariableDeclaration within a "do-while" statement; >-*/ >- >-do_out : do { >- var __in__do__before__break="black"; >- do_in : do { >- var __in__do__IN__before__break="hole"; >- break do_in; >- var __in__do__IN__after__break="sun"; >- } while (0); >- var __in__do__after__break="won't you come"; >-} while(2==1); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)) { >- testFailed('#1: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)===true. Actual: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)==='+ (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break) ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3-expected.txt >deleted file mode 100644 >index 7e8b005282c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.html >deleted file mode 100644 >index 678ef89d769..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A4_T3; >-* @section: 12.6.1, 12.2, 12.8; >-* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; >-* @description: "break" and VariableDeclaration within a "do-while" statement; >-*/ >- >-do_out : do { >- var __in__do__before__break="once"; >- do_in : do { >- var __in__do__IN__before__break="in"; >- break do_out; >- var __in__do__IN__after__break="the"; >- } while (0); >- var __in__do__after__break="lifetime"; >-} while(2===1); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break)) { >- testFailed('#1: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break)===true. Actual: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break)==='+ (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break) ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4-expected.txt >deleted file mode 100644 >index de526c87f1b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.html >deleted file mode 100644 >index 4803c8cb550..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A4_T4; >-* @section: 12.6.1, 12.8; >-* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; >-* @description: "break" and VariableDeclaration within a "do-while" statement; >-*/ >- >-do_out : do { >- var __in__do__before__break="reached"; >- do_in : do { >- var __in__do__IN__before__break="reached"; >- break; >- var __in__do__IN__after__break="where am i"; >- } while (0); >- var __in__do__after__break="where am i"; >-} while(2===1); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)) { >- testFailed('#1: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)===true. Actual: (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)==='+ (__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break) ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5-expected.txt >deleted file mode 100644 >index 0c6a5daddc0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.html >deleted file mode 100644 >index 1f237ff8c20..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A4_T5; >-* @section: 12.6.1, 12.8; >-* @assertion: "break" within a "do-while" Statement is allowed and performed as described in 12.8; >-* @description: Using labeled "break" in order to continue a loop; >-*/ >- >-//CHECK#1 >-var i=0; >-woohoo:{ >- do{ >- i++; >- if ( ! (i < 10) ) { >- break woohoo; >- testFailed('#1.1: "break woohoo" must break loop'); >- } >- } while ( true ); >- if (i!==10) testFailed('#1.2: i===10. Actual: i==='+ i ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5-expected.txt >deleted file mode 100644 >index ad7f93e8fee..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.html >deleted file mode 100644 >index 242114e97ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A5; >-* @section: 12.6.1; >-* @assertion: After "do-while" is broken, (normal, V, empty) is returned; >-* @description: Using eval; >-*/ >- >-__evaluated = eval("do {__in__do__before__break=1; break; __in__do__after__break=2;} while(0)"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do__before__break !== 1) { >- testFailed('#1: __in__do__before__break === 1. Actual: __in__do__before__break ==='+ __in__do__before__break ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __in__do__after__break !== "undefined") { >- testFailed('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__evaluated !== 1) { >- testFailed('#3: __evaluated === 1. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt >deleted file mode 100644 >index 407dc3ddfbf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected number '1'. Expected '(' to start a do-while loop condition. >-S12.6.1_A6_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.html >deleted file mode 100644 >index 35947d82b94..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A6_T1; >-* @section: 12.6.1; >-* @assertion: Expression in "do-while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "do{} while 1" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do break; while 1; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt >deleted file mode 100644 >index e48ac90be19..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected number '0'. Expected '(' to start a do-while loop condition. >-S12.6.1_A6_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.html >deleted file mode 100644 >index d50b19b7400..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A6_T2; >-* @section: 12.6.1; >-* @assertion: Expression in "do-while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "do{} while 0" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do break; while 0; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt >deleted file mode 100644 >index 4f58c8b2abc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'true'. Expected '(' to start a do-while loop condition. >-S12.6.1_A6_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.html >deleted file mode 100644 >index ca8d3d320e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A6_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A6_T3; >-* @section: 12.6.1; >-* @assertion: Expression in "do-while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "do{}while true" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do break; while true; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt >deleted file mode 100644 >index 952fe578aac..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'false'. Expected '(' to start a do-while loop condition. >-S12.6.1_A6_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.html >deleted file mode 100644 >index a5cf395fc9d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A6_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A6_T4; >-* @section: 12.6.1; >-* @assertion: Expression in "do-while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "do{}while false" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do break; while false; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5-expected.txt >deleted file mode 100644 >index d805a6da5d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected string literal ''. Expected '(' to start a do-while loop condition. >-S12.6.1_A6_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5.html >deleted file mode 100644 >index 13ebc316f79..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A6_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A6_T5; >-* @section: 12.6.1; >-* @assertion: Expression in "do-while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "do{}while ''" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do break; while ''; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6-expected.txt >deleted file mode 100644 >index 51d8a44e5fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected string literal 'hood'. Expected '(' to start a do-while loop condition. >-S12.6.1_A6_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6.html >deleted file mode 100644 >index 68547364e86..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A6_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A6_T6; >-* @section: 12.6.1; >-* @assertion: Expression in "do-while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "do{}while 'hood'" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do break; while 'hood'; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7-expected.txt >deleted file mode 100644 >index 110a41a4f93..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7.html >deleted file mode 100644 >index a8f50d3e592..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A7.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A7; >-* @section: 12.6.1; >-* @assertion: The "do-while" Statement is evaluted according to 12.6.1 and returns (normal, V, empty); >-* @description: Using eval; >-*/ >- >-var __condition=0 >- >-__evaluated = eval("do eval(\"__condition++\"); while (__condition<5)"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__condition !== 5) { >- testFailed('#1: The "do-while" statement is evaluted according to the Standard '); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__evaluated !== 4) { >- testFailed('#2: The "do-while" statement returns (normal, V, empty)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8-expected.txt >deleted file mode 100644 >index e9df177e1cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8.html >deleted file mode 100644 >index b69e6f867b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A8.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A8; >-* @section: 12.6.1; >-* @assertion: "continue" statement within a "do-while" Statement is allowed; >-* @description: Using eval; >-*/ >- >-var __condition = 0, __odds=0; >- >-__evaluated = eval("do { __condition++; if (((''+__condition/2).split('.')).length>1) continue; __odds++;} while(__condition < 10)"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__odds !== 5) { >- testFailed('#1: __odds === 5. Actual: __odds ==='+ __odds ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__evaluated !== 4) { >- testFailed('#2: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9-expected.txt >deleted file mode 100644 >index b84770dfe70..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.1_A9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9.html >deleted file mode 100644 >index c866ebd30fd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A9.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.1_A9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.1_A9; >-* @section: 12.6.1; >-* @assertion: "do-while" Statement is evaluated without syntax checks; >-* @description: Throwing system exception whithin a "do-while" loop; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- do { >- var x = 1; >- abaracadabara; >- } while(0); >- testFailed('#1: "abbracadabra" lead to throwing exception'); >- >-} catch (e) {} >- >-if (x !== 1) { >- testFailed('#1.1: x === 1. Actual: x ==='+ x ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1-expected.txt >deleted file mode 100644 >index c1a1bf17224..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1.html >deleted file mode 100644 >index 900f389aa15..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A1.html >+++ /dev/null >@@ -1,144 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A1; >-* @section: 12.6.2; >-* @assertion: Expression from "while" IterationStatement is evaluated first; "false", "0", "null", "undefined" and "empty" strings used as the Expression are evaluated to "false"; >-* @description: Evaluating various Expressions; >-*/ >- >-var __in__do; >- >-while ( false ) __in__do=1; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do !== undefined) { >- testFailed('#1: false evaluates to false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-while ( 0 ) __in__do=2; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__in__do !== undefined) { >- testFailed('#2: 0 evaluates to false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-while ( "" ) __in__do=3; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__in__do !== undefined) { >- testFailed('#3: empty string evaluates to false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-while ( null ) __in__do=4; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__in__do !== undefined) { >- testFailed('#4: null evaluates to false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-while ( undefined ) __in__do=35; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (__in__do !== undefined) { >- testFailed('#5: undefined evaluates to false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10-expected.txt >deleted file mode 100644 >index 6e08efb40e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10.html >deleted file mode 100644 >index 3da5407d671..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A10.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A10; >-* @section: 12.6.2, 13.2; >-* @assertion: FunctionExpression within a "while" IterationStatement is allowed, but no function with the given name will appear in the global context; >-* @description: Testing FunctionExpression too; >-*/ >- >-var check=0; >-while(function f(){}){ >- if(typeof(f) === "function") { >- check = -1; >- break; >- } else { >- check = 1; >- break; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (check !== 1) { >- testFailed('#1: FunctionExpression inside while construction expression allowed but function not declare'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11-expected.txt >deleted file mode 100644 >index cf327785ca1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11.html >deleted file mode 100644 >index 92e97f2b2a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A11.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A11; >-* @section: 12.6.2; >-* @assertion: "{}" Block within a "while" Expression is evaluated to true; >-* @description: Checking if execution of "while({}){}" passes; >-*/ >- >-while({}){ >- var __in__do=1; >- if(__in__do)break; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do !== 1) { >- testFailed('#1: "{}" in while expression evaluates to true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1-expected.txt >deleted file mode 100644 >index 08aad9b8bbc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A13_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1.html >deleted file mode 100644 >index d82e8f6fc82..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A13_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A13_T1; >-* @section: 12.6.2; >-* @assertion: FunctionDeclaration within a "while" Statement is not allowed; >-* @description: Checking if declaring a function within a "while" Statement leads to an exception; >-* @negative; >-*/ >- >-while(0){ >- function __func(){}; >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2-expected.txt >deleted file mode 100644 >index 7f227fbb100..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A13_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2.html >deleted file mode 100644 >index 9ba7d13d9ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A13_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A13_T2; >-* @section: 12.6.2; >-* @assertion: FunctionDeclaration within a "while" Statement is not allowed; >-* @description: Checking if declaring a function within a "while" Statement that is in a function call leads to an exception; >-* @negative; >-*/ >- >-(function(){ >- >-while(0){ >- function __func(){}; >-}; >- >-})(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3-expected.txt >deleted file mode 100644 >index 859669a2892..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Function statements must have a name. >-S12.6.2_A13_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3.html >deleted file mode 100644 >index 0857e2aa4c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A13_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A13_T3; >-* @section: 12.6.2; >-* @assertion: FunctionDeclaration within a "while" Statement is not allowed; >-* @description: Checking if declaring a function within a "while" Statement that is in a function body leads to an exception; >-* @negative; >-*/ >- >-function(){ >- >-while(0){ >- function __func(){}; >-}; >- >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1-expected.txt >deleted file mode 100644 >index 626d7a24324..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A14_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1.html >deleted file mode 100644 >index d1170ce5f45..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A14_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A14_T1; >-* @section: 12.6.2; >-* @assertion: FunctionExpression within a "while" Expression is allowed; >-* @description: Using "function __func(){return 0;}" as an Expression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-while(function __func(){return 0;}){ >- var __reached = 1; >- break; >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__reached !== 1) { >- testFailed('#2: function expression inside of while expression is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2-expected.txt >deleted file mode 100644 >index 15ce66db723..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A14_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2.html >deleted file mode 100644 >index 14becfbfa63..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A14_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A14_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A14_T2; >-* @section: 12.6.2; >-* @assertion: FunctionExpression within a "while" Expression is allowed; >-* @description: Using function call as an Expression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-while(function __func(){return 1;}()){ >- var __reached = 1; >- break; >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__reached !== 1) { >- testFailed('#2: function expression inside of while expression is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15-expected.txt >deleted file mode 100644 >index 943ab60a49d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '}'. Expected ':' after property name. >-S12.6.2_A15 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15.html >deleted file mode 100644 >index db16fdc4024..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A15; >-* @section: 12.6.2; >-* @assertion: Block within a "while" Expression is not allowed; >-* @description: Expression is "{0}"; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-while({1}){ >- break ; >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2-expected.txt >deleted file mode 100644 >index ef534a85071..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2.html >deleted file mode 100644 >index c8d1caff28a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A2; >-* @section: 12.6.2; >-* @assertion: While evaluating The production IterationStatement: "while ( Expression ) Statement", Expression is evaluated first; >-* @description: Evaluating Statement with error Expression; >-*/ >- >-try { >- while ((function(){throw 1})()) __in__while = "reached"; >- testFailed('#1: \'while ((function(){throw 1})()) __in__while = "reached"\' lead to throwing exception'); >-} catch (e) { >- if (e !== 1) { >- testFailed('#1: Exception === 1. Actual: Exception ==='+e); >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __in__while !== "undefined") { >- testFailed('#1.1: typeof __in__while === "undefined". Actual: typeof __in__while ==='+typeof __in__while); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3-expected.txt >deleted file mode 100644 >index a73e1a61e86..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3.html >deleted file mode 100644 >index df12f128b1b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A3; >-* @section: 12.6.2; >-* @assertion: When "while" IterationStatement is evaluated, (normal, V, empty) is returned; >-* @description: Using eval; >-*/ >- >-var __in__do; >- >-__evaluated = eval("while (false) __in__do=1;"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-if (__in__do !== undefined) { >- testFailed('#1: __in__do === undefined. Actual: __in__do ==='+ __in__do ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__evaluated !== undefined) { >- testFailed('#2: __evaluated === undefined. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1-expected.txt >deleted file mode 100644 >index c31a136b088..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.html >deleted file mode 100644 >index e7e724360e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A4_T1; >-* @section: 12.6.2, 12.8; >-* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; >-* @description: "break" within a "while" Statement; >-*/ >- >-while(1===1){ >- __in__do__before__break="reached"; >- break; >- __in__do__after__break="where am i"; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do__before__break !== "reached") { >- testFailed('#1: __in__do__before__break === "reached". Actual: __in__do__before__break ==='+ __in__do__before__break ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __in__do__after__break !== "undefined") { >- testFailed('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2-expected.txt >deleted file mode 100644 >index 0205ab73223..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2.html >deleted file mode 100644 >index 2114b493eb0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A4_T2; >-* @section: 12.6.2; >-* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; >-* @description: "break" and VariableDeclaration within a "while" Statement; >-*/ >- >-do_out : while(1===1) { >- if (__in__do__before__break) break; >- var __in__do__before__break="black"; >- do_in : while (1) { >- var __in__do__IN__before__break="hole"; >- break do_in; >- var __in__do__IN__after__break="sun"; >- } ; >- var __in__do__after__break="won't you come"; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)) { >- testFailed('#1: Break inside do-while is allowed as its described at standard'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3-expected.txt >deleted file mode 100644 >index e35c59c53e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3.html >deleted file mode 100644 >index 4b6a99ed2da..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T3.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A4_T3; >-* @section: 12.6.2, 12.2; >-* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; >-* @description: "break" and VariableDeclaration within a "while" Statement; >-*/ >- >-do_out : while(1===1) { >- if (__in__do__before__break) break; >- var __in__do__before__break="once"; >- do_in : while (1) { >- var __in__do__IN__before__break="in"; >- break do_out; >- var __in__do__IN__after__break="the"; >- } ; >- var __in__do__after__break="lifetime"; >-} ; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&!__in__do__after__break)) { >- testFailed('#1: Break inside do-while is allowed as its described at standard'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4-expected.txt >deleted file mode 100644 >index 6576e9e0751..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4.html >deleted file mode 100644 >index 4336767a4f9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T4.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A4_T4; >-* @section: 12.6.2; >-* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; >-* @description: "break" and VariableDeclaration within a "while" Statement; >-*/ >- >-do_out : while(1===1) { >- if(__in__do__before__break)break; >- var __in__do__before__break="can't"; >- do_in : while (1) { >- var __in__do__IN__before__break="get"; >- break; >- var __in__do__IN__after__break="no"; >- } ; >- var __in__do__after__break="Satisfaction"; >-} ; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after__break&&__in__do__after__break)) { >- testFailed('#1: Break inside do-while is allowed as its described at standard'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5-expected.txt >deleted file mode 100644 >index f720632bb61..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5.html >deleted file mode 100644 >index cc3ed5de208..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T5.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A4_T5; >-* @section: 12.6.2; >-* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8; >-* @description: Using labeled "break" in order to continue a "while" loop; >-*/ >- >-//CHECK#1 >-var i=0; >-woohoo:{ >- while(true){ >- i++; >- if ( ! (i < 10) ) { >- break woohoo; >- testFailed('#1.1: "break woohoo" must break loop'); >- } >- } >- if (i!==10) testFailed('#1.2: i===10. Actual: i==='+ i ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5-expected.txt >deleted file mode 100644 >index 5436fec1aa5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5.html >deleted file mode 100644 >index fde402a9ac6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A5.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A5; >-* @section: 12.6.2; >-* @assertion: While using "while" within an eval statement, source "break" is allowed and (normal, V, empty) is returned; >-* @description: Using eval; >-*/ >- >-__evaluated = eval("while(1) {__in__do__before__break=1; break; __in__do__after__break=2;}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__in__do__before__break !== 1) { >- testFailed('#1: __in__do__before__break === 1. Actual: __in__do__before__break ==='+ __in__do__before__break ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __in__do__after__break !== "undefined") { >- testFailed('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__evaluated !== 1) { >- testFailed('#3: __evaluated === 1. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1-expected.txt >deleted file mode 100644 >index 5c6ca434fef..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected number '1'. Expected '(' to start a while loop condition. >-S12.6.2_A6_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1.html >deleted file mode 100644 >index bc256b8749c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A6_T1; >-* @section: 12.6.2; >-* @assertion: Expression in "while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "while 1 break" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-while 1 break; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2-expected.txt >deleted file mode 100644 >index 48e346a1d00..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected number '0'. Expected '(' to start a while loop condition. >-S12.6.2_A6_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.html >deleted file mode 100644 >index b057663d779..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A6_T2; >-* @section: 12.6.2; >-* @assertion: Expression in "while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "while 0 break" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-while 0 break; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3-expected.txt >deleted file mode 100644 >index f237774f358..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'true'. Expected '(' to start a while loop condition. >-S12.6.2_A6_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3.html >deleted file mode 100644 >index c25cab226e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A6_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A6_T3; >-* @section: 12.6.2; >-* @assertion: Expression in "while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "while true break" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-while true break; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4-expected.txt >deleted file mode 100644 >index 7089aa520ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'false'. Expected '(' to start a while loop condition. >-S12.6.2_A6_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.html >deleted file mode 100644 >index 8e1683808f6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A6_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A6_T4; >-* @section: 12.6.2; >-* @assertion: Expression in "while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "while false break" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-while false break; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5-expected.txt >deleted file mode 100644 >index 727d525fc9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected string literal ''. Expected '(' to start a while loop condition. >-S12.6.2_A6_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5.html >deleted file mode 100644 >index ba650e4e40b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A6_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A6_T5; >-* @section: 12.6.2; >-* @assertion: Expression in "while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "while '' break" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-while '' break; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6-expected.txt >deleted file mode 100644 >index 00f4d80fab0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected string literal 'hood'. Expected '(' to start a while loop condition. >-S12.6.2_A6_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6.html >deleted file mode 100644 >index 0c83d268ac4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A6_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A6_T6; >-* @section: 12.6.2; >-* @assertion: Expression in "while" IterationStatement is bracketed with braces; >-* @description: Checking if execution of "while 'hood' break" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-while 'hood' break; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7-expected.txt >deleted file mode 100644 >index 039a2cf3eab..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7.html >deleted file mode 100644 >index a5d995801d6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A7.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A7; >-* @section: 12.6.2; >-* @assertion: The "while" Statement is evaluted according to 12.6.2 and returns (normal, V, empty); >-* @description: using eval; >-*/ >- >-var __condition=0 >- >-__evaluated = eval("while (__condition<5) eval(\"__condition++\");"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__condition !== 5) { >- testFailed('#1: The "while" statement is evaluated as described in the Standard'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__evaluated !== 4) { >- testFailed('#2: The "while" statement returns (normal, V, empty)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8-expected.txt >deleted file mode 100644 >index 17cd857d476..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.html >deleted file mode 100644 >index f49adaa96d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A8; >-* @section: 12.6.2; >-* @assertion: "continue" statement within a "while" Statement is allowed; >-* @description: using eval; >-*/ >- >-var __condition = 0, __odds=0; >- >-__evaluated = eval("while(__condition < 10) { __condition++; if (((''+__condition/2).split('.')).length>1) continue; __odds++;}"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__odds !== 5) { >- testFailed('#1: __odds === 5. Actual: __odds ==='+ __odds ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__evaluated !== 4) { >- testFailed('#2: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9-expected.txt >deleted file mode 100644 >index e63c77a11bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.2_A9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9.html >deleted file mode 100644 >index f60a5f735cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A9.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.2_A9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.2_A9; >-* @section: 12.6.2; >-* @assertion: "while" Statement is evaluated without syntax checks; >-* @description: Throwing system exception inside "while" loop; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- while(x!=1) { >- var x = 1; >- abaracadabara; >- }; >- testFailed('#1: "abbracadabra" lead to throwing exception'); >- >-} catch (e) {} >- >-if (x !== 1) { >- testFailed('#1.1: while statement evaluates as is, without syntax checks'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1-expected.txt >deleted file mode 100644 >index 94828f1e765..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1.html >deleted file mode 100644 >index 01111f13cf7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A1; >-* @section: 12.6.3; >-* @assertion: The "for {;;}" for Statement with empty expressions is allowed and leads to performing an infinite loop; >-* @description: Breaking an infinite loop by throwing exception; >-*/ >-var __in__for = 0; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- for (;;){ >- //__in__for++; >- if(++__in__for>100)throw 1; >-} >-} catch (e) { >- if (e !== 1) { >- testFailed('#1: for {;;} is admitted and leads to infinite loop'); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__in__for !== 101) { >- testFailed('#2: __in__for === 101. Actual: __in__for ==='+ __in__for ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10-expected.txt >deleted file mode 100644 >index ec86ba11cfc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1-expected.txt >deleted file mode 100644 >index e035a03ba73..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A10.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1.html >deleted file mode 100644 >index f2d2f704b9c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.1.html >+++ /dev/null >@@ -1,193 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A10.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A10.1; >-* @section: 12.6.3; >-* @assertion: Nested "var-loops" nine blocks depth is evaluated properly; >-* @description: Checking if executing nested "var-loops" nine blocks depth is evaluated properly; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- __in__deepest__loop=__in__deepest__loop; >-} catch (e) { >- testFailed('#1: "__in__deepest__loop=__in__deepest__loop" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try { >- index0=index0; >-} catch (e) { >- testFailed('#2: "index0=index0" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try { >- index1=index1; >-} catch (e) { >- testFailed('#3: "index1=index1" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-try { >- index4=index4; >-} catch (e) { >- testFailed('#4: "index4=index4" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-try { >- index5=index5; >-} catch (e) { >- testFailed('#4: "index5=index5" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-try { >- index7=index7; >-} catch (e) { >- testFailed('#6: "index7=index7" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#7 >-try { >- index8=index8; >-} catch (e) { >- testFailed('#7: "index8=index8" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-for( var index0=0; index0<=1; index0++) { >- for(var index1=0; index1<=index0; index1++) { >- for( index2=0; index2<=index1; index2++) { >- for( index3=0; index3<=index2; index3++) { >- for(var index4=0; index4<=index3; index4++) { >- for(var index5=0; index5<=index4; index5++) { >- for( index6=0; index6<=index5; index6++) { >- for(var index7=0; index7<=index6; index7++) { >- for(var index8=0; index8<=index1; index8++) { >- var __in__deepest__loop; >- __str+=""+index0+index1+index2+index3+index4+index5+index6+index7+index8+'\n'; >- } >- } >- } >- } >- } >- } >- } >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__str!== "000000000\n100000000\n110000000\n110000001\n111000000\n111000001\n111100000\n111100001\n111110000\n111110001\n111111000\n111111001\n111111100\n111111101\n111111110\n111111111\n") { >- testFailed('#2: __str === "000000000\\n100000000\\n110000000\\n110000001\\n111000000\\n111000001\\n111100000\\n111100001\\n111110000\\n111110001\\n111111000\\n111111001\\n111111100\\n111111101\\n111111110\\n111111111\\n". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.html >deleted file mode 100644 >index 4c06205555c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A10.html >+++ /dev/null >@@ -1,193 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A10.1; >-* @section: 12.6.3; >-* @assertion: Nested "var-loops" nine blocks depth is evaluated properly; >-* @description: Checking if executing nested "var-loops" nine blocks depth is evaluated properly; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- __in__deepest__loop=__in__deepest__loop; >-} catch (e) { >- testFailed('#1: "__in__deepest__loop=__in__deepest__loop" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try { >- index0=index0; >-} catch (e) { >- testFailed('#2: "index0=index0" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try { >- index1=index1; >-} catch (e) { >- testFailed('#3: "index1=index1" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-try { >- index4=index4; >-} catch (e) { >- testFailed('#4: "index4=index4" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-try { >- index5=index5; >-} catch (e) { >- testFailed('#4: "index5=index5" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-try { >- index7=index7; >-} catch (e) { >- testFailed('#6: "index7=index7" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#7 >-try { >- index8=index8; >-} catch (e) { >- testFailed('#7: "index8=index8" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-for( var index0=0; index0<=1; index0++) { >- for(var index1=0; index1<=index0; index1++) { >- for( index2=0; index2<=index1; index2++) { >- for( index3=0; index3<=index2; index3++) { >- for(var index4=0; index4<=index3; index4++) { >- for(var index5=0; index5<=index4; index5++) { >- for( index6=0; index6<=index5; index6++) { >- for(var index7=0; index7<=index6; index7++) { >- for(var index8=0; index8<=index1; index8++) { >- var __in__deepest__loop; >- __str+=""+index0+index1+index2+index3+index4+index5+index6+index7+index8+'\n'; >- } >- } >- } >- } >- } >- } >- } >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__str!== "000000000\n100000000\n110000000\n110000001\n111000000\n111000001\n111100000\n111100001\n111110000\n111110001\n111111000\n111111001\n111111100\n111111101\n111111110\n111111111\n") { >- testFailed('#2: __str === "000000000\\n100000000\\n110000000\\n110000001\\n111000000\\n111000001\\n111100000\\n111100001\\n111110000\\n111110001\\n111111000\\n111111001\\n111111100\\n111111101\\n111111110\\n111111111\\n". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1-expected.txt >deleted file mode 100644 >index 23a10f83bfd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A11.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1.html >deleted file mode 100644 >index d433a3503f3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A11.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A11.1_T1; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks; >-* @description: Using "continue" in order to continue a loop; >-*/ >-__str="" >- >-for(var index=0; index<10; index+=1) { >- if (index<5)continue; >- __str+=index; >-} >- >-if (__str!=="56789") { >- testFailed('#1: __str === "56789". Actual: __str ==='+ __str ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2-expected.txt >deleted file mode 100644 >index 1a33d49a1de..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A11.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2.html >deleted file mode 100644 >index c12b8e75a31..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T2.html >+++ /dev/null >@@ -1,145 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A11.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A11.1_T2; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks; >-* @description: Embedded loops; >-*/ >- >-__str=""; >- >-outer : for(var index=0; index<4; index+=1) { >- nested : for(var index_n=0; index_n<=index; index_n++) { >- if (index*index_n == 6)continue nested; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__str !== "001011202122303133") { >- testFailed('#1: __str === "001011202122303133". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-outer : for(var index=0; index<4; index+=1) { >- nested : for(var index_n=0; index_n<=index; index_n++) { >- if (index*index_n == 6)continue outer; >- __str+=""+index+index_n; >- } >-} >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__str !== "0010112021223031") { >- testFailed('#2: __str === "0010112021223031". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-outer : for(var index=0; index<4; index+=1) { >- nested : for(var index_n=0; index_n<=index; index_n++) { >- if (index*index_n == 6)continue ; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__str !== "001011202122303133") { >- testFailed('#3: __str === "001011202122303133". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt >deleted file mode 100644 >index d956e74d58e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'nonexist'. >-S12.6.3_A11.1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3.html >deleted file mode 100644 >index a6daea432e9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A11.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A11.1_T3; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks; >-* @description: Trying to continue non-existent label; >-* @negative; >-*/ >- >-__str=""; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-outer:for(var index=0;index<4;index+=1){ >- nested:for(var index_n=0;index_n<=index;index_n++){ >- if(index*index_n == 6)continue nonexist; >- __str+=""+index+index_n; >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1-expected.txt >deleted file mode 100644 >index 6ebc3f191e5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A11_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1.html >deleted file mode 100644 >index 0635a3fcffd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A11_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A11_T1; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks; >-* @description: Simple test of continue loop with using "continue"; >-*/ >-__str="" >- >-for(index=0; index<10; index+=1) { >- if (index<5)continue; >- __str+=index; >-} >- >-if (__str!=="56789") { >- testFailed('#1: __str === "56789". Actual: __str ==='+ __str ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2-expected.txt >deleted file mode 100644 >index 85ebb787f6a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A11_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2.html >deleted file mode 100644 >index af78594fd34..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T2.html >+++ /dev/null >@@ -1,145 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A11_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A11_T2; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks; >-* @description: Embedded loops; >-*/ >- >-__str=""; >- >-outer : for(index=0; index<4; index+=1) { >- nested : for(index_n=0; index_n<=index; index_n++) { >- if (index*index_n == 6)continue nested; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__str !== "001011202122303133") { >- testFailed('#1: __str === "001011202122303133". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-outer : for(index=0; index<4; index+=1) { >- nested : for(index_n=0; index_n<=index; index_n++) { >- if (index*index_n == 6)continue outer; >- __str+=""+index+index_n; >- } >-} >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__str !== "0010112021223031") { >- testFailed('#2: __str === "0010112021223031". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-outer : for(index=0; index<4; index+=1) { >- nested : for(index_n=0; index_n<=index; index_n++) { >- if (index*index_n == 6)continue ; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__str !== "001011202122303133") { >- testFailed('#3: __str === "001011202122303133". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt >deleted file mode 100644 >index f8d0005eda2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'nonexist'. >-S12.6.3_A11_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3.html >deleted file mode 100644 >index bd00a018dea..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A11_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A11_T3; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks; >-* @description: Trying to continue non-existent label; >-* @negative; >-*/ >- >-__str=""; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-outer:for(index=0;index<4;index+=1){ >- nested:for(index_n=0;index_n<=index;index_n++){ >- if(index*index_n == 6)continue nonexist; >- __str+=""+index+index_n; >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1-expected.txt >deleted file mode 100644 >index 58e3a917aa6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A12.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1.html >deleted file mode 100644 >index fb3b0dc116c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A12.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A12.1_T1; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"; >-* @description: Breaking a loop with "break"; >-*/ >-__str="" >- >-for(var index=0; index<10; index+=1) { >- if (index>5)break; >- __str+=index; >-} >- >-if (__str!=="012345") { >- testFailed('#1: __str === "012345". Actual: __str ==='+ __str ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2-expected.txt >deleted file mode 100644 >index 4ca332368b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A12.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2.html >deleted file mode 100644 >index 063d753c4e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T2.html >+++ /dev/null >@@ -1,146 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A12.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A12.1_T2; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"; >-* @description: Embedded loops; >-*/ >- >-__str=""; >- >-outer : for(var index=0; index<4; index+=1) { >- nested : for(var index_n=0; index_n<=index; index_n++) { >- if (index*index_n >= 4)break nested; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__str !== "00101120213031") { >- testFailed('#1: __str === "00101120213031". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-outer : for(var index=0; index<4; index+=1) { >- nested : for(var index_n=0; index_n<=index; index_n++) { >- if (index*index_n >= 4)break outer; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__str !== "0010112021") { >- testFailed('#2: __str === "0010112021". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-outer : for(var index=0; index<4; index+=1) { >- nested : for(var index_n=0; index_n<=index; index_n++) { >- if (index*index_n >= 4)break ; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__str !== "00101120213031") { >- testFailed('#3: __str === "00101120213031". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt >deleted file mode 100644 >index 66065052a05..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'nonexist'. >-S12.6.3_A12.1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3.html >deleted file mode 100644 >index 422536d115a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A12.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A12.1_T3; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"; >-* @description: Trying to break non-existent label; >-* @negative; >-*/ >- >-__str=""; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-outer:for(var index=0;index<4;index+=1){ >- nested:for(var index_n=0;index_n<=index;index_n++){ >- if(index*index_n >= 4)break nonexist; >- __str+=""+index+index_n; >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1-expected.txt >deleted file mode 100644 >index fb0185629ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1.html >deleted file mode 100644 >index 09611704be8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A12_T1; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop; >-* @description: Breaking a loop with "break"; >-*/ >-__str="" >- >-for(index=0; index<10; index+=1) { >- if (index>5)break; >- __str+=index; >-} >- >-if (__str!=="012345") { >- testFailed('#1:__str === "012345". Actual: __str ==='+__str ); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2-expected.txt >deleted file mode 100644 >index 3659b5b1d96..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2.html >deleted file mode 100644 >index 24586247eb5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T2.html >+++ /dev/null >@@ -1,146 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A12_T2; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop; >-* @description: Embedded loops; >-*/ >- >-__str=""; >- >-outer : for(index=0; index<4; index+=1) { >- nested : for(index_n=0; index_n<=index; index_n++) { >- if (index*index_n >= 4)break nested; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__str !== "00101120213031") { >- testFailed('#1: __str === "00101120213031". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-outer : for(index=0; index<4; index+=1) { >- nested : for(index_n=0; index_n<=index; index_n++) { >- if (index*index_n >= 4)break outer; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__str !== "0010112021") { >- testFailed('#2: __str === "0010112021". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__str=""; >- >-outer : for(index=0; index<4; index+=1) { >- nested : for(index_n=0; index_n<=index; index_n++) { >- if (index*index_n >= 4)break ; >- __str+=""+index+index_n; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__str !== "00101120213031") { >- testFailed('#3: __str === "00101120213031". Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt >deleted file mode 100644 >index 8351f625390..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'nonexist'. >-S12.6.3_A12_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3.html >deleted file mode 100644 >index 5849f7ab8ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A12_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A12_T3; >-* @section: 12.6.3; >-* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop; >-* @description: Trying to break non-existent label; >-* @negative; >-*/ >- >-__str=""; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-outer:for(index=0;index<4;index+=1){ >- nested:for(index_n=0;index_n<=index;index_n++){ >- if(index*index_n >= 4)break nonexist; >- __str+=""+index+index_n; >- } >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13-expected.txt >deleted file mode 100644 >index 6176801f1b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A13 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13.html >deleted file mode 100644 >index 33ba6790cb4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A13.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A13; >-* @section: 12.6.3; >-* @assertion: VariableDeclaration in "var VariableDeclarationListNoIn" of for IterationStatement is allowed; >-* @description: Declaring variable in "for" ExpressionNoIn; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- index = index; >-} catch (e) { >- testFailed('#1: VariableDeclaration in "var VariableDeclarationListNoIn" of for IterationStatement is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-for(var index=0; index<6; index++) { >- ; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14-expected.txt >deleted file mode 100644 >index c4b47388792..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A14 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14.html >deleted file mode 100644 >index 875a9d4b897..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A14.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A14; >-* @section: 12.6.3; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement"; >-* @description: Using +,*,/, as the second Expression; >-*/ >- >-//CHECK#1 >-for(var i=0;i<10;i++){} >-if (i!==10) testFailed('#1: i === 10. Actual: i ==='+ i ); >- >-//CHECK#2 >-var j=0; >-for(var i=1;i<10;i*=2){ >- j++; >-} >-if (i!==16) testFailed('#2.1: i === 16. Actual: i ==='+ i ); >-if (j!==4) testFailed('#2.2: j === 4. Actual: j ==='+ j ); >- >-//CHECK#3 >-var j=0; >-for(var i=16;i>1;i=i/2){ >- j++; >-} >-if (i!==1) testFailed('#3.1: i === 1. Actual: i ==='+ i ); >-if (j!==4) testFailed('#3.2: j === 4. Actual: j ==='+ j ); >- >-//CHECK#4 >-var j=0; >-for(var i=10;i>1;i--){ >- j++; >-} >-if (i!==1) testFailed('#4.1: i === 1. Actual: i ==='+ i ); >-if (j!==9) testFailed('#4.2: j === 9. Actual: j ==='+ j ); >- >-//CHECK#5 >-var j=0; >-for(var i=2;i<10;i*=i){ >- j++; >-} >-if (i!==16) testFailed('#5.1: i === 16. Actual: i ==='+ i ); >-if (j!==2) testFailed('#5.2: j === 2. Actual: j ==='+ j ); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15-expected.txt >deleted file mode 100644 >index d3252e7a198..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A15 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.html >deleted file mode 100644 >index 5d529acfed5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A15; >-* @section: 12.6.3; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement"; >-* @description: Statement must be evaluated before second Expression is evaluated; >-*/ >- >-//CHECK#1 >-for(var i=0;i<10;i++){ >- i*=2; >- break; >-} >-if (i!==0) testFailed('#1: i === 0. Actual: i ==='+ i ); >- >-//CHECK#2 >-for(var i=0;i<10;i++){ >- i*=2; >- if (i===3) testFailed('#2: i !== 3'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2-expected.txt >deleted file mode 100644 >index 49c61ae8fff..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1-expected.txt >deleted file mode 100644 >index 3f44c839487..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A2.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1.html >deleted file mode 100644 >index 50d240f9510..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A2.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A2.1; >-* @section: 12.6.3; >-* @assertion: While evaluating "for (ExpressionNoIn ; ; Expression) Statement", Statement is evaulated first; >-* @description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- for((function(){throw "NoInExpression"})(); ;(function(){throw "SecondExpression"})()) { >- throw "Statement"; >- } >- testFailed('#1: (function(){throw "NoInExpression"})() lead to throwing exception'); >-} catch (e) { >- if (e !== "NoInExpression") { >- testFailed('#2: When for (ExpressionNoIn ; ; Expression) Statement is evaluated NoInExpression evaluates first'); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2-expected.txt >deleted file mode 100644 >index 46da4887aff..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A2.2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2.html >deleted file mode 100644 >index 90b1a9582d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A2.2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A2.2; >-* @section: 12.6.3; >-* @assertion: While evaluating "for (ExpressionNoIn;;) Statement", Statement is evaulated first; >-* @description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- for((function(){throw "NoInExpression"})();;) { >- throw "Statement"; >- } >- testFailed('#1: (function(){throw "NoInExpression"})() lead to throwing exception'); >-} catch (e) { >- if (e !== "NoInExpression") { >- testFailed('#1: When for (ExpressionNoIn ; ; ) Statement is evaluated NoInExpression evaluates first'); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.html >deleted file mode 100644 >index 1ef22a7379f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A2.1; >-* @section: 12.6.3; >-* @assertion: While evaluating "for (ExpressionNoIn ; ; Expression) Statement", Statement is evaulated first; >-* @description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- for((function(){throw "NoInExpression"})(); ;(function(){throw "SecondExpression"})()) { >- throw "Statement"; >- } >- testFailed('#1: (function(){throw "NoInExpression"})() lead to throwing exception'); >-} catch (e) { >- if (e !== "NoInExpression") { >- testFailed('#2: When for (ExpressionNoIn ; ; Expression) Statement is evaluated NoInExpression evaluates first'); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3-expected.txt >deleted file mode 100644 >index 319f470b46d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3.html >deleted file mode 100644 >index 9e87d10b44a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A3.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A3; >-* @section: 12.6.3; >-* @assertion: While evaluating "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement", ExpressionNoIn is evaulated first, FirstExpressoin is evaluated second; >-* @description: Using "(function(){throw "FirstExpression"})()" as FirstExpression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- for((function(){__in__NotInExpression__ = "checked";__in__NotInExpression__2 = "passed";})(); (function(){throw "FirstExpression"})(); (function(){throw "SecondExpression"})()) { >- __in__for="reached"; >- } >- testFailed('#1: (function(){throw "SecondExpression"} lead to throwing exception'); >-} catch (e) { >- if (e !== "FirstExpression") { >- testFailed('#1: When for (ExpressionNoIn ; FirstExpression ; SecondExpression) Statement is evaluated first evaluates ExpressionNoIn then FirstExpression'); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if ((__in__NotInExpression__ !== "checked")&(__in__NotInExpression__2!=="passed")) { >- testFailed('#2: (__in__NotInExpression__ === "checked")&(__in__NotInExpression__2==="passed")'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (typeof __in__for !== "undefined") { >- testFailed('#3: typeof __in__for === "undefined". Actual: typeof __in__for ==='+ typeof __in__for ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1-expected.txt >deleted file mode 100644 >index 49d70ff46ef..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ';'. Expected ')' to end a for-in header. >-S12.6.3_A4.1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1.html >deleted file mode 100644 >index dc2883a7ded..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A4.1; >-* @section: 12.6.3; >-* @assertion: "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement; >-* @description: Checking if execution of "for (var a in arr;1;){}" fails; >-* @negative; >-*/ >- >-arr = [1,2,3,4,5]; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for (var a in arr;1;){ >- break; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1-expected.txt >deleted file mode 100644 >index 0a5ca73d6e2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ';'. Expected ')' to end a for-in header. >-S12.6.3_A4_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1.html >deleted file mode 100644 >index 1f6ab86a2c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A4_T1; >-* @section: 12.6.3; >-* @assertion: "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement; >-* @description: Checking if execution of "for (a in arr;1;){}" fails; >-* @negative; >-*/ >- >-arr = [1,2,3,4,5]; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for (a in arr;1;){ >- break; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2-expected.txt >deleted file mode 100644 >index 0854b2e8d54..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ';'. Expected ')' to end a for-in header. >-S12.6.3_A4_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2.html >deleted file mode 100644 >index 496ff0e27f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A4_T2; >-* @section: 12.6.3; >-* @assertion: "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement; >-* @description: Checking if execution of "for (1 in arr;1;){}" fails; >-* @negative; >-*/ >- >-arr = [1,2,3,4,5]; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(1 in arr;1;) { >- break; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5-expected.txt >deleted file mode 100644 >index cad89291b8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5.html >deleted file mode 100644 >index b63646298f4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A5.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A5; >-* @section: 12.6.3; >-* @assertion: "in"-expression wrapped into "eval" statement is allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement; >-* @description: Using eval "for(eval("i in arr");1;)"; >-*/ >- >-arr = [1,2,3,4,5]; >-i = 1; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- for(eval("i in arr");1;) {break;}; >-} catch (e) { >- testFailed('#1.1: for(eval("i in arr");1;) {break;}; does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try { >- for(eval("var i = 1 in arr");1;) {break;}; >-} catch (e) { >- testFailed('#2.1: for(eval("var i = 1 in arr");1;) {break;}; does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try { >- for(eval("1 in arr");1;) {break;}; >-} catch (e) { >- testFailed('#3.1: for(eval("1 in arr");1;) {break;}; does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6-expected.txt >deleted file mode 100644 >index 6de8c67f911..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6.html >deleted file mode 100644 >index 9438eae178f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A6.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A6; >-* @section: 12.6.3; >-* @assertion: While evaluating "for ( ; ; Expression) Statement", Statement is evaluated first and then Expression is evaluated; >-* @description: Using "(function(){throw "SecondExpression";})()" as an Expression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- for(;;(function(){throw "SecondExpression";})()){ >- var __in__for = "reached"; >- } >- testFailed('#1: (function(){throw "SecondExpression"}() lead to throwing exception'); >-} catch (e) { >- if (e !== "SecondExpression") { >- testFailed('#1: When for ( ; ; Expression) Statement is evaluated Statement evaluates first then Expression evaluates'); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__in__for !== "reached") { >- testFailed('#2: __in__for === "reached". Actual: __in__for ==='+ __in__for ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1-expected.txt >deleted file mode 100644 >index 47e562c2bc0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. >-S12.6.3_A7.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1.html >deleted file mode 100644 >index 79762434bed..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A7.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A7.1_T1; >-* @section: 12.6.3; >-* @assertion: Only three expressions and two semicolons in "for(with var)" braces are allowed. >-* Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError; >-* @description: Checking if execution of "for(var index=0; index<10; index++; index--)" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(var index=0; index<10; index++; index--); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2-expected.txt >deleted file mode 100644 >index b6042437942..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. >-S12.6.3_A7.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2.html >deleted file mode 100644 >index 9f081d6b7ea..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A7.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A7.1_T2; >-* @section: 12.6.3; >-* @assertion: Only three expressions and two semicolons in "for(with var)" braces are allowed. >-* Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError; >-* @description: Checking if execution of "for(var index=0; index<10; index+=4; index++; index--)" fails ; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(var index=0; index<10; index+=4; index++; index--) ; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1-expected.txt >deleted file mode 100644 >index a870faa1090..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. >-S12.6.3_A7_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1.html >deleted file mode 100644 >index 9c3a79722d3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A7_T1; >-* @section: 12.6.3; >-* @assertion: Only three expressions and two semicolons in "for" braces are allowed. >-* Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError; >-* @description: Checking if execution of "for(index=0; index<10; index++; index--)" fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(index=0; index<10; index++; index--) ; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2-expected.txt >deleted file mode 100644 >index 0f7897565e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. >-S12.6.3_A7_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2.html >deleted file mode 100644 >index 42d765779a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A7_T2; >-* @section: 12.6.3; >-* @assertion: Only three expressions and two semicolons in "for" braces are allowed. >-* Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError; >-* @description: Checking if execution of "for(index=0; index<10; index+=4; index++; index--)" fails ; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(index=0; index<10; index+=4; index++; index--) ; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt >deleted file mode 100644 >index 6ed23f81da9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++'. Expected a ':' following the property name 'index'. >-S12.6.3_A8.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1.html >deleted file mode 100644 >index dcfa45b7f75..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A8.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A8.1_T1; >-* @section: 12.6.3; >-* @assertion: Blocks within "for(with var)" braces are not allowed; >-* @description: Checking if execution of "for(var index=0; index<100; {index++; index*2;}) { arr.add(""+index);}" fails; >-* @negative; >-*/ >- >-var arr = []; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(var index=0; index<100; {index++; index*2;}) { arr.add(""+index);}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt >deleted file mode 100644 >index 04f6f4576b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++'. Expected a ':' following the property name 'index'. >-S12.6.3_A8.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2.html >deleted file mode 100644 >index 3598a1b3593..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A8.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A8.1_T2; >-* @section: 12.6.3; >-* @assertion: Blocks within "for(with var)" braces are not allowed; >-* @description: Checking if execution of "for(var index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}" fails; >-* @negative; >-*/ >- >-var arr = []; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(var index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3-expected.txt >deleted file mode 100644 >index 52240edf66b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected identifier 'index'. Expected a ':' following the property name 'var'. >-S12.6.3_A8.1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3.html >deleted file mode 100644 >index 945f7d7b97c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A8.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A8.1_T3; >-* @section: 12.6.3; >-* @assertion: Blocks within "for(with var)" braces are not allowed; >-* @description: Checking if execution of "for({var index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}" fails; >-* @negative; >-*/ >- >-var arr = []; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-for({var index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt >deleted file mode 100644 >index 9b15bb70b66..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++'. Expected a ':' following the property name 'index'. >-S12.6.3_A8_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1.html >deleted file mode 100644 >index 4aac283ec1d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A8_T1; >-* @section: 12.6.3; >-* @assertion: Blocks within "for" braces are not allowed; >-* @description: Checking if execution of "for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);}" fails; >-* @negative; >-*/ >- >-var arr = []; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt >deleted file mode 100644 >index 49c98347b3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++'. Expected a ':' following the property name 'index'. >-S12.6.3_A8_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2.html >deleted file mode 100644 >index dda96a5b02b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A8_T2; >-* @section: 12.6.3; >-* @assertion: Blocks within "for" braces are not allowed; >-* @description: Checking if execution of "for(index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}" fails; >-* @negative; >-*/ >- >-var arr = []; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for(index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt >deleted file mode 100644 >index 46ed72a5073..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '='. Expected a ':' following the property name 'index'. >-S12.6.3_A8_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3.html >deleted file mode 100644 >index 3ed592f7e78..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A8_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A8_T3; >-* @section: 12.6.3; >-* @assertion: Blocks within "for" braces are not allowed; >-* @description: Checking if execution of "for({index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}" fails; >-* @negative; >-*/ >- >-var arr = []; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-for({index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9-expected.txt >deleted file mode 100644 >index 0debffd7be9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A9 >- >-FAIL SputnikError: #1: var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); does not lead to throwing exception >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1-expected.txt >deleted file mode 100644 >index df220461d62..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.3_A9.1 >- >-FAIL SputnikError: #1: var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); does not lead to throwing exception >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1.html >deleted file mode 100644 >index 30b84589b50..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.1.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A9.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A9.1; >-* @section: 12.6.3; >-* @assertion: The result of evaluating "for( ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty); >-* @description: Using eval; >-*/ >- >-supreme=5; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-try { >- var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); >- if (__evaluated !== 4) { >- testFailed('#1: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); >- } >-} catch (e) { >- testFailed('#1: var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.html >deleted file mode 100644 >index f192938e118..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.3_A9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.3_A9.1; >-* @section: 12.6.3; >-* @assertion: The result of evaluating "for( ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty); >-* @description: Using eval; >-*/ >- >-supreme=5; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-try { >- var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); >- if (__evaluated !== 4) { >- testFailed('#1: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); >- } >-} catch (e) { >- testFailed('#1: var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1-expected.txt >deleted file mode 100644 >index 5e8e3475c02..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1.html >deleted file mode 100644 >index 3994ff1ccd6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A1.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A1; >-* @section: 12.6.4; >-* @assertion: "for(key in undefined)" Statement is allowed; >-* @description: Checking if execution of "for(key in undefined)" passes; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- for(__key in undefined){ >- var key=__key; >- }; >-} catch (e) { >- testFailed('#1: "for(key in undefined){}" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (key!==undefined) { >- testFailed('#2: key === undefined. Actual: key === '+key); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1-expected.txt >deleted file mode 100644 >index f99c409cb03..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A13_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1.html >deleted file mode 100644 >index 84202f36227..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T1.html >+++ /dev/null >@@ -1,97 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A13_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A13_T1; >-* @section: 12.6.4; >-* @assertion: FunctionDeclaration within a "for-in" Statement is not allowed; >-* @description: Declaring function within a "for-in" Statement; >-* @negative; >-*/ >- >-for(x in this){ >- function __func(){}; >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2-expected.txt >deleted file mode 100644 >index 87f6c59f2ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A13_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2.html >deleted file mode 100644 >index 5631fd8944b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A13_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A13_T2; >-* @section: 12.6.4; >-* @assertion: FunctionDeclaration within a "for-in" Statement is not allowed; >-* @description: Declaring function within a "for-in" Statement that is within a function call; >-* @negative; >-*/ >- >-(function(){ >- >-for(x in this){ >- function __func(){}; >-}; >- >-})(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3-expected.txt >deleted file mode 100644 >index 8226f258c44..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Function statements must have a name. >-S12.6.4_A13_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3.html >deleted file mode 100644 >index 857a217ccaf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A13_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A13_T3; >-* @section: 12.6.4; >-* @assertion: FunctionDeclaration within a "for-in" Statement is not allowed; >-* @description: Declaring function within a "for-in" Statement that is within function declaration; >-* @negative; >-*/ >- >-function(){ >- >-for(x in this){ >- function __func(){}; >-}; >- >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1-expected.txt >deleted file mode 100644 >index 35242db13ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A14_T1 >- >-FAIL SputnikError: #2: function expession inside of for-in expression is allowed >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.html >deleted file mode 100644 >index 93460ab7546..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A14_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A14_T1; >-* @section: 12.6.4; >-* @assertion: FunctionExpession within a "for-in" Expression is allowed; >-* @description: Using "function __func(){return 0;}" as Expession; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-for(x in function __func(){return 0;}){ >- if (x=="prototype") >- var __reached = 1; >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__reached !== 1) { >- testFailed('#2: function expession inside of for-in expression is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2-expected.txt >deleted file mode 100644 >index 67a39dd3287..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A14_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.html >deleted file mode 100644 >index 58c6eddf77d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A14_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A14_T2; >-* @section: 12.6.4; >-* @assertion: FunctionExpession within a "for-in" Expression is allowed; >-* @description: Using "function __func(){return {a:1};}()" as Expession; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-for(x in function __func(){return {a:1};}()){ >- var __reached = x; >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__reached !== "a") { >- testFailed('#2: function expession inside of for-in expression allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt >deleted file mode 100644 >index 2a015a13a06..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A15 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15.html >deleted file mode 100644 >index 704d8f4f0d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A15; >-* @section: 12.6.4; >-* @assertion: Block within a "for-in" Expression is not allowed; >-* @description: Using block within "for-in" Expression; >-* @negative; >-*/ >-var __arr=[1,2,3]; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-for(x in {__arr}){ >- break ; >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2-expected.txt >deleted file mode 100644 >index 6f62b43b88b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2.html >deleted file mode 100644 >index a74438cbbf9..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A2.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A2; >-* @section: 12.6.4; >-* @assertion: "for(key in null)" Expression is allowed; >-* @description: Checking if execution of "for(key in null)" passes; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-try { >- for(__key in null){ >- var key=__key; >- }; >-} catch (e) { >- testFailed('#1: "for(__key in null){}" does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (key!==undefined) { >- testFailed('#2: key === undefined. Actual: key ==='+key); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3-expected.txt >deleted file mode 100644 >index a0626e53be8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1-expected.txt >deleted file mode 100644 >index 162b200d0d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A3.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1.html >deleted file mode 100644 >index 879db13634d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.1.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A3.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A3.1; >-* @section: 12.6.4; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; >-* @description: Using an array as an Expression is appropriate. Here Expression is an array of numbers; >-*/ >- >-__str=""; >- >-__evaluated = eval("for(var ind in (arr=[2,1,4,3]))__str+=arr[ind]"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__evaluated !== __str) { >- testFailed('#1: __evaluated === __str. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!( (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")!==-1)&&(__str.indexOf("3")!==-1) )) { >- testFailed('#2: (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")!==-1)&&(__str.indexOf("3")!==-1)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.html >deleted file mode 100644 >index e3b30428148..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A3.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A3.1; >-* @section: 12.6.4; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; >-* @description: Using an array as an Expression is appropriate. Here Expression is an array of numbers; >-*/ >- >-__str=""; >- >-__evaluated = eval("for(var ind in (arr=[2,1,4,3]))__str+=arr[ind]"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__evaluated !== __str) { >- testFailed('#1: __evaluated === __str. Actual: __evaluated ==='+ __evaluated ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!( (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")!==-1)&&(__str.indexOf("3")!==-1) )) { >- testFailed('#2: (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")!==-1)&&(__str.indexOf("3")!==-1)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4-expected.txt >deleted file mode 100644 >index d629b709e4f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1-expected.txt >deleted file mode 100644 >index b2af2d4e8bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A4.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1.html >deleted file mode 100644 >index b414a074d89..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.1.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A4.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A4.1; >-* @section: 12.6.4; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; >-* @description: Using Object as an Expression is appropriate. Eval is used; >-*/ >- >-__str=""; >- >-__evaluated = eval("for(var ind in (hash={2:'b',1:'a',4:'d',3:'c'}))__str+=hash[ind]"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ( !( (__evaluated.indexOf("a")!==-1)& (__evaluated.indexOf("b")!==-1)& (__evaluated.indexOf("c")!==-1)&(__evaluated.indexOf("d")!==-1) ) ) { >- testFailed('#1: (__evaluated.indexOf("a")!==-1)& (__evaluated.indexOf("b")!==-1)& (__evaluated.indexOf("c")!==-1)&(__evaluated.indexOf("d")!==-1)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__str !== __evaluated) { >- testFailed('#2: __str === __evaluated. Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.html >deleted file mode 100644 >index bdb6b470b8f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A4.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A4.1; >-* @section: 12.6.4; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; >-* @description: Using Object as an Expression is appropriate. Eval is used; >-*/ >- >-__str=""; >- >-__evaluated = eval("for(var ind in (hash={2:'b',1:'a',4:'d',3:'c'}))__str+=hash[ind]"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ( !( (__evaluated.indexOf("a")!==-1)& (__evaluated.indexOf("b")!==-1)& (__evaluated.indexOf("c")!==-1)&(__evaluated.indexOf("d")!==-1) ) ) { >- testFailed('#1: (__evaluated.indexOf("a")!==-1)& (__evaluated.indexOf("b")!==-1)& (__evaluated.indexOf("c")!==-1)&(__evaluated.indexOf("d")!==-1)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__str !== __evaluated) { >- testFailed('#2: __str === __evaluated. Actual: __str ==='+ __str ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5-expected.txt >deleted file mode 100644 >index ac3cc9e8606..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1-expected.txt >deleted file mode 100644 >index 21883a001bb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A5.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1.html >deleted file mode 100644 >index 20d70b51dd0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A5.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A5.1; >-* @section: 12.6.4; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; >-* @description: Using hierarchical Object as an Expression is appropriate. The depth is two; >-*/ >- >- >- >-__hash__map={a:{aa:1,ab:2,ac:3,ad:4},b:{ba:1,bb:2,bc:3,bd:4},c:{ca:1,cb:2,cc:3,cd:4},d:{da:1,db:2,dc:3,dd:4}}; >- >-__arr = ""; >- >-for(var __key in __hash__map){ >- for (var __ind in __hash__map[__key]){ >- __arr+=("" + __ind + __hash__map[__key][__ind]); >- } >-} >- >-if(!( >-(__arr.indexOf("aa1")!==-1)& >-(__arr.indexOf("ab2")!==-1)& >-(__arr.indexOf("ac3")!==-1)& >-(__arr.indexOf("ad4")!==-1)& >-(__arr.indexOf("ba1")!==-1)& >-(__arr.indexOf("bb2")!==-1)& >-(__arr.indexOf("bc3")!==-1)& >-(__arr.indexOf("bd4")!==-1)& >-(__arr.indexOf("ca1")!==-1)& >-(__arr.indexOf("cb2")!==-1)& >-(__arr.indexOf("cc3")!==-1)& >-(__arr.indexOf("cd4")!==-1)& >-(__arr.indexOf("da1")!==-1)& >-(__arr.indexOf("db2")!==-1)& >-(__arr.indexOf("dc3")!==-1)& >-(__arr.indexOf("dd4")!==-1) >-)) testFailed('#1: The nested for-in Statement applied to hierarchial object works properly as described in the Standard'); >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.html >deleted file mode 100644 >index 3de2c66f166..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A5.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A5.1; >-* @section: 12.6.4; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; >-* @description: Using hierarchical Object as an Expression is appropriate. The depth is two; >-*/ >- >- >- >-__hash__map={a:{aa:1,ab:2,ac:3,ad:4},b:{ba:1,bb:2,bc:3,bd:4},c:{ca:1,cb:2,cc:3,cd:4},d:{da:1,db:2,dc:3,dd:4}}; >- >-__arr = ""; >- >-for(var __key in __hash__map){ >- for (var __ind in __hash__map[__key]){ >- __arr+=("" + __ind + __hash__map[__key][__ind]); >- } >-} >- >-if(!( >-(__arr.indexOf("aa1")!==-1)& >-(__arr.indexOf("ab2")!==-1)& >-(__arr.indexOf("ac3")!==-1)& >-(__arr.indexOf("ad4")!==-1)& >-(__arr.indexOf("ba1")!==-1)& >-(__arr.indexOf("bb2")!==-1)& >-(__arr.indexOf("bc3")!==-1)& >-(__arr.indexOf("bd4")!==-1)& >-(__arr.indexOf("ca1")!==-1)& >-(__arr.indexOf("cb2")!==-1)& >-(__arr.indexOf("cc3")!==-1)& >-(__arr.indexOf("cd4")!==-1)& >-(__arr.indexOf("da1")!==-1)& >-(__arr.indexOf("db2")!==-1)& >-(__arr.indexOf("dc3")!==-1)& >-(__arr.indexOf("dd4")!==-1) >-)) testFailed('#1: The nested for-in Statement applied to hierarchial object works properly as described in the Standard'); >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6-expected.txt >deleted file mode 100644 >index 6aadf37827c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1-expected.txt >deleted file mode 100644 >index f3a9da65d02..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A6.1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1.html >deleted file mode 100644 >index 913f4614043..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A6.1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A6.1; >-* @section: 12.6.4; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; >-* @description: Using Object with custom prototype as an Expression is appropriate. The prototype is "{feat:2,hint:"protohint"}"; >-*/ >- >-function FACTORY(){this.prop=1;this.hint="hinted"}; >- >-FACTORY.prototype = {feat:2,hint:"protohint"}; >- >-var __instance = new FACTORY; >- >-__accum=""; >- >-for (var key in __instance){ >- __accum+=(key + __instance[key]); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!((__accum.indexOf("prop1")!==-1)&&(__accum.indexOf("feat2")!==-1)&&(__accum.indexOf("hinthinted")!==-1))) { >- testFailed('#1: (__accum.indexOf("prop1")!==-1)&&(__accum.indexOf("feat2")!==-1)&&(__accum.indexOf("hinthinted")!==-1)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__accum.indexOf("hintprotohint")!==-1) { >- testFailed('#2: __accum.indexOf("hintprotohint") === -1. Actual: __accum.indexOf("hintprotohint") ==='+ __accum.indexOf("hintprotohint") ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.html >deleted file mode 100644 >index 3aef7fb85b6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A6.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A6.1; >-* @section: 12.6.4; >-* @assertion: The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"; >-* @description: Using Object with custom prototype as an Expression is appropriate. The prototype is "{feat:2,hint:"protohint"}"; >-*/ >- >-function FACTORY(){this.prop=1;this.hint="hinted"}; >- >-FACTORY.prototype = {feat:2,hint:"protohint"}; >- >-var __instance = new FACTORY; >- >-__accum=""; >- >-for (var key in __instance){ >- __accum+=(key + __instance[key]); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!((__accum.indexOf("prop1")!==-1)&&(__accum.indexOf("feat2")!==-1)&&(__accum.indexOf("hinthinted")!==-1))) { >- testFailed('#1: (__accum.indexOf("prop1")!==-1)&&(__accum.indexOf("feat2")!==-1)&&(__accum.indexOf("hinthinted")!==-1)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__accum.indexOf("hintprotohint")!==-1) { >- testFailed('#2: __accum.indexOf("hintprotohint") === -1. Actual: __accum.indexOf("hintprotohint") ==='+ __accum.indexOf("hintprotohint") ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1-expected.txt >deleted file mode 100644 >index ecb1fde59c2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1.html >deleted file mode 100644 >index a3c804694a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T1.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A7_T1; >-* @section: 12.6.4; >-* @assertion: Properties of the object being enumerated may be deleted during enumeration; >-* @description: Checking "for (LeftHandSideExpression in Expression) Statement" case; >-*/ >- >-__obj={aa:1,ba:2,ca:3}; >- >-__accum=""; >- >-for (__key in __obj){ >- >- erasator_T_1000(__obj,"b"); >- >- __accum+=(__key+__obj[__key]); >- >-} >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!((__accum.indexOf("aa1")!==-1)&&(__accum.indexOf("ca3")!==-1))) { >- testFailed('#1: (__accum.indexOf("aa1")!==-1)&&(__accum.indexOf("ca3")!==-1)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__accum.indexOf("ba2")!==-1) { >- testFailed('#2: __accum.indexOf("ba2") === -1. Actual: __accum.indexOf("ba2") ==='+ __accum.indexOf("ba2") ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-// erasator is the hash map terminator >-function erasator_T_1000(hash_map, charactr){ >- for (key in hash_map){ >- if (key.indexOf(charactr)===0) { >- delete hash_map[key]; >- }; >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2-expected.txt >deleted file mode 100644 >index 2537726a71e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.6.4_A7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2.html >deleted file mode 100644 >index dc25b9dee0d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A7_T2.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.6.4_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.6.4_A7_T2; >-* @section: 12.6.4; >-* @assertion: Properties of the object being enumerated may be deleted during enumeration; >-* @description: Checking "for (var VariableDeclarationNoIn in Expression) Statement" case; >-*/ >- >-__obj={aa:1,ba:2,ca:3}; >- >-__accum=""; >- >-for (var __key in __obj){ >- >- erasator_T_1000(__obj,"b"); >- >- __accum+=(__key+__obj[__key]); >- >-} >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!((__accum.indexOf("aa1")!==-1)&&(__accum.indexOf("ca3")!==-1))) { >- testFailed('#1: (__accum.indexOf("aa1")!==-1)&&(__accum.indexOf("ca3")!==-1)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__accum.indexOf("ba2")!==-1) { >- testFailed('#2: __accum.indexOf("ba2") === -1. Actual: __accum.indexOf("ba2") ==='+ __accum.indexOf("ba2") ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-// erasator is the hash map terminator >-function erasator_T_1000(hash_map, charactr){ >- for (key in hash_map){ >- if (key.indexOf(charactr)===0) { >- delete hash_map[key]; >- }; >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt >deleted file mode 100644 >index b117458201c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: 'continue' is only valid inside a loop statement. >-S12.7_A1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1.html >deleted file mode 100644 >index f2f55c07975..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A1_T1; >-* @section: 12.7; >-* @assertion: Appearing of continue without an IterationStatement leads to syntax error; >-* @description: Checking if execution of single "continue" without any IterationStatement fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x=1; >-continue; >-var y=2; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt >deleted file mode 100644 >index 934fbc48be8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Cannot use the undeclared label 'LABEL'. >-S12.7_A1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2.html >deleted file mode 100644 >index 8c6a5db4cfb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A1_T2; >-* @section: 12.7; >-* @assertion: Appearing of continue without an IterationStatement leads to syntax error; >-* @description: Checking if single "continue" with Label but without any IterationStatement fails; >-* @negative; >-*/ >- >-LABEL : x=3.14; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x=1; >-continue LABEL; >-var y=2; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt >deleted file mode 100644 >index 69965f8c414..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'LABEL'. >-S12.7_A1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3.html >deleted file mode 100644 >index e2816d6608d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A1_T3; >-* @section: 12.7; >-* @assertion: Appearing of continue without an IterationStatement leads to syntax error; >-* @description: Checking if laballed "continue" with no IterationStatement, placed into a block, fails; >-* @negative; >-*/ >- >-LABEL : x=3.14; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-{ >- var x=1; >- continue LABEL; >- var y=2; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt >deleted file mode 100644 >index b14078e7380..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: 'continue' is only valid inside a loop statement. >-S12.7_A1_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4.html >deleted file mode 100644 >index bb6fa3cd3a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A1_T4; >-* @section: 12.7; >-* @assertion: Appearing of continue without an IterationStatement leads to syntax error; >-* @description: Checking if execution of "continue" with no IterationStatement, placed into a block, fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-{ >- var x=1; >- continue; >- var y=2; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A2-expected.txt >deleted file mode 100644 >index 64f288f6c7a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.7_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A2.html >deleted file mode 100644 >index 9310be86e0b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A2.html >+++ /dev/null >@@ -1,146 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A2; >-* @section: 12.7; >-* @assertion: Since LineTerminator between "continue" and Identifier is not allowed, "continue" is evaluated without label; >-* @description: Checking by using eval, inserting LineTerminator between continue and Identifier; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- eval("FOR1 : for(var i=1;i<2;i++){FOR1NESTED : for(var j=1;j<2;j++) { continue\u000AFOR1; } while(0);}"); >- if (j!==2) { >- testFailed('#1: Since LineTerminator(U-000A) between continue and Identifier not allowed continue evaluates without label'); >- } >-} catch(e){ >- testFailed('#1.1: eval("FOR1 : for(var i=1;i<2;i++){FOR1NESTED : for(var j=1;j<2;j++) { continue\\u000AFOR1; } while(0);}") does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try{ >- eval("FOR2 : for(var i=1;i<2;i++){FOR2NESTED : for(var j=1;j<2;j++) { continue\u000DFOR2; } while(0);}"); >- if (j!==2) { >- testFailed('#2: Since LineTerminator(U-000D) between continue and Identifier not allowed continue evaluates without label'); >- } >-} catch(e){ >- testFailed('#2.1: eval("FOR2 : for(var i=1;i<2;i++){FOR2NESTED : for(var j=1;j<2;j++) { continue\\u000DFOR2; } while(0);}") does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try{ >- eval("FOR3 : for(var i=1;i<2;i++){FOR3NESTED : for(var j=1;j<2;j++) { continue\u2028FOR3; } while(0);}"); >- if (j!==2) { >- testFailed('#3: Since LineTerminator(U-2028) between continue and Identifier not allowed continue evaluates without label'); >- } >-} catch(e){ >- testFailed('#3.1: eval("FOR3 : for(var i=1;i<2;i++){FOR3NESTED : for(var j=1;j<2;j++) { continue\\u2028FOR3; } while(0);}") does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-try{ >- eval("FOR4 : for(var i=1;i<2;i++){FOR4NESTED : for(var j=1;j<2;j++) { continue\u2029FOR4; } while(0);}"); >- if (j!==2) { >- testFailed('#4: Since LineTerminator(U-2029) between continue and Identifier not allowed continue evaluates without label'); >- } >-} catch(e){ >- testFailed('#4.1: eval("FOR4 : for(var i=1;i<2;i++){FOR4NESTED : for(var j=1;j<2;j++) { continue\\u2029FOR4; } while(0);}"); does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A3-expected.txt >deleted file mode 100644 >index b9f1de64e6b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.7_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A3.html >deleted file mode 100644 >index d2eb9d64f28..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A3.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A3; >-* @section: 12.7; >-* @assertion: When "continue Identifier" is evaluated (continue, empty, empty) is returned; >-* @description: Simple using continue without Identifier and labeled loop; >-*/ >- >-LABEL_OUT : var x=0, y=0; >- >-LABEL_DO_LOOP : do { >- LABEL_IN : x=2; >- continue ; >- LABEL_IN_2 : var y=2; >- >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==2)&&(y!==0)) { >- testFailed('#1: x === 2 and y === 0. Actual: x ==='+x+' and y ==='+ y ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1-expected.txt >deleted file mode 100644 >index 1e2abf8071d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.7_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1.html >deleted file mode 100644 >index 81d64e091ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A4_T1; >-* @section: 12.7; >-* @assertion: When "continue Identifier" is evaluated (continue, empty, Identifier) is returned; >-* @description: Simple using continue Identifier construction; >-*/ >- >-LABEL_OUT : var x=0, y=0; >- >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)break; >- continue LABEL_DO_LOOP; >- LABEL_IN_2 : y++; >- >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==1)&&(y!==0)) { >- testFailed('#1: x===1 and y === 0. Actual: x==='+x+' and y ==='+y); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2-expected.txt >deleted file mode 100644 >index f35ad9f629b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.7_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2.html >deleted file mode 100644 >index 3447e2637c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T2.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A4_T2; >-* @section: 12.7; >-* @assertion: When "continue Identifier" is evaluated (continue, empty, Identifier) is returned; >-* @description: Using embedded and labeled loops, continue to nested loop; >-*/ >- >-LABEL_OUT : var x=0, y=0, xx=0, yy=0; >- >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)break; >- LABEL_NESTED_LOOP : do { >- LABEL_IN_NESTED : xx++; >- if(xx===10)break; >- continue LABEL_NESTED_LOOP; >- LABEL_IN_NESTED_2 : yy++; >- } while (0); >- >- LABEL_IN_2 : y++; >- >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==1)&&(y!==1)&&(xx!==1)&(yy!==0)) { >- testFailed('#1: (x===1) and (y===1) and (xx===1) and (yy===0). Actual: x==='+x+' and y==='+y+' and xx==='+xx+' and yy==='+yy ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3-expected.txt >deleted file mode 100644 >index 8ac8ad53c5c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.7_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3.html >deleted file mode 100644 >index 9433c6bd7ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A4_T3.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A4_T3; >-* @section: 12.7; >-* @assertion: When "continue Identifier" is evaluated (continue, empty, Identifier) is returned; >-* @description: Using embedded and labeled loops, continue to outer loop; >-*/ >- >-LABEL_OUT : var x=0, y=0, xx=0, yy=0; >- >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)break; >- LABEL_NESTED_LOOP : do { >- LABEL_IN_NESTED : xx++; >- if(xx===10)break; >- continue LABEL_DO_LOOP; >- LABEL_IN_NESTED_2 : yy++; >- } while (0); >- >- LABEL_IN_2 : y++; >- >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==1)&&(y!==0)&&(xx!==1)&(yy!==0)) { >- testFailed('#1: (x===1) and (y===0) and (xx===1) and (yy===0). Actual: x==='+x+' and y==='+y+' and xx==='+xx+' and yy==='+yy ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt >deleted file mode 100644 >index 7192016109d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Cannot use the undeclared label 'LABEL_ANOTHER_LOOP'. >-S12.7_A5_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1.html >deleted file mode 100644 >index fa7dca5afd4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A5_T1; >-* @section: 12.7; >-* @assertion: When "continue Identifier" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement; >-* @description: Trying to continue another labeled loop; >-* @negative; >-*/ >- >-LABEL_OUT : var x=0, y=0; >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)break; >- continue LABEL_ANOTHER_LOOP; >- LABEL_IN_2 : y++; >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt >deleted file mode 100644 >index 3ceb89a9681..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Cannot use the undeclared label 'IN_DO_FUNC'. >-S12.7_A5_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2.html >deleted file mode 100644 >index 1f1e4a79a04..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A5_T2; >-* @section: 12.7; >-* @assertion: When "continue Identifier" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement; >-* @description: Identifier is a function name; >-* @negative; >-*/ >- >-LABEL_OUT : var x=0, y=0; >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)break; >- continue IN_DO_FUNC; >- LABEL_IN_2 : y++; >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt >deleted file mode 100644 >index 449073a4f48..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Cannot use the undeclared label 'LABEL_IN'. >-S12.7_A5_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3.html >deleted file mode 100644 >index 0a9f337117d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A5_T3; >-* @section: 12.7; >-* @assertion: When "continue Identifier" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement; >-* @description: Identifier is within loop label; >-* @negative; >-*/ >- >-LABEL_OUT : var x=0, y=0; >- >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)break; >- continue LABEL_IN; >- LABEL_IN_2 : y++; >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt >deleted file mode 100644 >index 9108c98531a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Cannot use the undeclared label 'LABEL1'. >-S12.7_A6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6.html >deleted file mode 100644 >index 8dc96f2e1a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A6; >-* @section: 12.7; >-* @assertion: Appearing of "continue" within a function call that is within an IterationStatement yields SyntaxError; >-* @description: Using labaled "continue Identifier" within a function body; >-* @negative; >-*/ >- >-var x=0,y=0; >- >-LABEL1 : do { >- x++; >- (function(){continue LABEL1;})(); >- y++; >-} while(0); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A7-expected.txt >deleted file mode 100644 >index 9ca01e71dc5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.7_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A7.html >deleted file mode 100644 >index de4286bfd5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A7.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A7; >-* @section: 12.7; >-* @assertion: Appearing of continue within eval statement that is within an IterationStatement yields SyntaxError; >-* @description: Using eval "eval("continue LABEL1")"; >-*/ >- >-var x=0,y=0; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- LABEL1 : do { >- x++; >- eval("continue LABEL1"); >- y++; >- } while(0); >- testFailed('#1: eval("continue LABEL1") does not lead to throwing exception'); >-} catch(e){ >- if(!(e instanceof SyntaxError)){ >- testFailed("1.1: Appearing of continue within eval statement inside of IterationStatement yields SyntaxError"); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt >deleted file mode 100644 >index 3a67e923949..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 86: SyntaxError: Cannot use the undeclared label 'LABEL2'. >-S12.7_A8_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1.html >deleted file mode 100644 >index 53f8ca4dd8c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A8_T1; >-* @section: 12.7; >-* @assertion: Appearing of "continue" within a "try/catch" Block yields SyntaxError; >-* @description: Checking if execution of "continue Identifier" within catch Block fails; >-* @negative; >-*/ >- >-var x=0,y=0; >- >-try{ >- LABEL1 : do { >- x++; >- throw "gonna leave it"; >- y++; >- } while(0); >- testFailed('#1: throw "gonna leave it" lead to throwing exception'); >-} catch(e){ >- continue LABEL2; >- LABEL2 : do { >- x++; >- y++; >- } while(0); >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt >deleted file mode 100644 >index 03813f39cad..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 87: SyntaxError: 'continue' is only valid inside a loop statement. >-S12.7_A8_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2.html >deleted file mode 100644 >index 7d41eebce85..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A8_T2; >-* @section: 12.7; >-* @assertion: Appearing of "continue" within a "try/catch" Block yields SyntaxError; >-* @description: Checking if execution of "continue" within catch Block fails; >-* @negative; >-*/ >- >-var x=0,y=0; >- >-try{ >- LABEL1 : do { >- x++; >- throw "gonna leave it"; >- y++; >- } while(0); >- testFailed('#1: throw "gonna leave it" lead to throwing exception'); >-} catch(e){ >- continue; >- LABEL2 : do { >- x++; >- y++; >- } while(0); >-}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1-expected.txt >deleted file mode 100644 >index e2592121884..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.7_A9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1.html >deleted file mode 100644 >index 7ee6953ad6d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A9_T1; >-* @section: 12.7; >-* @assertion: Continue inside of try-catch nested in a loop is allowed; >-* @description: Using "continue Identifier" within catch Block that is within a loop; >-*/ >- >-var x=0,y=0; >- >-(function(){ >-FOR : for(;;){ >- try{ >- x++; >- if(x===10)return; >- throw 1; >- } catch(e){ >- continue FOR; >- } >-} >-})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x!==10) { >- testFailed('#1: Continue inside of try-catch nested in loop is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2-expected.txt >deleted file mode 100644 >index 496b452fbf6..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.7_A9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2.html >deleted file mode 100644 >index 012d831733d..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A9_T2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.7_A9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.7_A9_T2; >-* @section: 12.7; >-* @assertion: Continue inside of try-catch nested in a loop is allowed; >-* @description: Using "continue" within catch Block that is within a loop; >-*/ >- >-var x=0,y=0; >- >-(function(){ >-FOR : for(;;){ >- try{ >- x++; >- if(x===10)return; >- throw 1; >- } catch(e){ >- continue; >- } >-} >-})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x!==10) { >- testFailed('#1: Continue inside of try-catch nested in loop is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt >deleted file mode 100644 >index d68a1efac84..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: 'break' is only valid inside a switch or loop statement. >-S12.8_A1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1.html >deleted file mode 100644 >index 3b3e6aa376b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A1_T1; >-* @section: 12.8; >-* @assertion: Appearing of break without an IterationStatement leads to syntax error; >-* @description: Checking if break statement with no loop fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x=1; >-break; >-var y=2; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt >deleted file mode 100644 >index 62d054c7904..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Cannot use the undeclared label 'LABEL'. >-S12.8_A1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2.html >deleted file mode 100644 >index cf45a6ef1cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A1_T2; >-* @section: 12.8; >-* @assertion: Appearing of break without an IterationStatement leads to syntax error; >-* @description: Checking if break Identifier with no loop fails; >-* @negative; >-*/ >- >-LABEL : x=3.14; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x=1; >-break LABEL; >-var y=2; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt >deleted file mode 100644 >index cb46454f458..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: 'break' is only valid inside a switch or loop statement. >-S12.8_A1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3.html >deleted file mode 100644 >index fc715fadf84..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A1_T3; >-* @section: 12.8; >-* @assertion: Appearing of break without an IterationStatement leads to syntax error; >-* @description: Checking if break statement with no loop, placed into a block, fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-{ >- var x=1; >- break; >- var y=2; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt >deleted file mode 100644 >index 5e51b11bc52..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'LABEL'. >-S12.8_A1_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4.html >deleted file mode 100644 >index 42d6e43f44c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A1_T4; >-* @section: 12.8; >-* @assertion: Appearing of break without an IterationStatement leads to syntax error; >-* @description: Checking if break Identifier with no loop, placed into a block, fails; >-* @negative; >-*/ >- >-LABEL : x=3.14; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-{ >- var x=1; >- break LABEL; >- var y=2; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A2-expected.txt >deleted file mode 100644 >index ee7691d69eb..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.8_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A2.html >deleted file mode 100644 >index bd4dc0844ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A2.html >+++ /dev/null >@@ -1,146 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A2; >-* @section: 12.8; >-* @assertion: Since LineTerminator between "break" and Identifier is not allowed, "break" is evaluated without label; >-* @description: Checking by using eval, inserting LineTerminator between break and Identifier; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- eval("FOR1 : for(var i=1;i<2;i++){ LABEL1 : do {var x =1;break\u000AFOR1;var y=2;} while(0);}"); >- if (i!==2) { >- testFailed('#1: Since LineTerminator(U-000A) between break and Identifier not allowed break evaluates without label'); >- } >-} catch(e){ >- testFailed('#1.1: eval("FOR1 : for(var i=1;i<2;i++){ LABEL1 : do {var x =1;break\\u000AFOR1;var y=2;} while(0);}") does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try{ >- eval("FOR2 : for(var i=1;i<2;i++){ LABEL2 : do {var x =1;break\u000DFOR2;var y=2;} while(0);}"); >- if (i!==2) { >- testFailed('#2: Since LineTerminator(U-000D) between break and Identifier not allowed break evaluates without label'); >- } >-} catch(e){ >- testFailed('#2.1: eval("FOR2 : for(var i=1;i<2;i++){ LABEL2 : do {var x =1;break\\u000DFOR2;var y=2;} while(0);}") does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try{ >- eval("FOR3 : for(var i=1;i<2;i++){ LABEL3 : do {var x =1;break\u2028FOR3;var y=2;} while(0);}"); >- if (i!==2) { >- testFailed('#3: Since LineTerminator(U-2028) between break and Identifier not allowed break evaluates without label'); >- } >-} catch(e){ >- testFailed('#3.1: eval("FOR3 : for(var i=1;i<2;i++){ LABEL3 : do {var x =1;break\\u2028FOR3;var y=2;} while(0);}") does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-try{ >- eval("FOR4 : for(var i=1;i<2;i++){ LABEL4 : do {var x =1;break\u2029FOR4;var y=2;} while(0);}"); >- if (i!==2) { >- testFailed('#4: Since LineTerminator(U-2029) between break and Identifier not allowed break evaluates without label'); >- } >-} catch(e){ >- testFailed('#4.1: eval("FOR4 : for(var i=1;i<2;i++){ LABEL4 : do {var x =1;break\\u2029FOR4;var y=2;} while(0);}") does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A3-expected.txt >deleted file mode 100644 >index 413e43a8e68..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.8_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A3.html >deleted file mode 100644 >index 0fd8ad23c85..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A3.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A3; >-* @section: 12.8; >-* @assertion: When "break" is evaluated, (break, empty, empty) is returned; >-* @description: Using "break" without Identifier within labeled loop; >-*/ >- >-LABEL_OUT : var x=0, y=0; >- >-LABEL_DO_LOOP : do { >- LABEL_IN : x=2; >- break ; >- LABEL_IN_2 : var y=2; >- >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==2)&&(y!==0)) { >- testFailed('#1: x === 2 and y === 0. Actual: x ==='+x+' and y ==='+y); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T1-expected.txt >deleted file mode 100644 >index a10d4711b03..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.8_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T1.html >deleted file mode 100644 >index 4c3f8cc68d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A4_T1; >-* @section: 12.8; >-* @assertion: When "break Identifier" is evaluated, (break, empty, Identifier) is returned; >-* @description: Using "break Identifier" within labaeled loop; >-*/ >- >-LABEL_OUT : var x=0, y=0; >-(function(){ >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)return; >- break LABEL_DO_LOOP; >- LABEL_IN_2 : y++; >- >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >-})(); >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==1)&&(y!==0)) { >- testFailed('#1: x === 1 and y === 0. Actual: x === '+x+' and y ==='+ y ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T2-expected.txt >deleted file mode 100644 >index 7ad8a13bddd..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.8_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T2.html >deleted file mode 100644 >index b78fc445733..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T2.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A4_T2; >-* @section: 12.8; >-* @assertion: When "break Identifier" is evaluated, (break, empty, Identifier) is returned; >-* @description: Using embedded and labeled loops, breaking to nested loop; >-*/ >- >-LABEL_OUT : var x=0, y=0, xx=0, yy=0; >-(function(){ >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)return; >- LABEL_NESTED_LOOP : do { >- LABEL_IN_NESTED : xx++; >- if(xx===10)return; >- break LABEL_NESTED_LOOP; >- LABEL_IN_NESTED_2 : yy++; >- } while (0); >- >- LABEL_IN_2 : y++; >- >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >-})(); >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==1)&&(y!==1)&&(xx!==1)&(yy!==0)) { >- testFailed('#1: x === 1 and y === 1 and xx === 1 and yy === 0. Actual: x==='+x+' and y==='+y+' and xx==='+xx+' and yy==='+yy ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T3-expected.txt >deleted file mode 100644 >index e7f3e8650c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.8_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T3.html >deleted file mode 100644 >index e3b8d0af168..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A4_T3.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A4_T3; >-* @section: 12.8; >-* @assertion: When "break Identifier" is evaluated, (break, empty, Identifier) is returned; >-* @description: Using embedded and labeled loops, breaking to outer loop; >-*/ >- >-LABEL_OUT : var x=0, y=0, xx=0, yy=0; >-(function(){ >-LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10)return; >- LABEL_NESTED_LOOP : do { >- LABEL_IN_NESTED : xx++; >- if(xx===10)return; >- break LABEL_DO_LOOP; >- LABEL_IN_NESTED_2 : yy++; >- } while (0); >- >- LABEL_IN_2 : y++; >- >- function IN_DO_FUNC(){} >-} while(0); >- >-LABEL_ANOTHER_LOOP : do { >- ; >-} while(0); >- >-function OUT_FUNC(){} >-})(); >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ((x!==1)&&(y!==0)&&(xx!==1)&(yy!==0)) { >- testFailed('#1: x === 1 and y === 0 and xx === 1 and yy === 0. Actual: x==='+x+' and y==='+y+' and xx==='+xx+' and yy==='+yy ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt >deleted file mode 100644 >index 19ab1c33828..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'LABEL_ANOTHER_LOOP'. >-S12.8_A5_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1.html >deleted file mode 100644 >index 486c935a787..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A5_T1; >-* @section: 12.8; >-* @assertion: Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement; >-* @description: Checking if breaking another labeled loop fails; >-* @negative; >-*/ >- >-(function(){ >- LABEL_OUT : var x=0, y=0; >- LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10) >- return; >- break LABEL_ANOTHER_LOOP; >- LABEL_IN_2 : y++; >- function IN_DO_FUNC(){} >- } while(0); >- >- LABEL_ANOTHER_LOOP : do { >- ; >- } while(0); >- >- function OUT_FUNC(){} >-})(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt >deleted file mode 100644 >index 0194adda274..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'IN_DO_FUNC'. >-S12.8_A5_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2.html >deleted file mode 100644 >index 4f6b7c4ff8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A5_T2; >-* @section: 12.8; >-* @assertion: Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement; >-* @description: Checking if using function name as an Identifier appears to be invalid; >-* @negative; >-*/ >- >-(function(){ >- LABEL_OUT : var x=0, y=0; >- LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10) >- return; >- break IN_DO_FUNC; >- LABEL_IN_2 : y++; >- function IN_DO_FUNC(){} >- } while(0); >- >- LABEL_ANOTHER_LOOP : do { >- ; >- } while(0); >- >- function OUT_FUNC(){} >-})(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt >deleted file mode 100644 >index 8770fb4c118..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'LABEL_IN'. >-S12.8_A5_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3.html >deleted file mode 100644 >index f620d9446a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A5_T3; >-* @section: 12.8; >-* @assertion: Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement; >-* @description: Checking if using internal loop label as an Identifier appears to be invalid; >-* @negative; >-*/ >- >-(function(){ >- LABEL_OUT : var x=0, y=0; >- LABEL_DO_LOOP : do { >- LABEL_IN : x++; >- if(x===10) >- return; >- break LABEL_IN; >- LABEL_IN_2 : y++; >- >- function IN_DO_FUNC(){} >- >- } while(0); >- >- LABEL_ANOTHER_LOOP : do { >- ; >- } while(0); >- >- function OUT_FUNC(){} >- >-})(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt >deleted file mode 100644 >index 2950f5a907a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Cannot use the undeclared label 'LABEL1'. >-S12.8_A6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6.html >deleted file mode 100644 >index 1127a38bb3f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A6; >-* @section: 12.8; >-* @assertion: Appearing of "break" within a function call that is nested in a IterationStatement yields SyntaxError; >-* @description: Checking if using "break Identifier" within a function body appears to be invalid; >-* @negative; >-*/ >- >-var x=0,y=0; >- >-LABEL1 : do { >- x++; >- (function(){break LABEL1;})(); >- y++; >-} while(0); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A7-expected.txt >deleted file mode 100644 >index c36001b7f43..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.8_A7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A7.html >deleted file mode 100644 >index 5e74d805c15..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A7.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A7; >-* @section: 12.8; >-* @assertion: Appearing of "break" within eval statement that is nested in an IterationStatement yields SyntaxError; >-* @description: Using eval "eval("break LABEL1")"; >-*/ >- >-var x=0,y=0; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- LABEL1 : do { >- x++; >- eval("break LABEL1"); >- y++; >- } while(0); >- testFailed('#1: eval("break LABEL1") does not lead to throwing exception'); >-} catch(e){ >- if(!(e instanceof SyntaxError)){ >- testFailed("1.1: Appearing of break within eval statement inside of IterationStatement yields SyntaxError"); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt >deleted file mode 100644 >index d2a379b3861..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 86: SyntaxError: Cannot use the undeclared label 'LABEL2'. >-S12.8_A8_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1.html >deleted file mode 100644 >index a76dea12aaf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A8_T1; >-* @section: 12.8; >-* @assertion: Appearing of "break" within "try/catch" Block yields SyntaxError; >-* @description: Checking if using "break Identifier" from within catch Block appears to be invalid; >-* @negative; >-*/ >- >-var x=0,y=0; >- >-try{ >- LABEL1 : do { >- x++; >- throw "gonna leave it"; >- y++; >- } while(0); >- testFailed('#1: throw "gonna leave it" lead to throwing exception'); >-} catch(e){ >- break LABEL2; >- LABEL2 : do { >- x++; >- y++; >- } while(0); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt >deleted file mode 100644 >index 1990e252fc1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 87: SyntaxError: 'break' is only valid inside a switch or loop statement. >-S12.8_A8_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2.html >deleted file mode 100644 >index a2f6e79b700..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A8_T2; >-* @section: 12.8; >-* @assertion: Appearing of "break" within "try/catch" Block yields SyntaxError; >-* @description: Checking if using "break Identifier" from within catch Block appears to be invalid; >-* @negative; >-*/ >- >-var x=0,y=0; >- >-try{ >- LABEL1 : do { >- x++; >- throw "gonna leave it"; >- y++; >- } while(0); >- testFailed('#1: throw "gonna leave it" lead to throwing exception'); >-} catch(e){ >- break; >- LABEL2 : do { >- x++; >- y++; >- } while(0); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T1-expected.txt >deleted file mode 100644 >index 1769fbc7177..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.8_A9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T1.html >deleted file mode 100644 >index ccf4e8fdd5f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A9_T1; >-* @section: 12.8; >-* @assertion: Using "break" within "try/catch" statement that is nested in a loop is allowed; >-* @description: Using "continue Identifier" within "catch" statement; >-*/ >- >-var x=0,y=0; >- >-(function(){ >-FOR : for(;;){ >- try{ >- x++; >- if(x===10)return; >- throw 1; >- } catch(e){ >- break FOR; >- } >-} >-})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x!==1) { >- testFailed('#1: break inside of try-catch nested in loop is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T2-expected.txt >deleted file mode 100644 >index 305cb9583bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.8_A9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.html >deleted file mode 100644 >index bcc616d215e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.8_A9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.8_A9_T2; >-* @section: 12.8; >-* @assertion: Using "break" within "try/catch" statement that is nested in a loop is allowed; >-* @description: Using "continue Identifier" within "catch" statement; >-*/ >- >-var x=0,y=0; >- >-(function(){ >-FOR : for(;;){ >- try{ >- x++; >- if(x===10)return; >- throw 1; >- } catch(e){ >- break ; >- } >-} >-})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x!==1) { >- testFailed('#1: break inside of try-catch nested in loop is allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt >deleted file mode 100644 >index 85dbefc4ffe..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1.html >deleted file mode 100644 >index 7fdadb8ff75..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T1; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return" with no function fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x=1; >-return; >-var y=2; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt >deleted file mode 100644 >index 6506d7d01f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T10 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10.html >deleted file mode 100644 >index 0974346b19f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T10; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return (0)" with no function fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-return (0); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt >deleted file mode 100644 >index 161ffcdcb7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2.html >deleted file mode 100644 >index bedd8d7a7e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T2; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return x" with no function fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-var x=1; >-return x; >-var y=2; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt >deleted file mode 100644 >index 02f03ea22b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3.html >deleted file mode 100644 >index d06baae4e5b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T3; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return" within "try" statement fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- return 1; >-} catch(e){ >- return 1; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt >deleted file mode 100644 >index 77b6b93f553..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4.html >deleted file mode 100644 >index 165e6a662d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T4; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return" with no function fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-return; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt >deleted file mode 100644 >index 0bdc64718ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5.html >deleted file mode 100644 >index 02722040fa4..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T5; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return" with no function, placed into a Block, fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-{ >- var x=1; >- return; >- var y=2; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt >deleted file mode 100644 >index a598754991a..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6.html >deleted file mode 100644 >index 5c7a7ba178f..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T6; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return" with no function, placed into a loop, fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do { >- var x=1; >- return; >- var y=2; >-} while(0); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt >deleted file mode 100644 >index 617912e902e..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7.html >deleted file mode 100644 >index e8608234e01..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T7; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return x" with no function, placed inside Block, fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-{ >- var x=1; >- return x; >- var y=2; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt >deleted file mode 100644 >index 169cab56416..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8.html >deleted file mode 100644 >index c9d59891890..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T8; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return x" with no function, placed into a loop, fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-do { >- var x=1; >- return x; >- var y=2; >-} while(0); >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt >deleted file mode 100644 >index da6c2b1f0a7..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Return statements are only valid inside functions. >-S12.9_A1_T9 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9.html >deleted file mode 100644 >index 67886902b11..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A1_T9; >-* @section: 12.9; >-* @assertion: Appearing of "return" without a function body leads to syntax error; >-* @description: Checking if execution of "return", placed into a catch Block, fails; >-* @negative; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- throw 1; >-} catch(e){ >- return e; >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A2-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A2-expected.txt >deleted file mode 100644 >index 4736a74e681..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.9_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A2.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A2.html >deleted file mode 100644 >index c07a8d952ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A2.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S12.9_A2; >- * @section: 12.9; >- * @assertion: LineTerminator between return and Identifier_opt yields return without Identifier_opt; >- * @description: Checking by using eval, inserting LineTerminator between return and Variable; >- */ >- >- >-//CHECK#1 >-try{ >- if (eval("(function(){var x = 1;return\u000Ax;var y=2;})()") !== undefined) { >- testFailed("#1: LineTerminator(U-000A) between return and Identifier_opt yields return without Identifier_opt"); >- } >-} catch(e){ >- testFailed('#1: eval("(function(){var x = 1;return\\u000Ax;var y=2;})()") does not lead to throwing exception'); >-} >- >- >- >- >-//CHECK#2 >-try{ >- if (eval("(function(){var x = 1;return\u000Dx;var y=2;})()") !== undefined) { >- testFailed("#1: LineTerminator(U-000D) between return and Identifier_opt yields return without Identifier_opt"); >- } >-} catch(e){ >- testFailed('#2: eval("(function(){var x = 1;return\\u000Dx;var y=2;})()") does not lead to throwing exception'); >-} >- >- >- >- >-//CHECK#3 >-try{ >- if (eval("(function(){var x = 1;return\u2028x;var y=2;})()") !== undefined) { >- testFailed("#1: LineTerminator(U-2028) between return and Identifier_opt yields return without Identifier_opt"); >- } >-} catch(e){ >- testFailed('#3: eval("(function(){var x = 1;return\\u2028x;var y=2;})()") does not lead to throwing exception'); >-} >- >- >- >- >-//CHECK#4 >-try{ >- if (eval("(function(){var x =1;return\u2029x;var y=2;})()") !== undefined) { >- testFailed("#1: LineTerminator(U-2029) between return and Identifier_opt yields return without Identifier_opt"); >- } >-} catch(e){ >- testFailed('#4: eval("(function(){var x =1;return\\u2029x;var y=2;})()") does not lead to throwing exception'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A3-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A3-expected.txt >deleted file mode 100644 >index bc4c5a0b3e1..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.9_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A3.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A3.html >deleted file mode 100644 >index 0416d820848..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A3; >-* @section: 12.9; >-* @assertion: If Expression is omitted, the return value is undefined; >-* @description: Return without Expression; >-*/ >- >-__evaluated = (function (){return;})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__evaluated !== undefined) { >- testFailed('#1: If Expression is omitted, the return value is undefined'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A4-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A4-expected.txt >deleted file mode 100644 >index cc95a9bf66c..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.9_A4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A4.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A4.html >deleted file mode 100644 >index b022d266756..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A4.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A4; >-* @section: 12.9; >-* @assertion: The production ReturnStatement : return Expression; is evaluated as: >-* i) Evaluate Expression. >-* ii) Call GetValue(Result(2)). >-* iii) Return (return, Result(3), empty); >-* @description: Return very sophisticated expression and function; >-*/ >- >- >-// second derivative >-function DD_operator(f, delta){return function(x){return (f(x+delta)-2*f(x)+f(x-delta))/(delta*delta)};} >- >-DDsin = DD_operator(Math.sin, 0.00001); >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-// ((sin(x))')' = -sin(x) >-if (DDsin( Math.PI/2 ) + Math.sin( Math.PI/2 ) > 0.00001) { >- testFailed('#1: return Expression yields to Return (return, GetValue(Evaluate Expression), empty)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A5-expected.txt b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A5-expected.txt >deleted file mode 100644 >index 2e69a25d024..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S12.9_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A5.html b/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A5.html >deleted file mode 100644 >index 3144987033b..00000000000 >--- a/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A5.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S12.9_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S12.9_A5; >-* @section: 12.9; >-* @assertion: Code after ReturnStatement is not evaluated; >-* @description: Using code after Return statement; >-*/ >- >-//CHECK#1 >-var x1=1; >-function myfunc1(){ >- x1++; >- return; >- x1*=2; >-} >-myfunc1(); >-if (x1!==2) testFailed('#1: x1 === 2. Actual: x1 ==='+ x1 ); >- >-//CHECK#2 >-var x2=1; >-function myfunc2(){ >- x2++; >- return x2; >- x2*=2; >-} >-myfunc2(); >-if (x2!==2) testFailed('#2: x2 === 2. Actual: x2 ==='+ x2 ); >- >-//CHECK#3 >-var x3=1; >-function myfunc3(){ >- x3++; >- return; >- return x3; >- x3*=2; >-} >-if (myfunc3()!==undefined) testFailed('#3: myfunc3() === undefined. Actual: myfunc3() ==='+ myfunc3() ); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1-expected.txt >deleted file mode 100644 >index a3dddaba64a..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1.html >deleted file mode 100644 >index f65ad0bf660..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A1_T1.html >+++ /dev/null >@@ -1,156 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A1_T1; >-* @section: 13.2.1; >-* @assertion: The depth of nested function calls reaches 32; >-* @description: Creating function calls 32 elements depth; >-*/ >- >-(function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){ >- (function(){})() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >- })() >-})() >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1-expected.txt >deleted file mode 100644 >index af80de2816f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1.html >deleted file mode 100644 >index ecf08ffefc9..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A4_T1; >-* @section: 13.2.1; >-* @assertion: Objects as arguments are passed by reference; >-* @description: Adding new number property to a function argument within the function body, >-* where explicit argument is an object defined with "var __obj={}"; >-*/ >- >-function __func(__arg){ >- __arg.foo=7; >-} >- >-var __obj={}; >- >-__func(__obj); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.foo !== 7) { >- testFailed('#1: __obj.foo === 7. Actual: __obj.foo ==='+__obj.foo); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2-expected.txt >deleted file mode 100644 >index 037ee6f8c9b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2.html >deleted file mode 100644 >index 61ebcea6497..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A4_T2; >-* @section: 13.2.1; >-* @assertion: Objects as arguments are passed by reference; >-* @description: Adding new string property to a function argument within the function body, >-* where explicit argument is an object defined with "__obj={}"; >-*/ >- >-function __func(__arg){ >- __arg.foo="whiskey gogo"; >-} >- >-__obj={}; >- >-__func(__obj); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.foo !== "whiskey gogo") { >- testFailed('#1: __obj.foo === "whiskey gogo". Actual: __obj.foo ==='+__obj.foo); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3-expected.txt >deleted file mode 100644 >index b440d36af98..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3.html >deleted file mode 100644 >index d19e2b72d06..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T3.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A4_T3; >-* @section: 13.2.1; >-* @assertion: Objects as arguments are passed by reference; >-* @description: Adding new number property to a function argument within the function body, >-* where array element "arguments[0]" is an object defined with "__obj={}"; >-*/ >- >-function __func(){ >- arguments[0]["PI"]=3.14; >-} >- >-__obj={}; >- >-__func(__obj); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.PI !== 3.14) { >- testFailed('#1: __obj.PI === 3.14. Actual: __obj.PI ==='+__obj.PI); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4-expected.txt >deleted file mode 100644 >index 5484cade19c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4.html >deleted file mode 100644 >index d6b4b44cad4..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A4_T4.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A4_T4; >-* @section: 13.2.1; >-* @assertion: Objects as arguments are passed by reference; >-* @description: Adding new number property to a function argument within the function body, >-* where array element "arguments[0]" is an object defined with "var __obj={}"; >-*/ >- >-function __func(){ >- arguments[0]["E"]=2.74; >-} >- >-var __obj={}; >- >-__func(__obj); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.E !== 2.74) { >- testFailed('#1: __obj.E === 2.74. Actual: __obj.E ==='+__obj.E); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1-expected.txt >deleted file mode 100644 >index 1ae60cff1f8..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1.html >deleted file mode 100644 >index b7268fa21cf..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T1.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A5_T1; >-* @section: 13.2.1; >-* @assertion: Closures are admitted; >-* @description: Sorting with closure; >-*/ >- >-var __arr = [4,3,2,1,4,3,2,1,4,3,2,1]; >-//Sort uses closure >-// >-__arr.sort( >- function(x,y) { >- if (x>y){return -1;} >- if (x<y){return 1;} >- if (x==y){return 0;} >- } >-); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__arr.toString() !== [4,4,4,3,3,3,2,2,2,1,1,1].toString()) { >- testFailed('#1: __arr.toString() === [4,4,4,3,3,3,2,2,2,1,1,1].toString(). Actual: __arr.toString() ==='+__arr.toString()); >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T2-expected.txt >deleted file mode 100644 >index 5607648630b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T2.html >deleted file mode 100644 >index f49b971ee97..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A5_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A5_T2; >-* @section: 13.2.1; >-* @assertion: Closures are admitted; >-* @description: Returning a function that approximates the derivative of f >-* using an interval of dx, which should be appropriately small; >-*/ >- >-// Return a function that approximates the derivative of f >-// using an interval of dx, which should be appropriately small. >-function derivative(f, dx) { >- return function(x) { >- return (f(x + dx) - f(x)) / dx; >- }; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (Math.abs(derivative(Math.sin, 0.0001)(0) - derivative(Math.sin, 0.0001)(2*Math.PI)) >= 1/65536.0) { >- testFailed('#1: Math.abs(derivative(Math.sin, 0.0001)(0) - derivative(Math.sin, 0.0001)(2*Math.PI)) <= 1/65536.0'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1-expected.txt >deleted file mode 100644 >index 733cd47b573..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1.html >deleted file mode 100644 >index 1f9a14964df..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T1.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A6_T1; >-* @section: 13.2.1; >-* @assertion: Primitive types are passed by value; >-* @description: Declaring a function with "function __func(arg1, arg2)"; >-*/ >- >-function __func(arg1, arg2){ >- arg1++; >- arg2+="BA"; >-}; >- >-var x=1; >-y=2; >-var a="AB" >-b="SAM"; >- >-__func(x,a); >-__func(y,b); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x!==1 || y!==2 || a!=="AB" || b!=="SAM") { >- testFailed('#1: x === 1 and y === 2 and a === "AB" and b === "SAM". Actual: x ==='+x+' and y ==='+y+' and a ==='+a+' and b ==='+b); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2-expected.txt >deleted file mode 100644 >index f218bde4055..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2.html >deleted file mode 100644 >index 306c16337fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A6_T2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A6_T2; >-* @section: 13.2.1; >-* @assertion: Primitive types are passed by value; >-* @description: Declaring a function with "__func = function(arg1, arg2)"; >-*/ >- >-__func = function(arg1, arg2){ >- arg1++; >- arg2+="BA"; >-}; >- >-var x=1; >-y=2; >-var a="AB" >-b="SAM"; >- >-__func(x,a); >-__func(y,b); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x!==1 || y!==2 || a!=="AB" || b!=="SAM") { >- testFailed('#1: x === 1 and y === 2 and a === "AB" and b === "SAM". Actual: x ==='+x+' and y ==='+y+' and a ==='+a+' and b ==='+b); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1-expected.txt >deleted file mode 100644 >index ff32c7f9133..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1.html >deleted file mode 100644 >index 7dbc8cc31d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A7_T1; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: >-* 2. Evaluate F's FunctionBody; >-* if Result.type is returned then Result.value is returned too; >-* @description: Returning null. Declaring a function with "function __func()"; >-*/ >- >-function __func(){ >- var x = null; >- return x; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- var x=__func(); >-} catch(e){ >- testFailed('#1: var x=__func() does not lead to throwing exception. Actual: exception is '+e); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2-expected.txt >deleted file mode 100644 >index dc870bed3de..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2.html >deleted file mode 100644 >index a5078038611..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A7_T2; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: >-* 2. Evaluate F's FunctionBody; >-* if Result.type is returned then Result.value is returned too; >-* @description: Returning null. Declaring a function with "var __func = function ()"; >-*/ >- >-var __func = function (){ >- var x = null; >- return x; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- var x=__func(); >-} catch(e){ >- testFailed('#1: var x=__func() does not lead to throwing exception. Actual: exception is '+e); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3-expected.txt >deleted file mode 100644 >index c2f71361967..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A7_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3.html >deleted file mode 100644 >index ce2c708e991..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T3.html >+++ /dev/null >@@ -1,135 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A7_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A7_T3; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: >-* 2. Evaluate F's FunctionBody; >-* if Result.type is returned then Result.value is returned too; >-* @description: Returning number. Declaring a function with "function __func()"; >-*/ >- >-function __func(){ >- x = 1; >- return x; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-try { >- x=x; >- testFailed('#0: "x=x" lead to throwing exception'); >-} catch (e) {} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- var __x=__func() >-} catch(e){ >- testFailed('#1: var __x=__func() does not lead to throwing exception. Actual: exception is '+e); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__x !== 1) { >- testFailed('#2: __x === 1. Actual: __x ==='+__x); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (x !== 1) { >- testFailed('#3: x === 1. Actual: x ==='+x); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4-expected.txt >deleted file mode 100644 >index 1ad448bdc7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A7_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4.html >deleted file mode 100644 >index 95f236709e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A7_T4.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A7_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A7_T4; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: >-* 2. Evaluate F's FunctionBody; >-* if Result.type is returned then Result.value is returned too; >-* @description: Returning boolean. Declaring a function with "function __func()"; >-*/ >- >-function __func(){ >- var x = true; >- return x; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-try { >- x=x; >- testFailed('#0: "x=x" lead to throwing exception'); >-} catch (e) {} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- var __x=__func() >-} catch(e){ >- testFailed('#1: var __x=__func() does not lead to throwing exception. Actual: exception is '+e); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!(__x)) { >- testFailed('#2: __x === true. Actual: __x ==='+__x); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try { >- x=x; >- testFailed('#3: "x=x" lead to throwing exception'); >-} catch (e) {} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1-expected.txt >deleted file mode 100644 >index 2510c2aae5e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1.html >deleted file mode 100644 >index eb6e0e42aca..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T1.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A8_T1; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: >-* 2. Evaluate F's FunctionBody; >-* if Result.type is thrown then Result.value is thrown too; >-* @description: Throwing an exception within a function body. Declaring function with "function __func()"; >-*/ >- >-function __func(){ >- var x = 1; >- throw ("Catch Me If You Can") >- return x; >-} >- >-try{ >- var x=__func() >- testFailed('#0: var x=__func() lead to throwing exception'); >-} catch(e){ >- if (e !== "Catch Me If You Can") { >- testFailed('#1: Exception === "Catch Me If You Can". Actual: exception ==='+e); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2-expected.txt >deleted file mode 100644 >index 05fb34ca017..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A8_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2.html >deleted file mode 100644 >index 60118aed780..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A8_T2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A8_T2; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object F is called, the following steps are taken: >-* 2. Evaluate F's FunctionBody; >-* if Result.type is thrown then Result.value is thrown too; >-* @description: Throwing an exception within a function body. Declaring function with "var __func = function (message)"; >-*/ >- >-CATCH_ME_IF_YOU_CAN = true; >- >-var __func = function (message){ >- var x = 1; >- throw (message) >- return x; >-} >- >-try{ >- var x=__func(CATCH_ME_IF_YOU_CAN) >- testFailed('#0: var x=__func(CATCH_ME_IF_YOU_CAN) lead to throwing exception'); >-} catch(e){ >- if (!e) { >- testFailed('#1: Exception === true. Actual: exception ==='+e); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1-expected.txt >deleted file mode 100644 >index 96dcaa14d9e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A9.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1.html >deleted file mode 100644 >index f95448f5e54..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T1.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A9.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A9.1_T1; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object is called, >-* the body is evaluated and if evaluation result has type "normal", then "undefined" is returned; >-* @description: Declaring a function with "function __func()" and no "return" in the function body; >-*/ >- >-function __func(){ >- x = true; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func() !== undefined) { >- testFailed('#1: __func() === undefined. Actual: __func() ==='+__func()); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!x) { >- testFailed('#2: x === true. Actual: x === '+x); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2-expected.txt >deleted file mode 100644 >index 8c56e07a2cc..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A9.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2.html >deleted file mode 100644 >index 4870aec1938..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9.1_T2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A9.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A9.1_T2; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object is called, >-* the body is evaluated and if evaluation result has type "normal", then "undefined" is returned; >-* @description: Declaring a function with "var __func = function()" and no "return" in the function body; >-*/ >- >-var __func = function(){ >- x = true; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func() !== undefined) { >- testFailed('#1: __func() === undefined. Actual: __func() ==='+__func()); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!x) { >- testFailed('#2: x === true. Actual: x === '+x); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1-expected.txt >deleted file mode 100644 >index e184a95d86e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A9_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1.html >deleted file mode 100644 >index ef360e5ea61..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A9_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A9_T1; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object is called, >-* the body is evaluated and if evaluation result has type "return" its value is not defined, then "undefined" is returned; >-* @description: Using "return" with no expression. Declaring a function with "function __func()"; >-*/ >- >-function __func(){ >- x = 1; >- return; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func() !== undefined) { >- testFailed('#1: __func() === undefined. Actual: __func() ==='+__func()); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (x!==1) { >- testFailed('#2: x === 1. Actual: x === '+x); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2-expected.txt >deleted file mode 100644 >index 10c6043f496..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.1_A9_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2.html >deleted file mode 100644 >index 050e6215939..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.1_A9_T2.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.1_A9_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.1_A9_T2; >-* @section: 13.2.1; >-* @assertion: When the [[Call]] property for a Function object is called, >-* the body is evaluated and if evaluation result has type "return" its value is not defined, then "undefined" is returned; >-* @description: Using "return" with no expression. Declaring a function with "var __func = function()"; >-*/ >- >-var __func = function(){ >- x = 1; >- return; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func() !== undefined) { >- testFailed('#1: __func() === undefined. Actual: __func() ==='+__func()); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (x!==1) { >- testFailed('#2: x === 1. Actual: x === '+x); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10-expected.txt >deleted file mode 100644 >index 9003a39543b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10.html >deleted file mode 100644 >index 1c5bf2726a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A10.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A10; >-* @section: 13.2.2; >-* @assertion: Calling a function as a constructor is possible as long as this.any_Function is declared; >-* @description: Calling a function as a constructor after it has been declared; >-*/ >- >-function FACTORY(){ >- this.id = 0; >- >- this.func = function (){ >- return 5; >- } >- >- this.id = this.func(); >- >-} >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- var obj = new FACTORY(); >-} catch (e) { >- testFailed('#1: var obj = new FACTORY() does not lead to throwing exception. Actual: Exception is '+e); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (obj.id !== 5) { >- testFailed('#2: obj.id === 5. Actual: obj.id ==='+obj.id); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11-expected.txt >deleted file mode 100644 >index 229f0b7ec10..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11.html >deleted file mode 100644 >index 800b06027ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A11.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A11; >-* @section: 13.2.2; >-* @assertion: Calling a function as a constructor is possible as long as this.any_Function is declared and called; >-* @description: Calling a function as a constructor after it has been declared with "function func()"; >-*/ >- >-function FACTORY(){ >- this.id = 0; >- >- this.id = this.func(); >- >- function func(){ >- return "id_string"; >- } >- >-} >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- var obj = new FACTORY(); >- testFailed('#1: var obj = new FACTORY() lead to throwing exception'); >-} catch (e) {} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12-expected.txt >deleted file mode 100644 >index 677efa93b19..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A12 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12.html >deleted file mode 100644 >index ebee300a022..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A12.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A12; >-* @section: 13.2.2; >-* @assertion: Calling a function as a constructor is possible as long as this.any_Function is declared and called; >-* @description: Calling a function as a constructor after it has been declared with "function func()"; >-*/ >- >-function FACTORY(){ >- this.id = 0; >- >- this.id = func(); >- >- function func(){ >- return "id_string"; >- } >- >-} >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- var obj = new FACTORY(); >-} catch (e) { >- testFailed('#1: var obj = new FACTORY() does not lead to throwing exception. Actual: Exception is '+e); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (obj.id !== "id_string") { >- testFailed('#2: obj.id === "id_string". Actual: obj.id ==='+obj.id); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13-expected.txt >deleted file mode 100644 >index 20d0bb7ab90..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A13 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13.html >deleted file mode 100644 >index df4fd9d52af..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A13.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A13; >-* @section: 13.2.2; >-* @assertion: Calling a function as a constructor is inadmissible as long as this.any_Function is declared by eval and called; >-* @description: Calling a function as a constructor after it has been declared by eval; >-*/ >- >-function FACTORY(){ >- this.id = 0; >- >- this.id = func(); >- >- eval("function func(){return \"id_string\";}"); >- >-} >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- var obj = new FACTORY(); >- testFailed('#1: var obj = new FACTORY() lead to throwing exception'); >-} catch (e) {} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14-expected.txt >deleted file mode 100644 >index 36240b755a8..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A14 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14.html >deleted file mode 100644 >index 9d1b6c63c67..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A14.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A14; >-* @section: 13.2.2; >-* @assertion: Calling a function as a constructor is inadmissible as long as this.any_Function is declared by eval and called; >-* @description: Calling a function as a constructor after it has been declared by eval; >-*/ >- >-function FACTORY(){ >- this.id = 0; >- >- eval("function func(){return \"id_string\";}"); >- >- this.id = func(); >- >-} >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- var obj = new FACTORY(); >-} catch (e) { >- testFailed('#1: var obj = new FACTORY() does not lead to throwing exception'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1-expected.txt >deleted file mode 100644 >index 6102d771325..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A15_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1.html >deleted file mode 100644 >index a99a97aece2..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T1.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A15_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A15_T1; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called, >-* and the object created in the function is returned, the object (declared with "this" within a function) will be strong and healthy; >-* @description: Function declared at the end of the program and "obj" property is declared with "var obj = {}"; >-*/ >- >-__obj = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof obj !== "undefined") { >- testFailed('#1: typeof obj === "undefined". Actual: typeof obj ==='+typeof obj); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.prop !== "A") { >- testFailed('#2: __obj.prop === "A". Actual: __obj.prop ==='+__obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj.slot.prop !==1) { >- testFailed('#3: __obj.slot.prop ===1. Actual: __obj.slot.prop ==='+__obj.slot.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __FACTORY(){ >- this.prop = 1; >- var obj = {}; >- obj.prop = "A"; >- obj.slot = this; >- return obj; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2-expected.txt >deleted file mode 100644 >index bb6bc3cb6b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A15_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2.html >deleted file mode 100644 >index fec2940af1c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T2.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A15_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A15_T2; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called, >-* and the object created in the function is returned, the object (declared with "this" within a function) will be strong and healthy; >-* @description: Function declared at the end of the program and "obj" property is declared with "obj = {}"; >-*/ >- >-__obj = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (obj.prop !== "A") { >- testFailed('#1: obj.prop === "A". Actual: obj.prop ==='+obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.prop !== "A") { >- testFailed('#2: __obj.prop === "A". Actual: __obj.prop ==='+__obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj.slot.prop !==1) { >- testFailed('#3: __obj.slot.prop === 1. Actual: __obj.slot.prop ==='+__obj.slot.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __FACTORY(){ >- this.prop = 1; >- obj = {}; >- obj.prop = "A"; >- obj.slot = this; >- return obj; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3-expected.txt >deleted file mode 100644 >index b73ef10fc3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A15_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3.html >deleted file mode 100644 >index 27b0133d9a1..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T3.html >+++ /dev/null >@@ -1,127 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A15_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A15_T3; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called, >-* and the object created in the function is returned, the object (declared with "this" within a function) will be strong and healthy; >-* @description: Function declared at the end of the program and "obj" property is declared with "var obj = {}"; >-*/ >- >-__FACTORY = function (){ >- this.prop = 1; >- var obj = {}; >- obj.prop = "A"; >- obj.slot = this; >- return obj; >-} >- >-__obj = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof obj !== "undefined") { >- testFailed('#1: typeof obj === "undefined". Actual: typeof obj ==='+typeof obj); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.prop !== "A") { >- testFailed('#2: __obj.prop === "A". Actual: __obj.prop ==='+__obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj.slot.prop !==1) { >- testFailed('#3: __obj.slot.prop ===1. Actual: __obj.slot.prop ==='+__obj.slot.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4-expected.txt >deleted file mode 100644 >index 3155d6b7c66..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A15_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4.html >deleted file mode 100644 >index 4c84fc9c2ec..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A15_T4.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A15_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A15_T4; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called, >-* and the object created in the function is returned, the object (declared with "this" within a function) will be strong and healthy; >-* @description: Function declared at the end of the program and "obj" property is declared with "obj = {}"; >-*/ >- >-__FACTORY = function(){ >- this.prop = 1; >- obj = {}; >- obj.prop = "A"; >- obj.slot = this; >- return obj; >-} >- >-__obj = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (obj.prop !== "A") { >- testFailed('#1: obj.prop === "A". Actual: obj.prop ==='+obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.prop !== "A") { >- testFailed('#2: __obj.prop === "A". Actual: __obj.prop ==='+obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj.slot.prop !==1) { >- testFailed('#3: __obj.slot.prop ===1. Actual: __obj.slot.prop ==='+obj.slot.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1-expected.txt >deleted file mode 100644 >index 90e9d1e52ed..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A16_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1.html >deleted file mode 100644 >index 99a0f2f79a6..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T1.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A16_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A16_T1; >-* @section: 13.2.2; >-* @assertion: FunctionExpression within a new statement is admitted; >-* @description: Using "is __obj = new function __func(){this.prop=1;}" as FunctionExpression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "undefined") { >- testFailed('#1: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__obj = new function __func(){this.prop=1;}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.prop !== 1) { >- testFailed('#2: __obj.prop === 1. Actual: __obj.prop ==='+__obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (typeof __func !== "undefined") { >- testFailed('#5: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2-expected.txt >deleted file mode 100644 >index 4b569fa1719..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A16_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2.html >deleted file mode 100644 >index b51acd0cd34..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A16_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A16_T2; >-* @section: 13.2.2; >-* @assertion: FunctionExpression within a new statement is admitted; >-* @description: Using "__obj = new function __func(arg){this.prop=arg;}(5)" as FunctionExpression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "undefined") { >- testFailed('#1: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__obj = new function __func(arg){this.prop=arg;}(5); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.prop !== 5) { >- testFailed('#2: __obj.prop === 5. Actual: __obj.prop ==='+__obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (typeof __func !== "undefined") { >- testFailed('#3: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3-expected.txt >deleted file mode 100644 >index ced78dc4222..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A16_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3.html >deleted file mode 100644 >index 5522f244b62..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A16_T3.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A16_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A16_T3; >-* @section: 13.2.2; >-* @assertion: FunctionExpression within a new statement is admitted; >-* @description: Using "is __obj = new function __func(arg){this.prop=arg; return {feat: ++arg}}(5)" as FunctionExpression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "undefined") { >- testFailed('#1: typeof __func === "undefined"'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__obj = new function __func(arg){this.prop=arg; return {feat: ++arg}}(5); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.prop !== undefined) { >- testFailed('#2: __obj.prop === undefined. Actual: __obj.prop ==='+__obj.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj.feat !== 6) { >- testFailed('#3: __obj.feat === 6. Actual: __obj.feat ==='+__obj.feat); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (typeof __func !== "undefined") { >- testFailed('#4: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1-expected.txt >deleted file mode 100644 >index 8617d26e01d..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A17_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1.html >deleted file mode 100644 >index 9528a1416ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T1.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A17_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A17_T1; >-* @section: 13.2.2; >-* @assertion: FunctionExpression containing "with" statement is admitted; >-* @description: Using "with" statement within a function body; >-*/ >- >-var p1="alert"; >- >-var __obj={p1:1,getRight:function(){return "right";}}; >- >-this.getRight=function(){return "napravo";}; >- >-(function(){ >- with(__obj){ >- p1="w1"; >- function getRight(){return false;} >- } >-})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (p1!=="alert") { >- testFailed('#1: p1 === "alert". Actual: p1==='+p1); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (getRight()!=="napravo") { >- testFailed('#2: getRight() === "napravo". Actual: getRight() === '+getRight()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj.p1!=="w1") { >- testFailed('#3: __obj.p1 === "w1". Actual: __obj.p1 ==='+__obj.p1); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__obj.getRight()!=="right") { >- testFailed('#4: __obj.getRight() === "right". Actual: __obj.getRight() ==='+__obj.getRight()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2-expected.txt >deleted file mode 100644 >index 758947bd310..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A17_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2.html >deleted file mode 100644 >index ba97b89476e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T2.html >+++ /dev/null >@@ -1,154 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A17_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A17_T2; >-* @section: 13.2.2; >-* @assertion: FunctionExpression containing "with" statement is admitted; >-* @description: Throwing an exception within "with" statement; >-*/ >- >-this.p1="alert"; >- >-__obj={p1:1,getRight:function(){return "right";}}; >- >-getRight=function(){return "napravo";}; >- >-try { >- (function(){ >- with(__obj){ >- p1="w1"; >- getRight=function(){return false;} >- throw p1; >- } >- })(); >-} catch (e) { >- resukt = p1; >-} >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (p1!=="alert") { >- testFailed('#1: p1 === "alert". Actual: p1==='+p1); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (getRight()!=="napravo") { >- testFailed('#2: getRight() === "napravo". Actual: getRight() === '+getRight()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj.p1!=="w1") { >- testFailed('#3: __obj.p1 === "w1". Actual: __obj.p1 ==='+__obj.p1); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__obj.getRight()!==false) { >- testFailed('#4: __obj.getRight() === false. Actual: __obj.getRight() === '+__obj.getRight()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (resukt !== "alert") { >- testFailed('#5: resukt === "alert". Actual: resukt ==='+resukt); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var resukt; >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3-expected.txt >deleted file mode 100644 >index 211db43af3d..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A17_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3.html >deleted file mode 100644 >index ff3abcfe16b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A17_T3.html >+++ /dev/null >@@ -1,150 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A17_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A17_T3; >-* @section: 13.2.2; >-* @assertion: FunctionExpression containing "with" statement is admitted; >-* @description: In the check 4 we populate field getRight in __obj object since var getRight declaration adds variable to function scope >-* but getRight in statement resolves within with(__obj) scope and searchs getRight in __obj first; >-*/ >- >-p1="alert"; >- >-this.__obj={p1:1,getRight:function(){return "right";}}; >- >-var getRight=function(){return "napravo";}; >- >-resukt=(function(){ >- with(__obj){ >- p1="w1"; >- var getRight=function(){return false;}; >- return p1; >- } >-})(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (p1!=="alert") { >- testFailed('#1: p1 === "alert". Actual: p1==='+p1); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (getRight()!=="napravo") { >- testFailed('#2: getRight() === "napravo". Actual: getRight()==='+getRight()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__obj.p1!=="w1") { >- testFailed('#3: __obj.p1 === "w1". Actual: __obj.p1 ==='+__obj.p1); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__obj.getRight()!==false) { >- testFailed('#4: __obj.getRight() === false. Actual: __obj.getRight()==='+__obj.getRight()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (resukt !== "w1") { >- testFailed('#5: resukt === "w1". Actual: resukt ==='+resukt); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var resukt; >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1-expected.txt >deleted file mode 100644 >index a715fec2ad5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A18_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1.html >deleted file mode 100644 >index b61579397ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T1.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A18_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A18_T1; >-* @section: 13.2.2; >-* @assertion: Using arguments object within a "with" Expression that is nested in a function is admitted; >-* @description: Object is declared with "var __obj={callee:"a"}"; >-*/ >- >-var callee=0, b; >- >-var __obj={callee:"a"}; >- >-result=(function(){ >- with (arguments){ >- callee=1; >- b=true; >- } >- return arguments; >-})(__obj); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (callee !== 0) { >- testFailed('#1: callee === 0. Actual: callee ==='+callee); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.callee !== "a") { >- testFailed('#2: __obj.callee === "a". Actual: __obj.callee==='+__obj.callee); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (result.callee !== 1) { >- testFailed('#3: result.callee === 1. Actual: result.callee ==='+result.callee); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (!(this.b)) { >- testFailed('#4: this.b === true. Actual: this.b ==='+this.b); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2-expected.txt >deleted file mode 100644 >index 4ca7dd0c5c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A18_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2.html >deleted file mode 100644 >index 33b0d3d0ba0..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A18_T2.html >+++ /dev/null >@@ -1,139 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A18_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A18_T2; >-* @section: 13.2.2; >-* @assertion: Using arguments object within a "with" Expression that is nested in a function is admitted; >-* @description: Object is declared with "__obj={callee:"a"}"; >-*/ >- >-this.callee = 0; >-var b; >- >-__obj={callee:"a"}; >- >-function f(){ >- with (arguments){ >- callee=1; >- b=true; >- return arguments; >- } >-}; >- >-result=f(__obj); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (callee !== 0) { >- testFailed('#1: callee === 0. Actual: callee ==='+callee); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.callee !== "a") { >- testFailed('#2: __obj.callee === "a". Actual: __obj.callee ==='+__obj.callee); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (result.callee !== 1) { >- testFailed('#3: result.callee === 1. Actual: result.callee ==='+result.callee); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (!(this.b)) { >- testFailed('#4: this.b === true. Actual: this.b ==='+this.b); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1-expected.txt >deleted file mode 100644 >index 526957ac124..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A19_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1.html >deleted file mode 100644 >index 3dcc0ae11d2..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T1.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A19_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A19_T1; >-* @section: 13.2.2; >-* @assertion: Function's scope chain is started when it is declared; >-* @description: Function is declared in the global scope; >-*/ >- >-var a = 1; >- >-var __func= function(){return a;}; >- >-var __obj = {a:2}; >- >-with (__obj) >-{ >- result = __func(); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (result !== 1) { >- testFailed('#1: result === 1. Actual: result ==='+result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2-expected.txt >deleted file mode 100644 >index d9c79e450c5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A19_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2.html >deleted file mode 100644 >index 01413a21e81..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A19_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A19_T2; >-* @section: 13.2.2; >-* @assertion: Function's scope chain is started when it is declared; >-* @description: Function is declared in the object scope. Using "with" statement; >-*/ >- >-var a = 1; >- >-var __obj = {a:2}; >- >-with (__obj) >-{ >- result = (function(){return a;})(); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (result !== 2) { >- testFailed('#1: result === 2. Actual: result ==='+result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3-expected.txt >deleted file mode 100644 >index c1daa73cb94..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A19_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3.html >deleted file mode 100644 >index ab0234a4b36..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T3.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A19_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A19_T3; >-* @section: 13.2.2; >-* @assertion: Function's scope chain is started when it is declared; >-* @description: Function is declared in the object scope and then an exception is thrown; >-*/ >- >-var a = 1; >- >-var __obj = {a:2}; >- >-try { >- with (__obj) >- { >- var __func = function (){return a;}; >- throw 3; >- } >-} catch (e) { >- ; >-} >- >-result = __func(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (result !== 2) { >- testFailed('#1: result === 2. Actual: result ==='+result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4-expected.txt >deleted file mode 100644 >index aedc73681e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A19_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.html >deleted file mode 100644 >index a0e6fa4ce6c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A19_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A19_T4; >-* @section: 13.2.2; >-* @assertion: Function's scope chain is started when it is declared; >-* @description: Function is declared in the hierarchical object scope and then an exception is thrown; >-*/ >- >-var a = 1; >- >-var __obj = {a:2,__obj:{a:3}}; >- >-try { >- with (__obj) >- { >- with(__obj){ >- var __func = function(){return a;}; >- throw 5; >- } >- } >-} catch (e) { >- ; >-} >- >-result = __func(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (result !== 3) { >- testFailed('#1: result === 3. Actual: result ==='+result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5-expected.txt >deleted file mode 100644 >index 0058f8fba94..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A19_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5.html >deleted file mode 100644 >index d0891810575..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T5.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A19_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A19_T5; >-* @section: 13.2.2; >-* @assertion: Function's scope chain is started when it is declared; >-* @description: Function is declared in the object scope, then an exception is thrown and the object is deleted; >-*/ >- >-var a = 1; >- >-var __obj = {a:2}; >- >-with (__obj) >-{ >- try { >- >- var __func = function() >- { >- return a; >- } >- throw 3; >- } catch (e) { >- ; >- } >-} >- >-delete __obj; >- >-result = __func(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (result !== 2) { >- testFailed('#1: result === 2. Actual: result ==='+result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6-expected.txt >deleted file mode 100644 >index 4a9a2ebe4ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A19_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.html >deleted file mode 100644 >index 9d931e77915..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A19_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A19_T6; >-* @section: 13.2.2; >-* @assertion: Function's scope chain is started when it is declared; >-* @description: Function is declared in the "object->do-while" scope, then the object is deleted and another object with the same name is declared; >-*/ >- >-var a = 1; >- >-var __obj = {a:2}; >- >-with (__obj) >-{ >- do { >- var __func = function() >- { >- return a; >- } >- } while(0); >-} >- >-delete __obj; >- >-var __obj = {a:3}; >- >-with (__obj) >-{ >- result = __func(); >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (result !== 2) { >- testFailed('#1: result === 2. Actual: result ==='+result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7-expected.txt >deleted file mode 100644 >index 8a4c082cd34..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A19_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7.html >deleted file mode 100644 >index 2377eaf5874..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T7.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A19_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A19_T7; >-* @section: 13.2.2; >-* @assertion: Function's scope chain is started when it is declared; >-* @description: Function is declared in the object scope as a variable; >-*/ >- >-var a = 1; >- >-var __obj = {a:2}; >- >-with (__obj) >-{ >- var __func = function() >- { >- return a; >- } >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.hasOwnProperty('__func')) { >- testFailed('#1: __obj.hasOwnProperty(\'__func\') === false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-///////////////////////////////////// ///////////////////////////////////////// >-//CHECK#2 >-if (!(this.hasOwnProperty('__func'))) { >- testFailed('#2: this.hasOwnProperty(\'__func\') === true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__func in __obj) { >- testFailed('#3: (__func in __obj) === false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (this.__func === undefined) { >- testFailed('#4: this.__func !== undefined'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8-expected.txt >deleted file mode 100644 >index 60245336bf0..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A19_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8.html >deleted file mode 100644 >index 99e2bc8a9e6..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T8.html >+++ /dev/null >@@ -1,156 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A19_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A19_T8; >-* @section: 13.2.2; >-* @assertion: Function's scope chain is started when it is declared; >-* @description: Function is declared multiply times; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#0 >-if (typeof __func !== "undefined") { >- testFailed('#0: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var a = 1, b = "a"; >- >-var __obj = {a:2}; >- >-with (__obj) >-{ >- while(1){ >- var __func = function() >- { >- return a; >- } >- break; >- } >-} >- >-delete __obj; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func() !== 2) { >- testFailed('#1: __func() === 2. Actual: __func() ==='+__func()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __obj = {a:3,b:"b"}; >- >-with (__obj) >-{ >- var __func = function() >- { >- return b; >- } >-} >- >-delete __obj; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func()!=="b") { >- testFailed('#2: __func()==="b". Actual: __func()==='+__func()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-with ({a:99,b:"c"}) >-{ >- ////////////////////////////////////////////////////////////////////////////// >- //CHECK#3 >- if (__func() !== "b") { >- testFailed('#3: __func()==="b". Actual: __func()==='+__func()); >- } >- // >- ////////////////////////////////////////////////////////////////////////////// >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1-expected.txt >deleted file mode 100644 >index 4143765540f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1.html >deleted file mode 100644 >index d25b271341c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T1.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A1_T1; >-* @section: 13.2.2; >-* @assertion: Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property; >-* @description: Declaring a function with "function __func()"; >-*/ >- >-__MONSTER="monster"; >-__PREDATOR="predator"; >- >-function __PROTO(){}; >- >-try{ >- __PROTO.type=__MONSTER; >-} >-catch(e){ >- testFailed('#0: __PROTO.type=__MONSTER does not lead to throwing exception') >-} >- >-function __FACTORY(){this.name=__PREDATOR}; >- >-__FACTORY.prototype=__PROTO; >- >-__monster = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__PROTO.isPrototypeOf(__monster))) { >- testFailed('#1: __PROTO.isPrototypeOf(__monster) must be true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__monster.type !==__MONSTER) { >- testFailed('#2: __monster.type ===__MONSTER. Actual: __monster.type ==='+__monster.type); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2-expected.txt >deleted file mode 100644 >index 2ac4906551a..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2.html >deleted file mode 100644 >index d4588157acb..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A1_T2.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A1_T2; >-* @section: 13.2.2; >-* @assertion: Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property; >-* @description: Declaring a function with "var __PROTO = function()"; >-*/ >- >-__MONSTER="monster"; >-__PREDATOR="predator"; >- >-var __PROTO = function(){}; >- >-try{ >- __PROTO.type=__MONSTER; >-} >-catch(e){ >- testFailed('#0: __PROTO.type=__MONSTER does not lead to throwing exception') >-} >- >-var __FACTORY = function(){this.name=__PREDATOR}; >- >-__FACTORY.prototype=__PROTO; >- >-__monster = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(__PROTO.isPrototypeOf(__monster))) { >- testFailed('#1: __PROTO.isPrototypeOf(__monster) must be true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__monster.type !==__MONSTER) { >- testFailed('#2: __monster.type ===__MONSTER. Actual: __monster.type ==='+__monster.type); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2-expected.txt >deleted file mode 100644 >index 6d7cc3d0fdb..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2.html >deleted file mode 100644 >index 2b5b99340ba..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A2.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A2; >-* @section: 13.2.2; >-* @assertion: Since a function is an object, it might be set to [[Prototype]] property of a new created object through [[Construct]] property, >-* but [[call]] property must fail with TypeError error; >-* @description: Trying to [[call]] this function; >-*/ >- >-__PLANT="flower"; >-__ROSE="rose"; >- >-function __PROTO(){}; >- >-try{ >- __PROTO.type=__PLANT; >-} >-catch(e){ >- testFailed('#0: __PROTO.type=__PLANT does not lead to throwing exception') >-} >- >-function __FACTORY(){this.name=__ROSE}; >- >-__FACTORY.prototype=__PROTO; >- >-__rose = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- __rose(); >- testFailed('#1: __rose() lead to throwing exception'); >-} catch(e){ >- if (!(e instanceof TypeError)) { >- testFailed('#2: Exception Type is TypeError. Actual: exception ==='+e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1-expected.txt >deleted file mode 100644 >index 0057d51ff72..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1.html >deleted file mode 100644 >index 281682d9f6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A3_T1; >-* @section: 13.2.2, 15.2.3.1; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* It gets the value of the [[Prototype]] property of the F(Denote it PROTO_VAL). >-* If PROTO_VAL is not an object, sets the [[Prototype]] property of native ECMAScript object just created >-* to the original Object prototype object as described in 15.2.3.1; >-* @description: Declaring a function with "function __FACTORY()"; >-*/ >- >-function __FACTORY(){}; >-__FACTORY.prototype=1; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __FACTORY.prototype !== 'number') { >- testFailed('#1: typeof __FACTORY.prototype === \'number\'. Actual: typeof __FACTORY.prototype ==='+(typeof __FACTORY.prototype)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__device = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!(Object.prototype.isPrototypeOf(__device))) { >- testFailed('#2: Object.prototype.isPrototypeOf(__device) === true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2-expected.txt >deleted file mode 100644 >index fad77364232..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2.html >deleted file mode 100644 >index 8359f31d4ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A3_T2.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A3_T2; >-* @section: 13.2.2, 15.2.3.1; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* It gets the value of the [[Prototype]] property of the F(Denote it PROTO_VAL). >-* If PROTO_VAL is not an object, sets the [[Prototype]] property of native ECMAScript object just created >-* to the original Object prototype object as described in 15.2.3.1; >-* @description: Declaring a function with "var __FACTORY = function()"; >-*/ >- >-var __FACTORY = function(){}; >-__FACTORY.prototype=1; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __FACTORY.prototype !== 'number') { >- testFailed('#1: typeof __FACTORY.prototype === \'number\'. Actual: typeof __FACTORY.prototype ==='+(typeof __FACTORY.prototype)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__device = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!(Object.prototype.isPrototypeOf(__device))) { >- testFailed('#2: Object.prototype.isPrototypeOf(__device) === true'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1-expected.txt >deleted file mode 100644 >index b0dee2826e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1.html >deleted file mode 100644 >index ce7435edc9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T1.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A4_T1; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Gets the value of the [[Prototype]] property of the F(Denote it PROTO_VAL). >-* If PROTO_VAL is an object, sets the [[Prototype]] property of native ECMAScript object just created >-* to the PROTO_VAL; >-* @description: Declaring a function with "function __FACTORY()"; >-*/ >- >-__CUBE="cube"; >- >-function __FACTORY(){ >-}; >-__FACTORY.prototype={ shape:__CUBE, printShape:function(){return this.shape;} }; >- >-__device = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__device.printShape === undefined) { >- testFailed('#1: __device.printShape !== undefined. Actual: __device.printShape ==='+__device.printShape); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__device.printShape() !== __CUBE) { >- testFailed('#2: __device.printShape() === __CUBE. Actual: __device.printShape() ==='+__device.printShape()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2-expected.txt >deleted file mode 100644 >index 5b638204a78..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2.html >deleted file mode 100644 >index c120747dacc..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A4_T2.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A4_T2; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Gets the value of the [[Prototype]] property of the F(Denote it PROTO_VAL). >-* If PROTO_VAL is an object, sets the [[Prototype]] property of native ECMAScript object just created >-* to the PROTO_VAL; >-* @description: Declaring a function with "__FACTORY = function()"; >-*/ >- >-__CUBE="cube"; >- >-__FACTORY = function(){}; >- >-__FACTORY.prototype={ shape:__CUBE, printShape:function(){return this.shape;} }; >- >-__device = new __FACTORY(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__device.printShape === undefined) { >- testFailed('#1: __device.printShape !== undefined. Actual: __device.printShape ==='+__device.printShape); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__device.printShape() !== __CUBE) { >- testFailed('#2: __device.printShape() === __CUBE. Actual: __device.printShape() ==='+__device.printShape()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1-expected.txt >deleted file mode 100644 >index 9378bd012b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1.html >deleted file mode 100644 >index ca5dc2bb313..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T1.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A5_T1; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing native ECMAScript object just created as the this value and >-* providing the argument list passed into [[Construct]] as the argument values; >-* @description: Declaring a function with "function __FACTORY(arg1, arg2)"; >-*/ >- >-__VOLUME=8; >-__RED="red"; >-__ID=12342; >-__TOP=1.1; >-__BOTTOM=0.0; >-__LEFT=0.0; >- >- >-function __FACTORY(arg1, arg2){ >- this.volume=__VOLUME; >- color=__RED; >- this.id=arg1; >- top=arg2; >- this.bottom=arguments[3]; >- left=arguments[4]; >-}; >- >-__device = new __FACTORY(__ID, __TOP, __BOTTOM, __LEFT); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__device.color !== undefined) { >- testFailed('#1: __device.color === undefined. Actual: __device.color ==='+__device.color); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__device.volume !== __VOLUME) { >- testFailed('#2: __device.volume === __VOLUME. Actual: __device.volume ==='+__device.volume); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__device.top !== undefined) { >- testFailed('#3: __device.top === undefined. Actual: __device.top ==='+__device.top); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__device.id !== __ID) { >- testFailed('#4: __device.id === __ID. Actual: __device.id ==='+__device.id); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (__device.left !== undefined) { >- testFailed('#5: __device.left === undefined. Actual: __device.left ==='+__device.left); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-if (__device.bottom !== __BOTTOM) { >- testFailed('#6: __device.bottom === __BOTTOM. Actual: __device.bottom ==='+__device.bottom); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2-expected.txt >deleted file mode 100644 >index 4cee0d989a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2.html >deleted file mode 100644 >index 1cd15f8ba1f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A5_T2.html >+++ /dev/null >@@ -1,162 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A5_T2; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing native ECMAScript object just created as the this value and >-* providing the argument list passed into [[Construct]] as the argument values; >-* @description: Declaring a function with "__FACTORY = function(arg1, arg2)"; >-*/ >- >-__VOLUME=8; >-__RED="red"; >-__ID=12342; >-__TOP=1.1; >-__BOTTOM=0.0; >-__LEFT=0.0; >- >- >-__FACTORY = function(arg1, arg2){ >- this.volume=__VOLUME; >- color=__RED; >- this.id=arg1; >- top=arg2; >- this.bottom=arguments[3]; >- left=arguments[4]; >-}; >- >-__device = new __FACTORY(__ID, __TOP, __BOTTOM, __LEFT); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__device.color !== undefined) { >- testFailed('#1: __device.color === undefined. Actual: __device.color ==='+__device.color); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__device.volume !== __VOLUME) { >- testFailed('#2: __device.volume === __VOLUME. Actual: __device.volume ==='+__device.volume); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__device.top !== undefined) { >- testFailed('#3: __device.top === undefined. Actual: __device.top ==='+__device.top); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (__device.id !== __ID) { >- testFailed('#4: __device.id === __ID. Actual: __device.id ==='+__device.id); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (__device.left !== undefined) { >- testFailed('#5: __device.left === undefined. Actual: __device.left ==='+__device.left); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-if (__device.bottom !== __BOTTOM) { >- testFailed('#6: __device.bottom === __BOTTOM. Actual: __device.bottom ==='+__device.bottom); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1-expected.txt >deleted file mode 100644 >index b77d59fb5b2..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1.html >deleted file mode 100644 >index 0f321385c9a..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T1.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A6_T1; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument >-* list passed into [[Construct]] as the argument values. >-* If Type( [[Call]] returned) is not Object then return passed as this into [[Call]] object; >-* @description: Declaring a function with "__func = function(arg)"; >-*/ >- >-__FOO="fooValue"; >-__BAR="barValue"; >- >-__func = function(arg){ >- this.foo=arg; >- return 0; >- this.bar=arguments[1]; >-}; >- >-__obj = new __func(__FOO, __BAR); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.foo!==__FOO) { >- testFailed('#1: __obj.foo === __FOO. Actual: __obj.foo==='+__obj.foo); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.bar!==undefined) { >- testFailed('#2: __obj.bar === undefined. Actual: __obj.bar==='+__obj.bar); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2-expected.txt >deleted file mode 100644 >index bed0b6f884b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2.html >deleted file mode 100644 >index ff4db40dc9b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A6_T2.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A6_T2; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument >-* list passed into [[Construct]] as the argument values. >-* If Type( [[Call]] returned) is not Object then return passed as this into [[Call]] object; >-* @description: Declaring a function with "function __func (arg)"; >-*/ >- >-__FOO="fooValue"; >-__BAR="barValue"; >- >-function __func (arg){ >- this.foo=arg; >- return true; >- this.bar=arguments[1]; >-}; >- >-__obj = new __func(__FOO, __BAR); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj.foo!==__FOO) { >- testFailed('#1: __obj.foo === __FOO. Actual: __obj.foo==='+__obj.foo); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj.bar!==undefined) { >- testFailed('#2: __obj.bar === undefined. Actual: __obj.bar==='+__obj.bar); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1-expected.txt >deleted file mode 100644 >index b6f4be18b27..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1.html >deleted file mode 100644 >index 21c6ccff87f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T1.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A7_T1; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument >-* list passed into [[Construct]] as the argument values. >-* If Type( [[Call]] returned) is an Object then return this just as obtained object; >-* @description: Declaring a function with "as __func = function(arg)"; >-*/ >- >-__FRST="one"; >-__SCND="two"; >- >-function __func (arg1, arg2){ >- this.first=arg1; >- var __obj={second:arg2}; >- return __obj; >- >-}; >- >-__obj__ = new __func(__FRST, __SCND); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj__.first !== undefined) { >- testFailed('#1: __obj__.first === undefined. Actual: __obj__.first==='+__obj__.first); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj__.second !== __SCND) { >- testFailed('#2: __obj__.second === __SCND. Actual: __obj__.second ==='+__obj__.second); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2-expected.txt >deleted file mode 100644 >index fbc04a8e560..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2.html >deleted file mode 100644 >index 178bc586c7c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A7_T2.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A7_T2; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument >-* list passed into [[Construct]] as the argument values. >-* If Type( [[Call]] returned) is an Object then return this just as obtained object; >-* @description: Declaring a "function as function __func (arg)"; >-*/ >- >-__FRST="one"; >-__SCND="two"; >- >-__func = function(arg1, arg2){ >- this.first=arg1; >- var __obj={second:arg2}; >- return __obj; >- >-}; >- >-__obj__ = new __func(__FRST, __SCND); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__obj__.first !== undefined) { >- testFailed('#1: __obj__.first === undefined. Actual: __obj__.first==='+__obj__.first); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__obj__.second !== __SCND) { >- testFailed('#2: __obj__.second === __SCND. Actual: __obj__.second ==='+__obj__.second); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1-expected.txt >deleted file mode 100644 >index 64948181e31..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1.html >deleted file mode 100644 >index e5469051d96..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T1.html >+++ /dev/null >@@ -1,136 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A8_T1; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument >-* list passed into [[Construct]] as the argument values. >-* If Type( [[Call]] returned) is an Function then return this just as obtained function; >-* @description: Creating a function whose prototype contains "return" followed by declaration of another function >-*/ >- >-__FRST="one"; >-__SCND="two"; >- >-__func = function(arg1, arg2){ >- this.first=arg1; >- >- __gunc.prop=arg2; >- return __gunc; >- // function declaration >- function __gunc(arg){return ++arg}; >- >-}; >- >-__instance = new __func(__FRST, __SCND); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__instance.first !== undefined) { >- testFailed('#1: __instance.first === undefined. Actual: __instance.first ==='+__instance.first); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__instance.prop!==__SCND) { >- testFailed('#2: __instance.prop === __SCND. Actual: __instance.prop ==='+__instance.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__instance(1)!== 2) { >- testFailed('#2: __instance(1)=== 2. Actual: __instance(1) ==='+__instance(1)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2-expected.txt >deleted file mode 100644 >index 3798e4bcc41..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A8_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2.html >deleted file mode 100644 >index 62d1919409f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T2.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A8_T2; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument >-* list passed into [[Construct]] as the argument values. >-* If Type( [[Call]] returned) is an Function then return this just as obtained function; >-* @description: Creating a function whose prototype contains declaration of another function declared as a variable; >-*/ >- >-__FRST="one"; >-__SCND="two"; >- >-__func = function(arg1, arg2){ >- this.first=arg1; >- var __gunc = function(arg){return arg+="BA"}; >- __gunc.prop=arg2; >- return __gunc; >- >-}; >- >-__instance = new __func(__FRST, __SCND); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__instance.first !== undefined) { >- testFailed('#1: __instance.first === undefined. Actual: __instance.first ==='+__instance.first); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__instance.prop!==__SCND) { >- testFailed('#2: __instance.prop === __SCND. Actual: __instance.prop ==='+__instance.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__instance("SAM")!== "SAMBA") { >- testFailed('#2: __instance("SAM") === "SAMBA". Actual: __instance("SAM") ==='+__instance("SAM")); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3-expected.txt >deleted file mode 100644 >index 4dd136a8b76..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A8_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3.html >deleted file mode 100644 >index 559b9937a88..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A8_T3.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A8_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A8_T3; >-* @section: 13.2.2; >-* @assertion: When the [[Construct]] property for a Function object F is called: >-* A new native ECMAScript object is created. >-* Invoke the [[Call]] property of F, providing just created native ECMAScript object as the this value and providing the argument >-* list passed into [[Construct]] as the argument values. >-* If Type( [[Call]] returned) is an Function then return this just as obtained function; >-* @description: Creating a function whose prototype contains declaration of another function defined by using Function.call method; >-*/ >- >-__FRST="one"; >-__SCND="two"; >- >-__func = function(arg1, arg2){ >- this.first=arg1; >- var __gunc = Function.call(this,"arg","return ++arg;"); >- __gunc.prop=arg2; >- return __gunc; >- >-}; >- >-__instance = new __func(__FRST, __SCND); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__instance.first !== undefined) { >- testFailed('#1: __instance.first === undefined. Actual: __instance.first ==='+__instance.first); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__instance.prop!==__SCND) { >- testFailed('#2: __instance.prop === __SCND. Actual: __instance.prop ==='+__instance.prop); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__instance(1)!== 2) { >- testFailed('#2: __instance(1)=== 2. Actual: __instance(1) ==='+__instance(1)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9-expected.txt >deleted file mode 100644 >index 7c8beda8bd2..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2.2_A9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9.html >deleted file mode 100644 >index 1aa6403624b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A9.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2.2_A9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2.2_A9; >-* @section: 13.2.2; >-* @assertion: Calling a function as a constructor is inadmissible as long as this.any_Function is called before it is declared; >-* @description: Calling a function as a constructor >-*/ >- >-function FACTORY(){ >- this.id = 0; >- >- this.id = this.func(); >- >- this.func = function (){ >- return 5; >- } >- >-} >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try { >- var obj = new FACTORY(); >- testFailed('#1: var obj = new FACTORY() lead to throwing exception'); >-} catch (e) {} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1-expected.txt >deleted file mode 100644 >index 5e25bad3dee..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1.html >deleted file mode 100644 >index 1136ac0ba59..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2_A1_T1; >-* @section: 13.2; >-* @assertion: A "prototype" property is automatically created for every function; >-* @description: Using "function __func(){}" as a FunctionDeclaration; >-*/ >- >-function __func(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func.prototype === undefined) { >- testFailed('#1: __func.prototype !== undefined'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2-expected.txt >deleted file mode 100644 >index 2a06b35c699..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2.html >deleted file mode 100644 >index 086fe4d55a5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A1_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2_A1_T2; >-* @section: 13.2; >-* @assertion: A "prototype" property is automatically created for every function; >-* @description: Using "var __func = function(){}" as a FunctionDeclaration; >-*/ >- >-var __func = function(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func.prototype === undefined) { >- testFailed('#1: __func.prototype !== undefined'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1-expected.txt >deleted file mode 100644 >index fb4dde9fed1..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1.html >deleted file mode 100644 >index e6d7362e648..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T1.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2_A2_T1; >-* @section: 13.2; >-* @assertion: Nested function are admitted; >-* @description: Nesting level is two; >-*/ >- >-__JEDI="jedi"; >- >-function __FUNC(){ >- function __GUNC(){ >- return arguments[0]; >- }; >- >- return __GUNC; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__FUNC()(__JEDI) !== __JEDI) { >- testFailed('#1: __FUNC()(__JEDI) === __JEDI. Actual: __FUNC()(__JEDI) ==='+__FUNC()(__JEDI)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2-expected.txt >deleted file mode 100644 >index 6c5f3d00e6f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2.html >deleted file mode 100644 >index c434a506479..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A2_T2.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2_A2_T2; >-* @section: 13.2; >-* @assertion: Nested function are admitted; >-* @description: Nesting level is three; >-*/ >- >-__ROBOT="C3PO"; >- >-function __FUNC(){ >- function __GUNC(){ >- return arguments[0]; >- }; >- function __HUNC(){ >- return __GUNC; >- }; >- return __HUNC; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__FUNC()()(__ROBOT) !== __ROBOT) { >- testFailed('#1: __FUNC()()(__ROBOT) === __ROBOT. Actual: __FUNC()()(__ROBOT) ==='+__FUNC()()(__ROBOT)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3-expected.txt >deleted file mode 100644 >index a0e7fb70c3e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3.html >deleted file mode 100644 >index fd6f9b82ffb..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2_A3; >-* @section: 13.2; >-* @assertion: When Function object(F) is constructed the length property of F is set to the number of formal properties specified in FormalParameterList; >-* @description: Creating functions with various FormalParameterList and checking their lengths; >-*/ >- >-function __func(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func.length !== 0) { >- testFailed('#1: __func.length === 0. Actual: __func.length ==='+__func.length); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __gunc(a,b,c){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__gunc.length !== 3) { >- testFailed('#2: __gunc.length === 3. Actual: __gunc.length ==='+__gunc.length); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1-expected.txt >deleted file mode 100644 >index 8a1320bcfbb..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1.html >deleted file mode 100644 >index 196f2d532bf..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T1.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2_A4_T1; >-* @section: 13.2; >-* @assertion: When Function object(F) is constructed the following steps from 9 to 11 take place >-* 9.Create a new object as would be constructed by the expression new Object(). >-* 10. Set the constructor property of Result(9) to F. This property is given attributes { DontEnum }. >-* 11. Set the "prototype" property of F to Result(9).; >-* @description: Checking prototype, prototype.constructor properties and {DontEnum} property of a constructor. >-* Using "function __func(){}" as a FunctionDeclaration; >-*/ >- >-function __func(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func.prototype !== 'object') { >- testFailed('#1: typeof __func.prototype === \'object\'. Actual: typeof __gunc.prototype ==='+typeof __gunc.prototype); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func.prototype.constructor !== __func) { >- testFailed('#2: __func.prototype.constructor === __func. Actual: __gunc.prototype.constructor ==='+__gunc.prototype.constructor); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __constructor_was__enumed; >- >-for (__prop in __func.prototype){ >- if (__prop = 'constructor') >- __constructor_was__enumed = true; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__constructor_was__enumed) { >- testFailed('#3: __constructor_was__enumed === false. Actual: __constructor_was__enumed ==='+__constructor_was__enumed); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2-expected.txt >deleted file mode 100644 >index 426406c250e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2.html >deleted file mode 100644 >index 73bd57c0947..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A4_T2.html >+++ /dev/null >@@ -1,134 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2_A4_T2; >-* @section: 13.2; >-* @assertion: When Function object(F) is constructed the following steps from 9 to 11 take place >-* 9.Create a new object as would be constructed by the expression new Object(). >-* 10. Set the constructor property of Result(9) to F. This property is given attributes { DontEnum }. >-* 11. Set the "prototype" property of F to Result(9).; >-* @description: Checking prototype, prototype.constructor properties and {DontEnum} property of a constructor. >-* Using "var __gunc = function(){}" as a FunctionDeclaration; >-*/ >- >-var __gunc = function(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __gunc.prototype !== 'object') { >- testFailed('#1: typeof __gunc.prototype === \'object\'. Actual: typeof __gunc.prototype ==='+typeof __gunc.prototype); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__gunc.prototype.constructor !== __gunc) { >- testFailed('#2: __gunc.prototype.constructor === __gunc. Actual: __gunc.prototype.constructor ==='+__gunc.prototype.constructor); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __constructor_was__enumed; >- >-for (__prop in __gunc.prototype){ >- if (__prop = 'constructor') >- __constructor_was__enumed = true; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__constructor_was__enumed) { >- testFailed('#3: __constructor_was__enumed === false. Actual: __constructor_was__enumed ==='+__constructor_was__enumed); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5-expected.txt >deleted file mode 100644 >index 4fdd84b8975..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13.2_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5.html >deleted file mode 100644 >index 7b68f752b0f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/13.2_Creating_Function_Objects/S13.2_A5.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13.2_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13.2_A5; >-* @section: 13.2, 15.3.3.1; >-* @assertion: When Function object(F) is constructed >-* the [[Prototype]] property of F is set to the original Function prototype object as specified in 15.3.3.1; >-* @description: Function.prototype.isPrototypeOf() is used; >-*/ >- >-function __func(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!(Function.prototype.isPrototypeOf(__func))) { >- testFailed('#1: Function.prototype.isPrototypeOf(__func)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-var __gunc = function(){}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (!(Function.prototype.isPrototypeOf(__gunc))) { >- testFailed('#1: Function.prototype.isPrototypeOf(__gunc)'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A1-expected.txt >deleted file mode 100644 >index 6359ca5bda3..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A1.html >deleted file mode 100644 >index dde92c2e065..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A1.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A1; >-* @section: 13; >-* @assertion: "x=function y(){}" statement does not store a reference to the new function in the varaible y(Identifier); >-* @description: Checking the type of y; >-*/ >- >-__func = function __exp__func(){return 0;}; >- >-//////////////////////////////////////////////// >-// ////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "function") { >- testFailed('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __exp__func !== "undefined"){ >- testFailed('#2: typeof __exp__func === "undefined". Actual: typeof __exp__func ==='+typeof __exp__func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A10-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A10-expected.txt >deleted file mode 100644 >index 229ebc0c706..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A10.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A10.html >deleted file mode 100644 >index f4dfec8cd30..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A10.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A10; >-* @section: 13; >-* @assertion: Function is a data; >-* @description: Using function as a property of an object; >-*/ >- >-function __ziggy__func(){return "ziggy stardust"} >- >-__music_box={}; >- >-__music_box.ziggy = __ziggy__func; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK# >-if (typeof __music_box.ziggy !== "function") { >- testFailed('#1: typeof __music_box.ziggy === "function". Actual: typeof __music_box.ziggy ==='+typeof __music_box.ziggy); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__music_box.ziggy() !== "ziggy stardust") { >- testFailed('#2: __music_box.ziggy() === "ziggy stardust". Actual: __music_box.ziggy() ==='+__music_box.ziggy()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T1-expected.txt >deleted file mode 100644 >index f4d783d246d..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A11_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T1.html >deleted file mode 100644 >index d1c0e0179b5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T1.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A11_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A11_T1; >-* @section: 13; >-* @assertion: Since arguments property has attribute { DontDelete }, only its elements can be deleted; >-* @description: Returning result of "delete arguments"; >-*/ >- >-function __func(){ return delete arguments;} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func("A","B",1,2)) { >- testFailed('#1: arguments property has attribute { DontDelete }'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T2-expected.txt >deleted file mode 100644 >index 75d5aae0090..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A11_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T2.html >deleted file mode 100644 >index 54c022ccab4..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T2.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A11_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A11_T2; >-* @section: 13; >-* @assertion: Since arguments property has attribute { DontDelete }, only its elements can be deleted; >-* @description: Checking if deleting the arguments property fails and then returning it; >-*/ >- >-function __func(){ >- delete arguments; >- return arguments; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func("A","B",1,2) !== "object") { >- testFailed('#1: arguments property has attribute { DontDelete }'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T3-expected.txt >deleted file mode 100644 >index 5e893c84e59..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A11_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T3.html >deleted file mode 100644 >index 671ad1b9153..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T3.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A11_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A11_T3; >-* @section: 13; >-* @assertion: Since arguments property has attribute { DontDelete }, only its elements can be deleted; >-* @description: Deleting arguments[i] and returning result of the operation; >-*/ >- >-function __func(){ >- was_del=false; >- for (i=0; i < arguments.length; i++) >- was_del= was_del || delete arguments[i]; >- return was_del; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!__func("A","B",1,2)) { >- testFailed('#1: Since arguments property has attribute { DontDelete } elements of arguments can be deleted'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T4-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T4-expected.txt >deleted file mode 100644 >index 384bb956f00..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A11_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T4.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T4.html >deleted file mode 100644 >index c397a7206fe..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A11_T4.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A11_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A11_T4; >-* @section: 13; >-* @assertion: Since arguments property has attribute { DontDelete }, only its elements can be deleted; >-* @description: Deleting arguments[i] and checking the type of arguments[i]; >-*/ >- >-function __func(){ >- is_undef=true; >- for (i=0; i < arguments.length; i++) >- { >- delete arguments[i]; >- is_undef= is_undef && (typeof arguments[i] === "undefined"); >- }; >- return is_undef; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (!__func("A","B",1,2)) { >- testFailed('#1: Since arguments property has attribute { DontDelete }, but elements of arguments can be deleted'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T1-expected.txt >deleted file mode 100644 >index 4d4e2f21526..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A12_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T1.html >deleted file mode 100644 >index 168fcf53fef..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A12_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A12_T1; >-* @section: 13; >-* @assertion: Function declarations in global or function scope are {DontDelete}; >-* @description: Checking if deleting a function that is declared in global scope fails; >-*/ >- >-ALIVE="Letov is alive" >- >-function __func(){ >- return ALIVE; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (delete __func) { >- testFailed('#1: delete __func returning false'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func() !== ALIVE) { >- testFailed('#2: __func() === ALIVE. Actual: __func() ==='+__func()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T2-expected.txt >deleted file mode 100644 >index ef8566cc907..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A12_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T2.html >deleted file mode 100644 >index 4ad2c3622fc..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A12_T2.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A12_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A12_T2; >-* @section: 13; >-* @assertion: Function declarations in global or function scope are {DontDelete}; >-* @description: Checking if deleting a function that is declared in function scope fails; >-*/ >- >-ALIVE="Letov is alive" >- >-function __cont(){ >- >- function __func(){ >- return ALIVE; >- }; >- >- ////////////////////////////////////////////////////////////////////////////// >- //CHECK#1 >- if (delete __func) { >- testFailed('#1: delete __func returning false'); >- } >- // >- ////////////////////////////////////////////////////////////////////////////// >- >- ////////////////////////////////////////////////////////////////////////////// >- //CHECK#2 >- if (__func() !== ALIVE) { >- testFailed('#2: __func() === ALIVE. Actual: __func() ==='+__func()); >- } >- // >- ////////////////////////////////////////////////////////////////////////////// >-}; >- >-__cont(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T1-expected.txt >deleted file mode 100644 >index e87f82a6acb..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A13_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T1.html >deleted file mode 100644 >index 645410b2a93..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T1.html >+++ /dev/null >@@ -1,108 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A13_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A13_T1; >-* @section: 13; >-* @assertion: Deleting arguments[i] leads to breaking the connection to local reference; >-* @description: Deleting arguments[i]; >-*/ >- >-function __func(__arg){ >- delete arguments[0]; >- if (arguments[0] !== undefined) { >- testFailed('#1.1: arguments[0] === undefined'); >- } >- return __arg; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func(1) !== 1) { >- testFailed('#1.2: __func(1) === 1. Actual: __func(1) ==='+__func(1)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T2-expected.txt >deleted file mode 100644 >index a684970f8bb..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A13_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T2.html >deleted file mode 100644 >index ef6e360df81..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A13_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A13_T2; >-* @section: 13; >-* @assertion: Deleting arguments[i] leads to breaking the connection to local reference; >-* @description: Changing arguments value and then deleting the argument; >-*/ >- >-function __func(__arg){ >- __arg = 2; >- delete arguments[0]; >- if (arguments[0] !== undefined) { >- testFailed('#1.1: arguments[0] === undefined'); >- } >- return __arg; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func(1) !== 2) { >- testFailed('#1.2: __func(1) === 2. Actual: __func(1) ==='+__func(1)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T3-expected.txt >deleted file mode 100644 >index b122617f29c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A13_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T3.html >deleted file mode 100644 >index f0038425804..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A13_T3.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A13_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A13_T3; >-* @section: 13; >-* @assertion: Deleting arguments[i] leads to breaking the connection to local reference; >-* @description: Changing argument value, deleting the argument and then defining a new value for arguments[i]; >-*/ >- >-function __func(__arg){ >- __arg = 2; >- delete arguments[0]; >- if (arguments[0] !== undefined) { >- testFailed('#1.1: arguments[0] === undefined'); >- } >- arguments[0] = "A"; >- if (arguments[0] !== "A") { >- testFailed('#1.2: arguments[0] === "A"'); >- } >- return __arg; >-} >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func(1) !== 2) { >- testFailed('#1.3: __func(1) === 2. Actual: __func(1) ==='+__func(1)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A14-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A14-expected.txt >deleted file mode 100644 >index c33cd958e71..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A14-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A14 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A14.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A14.html >deleted file mode 100644 >index 1011b66923b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A14.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A14; >-* @section: 13; >-* @assertion: Unicode symbols in function name are allowed; >-* @description: Defining function name with unicode symbols; >-*/ >- >-eval("function __func\u0041(__arg){return __arg;};"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __funcA !== "function") { >- testFailed('#1: unicode symbols in function name are allowed'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T1-expected.txt >deleted file mode 100644 >index 0b9cbb39d65..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A15_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T1.html >deleted file mode 100644 >index d03808f416f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A15_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A15_T1; >-* @section: 13; >-* @assertion: ''arguments'' variable overrides ActivationObject.arguments; >-* @description: Declaring a function with "__func(arguments)"; >-*/ >- >-function __func(arguments){ >- return arguments; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func(42) !== 42) { >- testFailed('#1: "arguments" variable overrides ActivationObject.arguments'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T2-expected.txt >deleted file mode 100644 >index 7d4a0aca422..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A15_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T2.html >deleted file mode 100644 >index f21ec2ed60e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A15_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A15_T2; >-* @section: 13; >-* @assertion: ''arguments'' variable overrides ActivationObject.arguments; >-* @description: Overriding arguments within functions body; >-*/ >- >-THE_ANSWER="Answer to Life, the Universe, and Everything"; >- >-function __func(){ >- var arguments = THE_ANSWER; >- return arguments; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func(42,42,42) !== THE_ANSWER) { >- testFailed('#1: "arguments" variable overrides ActivationObject.arguments'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T3-expected.txt >deleted file mode 100644 >index bb5f6f6442e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A15_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T3.html >deleted file mode 100644 >index 6e47b70196e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T3.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A15_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A15_T3; >-* @section: 13; >-* @assertion: ''arguments'' variable overrides ActivationObject.arguments; >-* @description: Declaring a variable named with "arguments" without a function; >-*/ >- >-THE_ANSWER="Answer to Life, the Universe, and Everything"; >- >-var arguments = THE_ANSWER; >- >-function __func(arguments){ >- return arguments; >- >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func() !== "undefined") { >- testFailed('#1: typeof __func() === "undefined". Actual: typeof __func() ==='+typeof __func()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func("The Ultimate Question") !== "The Ultimate Question") { >- testFailed('#2: __func("The Ultimate Question") === "The Ultimate Question". Actual: __func("The Ultimate Question")==='+__func("The Ultimate Question")); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T4-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T4-expected.txt >deleted file mode 100644 >index 2d1e1f8c921..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A15_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T4.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T4.html >deleted file mode 100644 >index bf6d8e8a45f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T4.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A15_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A15_T4; >-* @section: 13; >-* @assertion: ''arguments'' variable overrides ActivationObject.arguments; >-* @description: Declaring a variable named with "arguments" and following a "return" statement within a function body; >-*/ >- >-THE_ANSWER="Answer to Life, the Universe, and Everything"; >- >-function __func(){ >- return typeof arguments; >- var arguments = THE_ANSWER; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func(42,42,42) !== "object") { >- testFailed('#1: __func(42,42,42) === "object". Actual: __func(42,42,42)==='+__func(42,42,42)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T5-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T5-expected.txt >deleted file mode 100644 >index 89de5bff3dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A15_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T5.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T5.html >deleted file mode 100644 >index c4bc08f685e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A15_T5.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A15_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A15_T5; >-* @section: 13; >-* @assertion: ''arguments'' variable overrides ActivationObject.arguments; >-* @description: Creating a variable named with "arguments" without a function; >-*/ >- >-THE_ANSWER="Answer to Life, the Universe, and Everything"; >- >-var arguments = THE_ANSWER; >- >-function __func(){ >- return arguments; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ( __func() === THE_ANSWER) { >- testFailed('#1: __func() !== THE_ANSWER'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func("The Ultimate Question") === "The Ultimate Question") { >- testFailed('#2: __func("The Ultimate Question") !== "The Ultimate Question"'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A16-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A16-expected.txt >deleted file mode 100644 >index 9393bdbae58..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A16-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A16 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A16.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A16.html >deleted file mode 100644 >index 03ca879a857..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A16.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A16</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A16; >-* @section: 13; >-* @assertion: Any separators are admitted between declaration chunks; >-* @description: Inserting separators between declaration chunks; >-*/ >- >-function >-x >-( >-) >-{ >-} >-; >- >-x(); >- >-function y ( ) {}; >- >-y(); >- >-function >- >-z >- >-( >- >-) >- >-{ >- >-} >- >-; >- >-z(); >- >-eval("function\u0009\u2029w(\u000C)\u00A0{\u000D};"); >- >-w(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T1-expected.txt >deleted file mode 100644 >index 4a64bf635f0..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A17_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T1.html >deleted file mode 100644 >index 958a716309c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T1.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A17_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A17_T1; >-* @section: 13; >-* @assertion: Function call cannot appear in the program before the FunctionExpression appears; >-* @description: Trying to call a function before the FunctionExpression appears; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- var __result = __func(); >- testFailed("#1: var __result = __func() lead to throwing exception"); >-} catch(e) { >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __func = function (){return "ONE";}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-var __result = __func(); >-if (__result !== "ONE") { >- testFailed('#2: __result === "ONE". Actual: __result ==='+__result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__func = function (){return "TWO";}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-var __result = __func(); >-if (__result !== "TWO") { >- testFailed('#3: __result === "TWO". Actual: __result ==='+__result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T2-expected.txt >deleted file mode 100644 >index 16ae5f82cca..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T2-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-S13_A17_T2 >- >-TypeError: __func is not a function. (In '__func()', '__func' is undefined) >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T2.html >deleted file mode 100644 >index 87c5bdc917b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A17_T2.html >+++ /dev/null >@@ -1,126 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A17_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A17_T2; >-* @section: 13; >-* @assertion: Function call cannot appear in the program before the FunctionExpression appears; >-* @description: Trying to call a function before the FunctionExpression appears and then using the FunctionExpression one more time; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- var __result = __func(); >- testFailed("#1: var __result = __func() lead to throwing exception"); >-} catch(e) { >- testPrint(e) >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-// now we reach the __func overwriting by new expression >-var __func = function __func(){return "ONE";}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-var __result = __func(); >-if (__result !== "ONE") { >- testFailed('#2: __result === "ONE". Actual: __result ==='+__result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-__func = function __func(){return "TWO";}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-var __result = __func(); >-if (__result !== "TWO") { >- testFailed('#3: __result === "TWO". Actual: __result ==='+__result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A18-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A18-expected.txt >deleted file mode 100644 >index f38b05f1252..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A18-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A18 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A18.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A18.html >deleted file mode 100644 >index 3de08adb013..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A18.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A18</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A18; >-* @section: 13; >-* @assertion: Closures are admitted; >-* @description: Using a function declaration as a function parameter; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof sinx !== 'undefined') { >- testFailed('#1: typeof sinx === \'undefined\'. Actual: typeof sinx ==='+typeof sinx); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __val = function derivative(f, dx) { >- return function(x) { >- return (f(x + dx) - f(x)) / dx; >- }; >-}(function sinx(x){return Math.sin(x);},.0001)(0.5); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof sinx !== 'undefined') { >- testFailed('#2: typeof sinx === \'undefined\'. Actual: typeof sinx ==='+typeof sinx); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T1-expected.txt >deleted file mode 100644 >index d07e0207e11..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A19_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T1.html >deleted file mode 100644 >index 3d585aadd75..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T1.html >+++ /dev/null >@@ -1,114 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A19_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A19_T1; >-* @section: 13,13.2; >-* @assertion: "var" does not override function declaration; >-* @description: Creating a function and a variable with identical Identifiers in global scope; >-*/ >- >-// since "var" does not override function declaration __decl is set to function >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __decl !== "function") { >- testFailed('#1: typeof __decl === "function". Actual: typeof __decl ==='+typeof __decl); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-var __decl = 1; >- >-//since statement was evaluted __decl turns to 1 from function >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__decl !== 1) { >- testFailed('#2: __decl === 1. Actual: __decl ==='+__decl); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __decl(){return 1;} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T2-expected.txt >deleted file mode 100644 >index 8bd59c0800f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A19_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T2.html >deleted file mode 100644 >index d9585a9bccf..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A19_T2.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A19_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A19_T2; >-* @section: 13,13.2; >-* @assertion: "var" does not override function declaration; >-* @description: Creating a function and a variable with identical Identifiers within function scope; >-*/ >- >-(function (){ >- >- // since "var" does not override function declaration __decl is set to function >- ////////////////////////////////////////////////////////////////////////////// >- //CHECK#1 >- if (typeof __decl !== "function") { >- testFailed('#1: typeof __decl === "function". Actual: typeof __decl ==='+typeof __decl); >- } >- // >- ////////////////////////////////////////////////////////////////////////////// >- >- var __decl = 1; >- >- //since statement was evaluted __decl turns to 1 from function >- ////////////////////////////////////////////////////////////////////////////// >- //CHECK#2 >- if (__decl !== 1) { >- testFailed('#2: __decl === 1. Actual: __decl ==='+__decl); >- } >- // >- ////////////////////////////////////////////////////////////////////////////// >- >- function __decl(){return 1;} >-})(); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T1-expected.txt >deleted file mode 100644 >index 9c110937688..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T1.html >deleted file mode 100644 >index 71bfff0f27e..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T1.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A2_T1; >-* @section: 13; >-* @assertion: function must be evaluated inside the expression; >-* @description: Defining function body with "return arg"; >-*/ >- >-var x = (function __func(arg){return arg})(1); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x !== 1) { >- testFailed('#1: x === 1. Actual: x ==='+x); >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __func !== 'undefined') { >- testFailed('#2: typeof __func === \'undefined\'. Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T2-expected.txt >deleted file mode 100644 >index 2755f4c0fac..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T2.html >deleted file mode 100644 >index 811ac5dd687..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A2_T2; >-* @section: 13; >-* @assertion: function must be evaluated inside the expression; >-* @description: Defining function body with "return arg + arguments[1]"; >-*/ >- >-var x = (function __func(arg){return arg + arguments[1]})(1,"1"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x !== "11") { >- testFailed('#1: x === "11". Actual: x ==='+x); >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __func !== 'undefined') { >- testFailed('#2: typeof __func === \'undefined\'. Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T3-expected.txt >deleted file mode 100644 >index 579c5985fd0..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T3.html >deleted file mode 100644 >index 04048bb954c..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A2_T3.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A2_T3; >-* @section: 13; >-* @assertion: function must be evaluated inside the expression; >-* @description: Defining function body with "return arguments[0] +"-"+ arguments[1]"; >-*/ >- >-var x = (function __func(){return arguments[0] +"-"+ arguments[1]})("Obi","Wan"); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (x !== "Obi-Wan") { >- testFailed('#1: x === "Obi-Wan". Actual: x ==='+x); >-} >- >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __func !== 'undefined') { >- testFailed('#2: typeof __func === \'undefined\'. Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T1-expected.txt >deleted file mode 100644 >index ce27f0c59a3..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T1.html >deleted file mode 100644 >index 8499af987db..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T1.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A3_T1; >-* @section: 13; >-* @assertion: The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively; >-* @description: Creating a recursive function that calculates factorial, as a variable. >-* Function call itself by it`s name; >-*/ >- >-__func = function __exp__func(arg){ >- if (arg === 1) { >- return arg; >- } else { >- return __exp__func(arg-1)*arg; >- } >-}; >- >-var fact_of_3 = __func(3); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (fact_of_3 !== 6) { >- testFailed("#1: fact_of_3 === 6. Actual: fact_of_3 ==="+fact_of_3); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T2-expected.txt >deleted file mode 100644 >index 1d3e33a3778..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T2.html >deleted file mode 100644 >index 18ed427ed9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T2.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A3_T2; >-* @section: 13; >-* @assertion: The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively; >-* @description: Creating a recursive function that calculates factorial, as a variable. >-* Function calls itself by the name of the variable; >-*/ >- >-__func = function (arg){ >- if (arg === 1) { >- return arg; >- } else { >- return __func(arg-1)*arg; >- } >-}; >- >-var fact_of_3 = __func(3); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (fact_of_3 !== 6) { >- testFailed("#1: fact_of_3 === 6. Actual: fact_of_3 ==="+fact_of_3); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T3-expected.txt >deleted file mode 100644 >index fad93076a20..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T3.html >deleted file mode 100644 >index 580f422f683..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A3_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A3_T3; >-* @section: 13; >-* @assertion: The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively; >-* @description: Creating simple recursive function that calculates factorial; >-*/ >- >-function __func(arg){ >- if (arg === 1) { >- return arg; >- } else { >- return __func(arg-1)*arg; >- } >-}; >- >-var fact_of_3 = __func(3); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (fact_of_3 !== 6) { >- testFailed("#1: fact_of_3 === 6. Actual: fact_of_3 ==="+fact_of_3); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T1-expected.txt >deleted file mode 100644 >index d82de2bb99b..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T1.html >deleted file mode 100644 >index 031a8683823..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T1.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A4_T1; >-* @section: 13; >-* @assertion: The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations; >-* @description: Declaring a function that returns string; >-*/ >- >-function __func(){return "zig-zig-sputnik";}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "function") { >- testFailed('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func() !== "zig-zig-sputnik") { >- testFailed('#2: __func() === "zig-zig-sputnik". Actual: __func() ==='+__func()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T2-expected.txt >deleted file mode 100644 >index 2d3d8cf6b9f..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T2.html >deleted file mode 100644 >index dea3a4ed2d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T2.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A4_T2; >-* @section: 13; >-* @assertion: The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations; >-* @description: Declaring a function that uses prefix increment operator within its "return" Expression; >-*/ >- >-function __func(arg){return ++arg;}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "function") { >- testFailed('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func(1) !== 2) { >- testFailed('#2: __func(1) === 2. Actual: __func(1) ==='+__func(1)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T3-expected.txt >deleted file mode 100644 >index 86dcd3a4590..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T3.html >deleted file mode 100644 >index 1266adbc488..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T3.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A4_T3; >-* @section: 13; >-* @assertion: The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations; >-* @description: Declaring a function that uses arithmetical operators within its "return" Expression; >-*/ >- >-function __func(arg1, arg2, arg3){return arg1+=(arg2+=arg3);}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "function") { >- testFailed('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func(10, 20, 30) !== 60) { >- testFailed('#2: __func(10, 20, 30) === 60. Actual: __func(10,20,30) ==='+__func(10,20,30)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T4-expected.txt >deleted file mode 100644 >index f3e174f5eef..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T4.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T4.html >deleted file mode 100644 >index b4dce949ead..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A4_T4.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A4_T4; >-* @section: 13; >-* @assertion: The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations; >-* @description: Declaring a function that uses strings concatenaion opeator within its "return" Expression; >-*/ >- >-function __func(){return arguments[0].name + " " + arguments[0].surname;}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "function") { >- testFailed('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func({name:'fox', surname:'malder'}) !== "fox malder") { >- testFailed('#2: __func({name:\'fox\', surname:\'malder\'}) === "fox malder". Actual: __func({name:\'fox\', surname:\'malder\'}) ==='+__func({name:'fox', surname:'malder'})); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function func__(arg){return arg.name + " " + arg.surname;}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (typeof func__ !== "function") { >- testFailed('#3: typeof func__ === "function". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (func__({name:'john', surname:'lennon'}) !== "john lennon") { >- testFailed('#4: func__({name:\'john\', surname:\'lennon\'}) === "john lennon". Actual: __func({name:\'john\', surname:\'lennon\'}) ==='+__func({name:'john', surname:'lennon'})); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A5-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A5-expected.txt >deleted file mode 100644 >index 484bf60f4aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A5.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A5.html >deleted file mode 100644 >index 08b85e453b8..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A5.html >+++ /dev/null >@@ -1,130 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A5; >-* @section: 13, 10.1.2; >-* @assertion: Only FormalParameterList as arguments list is allowed; >-* @description: Trying to use [arg1, arg2, arg3], (arg1, arg2, arg3), etc. as a FormalParameterList; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- eval("function __func([arg1, arg2, arg3]){return arguments.length;}"); >-} catch(e){ >- if(!(e instanceof SyntaxError)){ >- testFailed('#1.1: eval("function __func([arg1, arg2, arg3]){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-try{ >- eval("function __func((arg1, arg2, arg3)){return arguments.length;}"); >- testFailed('#2: eval("function __func((arg1, arg2, arg3)){return arguments.length;}") lead to throwing exception') >-} catch(e){ >- if(!(e instanceof SyntaxError)){ >- testFailed('#2.1: eval("function __func((arg1, arg2, arg3)){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try{ >- eval("function __func(arg1, arg2, arg3,,){return arguments.length;}"); >- testFailed('#3: eval("function __func(arg1, arg2, arg3,,){return arguments.length;}") lead to throwing exception') >-} catch(e){ >- if(!(e instanceof SyntaxError)){ >- testFailed('#3.1: eval("function __func(arg1, arg2, arg3,,){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T1-expected.txt >deleted file mode 100644 >index 9064cb57ace..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T1.html >deleted file mode 100644 >index e1c3c7830f1..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T1.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A6_T1; >-* @section: 13; >-* @assertion: FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier; >-* @description: Duplicating function declaration; >-*/ >- >-function __func(){return 1}; >- >-__store__func = __func; >- >- __1 = __func(); >- >- function __func(){return 'A'}; >- >- __A = __func(); >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__store__func !== __func) { >- testFailed('#1: __store__func === __func. Actual: __store__func ==='+__store__func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__1 !== __A) { >- testFailed('#2: __1 === __A. Actual: __1 ==='+__1); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T2-expected.txt >deleted file mode 100644 >index 2493d6064e7..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T2.html >deleted file mode 100644 >index 7519a28fb80..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A6_T2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A6_T2; >-* @section: 13; >-* @assertion: FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier; >-* @description: Calling a function before it is declared one more time; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- var __result = __func(); >-} catch(e) { >- testFailed("#1: Function call can appears in the program before the FunctionDeclaration appears"); >-} >-if (__result !== "SECOND") { >- testFailed('#1.1: __result === "SECOND". Actual: __result ==='+__result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func(){return "FIRST";}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-__result = __func(); >-if (__result !== "SECOND") { >- testFailed('#2: __result === "SECOND". Actual: __result ==='+__result); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func(){return "SECOND";}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T1-expected.txt >deleted file mode 100644 >index 75b23e3b639..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A7_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T1.html >deleted file mode 100644 >index 90b8852976a..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T1.html >+++ /dev/null >@@ -1,155 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A7_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A7_T1; >-* @section: 13; >-* @assertion: The FunctionBody must be SourceElements; >-* @description: Using only SourceElements within the FunctionBody; >-*/ >- >-function __func(){'ground control to major tom'}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "function") { >- testFailed('#1: typeof __func === "function". Actual: typeof __func ==='+typeof __func); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func__2(){b}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __func__2 !== "function") { >- testFailed('#2: typeof __func__2 === "function". Actual: typeof __func__2 ==='+typeof __func__2); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func__3(){1}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (typeof __func__3 !== "function") { >- testFailed('#3: typeof __func__3 === "function". Actual: typeof __func__3 ==='+typeof __func__3); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func__4(){1+c}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-if (typeof __func__4 !== "function") { >- testFailed('#4: typeof __func__4 === "function". Actual: typeof __func__4 ==='+typeof __func__4); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func__5(){inc(d)}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#5 >-if (typeof __func__5 !== "function") { >- testFailed('#5: typeof __func__5 === "function". Actual: typeof __func__5 ==='+typeof __func__5); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func__6(){var \u0042 = 1;}; >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#6 >-if (typeof __func__6 !== "function") { >- testFailed('#6: typeof __func__6 === "function". Actual: typeof __func__6 ==='+typeof __func__6); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-//function __func__7(){var \u003d = 1;}; >-//////////////////////////////////////////////////////////////////////////////// >-////CHECK#7 >-//if (typeof __func__7 !== "function") { >-// testFailed('#7: The FunctionBody must be SourceElements'); >-//} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T2-expected.txt >deleted file mode 100644 >index 6d54b063cfc..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A7_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T2.html >deleted file mode 100644 >index 28d3eb2fa44..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T2.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A7_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A7_T2; >-* @section: 13; >-* @assertion: The FunctionBody must be SourceElements; >-* @description: Inserting elements that is different from SourceElements into the FunctionBody; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-try{ >- eval("function __func(){/ ABC}"); >- testFailed('#1: eval("function __func(){/ ABC}") lead to throwing exception'); >-} catch(e){ >- if(!(e instanceof SyntaxError)){ >- testFailed('#1.1: eval("function __func(){/ ABC}") lead to throwing exception of SyntaxError. Actual: exception is '+e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-try{ >- eval("function __func(){&1}"); >- testFailed('#3: eval("function __func(){&1}") lead to throwing exception'); >-} catch(e){ >- if(!(e instanceof SyntaxError)){ >- testFailed('#3.1: eval("function __func(){&1}") lead to throwing exception of SyntaxError. Actual: exception is '+e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#4 >-try{ >- eval("function __func(){# ABC}"); >- testFailed('#4: eval("function __func(){# ABC}") lead to throwing exception'); >-} catch(e){ >- if(!(e instanceof SyntaxError)){ >- testFailed('#4.1: eval("function __func(){# ABC}") lead to throwing exception of SyntaxError. Actual: exception is '+e); >- } >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T3-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T3-expected.txt >deleted file mode 100644 >index d51bcb8fac5..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T3-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Invalid escape in identifier: '\' >-S13_A7_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T3.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T3.html >deleted file mode 100644 >index fd004e4efd6..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A7_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A7_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A7_T3; >-* @section: 13; >-* @assertion: The FunctionBody must be SourceElements; >-* @description: Checking if execution of "function __func(){\A\B\C}" fails; >-* @negative; >-*/ >- >-function __func(){\A\B\C}; >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T1-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T1-expected.txt >deleted file mode 100644 >index 35f01456f7d..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A8_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T1.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T1.html >deleted file mode 100644 >index e75ee866d37..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T1.html >+++ /dev/null >@@ -1,115 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A8_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A8_T1; >-* @section: 13; >-* @assertion: Arguments property of activation object contains real params to be passed; >-* @description: Creating a function declared with "function __func(param1, param2, param3)" and using arguments.length property in order to perform the test; >-*/ >- >- function __func(param1, param2, param3) { >- return arguments.length; >- } >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func('A') !== 1) { >- testFailed('#1: __func(\'A\') === 1. Actual: __func(\'A\') ==='+__func('A')); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func('A', 'B', 1, 2,__func) !== 5) { >- testFailed('#2: __func(\'A\', \'B\', 1, 2,__func) === 5. Actual: __func(\'A\', \'B\', 1, 2,__func) ==='+__func('A', 'B', 1, 2,__func)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T2-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T2-expected.txt >deleted file mode 100644 >index 1556036ce84..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A8_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T2.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T2.html >deleted file mode 100644 >index 9c9f03fd9dd..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A8_T2.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A8_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A8_T2; >-* @section: 13; >-* @assertion: Arguments property of activation object contains real params to be passed; >-* @description: Creating a function with no parameters and using arguments.length property in order to perform the test; >-*/ >- >- function __func() { >- return arguments.length; >- } >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func('A') !== 1) { >- testFailed('#1: __func(\'A\') === 1. Actual: __func(\'A\') ==='+__func('A')); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func('A', 'B', 1, 2,__func) !== 5) { >- testFailed('#2: __func(\'A\', \'B\', 1, 2,__func) === 5. Actual: __func(\'A\', \'B\', 1, 2,__func) ==='+__func('A', 'B', 1, 2,__func)); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#3 >-if (__func() !== 0) { >- testFailed('#3: __func() === 0. Actual: __func() ==='+__func()); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A9-expected.txt b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A9-expected.txt >deleted file mode 100644 >index 3cbca8b99ee..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S13_A9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A9.html b/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A9.html >deleted file mode 100644 >index 86de83946d8..00000000000 >--- a/LayoutTests/sputnik/Conformance/13_Function_Definition/S13_A9.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S13_A9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S13_A9; >-* @section: 13; >-* @assertion: Function can be passed as argument; >-* @description: Using function as argument of another function; >-*/ >- >-function __func__INC(arg){return arg + 1;}; >-function __func__MULT(incrementator, arg, mult){ return incrementator(arg)*mult; }; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func__MULT(__func__INC, 2, 2) !== 6) { >- testFailed('#1: function can be passed as argument'); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A1-expected.txt b/LayoutTests/sputnik/Conformance/14_Program/S14_A1-expected.txt >deleted file mode 100644 >index 792bb4db93e..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S14_A1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A1.html b/LayoutTests/sputnik/Conformance/14_Program/S14_A1.html >deleted file mode 100644 >index a1cc16dde20..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A1.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S14_A1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S14_A1; >-* @section: 14; >-* @assertion: FunctionExpression must be localed in a reacheable fragment of the program; >-* @description: Declaring a function within an "if" Expression; >-*/ >- >-THERE = "I'm there"; >-HERE = "I'm here"; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if ( __func !== undefined) { >- testFailed('#1: __func === undefined. Actual: __func ==='+ __func ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-if (true){ >- var __func = function(){return HERE;}; >-} else { >- var __func = function (){return THERE;}; >-}; >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (__func() !== HERE) { >- testFailed('#2: __func() === HERE. Actual: __func() ==='+ __func() ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A2-expected.txt b/LayoutTests/sputnik/Conformance/14_Program/S14_A2-expected.txt >deleted file mode 100644 >index d8206111b24..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S14_A2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A2.html b/LayoutTests/sputnik/Conformance/14_Program/S14_A2.html >deleted file mode 100644 >index ce079f4734c..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A2.html >+++ /dev/null >@@ -1,113 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S14_A2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S14_A2; >-* @section: 14; >-* @assertion: FunctionDeclaration cannot be localed inside an Expression; >-* @description: Declaring a function within an "if" Expression; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof f !== 'undefined') { >- testFailed('#1: typeof f === \'undefined\'. Actual: typeof f ==='+ typeof f ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (function f(arg){ >- if (arg===0) >- return 1; >- else >- return f(arg-1)*arg; >-}(3)!==6) { >- testFailed('#2: FunctionDeclaration cannot be localed inside an Expression'); >-}; >-// >-////////////////////////////////////////////////////////////////////////////// >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A3-expected.txt b/LayoutTests/sputnik/Conformance/14_Program/S14_A3-expected.txt >deleted file mode 100644 >index 289cfe39bae..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S14_A3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A3.html b/LayoutTests/sputnik/Conformance/14_Program/S14_A3.html >deleted file mode 100644 >index 7f3ec0b84df..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A3.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S14_A3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S14_A3; >-* @section: 14; >-* @assertion: Global FunctionDeclaration cannot be defined within the body of another FunctionDeclaration; >-* @description: Declaring a function within the body of another function; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (typeof __func !== "function") { >- testFailed('#1: typeof __func === "function". Actual: typeof __func ==='+ typeof __func ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#2 >-if (typeof __gunc !== "undefined") { >- testFailed('#2: typeof __gunc === "undefined". Actual: typeof __gunc ==='+ typeof __gunc ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func(){ >- function __gunc(){return true}; >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T1-expected.txt >deleted file mode 100644 >index 348cc60d8f7..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S14_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T1.html b/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T1.html >deleted file mode 100644 >index c87a2a91a58..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S14_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S14_A5_T1; >-* @section: 14; >-* @assertion: The Identifer within a FunctionDeclaration can be written in both letters and unicode; >-* @description: Declaring a function with "function __\u0066\u0075\u006e\u0063(){return "both"}"; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func() !== "both") { >- testFailed('#1: __func() === "both". Actual: __func() ==='+ __func() ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func(){return "ascii"}; >-function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"};//__func in unicode >-function __\u0066\u0075\u006e\u0063(){return "both"};//__func in unicode >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T2-expected.txt >deleted file mode 100644 >index f04d80b3b99..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S14_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T2.html b/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T2.html >deleted file mode 100644 >index a1d69feeab0..00000000000 >--- a/LayoutTests/sputnik/Conformance/14_Program/S14_A5_T2.html >+++ /dev/null >@@ -1,103 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S14_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S14_A5_T2; >-* @section: 14; >-* @assertion: The Identifer within a FunctionDeclaration can be written in both letters and unicode; >-* @description: Declaring a function with "function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"}"; >-*/ >- >-////////////////////////////////////////////////////////////////////////////// >-//CHECK#1 >-if (__func() !== "unicode") { >- testFailed('#1: __func() === "unicode". Actual: __func() ==='+ __func() ); >-} >-// >-////////////////////////////////////////////////////////////////////////////// >- >-function __func(){return "ascii"}; >-function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"};//__func in unicode >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T1-expected.txt >deleted file mode 100644 >index 6e0487b728e..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T1.html >deleted file mode 100644 >index 15e40577571..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T1.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T1; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "a**"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("a**") throw SyntaxError. Actual: ' + (new RegExp("a**"))); >-} catch (e) { >- if ((e instanceof SyntaxError !== true)) { >- testFailed('#1.2: new RegExp("a**") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T10-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T10-expected.txt >deleted file mode 100644 >index 1d126c403c4..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T10.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T10.html >deleted file mode 100644 >index 5ab37f33ebf..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T10.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T10; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "++a"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("++a") throw SyntaxError. Actual: ' + (new RegExp("++a"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("++a") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T11-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T11-expected.txt >deleted file mode 100644 >index 6bb59f5c774..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T11.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T11.html >deleted file mode 100644 >index af9d6ff463d..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T11.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T11; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "?a"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("?a") throw SyntaxError. Actual: ' + (new RegExp("?a"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("?a") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T12-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T12-expected.txt >deleted file mode 100644 >index dab33d29bcd..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T12 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T12.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T12.html >deleted file mode 100644 >index ab40aff718f..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T12.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T12; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "??a"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("??a") throw SyntaxError. Actual: ' + (new RegExp("??a"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("??a") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T13-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T13-expected.txt >deleted file mode 100644 >index 1d2be85e130..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T13-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T13 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T13.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T13.html >deleted file mode 100644 >index 13163d87b19..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T13.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T13; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "x{1}{1,}"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("x{1}{1,}") throw SyntaxError. Actual: ' + (new RegExp("x{1}{1,}"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("x{1}{1,}") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T14-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T14-expected.txt >deleted file mode 100644 >index d19c42a7daa..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T14-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T14 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T14.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T14.html >deleted file mode 100644 >index 355f3a3317e..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T14.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T14; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "x{1,2}{1}"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("x{1,2}{1}") throw SyntaxError. Actual: ' + (new RegExp("x{1,2}{1}"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("x{1,2}{1}") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T15-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T15-expected.txt >deleted file mode 100644 >index 6c870420a7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T15-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T15 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T15.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T15.html >deleted file mode 100644 >index 87d5031900c..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T15.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T15; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "x{1,}{1}"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("x{1,}{1}") throw SyntaxError. Actual: ' + (new RegExp("x{1,}{1}"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("x{1,}{1}") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T16-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T16-expected.txt >deleted file mode 100644 >index a7b111a3646..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T16-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T16 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T16.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T16.html >deleted file mode 100644 >index 810796b281b..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T16.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T16</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T16; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "x{0,1}{1,}"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("x{0,1}{1,}") throw SyntaxError. Actual: ' + (new RegExp("x{0,1}{1,}"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("x{0,1}{1,}") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T2-expected.txt >deleted file mode 100644 >index 716beb722aa..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T2.html >deleted file mode 100644 >index ba82b84e5d5..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T2.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T2; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "a***"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("a***") throw SyntaxError. Actual: ' + (new RegExp("a***"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("a***") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T3-expected.txt >deleted file mode 100644 >index 447118203f2..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T3.html >deleted file mode 100644 >index bc1df26fcb5..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T3.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T3; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "a++"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("a++") throw SyntaxError. Actual: ' + (new RegExp("a++"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("a++") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T4-expected.txt >deleted file mode 100644 >index caf8be44438..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T4.html >deleted file mode 100644 >index 5b69749c144..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T4.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T4; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "a+++"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("a+++") throw SyntaxError. Actual: ' + (new RegExp("a+++"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("a+++") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T5-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T5-expected.txt >deleted file mode 100644 >index b5270bf35a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T5.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T5.html >deleted file mode 100644 >index b3f8519b896..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T5.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T5; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "a???"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("a???") throw SyntaxError. Actual: ' + (new RegExp("a???"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("a???") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T6-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T6-expected.txt >deleted file mode 100644 >index 68662e8d1d1..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T6.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T6.html >deleted file mode 100644 >index 9456a134707..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T6.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T6; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "a????"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("a????") throw SyntaxError. Actual: ' + (new RegExp("a????"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("a????") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T7-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T7-expected.txt >deleted file mode 100644 >index 05de5745ad5..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T7.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T7.html >deleted file mode 100644 >index fdddaf45254..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T7.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T7; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "*a"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("*a") throw SyntaxError. Actual: ' + (new RegExp("*a"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("*a") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T8-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T8-expected.txt >deleted file mode 100644 >index 4cf05c7ca5d..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T8.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T8.html >deleted file mode 100644 >index b72c11cf55b..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T8.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T8; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "**a"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("**a") throw SyntaxError. Actual: ' + (new RegExp("**a"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("**a") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T9-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T9-expected.txt >deleted file mode 100644 >index bae1aac9d6d..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.1_A1_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T9.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T9.html >deleted file mode 100644 >index 2ae7c6c2cac..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.1/S15.10.1_A1_T9.html >+++ /dev/null >@@ -1,102 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.1_A1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.1_A1_T9; >-* @section: 15.10.1; >-* @assertion: RegExp syntax errors must be caught when matcher(s) compiles; >-* @description: Tested RegExp is "+a"; >-*/ >- >-//CHECK#1 >-try { >- testFailed('#1.1: new RegExp("+a") throw SyntaxError. Actual: ' + (new RegExp("+a"))); >-} catch (e) { >- if ((e instanceof SyntaxError) !== true) { >- testFailed('#1.2: new RegExp("+a") throw SyntaxError. Actual: ' + (e)); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1-expected.txt >deleted file mode 100644 >index c4965ec0fdd..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1.html >deleted file mode 100644 >index f41b671eb97..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.1_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A1.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A1.1_T1; >-* @section: 15.10.2.10; >-* @assertion: The production CharacterEscape :: t evaluates by returning >-* the character \u0009; >-* @description: Use \t in RegExp and \u0009 in tested string; >-*/ >- >-//CHECK#1 >-var arr = /\t/.exec("\u0009"); >-if ((arr === null) || (arr[0] !== "\u0009")) { >- testFailed('#1: var arr = /\\t/.exec("\\u0009"); arr[0] === "\\u0009". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\t\t/.exec("a\u0009\u0009b"); >-if ((arr === null) || (arr[0] !== "\u0009\u0009")) { >- testFailed('#2: var arr = /\\t\\t/.exec("a\\u0009\\u0009b"); arr[0] === "\\u0009\\u0009". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1-expected.txt >deleted file mode 100644 >index 67d704dc8ff..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1.html >deleted file mode 100644 >index 9c6998241c7..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.2_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A1.2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A1.2_T1; >-* @section: 15.10.2.10; >-* @assertion: The production CharacterEscape :: n evaluates by returning >-* the character \u000A; >-* @description: Use \n in RegExp and \u000A in tested string; >-*/ >- >-//CHECK#1 >-var arr = /\n/.exec("\u000A"); >-if ((arr === null) || (arr[0] !== "\u000A")) { >- testFailed('#1: var arr = /\\n/.exec("\\u000A"); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\n\n/.exec("a\u000A\u000Ab"); >-if ((arr === null) || (arr[0] !== "\u000A\u000A")) { >- testFailed('#2: var arr = /\\n\\n/.exec("a\\u000A\\u000Ab"); arr[0] === "\\u000A\\u000A". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1-expected.txt >deleted file mode 100644 >index c47f73b35cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1.html >deleted file mode 100644 >index fd03b744b2d..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.3_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A1.3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A1.3_T1; >-* @section: 15.10.2.10; >-* @assertion: The production CharacterEscape :: v evaluates by returning >-* the character \u000B; >-* @description: Use \v in RegExp and \u000B in tested string; >-*/ >- >-//CHECK#1 >-var arr = /\v/.exec("\u000B"); >-if ((arr === null) || (arr[0] !== "\u000B")) { >- testFailed('#1: var arr = /\\v/.exec("\\u000B"); arr[0] === "\\u000B". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\v\v/.exec("a\u000B\u000Bb"); >-if ((arr === null) || (arr[0] !== "\u000B\u000B")) { >- testFailed('#2: var arr = /\\v\\v/.exec("a\\u000B\\u000Bb"); arr[0] === "\\u000B\\u000B". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1-expected.txt >deleted file mode 100644 >index 447ebef8e3c..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1.html >deleted file mode 100644 >index 9612cdc0c61..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.4_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A1.4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A1.4_T1; >-* @section: 15.10.2.10; >-* @assertion: The production CharacterEscape :: f evaluates by returning >-* the character \u000C; >-* @description: Use \f in RegExp and \u000C in tested string; >-*/ >- >-//CHECK#1 >-var arr = /\f/.exec("\u000C"); >-if ((arr === null) || (arr[0] !== "\u000C")) { >- testFailed('#1: var arr = /\\f/.exec("\\u000C"); arr[0] === "\\u000C". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\f\f/.exec("a\u000C\u000Cb"); >-if ((arr === null) || (arr[0] !== "\u000C\u000C")) { >- testFailed('#2: var arr = /\\f\\f/.exec("a\\u000C\\u000Cb"); arr[0] === "\\u000C\\u000C". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1-expected.txt >deleted file mode 100644 >index 2c1ec7f52b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A1.5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1.html >deleted file mode 100644 >index e69f50b4303..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A1.5_T1.html >+++ /dev/null >@@ -1,105 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A1.5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A1.5_T1; >-* @section: 15.10.2.10; >-* @assertion: The production CharacterEscape :: r evaluates by returning >-* the character \u000D; >-* @description: Use \r in RegExp and \u000D in tested string; >-*/ >- >-//CHECK#1 >-var arr = /\r/.exec("\u000D"); >-if ((arr === null) || (arr[0] !== "\u000D")) { >- testFailed('#1: var arr = /\\r/.exec("\\u000D"); arr[0] === "\\u000D". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\r\r/.exec("a\u000D\u000Db"); >-if ((arr === null) || (arr[0] !== "\u000D\u000D")) { >- testFailed('#2: var arr = /\\r\\r/.exec("a\\u000D\\u000Db"); arr[0] === "\\u000D\\u000D". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1-expected.txt >deleted file mode 100644 >index 80091e9b23b..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1.html >deleted file mode 100644 >index 49e24199e33..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T1.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A2.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A2.1_T1; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: c ControlLetter; >-* @description: ControlLetter :: A - Z; >-*/ >- >-//CHECK#0041-005A >-var result = true; >-for (alpha = 0x0041; alpha <= 0x005A; alpha++) { >- str = String.fromCharCode(alpha % 32); >- arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: CharacterEscape :: c A - Z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2-expected.txt >deleted file mode 100644 >index 383929aba25..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2.html >deleted file mode 100644 >index 97eb8f09624..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T2.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A2.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A2.1_T2; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: c ControlLetter; >-* @description: ControlLetter :: a - z; >-*/ >- >-//CHECK#0061-007A >-var result = true; >-for (alpha = 0x0061; alpha <= 0x007A; alpha++) { >- str = String.fromCharCode(alpha % 32); >- arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: CharacterEscape :: c a - z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3-expected.txt >deleted file mode 100644 >index 41f3cf3c132..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3.html >deleted file mode 100644 >index 82e86eab77e..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A2.1_T3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A2.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A2.1_T3; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: c ControlLetter; >-* @description: ControlLetter :: RUSSIAN ALPHABET is incorrect; >-*/ >- >-//CHECK#0410-042F >-var result = true; >-for (alpha = 0x0410; alpha <= 0x042F; alpha++) { >- str = String.fromCharCode(alpha % 32); >- arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); >- if (arr !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: RUSSIAN CAPITAL ALPHABET is incorrect'); >-} >- >-//CHECK#0430-044F >-var result = true; >-for (alpha = 0x0430; alpha <= 0x044F; alpha++) { >- str = String.fromCharCode(alpha % 32); >- arr = (new RegExp("\\c" + String.fromCharCode(alpha))).exec(str); >- if (arr !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: russian small alphabet is incorrect'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1-expected.txt >deleted file mode 100644 >index f0ec2597615..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1.html >deleted file mode 100644 >index 8944e2d0cc3..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T1.html >+++ /dev/null >@@ -1,116 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A3.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A3.1_T1; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit; >-* @description: Tested string include equal unicode symbols; >-*/ >- >-//CHECK#0 >-var arr = /\x00/.exec("\u0000"); >-if ((arr === null) || (arr[0] !== "\u0000")) { >- testFailed('#0: var arr = /\\x00/.exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#1 >-var arr = /\x01/.exec("\u0001"); >-if ((arr === null) || (arr[0] !== "\u0001")) { >- testFailed('#1: var arr = /\\x01/.exec(\\u0001); arr[0] === "\\u0001". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\x0A/.exec("\u000A"); >-if ((arr === null) || (arr[0] !== "\u000A")) { >- testFailed('#2: var arr = /\\x0A/.exec(\\u000A); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#3 >-var arr = /\xFF/.exec("\u00FF"); >-if ((arr === null) || (arr[0] !== "\u00FF")) { >- testFailed('#3: var arr = /\\xFF/.exec(\\u00FF); arr[0] === "\\u00FF". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2-expected.txt >deleted file mode 100644 >index 24cdd8f6a43..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2.html >deleted file mode 100644 >index 81dc8f7caa2..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A3.1_T2.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A3.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A3.1_T2; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit; >-* @description: Checking ENGLISH CAPITAL ALPHABET and english small alphabet; >-*/ >- >-//CHECK#41-5A >-hex = ["\\x41", "\\x42", "\\x43", "\\x44", "\\x45", "\\x46", "\\x47", "\\x48", "\\x49", "\\x4A", "\\x4B", "\\x4C", "\\x4D", "\\x4E", "\\x4F", "\\x50", "\\x51", "\\x52", "\\x53", "\\x54", "\\x55", "\\x56", "\\x57", "\\x58", "\\x59", "\\x5A"]; >-character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; >-var result = true; >-for (index = 0; index < hex.length; index++) { >- arr = (new RegExp(hex[index])).exec(character[index]); >- if ((arr === null) || (arr[0] !== character[index])) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: ENGLISH CAPITAL ALPHABET'); >-} >- >-//CHECK#61-7A >-hex = ["\\x61", "\\x62", "\\x63", "\\x64", "\\x65", "\\x66", "\\x67", "\\x68", "\\x69", "\\x6A", "\\x6B", "\\x6C", "\\x6D", "\\x6E", "\\x6F", "\\x70", "\\x71", "\\x72", "\\x73", "\\x74", "\\x75", "\\x76", "\\x77", "\\x78", "\\x79", "\\x7A"]; >-character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; >-var result = true; >-for (index = 0; index < hex.length; index++) { >- arr = (new RegExp(hex[index])).exec(character[index]); >- if ((arr === null) || (arr[0] !== character[index])) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: english small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1-expected.txt >deleted file mode 100644 >index b69856bcef6..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1.html >deleted file mode 100644 >index 748e4b5b0bc..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T1.html >+++ /dev/null >@@ -1,128 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A4.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A4.1_T1; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; >-* @description: RegExp and tested string include uncode symbols; >-*/ >- >-//CHECK#0 >-var arr = /\u0000/.exec("\u0000"); >-if ((arr === null) || (arr[0] !== "\u0000")) { >- testFailed('#0: var arr = /\\u0000/.exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#1 >-var arr = /\u0001/.exec("\u0001"); >-if ((arr === null) || (arr[0] !== "\u0001")) { >- testFailed('#1: var arr = /\\u0001/.exec(\\u0001); arr[0] === "\\u0001". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\u000A/.exec("\u000A"); >-if ((arr === null) || (arr[0] !== "\u000A")) { >- testFailed('#2: var arr = /\\u000A/.exec(\\u000A); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#3 >-var arr = /\u00FF/.exec("\u00FF"); >-if ((arr === null) || (arr[0] !== "\u00FF")) { >- testFailed('#3: var arr = /\\u00FF/.exec(\\u00FF); arr[0] === "\\u00FF". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#4 >-var arr = /\u0FFF/.exec("\u0FFF"); >-if ((arr === null) || (arr[0] !== "\u0FFF")) { >- testFailed('#4: var arr = /\\u0FFF/.exec(\\u0FFF); arr[0] === "\\u0FFF". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#5 >-var arr = /\uFFFF/.exec("\uFFFF"); >-if ((arr === null) || (arr[0] !== "\uFFFF")) { >- testFailed('#5: var arr = /\\uFFFF/.exec(\\uFFFF); arr[0] === "\\uFFFF". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2-expected.txt >deleted file mode 100644 >index e06015e1c66..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2.html >deleted file mode 100644 >index df5b90b4646..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T2.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A4.1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A4.1_T2; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; >-* @description: Tested string include ENGLISH CAPITAL ALPHABET and english small alphabet; >-*/ >- >-//CHECK#41-5A >-hex = ["\\u0041", "\\u0042", "\\u0043", "\\u0044", "\\u0045", "\\u0046", "\\u0047", "\\u0048", "\\u0049", "\\u004A", "\\u004B", "\\u004C", "\\u004D", "\\u004E", "\\u004F", "\\u0050", "\\u0051", "\\u0052", "\\u0053", "\\u0054", "\\u0055", "\\u0056", "\\u0057", "\\u0058", "\\u0059", "\\u005A"]; >-character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; >-var result = true; >-for (index = 0; index < hex.length; index++) { >- arr = (new RegExp(hex[index])).exec(character[index]); >- if ((arr === null) || (arr[0] !== character[index])) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: ENGLISH CAPITAL ALPHABET'); >-} >- >-//CHECK#61-7A >-hex = ["\\u0061", "\\u0062", "\\u0063", "\\u0064", "\\u0065", "\\u0066", "\\u0067", "\\u0068", "\\u0069", "\\u006A", "\\u006B", "\\u006C", "\\u006D", "\\u006E", "\\u006F", "\\u0070", "\\u0071", "\\u0072", "\\u0073", "\\u0074", "\\u0075", "\\u0076", "\\u0077", "\\u0078", "\\u0079", "\\u007A"]; >-character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; >-var result = true; >-for (index = 0; index < hex.length; index++) { >- arr = (new RegExp(hex[index])).exec(character[index]); >- if ((arr === null) || (arr[0] !== character[index])) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: english small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3-expected.txt >deleted file mode 100644 >index c6a2bc5a0ca..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A4.1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3.html >deleted file mode 100644 >index 90ac7fdbe66..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A4.1_T3.html >+++ /dev/null >@@ -1,122 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A4.1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A4.1_T3; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit; >-* @description: Tested string include RUSSIAN CAPITAL ALPHABET and russian small alphabet in unicode notation; >-*/ >- >-//CHECK#0410-042F, 0401 >-hex = ["\\u0410", "\\u0411", "\\u0412", "\\u0413", "\\u0414", "\\u0415", "\\u0416", "\\u0417", "\\u0418", "\\u0419", "\\u041A", "\\u041B", "\\u041C", "\\u041D", "\\u041E", "\\u041F", "\\u0420", "\\u0421", "\\u0422", "\\u0423", "\\u0424", "\\u0425", "\\u0426", "\\u0427", "\\u0428", "\\u0429", "\\u042A", "\\u042B", "\\u042C", "\\u042D", "\\u042E", "\\u042F", "\\u0401"]; >-character = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u0416", "\u0417", "\u0418", "\u0419", "\u041A", "\u041B", "\u041C", "\u041D", "\u041E", "\u041F", "\u0420", "\u0421", "\u0422", "\u0423", "\u0424", "\u0425", "\u0426", "\u0427", "\u0428", "\u0429", "\u042A", "\u042B", "\u042C", "\u042D", "\u042E", "\u042F", "\u0401"]; >-var result = true; >-for (index = 0; index < hex.length; index++) { >- arr = (new RegExp(hex[index])).exec(character[index]); >- if ((arr === null) || (arr[0] !== character[index])) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: RUSSIAN CAPITAL ALPHABET'); >-} >- >-//CHECK#0430-044F, 0451 >-hex = ["\\u0430", "\\u0431", "\\u0432", "\\u0433", "\\u0434", "\\u0435", "\\u0436", "\\u0437", "\\u0438", "\\u0439", "\\u043A", "\\u043B", "\\u043C", "\\u043D", "\\u043E", "\\u043F", "\\u0440", "\\u0441", "\\u0442", "\\u0443", "\\u0444", "\\u0445", "\\u0446", "\\u0447", "\\u0448", "\\u0449", "\\u044A", "\\u044B", "\\u044C", "\\u044D", "\\u044E", "\\u044F", "\\u0451"]; >-character = ["\u0430", "\u0431", "\u0432", "\u0433", "\u0434", "\u0435", "\u0436", "\u0437", "\u0438", "\u0439", "\u043A", "\u043B", "\u043C", "\u043D", "\u043E", "\u043F", "\u0440", "\u0441", "\u0442", "\u0443", "\u0444", "\u0445", "\u0446", "\u0447", "\u0448", "\u0449", "\u044A", "\u044B", "\u044C", "\u044D", "\u044E", "\u044F", "\u0451"]; >-var result = true; >-for (index = 0; index < hex.length; index++) { >- arr = (new RegExp(hex[index])).exec(character[index]); >- if ((arr === null) || (arr[0] !== character[index])) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: russian small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1-expected.txt >deleted file mode 100644 >index cf1c349285e..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.10_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1.html >deleted file mode 100644 >index f1786cb9b81..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.10_CharacterEscape/S15.10.2.10_A5.1_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.10_A5.1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.10_A5.1_T1; >-* @section: 15.10.2.10; >-* @assertion: CharacterEscape :: IdentityEscapeSequence :: SourceCharacter but not IdentifierPart; >-* @description: Tested string is "~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; >-*/ >- >-//CHECK#1 >-var non_ident = "~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; >-var k = -1; >-do { >- k++; >- arr = new RegExp("\\" + non_ident[k], "g").exec(non_ident); >-} while ((arr !== null) && (arr[0] === non_ident[k])) >- >-if (non_ident.length !== k) { >- testFailed('#1: IdentityEscapeSequence :: SourceCharacter but not IdentifierPart'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1-expected.txt >deleted file mode 100644 >index eb923565bbe..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1.html >deleted file mode 100644 >index a8108bab3fa..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T1.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T1; >- * @section: 15.10.2.11; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: DecimalEscape :: 0. If i is zero, return the EscapeValue consisting of a <NUL> character (Unicodevalue0000); >-*/ >- >-//CHECK#1 >-var arr = /\0/.exec("\u0000"); >-if ((arr === null) || (arr[0] !== "\u0000")) { >- testFailed('#1: var arr = /\\0/.exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = (new RegExp("\\0")).exec("\u0000"); >-if ((arr === null) || (arr[0] !== "\u0000")) { >- testFailed('#2: var arr = (new RegExp("\\0")).exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2-expected.txt >deleted file mode 100644 >index 9ab333de4d0..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.html >deleted file mode 100644 >index 38821881bf6..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T2; >- * @section: 15.10.2.11; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression; >- * @negative; >-*/ >- >-/\1/.exec(""); >-/\2/.exec(""); >-/\3/.exec(""); >-/\4/.exec(""); >-/\5/.exec(""); >-/\6/.exec(""); >-/\7/.exec(""); >-/\8/.exec(""); >-/\9/.exec(""); >-/\10/.exec(""); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3-expected.txt >deleted file mode 100644 >index 1be9fa77fba..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T3 >- >-FAIL No error detected >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.html >deleted file mode 100644 >index d27a9d7498b..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.html >+++ /dev/null >@@ -1,95 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T3; >- * @section: 15.10.2.11; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression; >- * @negative; >-*/ >- >-/(?:A)\2/.exec("AA"); >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestPassed('Expected parsing failure'); >-else if (sputnikException) >- printTestPassed(sputnikException); >-else >- printTestFailed("No error detected"); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4-expected.txt >deleted file mode 100644 >index d6079626771..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4.html >deleted file mode 100644 >index 458c7699d4d..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T4.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T4; >- * @section: 15.10.2.11, 15.10.2.9; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: DecimalIntegerLiteral is not 0; >-*/ >- >-var arr = /(A)\1/.exec("AA"); >- >-//CHECK#1 >-if ((arr === null) || (arr[0] !== "AA")) { >- testFailed('#1: var arr = (/(A)\\1/.exec("AA")); arr[0] === "AA". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-if ((arr === null) || (arr[1] !== "A")) { >- testFailed('#2: var arr = (/(A)\\1/.exec("AA")); arr[1] === "A". Actual. ' + (arr && arr[1])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5-expected.txt >deleted file mode 100644 >index afdc81c8144..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5.html >deleted file mode 100644 >index bbcc4417b08..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T5.html >+++ /dev/null >@@ -1,104 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T5; >- * @section: 15.10.2.11, 15.10.2.9; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: DecimalIntegerLiteral is not 0; >-*/ >- >-var arr = /\1(A)/.exec("AA"); >- >-//CHECK#1 >-if ((arr === null) || (arr[0] !== "A")) { >- testFailed('#1: var arr = (/\\1(A)/.exec("AA")); arr[0] === "A". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-if ((arr === null) || (arr[1] !== "A")) { >- testFailed('#2: var arr = (/\\1(A)/.exec("AA")); arr[1] === "A". Actual. ' + (arr && arr[1])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6-expected.txt >deleted file mode 100644 >index 8860f3c11c6..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6.html >deleted file mode 100644 >index fbbee105e93..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T6.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T6; >- * @section: 15.10.2.11, 15.10.2.9; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: DecimalIntegerLiteral is not 0; >-*/ >- >-var arr = /(A)\1(B)\2/.exec("AABB"); >- >-//CHECK#1 >-if ((arr === null) || (arr[0] !== "AABB")) { >- testFailed('#1: var arr = /(A)\\1(B)\\2/.exec("AABB"); arr[0] === "AABB". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-if ((arr === null) || (arr[1] !== "A")) { >- testFailed('#2: var arr = /(A)\\1(B)\\2/.exec("AABB"); arr[1] === "A". Actual. ' + (arr && arr[1])); >-} >- >-//CHECK#3 >-if ((arr === null) || (arr[2] !== "B")) { >- testFailed('#3: var arr = /(A)\\1(B)\\2/.exec("AABB"); arr[2] === "B". Actual. ' + (arr && arr[2])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7-expected.txt >deleted file mode 100644 >index 2a7f63d0711..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7.html >deleted file mode 100644 >index aea5e753db4..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T7.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T7; >- * @section: 15.10.2.11, 15.10.2.9; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: DecimalIntegerLiteral is not 0; >-*/ >- >-var arr = /\1(A)(B)\2/.exec("ABB"); >- >-//CHECK#1 >-if ((arr === null) || (arr[0] !== "ABB")) { >- testFailed('#1: var arr = /\\1(A)(B)\\2/.exec("ABB"); arr[0] === "ABB". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-if ((arr === null) || (arr[1] !== "A")) { >- testFailed('#2: var arr = /\\1(A)(B)\\2/.exec("ABB"); arr[1] === "A". Actual. ' + (arr && arr[1])); >-} >- >-//CHECK#3 >-if ((arr === null) || (arr[2] !== "B")) { >- testFailed('#3: var arr = /\\1(A)(B)\\2/.exec("ABB"); arr[2] === "B". Actual. ' + (arr && arr[2])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8-expected.txt >deleted file mode 100644 >index dac24522c01..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8.html >deleted file mode 100644 >index 7cb7b245436..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T8.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T8; >- * @section: 15.10.2.11, 15.10.2.9; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: DecimalIntegerLiteral is not 0; >-*/ >- >-var arr = /((((((((((A))))))))))\1\2\3\4\5\6\7\8\9\10/.exec("AAAAAAAAAAA"); >- >-//CHECK#1 >-if ((arr === null) || (arr[0] !== "AAAAAAAAAAA")) { >- testFailed('#1: var arr = /((((((((((A))))))))))\\1\\2\\3\\4\\5\\6\\7\\8\\9\\10/.exec("AAAAAAAAAAA"); arr[0] === "AAAAAAAAAAA". Actual. ' + (arr && arr[0])); >-} >- >-for (i = 1; i <= 10; i++) { >- //CHECK#i >- if ((arr === null) || (arr[i] !== "A")) { >- testFailed('#2: var arr = /((((((((((A))))))))))\\1\\2\\3\\4\\5\\6\\7\\8\\9\\10/.exec("AAAAAAAAAAA"); arr[' + i + '] === "A". Actual. ' + (arr && arr[i])); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9-expected.txt >deleted file mode 100644 >index 62dd0f50393..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.11_A1_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9.html >deleted file mode 100644 >index 1ef5a948383..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T9.html >+++ /dev/null >@@ -1,106 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.11_A1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >- * @name: S15.10.2.11_A1_T9; >- * @section: 15.10.2.11, 15.10.2.9; >- * @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]; >- * @description: DecimalIntegerLiteral is not 0; >-*/ >- >-var arr = /((((((((((A))))))))))\10\9\8\7\6\5\4\3\2\1/.exec("AAAAAAAAAAA"); >- >-//CHECK#1 >-if ((arr === null) || (arr[0] !== "AAAAAAAAAAA")) { >- testFailed('#1: var arr = /((((((((((A))))))))))\\10\\9\\8\\7\\6\\5\\4\\3\\2\\1/.exec("AAAAAAAAAAA"); arr[0] === "AAAAAAAAAAA". Actual. ' + (arr && arr[0])); >-} >- >-for (i = 1; i <= 10; i++) { >- //CHECK#i >- if ((arr === null) || (arr[i] !== "A")) { >- testFailed('#2: var arr = /((((((((((A))))))))))\\10\\9\\8\\7\\6\\5\\4\\3\\2\\1/.exec("AAAAAAAAAAA"); arr[' + i + '] === "A". Actual. ' + (arr && arr[i])); >- } >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1-expected.txt >deleted file mode 100644 >index aec1b821816..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A1_T1 >- >-FAIL SputnikError: #6: Error matching character class s between character 1800 and 1bff >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1.html >deleted file mode 100644 >index 422dbb3e693..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1.html >+++ /dev/null >@@ -1,605 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A1_T1; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters >-* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; >-* @description: WhiteSpace >-*/ >- >-var i0 = ""; >-for (var j = 0; j < 1024; j++) >- i0 += String.fromCharCode(j); >-var o0 = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0021\u0022\u0023\u0024\u0025\u0026\u0027\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u003A\u003B\u003C\u003D\u003E\u003F\u0040\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005A\u005B\u005C\u005D\u005E\u005F\u0060\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006A\u006B\u006C\u006D\u006E\u006F\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007A\u007B\u007C\u007D\u007E\u007F\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008A\u008B\u008C\u008D\u008E\u008F\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009A\u009B\u009C\u009D\u009E\u009F\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AD\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF\u0100\u0101\u0102\u0103\u0104\u0105\u0106\u0107\u0108\u0109\u010A\u010B\u010C\u010D\u010E\u010F\u0110\u0111\u0112\u0113\u0114\u0115\u0116\u0117\u0118\u0119\u011A\u011B\u011C\u011D\u011E\u011F\u0120\u0121\u0122\u0123\u0124\u0125\u0126\u0127\u0128\u0129\u012A\u012B\u012C\u012D\u012E\u012F\u0130\u0131\u0132\u0133\u0134\u0135\u0136\u0137\u0138\u0139\u013A\u013B\u013C\u013D\u013E\u013F\u0140\u0141\u0142\u0143\u0144\u0145\u0146\u0147\u0148\u0149\u014A\u014B\u014C\u014D\u014E\u014F\u0150\u0151\u0152\u0153\u0154\u0155\u0156\u0157\u0158\u0159\u015A\u015B\u015C\u015D\u015E\u015F\u0160\u0161\u0162\u0163\u0164\u0165\u0166\u0167\u0168\u0169\u016A\u016B\u016C\u016D\u016E\u016F\u0170\u0171\u0172\u0173\u0174\u0175\u0176\u0177\u0178\u0179\u017A\u017B\u017C\u017D\u017E\u017F\u0180\u0181\u0182\u0183\u0184\u0185\u0186\u0187\u0188\u0189\u018A\u018B\u018C\u018D\u018E\u018F\u0190\u0191\u0192\u0193\u0194\u0195\u0196\u0197\u0198\u0199\u019A\u019B\u019C\u019D\u019E\u019F\u01A0\u01A1\u01A2\u01A3\u01A4\u01A5\u01A6\u01A7\u01A8\u01A9\u01AA\u01AB\u01AC\u01AD\u01AE\u01AF\u01B0\u01B1\u01B2\u01B3\u01B4\u01B5\u01B6\u01B7\u01B8\u01B9\u01BA\u01BB\u01BC\u01BD\u01BE\u01BF\u01C0\u01C1\u01C2\u01C3\u01C4\u01C5\u01C6\u01C7\u01C8\u01C9\u01CA\u01CB\u01CC\u01CD\u01CE\u01CF\u01D0\u01D1\u01D2\u01D3\u01D4\u01D5\u01D6\u01D7\u01D8\u01D9\u01DA\u01DB\u01DC\u01DD\u01DE\u01DF\u01E0\u01E1\u01E2\u01E3\u01E4\u01E5\u01E6\u01E7\u01E8\u01E9\u01EA\u01EB\u01EC\u01ED\u01EE\u01EF\u01F0\u01F1\u01F2\u01F3\u01F4\u01F5\u01F6\u01F7\u01F8\u01F9\u01FA\u01FB\u01FC\u01FD\u01FE\u01FF\u0200\u0201\u0202\u0203\u0204\u0205\u0206\u0207\u0208\u0209\u020A\u020B\u020C\u020D\u020E\u020F\u0210\u0211\u0212\u0213\u0214\u0215\u0216\u0217\u0218\u0219\u021A\u021B\u021C\u021D\u021E\u021F\u0220\u0221\u0222\u0223\u0224\u0225\u0226\u0227\u0228\u0229\u022A\u022B\u022C\u022D\u022E\u022F\u0230\u0231\u0232\u0233\u0234\u0235\u0236\u0237\u0238\u0239\u023A\u023B\u023C\u023D\u023E\u023F\u0240\u0241\u0242\u0243\u0244\u0245\u0246\u0247\u0248\u0249\u024A\u024B\u024C\u024D\u024E\u024F\u0250\u0251\u0252\u0253\u0254\u0255\u0256\u0257\u0258\u0259\u025A\u025B\u025C\u025D\u025E\u025F\u0260\u0261\u0262\u0263\u0264\u0265\u0266\u0267\u0268\u0269\u026A\u026B\u026C\u026D\u026E\u026F\u0270\u0271\u0272\u0273\u0274\u0275\u0276\u0277\u0278\u0279\u027A\u027B\u027C\u027D\u027E\u027F\u0280\u0281\u0282\u0283\u0284\u0285\u0286\u0287\u0288\u0289\u028A\u028B\u028C\u028D\u028E\u028F\u0290\u0291\u0292\u0293\u0294\u0295\u0296\u0297\u0298\u0299\u029A\u029B\u029C\u029D\u029E\u029F\u02A0\u02A1\u02A2\u02A3\u02A4\u02A5\u02A6\u02A7\u02A8\u02A9\u02AA\u02AB\u02AC\u02AD\u02AE\u02AF\u02B0\u02B1\u02B2\u02B3\u02B4\u02B5\u02B6\u02B7\u02B8\u02B9\u02BA\u02BB\u02BC\u02BD\u02BE\u02BF\u02C0\u02C1\u02C2\u02C3\u02C4\u02C5\u02C6\u02C7\u02C8\u02C9\u02CA\u02CB\u02CC\u02CD\u02CE\u02CF\u02D0\u02D1\u02D2\u02D3\u02D4\u02D5\u02D6\u02D7\u02D8\u02D9\u02DA\u02DB\u02DC\u02DD\u02DE\u02DF\u02E0\u02E1\u02E2\u02E3\u02E4\u02E5\u02E6\u02E7\u02E8\u02E9\u02EA\u02EB\u02EC\u02ED\u02EE\u02EF\u02F0\u02F1\u02F2\u02F3\u02F4\u02F5\u02F6\u02F7\u02F8\u02F9\u02FA\u02FB\u02FC\u02FD\u02FE\u02FF\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030A\u030B\u030C\u030D\u030E\u030F\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031A\u031B\u031C\u031D\u031E\u031F\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032A\u032B\u032C\u032D\u032E\u032F\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033A\u033B\u033C\u033D\u033E\u033F\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034A\u034B\u034C\u034D\u034E\u034F\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035A\u035B\u035C\u035D\u035E\u035F\u0360\u0361\u0362\u0363\u0364\u0365\u0366\u0367\u0368\u0369\u036A\u036B\u036C\u036D\u036E\u036F\u0370\u0371\u0372\u0373\u0374\u0375\u0376\u0377\u0378\u0379\u037A\u037B\u037C\u037D\u037E\u037F\u0380\u0381\u0382\u0383\u0384\u0385\u0386\u0387\u0388\u0389\u038A\u038B\u038C\u038D\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\u03A2\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\u03CF\u03D0\u03D1\u03D2\u03D3\u03D4\u03D5\u03D6\u03D7\u03D8\u03D9\u03DA\u03DB\u03DC\u03DD\u03DE\u03DF\u03E0\u03E1\u03E2\u03E3\u03E4\u03E5\u03E6\u03E7\u03E8\u03E9\u03EA\u03EB\u03EC\u03ED\u03EE\u03EF\u03F0\u03F1\u03F2\u03F3\u03F4\u03F5\u03F6\u03F7\u03F8\u03F9\u03FA\u03FB\u03FC\u03FD\u03FE\u03FF"; >-if (i0.replace(/\s+/g, "") !== o0) { >- testFailed("#0: Error matching character class \s between character 0 and 3ff"); >-} >- >-var i1 = ""; >-for (var j = 1024; j < 2048; j++) >- i1 += String.fromCharCode(j); >-var o1 = i1; >-if (i1.replace(/\s+/g, "") !== o1) { >- testFailed("#1: Error matching character class \s between character 400 and 7ff"); >-} >- >-var i2 = ""; >-for (var j = 2048; j < 3072; j++) >- i2 += String.fromCharCode(j); >-var o2 = i2; >-if (i2.replace(/\s+/g, "") !== o2) { >- testFailed("#2: Error matching character class \s between character 800 and bff"); >-} >- >-var i3 = ""; >-for (var j = 3072; j < 4096; j++) >- i3 += String.fromCharCode(j); >-var o3 = i3; >-if (i3.replace(/\s+/g, "") !== o3) { >- testFailed("#3: Error matching character class \s between character c00 and fff"); >-} >- >-var i4 = ""; >-for (var j = 4096; j < 5120; j++) >- i4 += String.fromCharCode(j); >-var o4 = i4; >-if (i4.replace(/\s+/g, "") !== o4) { >- testFailed("#4: Error matching character class \s between character 1000 and 13ff"); >-} >- >-var i5 = ""; >-for (var j = 5120; j < 6144; j++) >- i5 += String.fromCharCode(j); >-var o5 = "\u1400\u1401\u1402\u1403\u1404\u1405\u1406\u1407\u1408\u1409\u140A\u140B\u140C\u140D\u140E\u140F\u1410\u1411\u1412\u1413\u1414\u1415\u1416\u1417\u1418\u1419\u141A\u141B\u141C\u141D\u141E\u141F\u1420\u1421\u1422\u1423\u1424\u1425\u1426\u1427\u1428\u1429\u142A\u142B\u142C\u142D\u142E\u142F\u1430\u1431\u1432\u1433\u1434\u1435\u1436\u1437\u1438\u1439\u143A\u143B\u143C\u143D\u143E\u143F\u1440\u1441\u1442\u1443\u1444\u1445\u1446\u1447\u1448\u1449\u144A\u144B\u144C\u144D\u144E\u144F\u1450\u1451\u1452\u1453\u1454\u1455\u1456\u1457\u1458\u1459\u145A\u145B\u145C\u145D\u145E\u145F\u1460\u1461\u1462\u1463\u1464\u1465\u1466\u1467\u1468\u1469\u146A\u146B\u146C\u146D\u146E\u146F\u1470\u1471\u1472\u1473\u1474\u1475\u1476\u1477\u1478\u1479\u147A\u147B\u147C\u147D\u147E\u147F\u1480\u1481\u1482\u1483\u1484\u1485\u1486\u1487\u1488\u1489\u148A\u148B\u148C\u148D\u148E\u148F\u1490\u1491\u1492\u1493\u1494\u1495\u1496\u1497\u1498\u1499\u149A\u149B\u149C\u149D\u149E\u149F\u14A0\u14A1\u14A2\u14A3\u14A4\u14A5\u14A6\u14A7\u14A8\u14A9\u14AA\u14AB\u14AC\u14AD\u14AE\u14AF\u14B0\u14B1\u14B2\u14B3\u14B4\u14B5\u14B6\u14B7\u14B8\u14B9\u14BA\u14BB\u14BC\u14BD\u14BE\u14BF\u14C0\u14C1\u14C2\u14C3\u14C4\u14C5\u14C6\u14C7\u14C8\u14C9\u14CA\u14CB\u14CC\u14CD\u14CE\u14CF\u14D0\u14D1\u14D2\u14D3\u14D4\u14D5\u14D6\u14D7\u14D8\u14D9\u14DA\u14DB\u14DC\u14DD\u14DE\u14DF\u14E0\u14E1\u14E2\u14E3\u14E4\u14E5\u14E6\u14E7\u14E8\u14E9\u14EA\u14EB\u14EC\u14ED\u14EE\u14EF\u14F0\u14F1\u14F2\u14F3\u14F4\u14F5\u14F6\u14F7\u14F8\u14F9\u14FA\u14FB\u14FC\u14FD\u14FE\u14FF\u1500\u1501\u1502\u1503\u1504\u1505\u1506\u1507\u1508\u1509\u150A\u150B\u150C\u150D\u150E\u150F\u1510\u1511\u1512\u1513\u1514\u1515\u1516\u1517\u1518\u1519\u151A\u151B\u151C\u151D\u151E\u151F\u1520\u1521\u1522\u1523\u1524\u1525\u1526\u1527\u1528\u1529\u152A\u152B\u152C\u152D\u152E\u152F\u1530\u1531\u1532\u1533\u1534\u1535\u1536\u1537\u1538\u1539\u153A\u153B\u153C\u153D\u153E\u153F\u1540\u1541\u1542\u1543\u1544\u1545\u1546\u1547\u1548\u1549\u154A\u154B\u154C\u154D\u154E\u154F\u1550\u1551\u1552\u1553\u1554\u1555\u1556\u1557\u1558\u1559\u155A\u155B\u155C\u155D\u155E\u155F\u1560\u1561\u1562\u1563\u1564\u1565\u1566\u1567\u1568\u1569\u156A\u156B\u156C\u156D\u156E\u156F\u1570\u1571\u1572\u1573\u1574\u1575\u1576\u1577\u1578\u1579\u157A\u157B\u157C\u157D\u157E\u157F\u1580\u1581\u1582\u1583\u1584\u1585\u1586\u1587\u1588\u1589\u158A\u158B\u158C\u158D\u158E\u158F\u1590\u1591\u1592\u1593\u1594\u1595\u1596\u1597\u1598\u1599\u159A\u159B\u159C\u159D\u159E\u159F\u15A0\u15A1\u15A2\u15A3\u15A4\u15A5\u15A6\u15A7\u15A8\u15A9\u15AA\u15AB\u15AC\u15AD\u15AE\u15AF\u15B0\u15B1\u15B2\u15B3\u15B4\u15B5\u15B6\u15B7\u15B8\u15B9\u15BA\u15BB\u15BC\u15BD\u15BE\u15BF\u15C0\u15C1\u15C2\u15C3\u15C4\u15C5\u15C6\u15C7\u15C8\u15C9\u15CA\u15CB\u15CC\u15CD\u15CE\u15CF\u15D0\u15D1\u15D2\u15D3\u15D4\u15D5\u15D6\u15D7\u15D8\u15D9\u15DA\u15DB\u15DC\u15DD\u15DE\u15DF\u15E0\u15E1\u15E2\u15E3\u15E4\u15E5\u15E6\u15E7\u15E8\u15E9\u15EA\u15EB\u15EC\u15ED\u15EE\u15EF\u15F0\u15F1\u15F2\u15F3\u15F4\u15F5\u15F6\u15F7\u15F8\u15F9\u15FA\u15FB\u15FC\u15FD\u15FE\u15FF\u1600\u1601\u1602\u1603\u1604\u1605\u1606\u1607\u1608\u1609\u160A\u160B\u160C\u160D\u160E\u160F\u1610\u1611\u1612\u1613\u1614\u1615\u1616\u1617\u1618\u1619\u161A\u161B\u161C\u161D\u161E\u161F\u1620\u1621\u1622\u1623\u1624\u1625\u1626\u1627\u1628\u1629\u162A\u162B\u162C\u162D\u162E\u162F\u1630\u1631\u1632\u1633\u1634\u1635\u1636\u1637\u1638\u1639\u163A\u163B\u163C\u163D\u163E\u163F\u1640\u1641\u1642\u1643\u1644\u1645\u1646\u1647\u1648\u1649\u164A\u164B\u164C\u164D\u164E\u164F\u1650\u1651\u1652\u1653\u1654\u1655\u1656\u1657\u1658\u1659\u165A\u165B\u165C\u165D\u165E\u165F\u1660\u1661\u1662\u1663\u1664\u1665\u1666\u1667\u1668\u1669\u166A\u166B\u166C\u166D\u166E\u166F\u1670\u1671\u1672\u1673\u1674\u1675\u1676\u1677\u1678\u1679\u167A\u167B\u167C\u167D\u167E\u167F\u1681\u1682\u1683\u1684\u1685\u1686\u1687\u1688\u1689\u168A\u168B\u168C\u168D\u168E\u168F\u1690\u1691\u1692\u1693\u1694\u1695\u1696\u1697\u1698\u1699\u169A\u169B\u169C\u169D\u169E\u169F\u16A0\u16A1\u16A2\u16A3\u16A4\u16A5\u16A6\u16A7\u16A8\u16A9\u16AA\u16AB\u16AC\u16AD\u16AE\u16AF\u16B0\u16B1\u16B2\u16B3\u16B4\u16B5\u16B6\u16B7\u16B8\u16B9\u16BA\u16BB\u16BC\u16BD\u16BE\u16BF\u16C0\u16C1\u16C2\u16C3\u16C4\u16C5\u16C6\u16C7\u16C8\u16C9\u16CA\u16CB\u16CC\u16CD\u16CE\u16CF\u16D0\u16D1\u16D2\u16D3\u16D4\u16D5\u16D6\u16D7\u16D8\u16D9\u16DA\u16DB\u16DC\u16DD\u16DE\u16DF\u16E0\u16E1\u16E2\u16E3\u16E4\u16E5\u16E6\u16E7\u16E8\u16E9\u16EA\u16EB\u16EC\u16ED\u16EE\u16EF\u16F0\u16F1\u16F2\u16F3\u16F4\u16F5\u16F6\u16F7\u16F8\u16F9\u16FA\u16FB\u16FC\u16FD\u16FE\u16FF\u1700\u1701\u1702\u1703\u1704\u1705\u1706\u1707\u1708\u1709\u170A\u170B\u170C\u170D\u170E\u170F\u1710\u1711\u1712\u1713\u1714\u1715\u1716\u1717\u1718\u1719\u171A\u171B\u171C\u171D\u171E\u171F\u1720\u1721\u1722\u1723\u1724\u1725\u1726\u1727\u1728\u1729\u172A\u172B\u172C\u172D\u172E\u172F\u1730\u1731\u1732\u1733\u1734\u1735\u1736\u1737\u1738\u1739\u173A\u173B\u173C\u173D\u173E\u173F\u1740\u1741\u1742\u1743\u1744\u1745\u1746\u1747\u1748\u1749\u174A\u174B\u174C\u174D\u174E\u174F\u1750\u1751\u1752\u1753\u1754\u1755\u1756\u1757\u1758\u1759\u175A\u175B\u175C\u175D\u175E\u175F\u1760\u1761\u1762\u1763\u1764\u1765\u1766\u1767\u1768\u1769\u176A\u176B\u176C\u176D\u176E\u176F\u1770\u1771\u1772\u1773\u1774\u1775\u1776\u1777\u1778\u1779\u177A\u177B\u177C\u177D\u177E\u177F\u1780\u1781\u1782\u1783\u1784\u1785\u1786\u1787\u1788\u1789\u178A\u178B\u178C\u178D\u178E\u178F\u1790\u1791\u1792\u1793\u1794\u1795\u1796\u1797\u1798\u1799\u179A\u179B\u179C\u179D\u179E\u179F\u17A0\u17A1\u17A2\u17A3\u17A4\u17A5\u17A6\u17A7\u17A8\u17A9\u17AA\u17AB\u17AC\u17AD\u17AE\u17AF\u17B0\u17B1\u17B2\u17B3\u17B4\u17B5\u17B6\u17B7\u17B8\u17B9\u17BA\u17BB\u17BC\u17BD\u17BE\u17BF\u17C0\u17C1\u17C2\u17C3\u17C4\u17C5\u17C6\u17C7\u17C8\u17C9\u17CA\u17CB\u17CC\u17CD\u17CE\u17CF\u17D0\u17D1\u17D2\u17D3\u17D4\u17D5\u17D6\u17D7\u17D8\u17D9\u17DA\u17DB\u17DC\u17DD\u17DE\u17DF\u17E0\u17E1\u17E2\u17E3\u17E4\u17E5\u17E6\u17E7\u17E8\u17E9\u17EA\u17EB\u17EC\u17ED\u17EE\u17EF\u17F0\u17F1\u17F2\u17F3\u17F4\u17F5\u17F6\u17F7\u17F8\u17F9\u17FA\u17FB\u17FC\u17FD\u17FE\u17FF"; >-if (i5.replace(/\s+/g, "") !== o5) { >- testFailed("#5: Error matching character class \s between character 1400 and 17ff"); >-} >- >-var i6 = ""; >-for (var j = 6144; j < 7168; j++) >- i6 += String.fromCharCode(j); >-var o6 = "\u1800\u1801\u1802\u1803\u1804\u1805\u1806\u1807\u1808\u1809\u180A\u180B\u180C\u180D\u180F\u1810\u1811\u1812\u1813\u1814\u1815\u1816\u1817\u1818\u1819\u181A\u181B\u181C\u181D\u181E\u181F\u1820\u1821\u1822\u1823\u1824\u1825\u1826\u1827\u1828\u1829\u182A\u182B\u182C\u182D\u182E\u182F\u1830\u1831\u1832\u1833\u1834\u1835\u1836\u1837\u1838\u1839\u183A\u183B\u183C\u183D\u183E\u183F\u1840\u1841\u1842\u1843\u1844\u1845\u1846\u1847\u1848\u1849\u184A\u184B\u184C\u184D\u184E\u184F\u1850\u1851\u1852\u1853\u1854\u1855\u1856\u1857\u1858\u1859\u185A\u185B\u185C\u185D\u185E\u185F\u1860\u1861\u1862\u1863\u1864\u1865\u1866\u1867\u1868\u1869\u186A\u186B\u186C\u186D\u186E\u186F\u1870\u1871\u1872\u1873\u1874\u1875\u1876\u1877\u1878\u1879\u187A\u187B\u187C\u187D\u187E\u187F\u1880\u1881\u1882\u1883\u1884\u1885\u1886\u1887\u1888\u1889\u188A\u188B\u188C\u188D\u188E\u188F\u1890\u1891\u1892\u1893\u1894\u1895\u1896\u1897\u1898\u1899\u189A\u189B\u189C\u189D\u189E\u189F\u18A0\u18A1\u18A2\u18A3\u18A4\u18A5\u18A6\u18A7\u18A8\u18A9\u18AA\u18AB\u18AC\u18AD\u18AE\u18AF\u18B0\u18B1\u18B2\u18B3\u18B4\u18B5\u18B6\u18B7\u18B8\u18B9\u18BA\u18BB\u18BC\u18BD\u18BE\u18BF\u18C0\u18C1\u18C2\u18C3\u18C4\u18C5\u18C6\u18C7\u18C8\u18C9\u18CA\u18CB\u18CC\u18CD\u18CE\u18CF\u18D0\u18D1\u18D2\u18D3\u18D4\u18D5\u18D6\u18D7\u18D8\u18D9\u18DA\u18DB\u18DC\u18DD\u18DE\u18DF\u18E0\u18E1\u18E2\u18E3\u18E4\u18E5\u18E6\u18E7\u18E8\u18E9\u18EA\u18EB\u18EC\u18ED\u18EE\u18EF\u18F0\u18F1\u18F2\u18F3\u18F4\u18F5\u18F6\u18F7\u18F8\u18F9\u18FA\u18FB\u18FC\u18FD\u18FE\u18FF\u1900\u1901\u1902\u1903\u1904\u1905\u1906\u1907\u1908\u1909\u190A\u190B\u190C\u190D\u190E\u190F\u1910\u1911\u1912\u1913\u1914\u1915\u1916\u1917\u1918\u1919\u191A\u191B\u191C\u191D\u191E\u191F\u1920\u1921\u1922\u1923\u1924\u1925\u1926\u1927\u1928\u1929\u192A\u192B\u192C\u192D\u192E\u192F\u1930\u1931\u1932\u1933\u1934\u1935\u1936\u1937\u1938\u1939\u193A\u193B\u193C\u193D\u193E\u193F\u1940\u1941\u1942\u1943\u1944\u1945\u1946\u1947\u1948\u1949\u194A\u194B\u194C\u194D\u194E\u194F\u1950\u1951\u1952\u1953\u1954\u1955\u1956\u1957\u1958\u1959\u195A\u195B\u195C\u195D\u195E\u195F\u1960\u1961\u1962\u1963\u1964\u1965\u1966\u1967\u1968\u1969\u196A\u196B\u196C\u196D\u196E\u196F\u1970\u1971\u1972\u1973\u1974\u1975\u1976\u1977\u1978\u1979\u197A\u197B\u197C\u197D\u197E\u197F\u1980\u1981\u1982\u1983\u1984\u1985\u1986\u1987\u1988\u1989\u198A\u198B\u198C\u198D\u198E\u198F\u1990\u1991\u1992\u1993\u1994\u1995\u1996\u1997\u1998\u1999\u199A\u199B\u199C\u199D\u199E\u199F\u19A0\u19A1\u19A2\u19A3\u19A4\u19A5\u19A6\u19A7\u19A8\u19A9\u19AA\u19AB\u19AC\u19AD\u19AE\u19AF\u19B0\u19B1\u19B2\u19B3\u19B4\u19B5\u19B6\u19B7\u19B8\u19B9\u19BA\u19BB\u19BC\u19BD\u19BE\u19BF\u19C0\u19C1\u19C2\u19C3\u19C4\u19C5\u19C6\u19C7\u19C8\u19C9\u19CA\u19CB\u19CC\u19CD\u19CE\u19CF\u19D0\u19D1\u19D2\u19D3\u19D4\u19D5\u19D6\u19D7\u19D8\u19D9\u19DA\u19DB\u19DC\u19DD\u19DE\u19DF\u19E0\u19E1\u19E2\u19E3\u19E4\u19E5\u19E6\u19E7\u19E8\u19E9\u19EA\u19EB\u19EC\u19ED\u19EE\u19EF\u19F0\u19F1\u19F2\u19F3\u19F4\u19F5\u19F6\u19F7\u19F8\u19F9\u19FA\u19FB\u19FC\u19FD\u19FE\u19FF\u1A00\u1A01\u1A02\u1A03\u1A04\u1A05\u1A06\u1A07\u1A08\u1A09\u1A0A\u1A0B\u1A0C\u1A0D\u1A0E\u1A0F\u1A10\u1A11\u1A12\u1A13\u1A14\u1A15\u1A16\u1A17\u1A18\u1A19\u1A1A\u1A1B\u1A1C\u1A1D\u1A1E\u1A1F\u1A20\u1A21\u1A22\u1A23\u1A24\u1A25\u1A26\u1A27\u1A28\u1A29\u1A2A\u1A2B\u1A2C\u1A2D\u1A2E\u1A2F\u1A30\u1A31\u1A32\u1A33\u1A34\u1A35\u1A36\u1A37\u1A38\u1A39\u1A3A\u1A3B\u1A3C\u1A3D\u1A3E\u1A3F\u1A40\u1A41\u1A42\u1A43\u1A44\u1A45\u1A46\u1A47\u1A48\u1A49\u1A4A\u1A4B\u1A4C\u1A4D\u1A4E\u1A4F\u1A50\u1A51\u1A52\u1A53\u1A54\u1A55\u1A56\u1A57\u1A58\u1A59\u1A5A\u1A5B\u1A5C\u1A5D\u1A5E\u1A5F\u1A60\u1A61\u1A62\u1A63\u1A64\u1A65\u1A66\u1A67\u1A68\u1A69\u1A6A\u1A6B\u1A6C\u1A6D\u1A6E\u1A6F\u1A70\u1A71\u1A72\u1A73\u1A74\u1A75\u1A76\u1A77\u1A78\u1A79\u1A7A\u1A7B\u1A7C\u1A7D\u1A7E\u1A7F\u1A80\u1A81\u1A82\u1A83\u1A84\u1A85\u1A86\u1A87\u1A88\u1A89\u1A8A\u1A8B\u1A8C\u1A8D\u1A8E\u1A8F\u1A90\u1A91\u1A92\u1A93\u1A94\u1A95\u1A96\u1A97\u1A98\u1A99\u1A9A\u1A9B\u1A9C\u1A9D\u1A9E\u1A9F\u1AA0\u1AA1\u1AA2\u1AA3\u1AA4\u1AA5\u1AA6\u1AA7\u1AA8\u1AA9\u1AAA\u1AAB\u1AAC\u1AAD\u1AAE\u1AAF\u1AB0\u1AB1\u1AB2\u1AB3\u1AB4\u1AB5\u1AB6\u1AB7\u1AB8\u1AB9\u1ABA\u1ABB\u1ABC\u1ABD\u1ABE\u1ABF\u1AC0\u1AC1\u1AC2\u1AC3\u1AC4\u1AC5\u1AC6\u1AC7\u1AC8\u1AC9\u1ACA\u1ACB\u1ACC\u1ACD\u1ACE\u1ACF\u1AD0\u1AD1\u1AD2\u1AD3\u1AD4\u1AD5\u1AD6\u1AD7\u1AD8\u1AD9\u1ADA\u1ADB\u1ADC\u1ADD\u1ADE\u1ADF\u1AE0\u1AE1\u1AE2\u1AE3\u1AE4\u1AE5\u1AE6\u1AE7\u1AE8\u1AE9\u1AEA\u1AEB\u1AEC\u1AED\u1AEE\u1AEF\u1AF0\u1AF1\u1AF2\u1AF3\u1AF4\u1AF5\u1AF6\u1AF7\u1AF8\u1AF9\u1AFA\u1AFB\u1AFC\u1AFD\u1AFE\u1AFF\u1B00\u1B01\u1B02\u1B03\u1B04\u1B05\u1B06\u1B07\u1B08\u1B09\u1B0A\u1B0B\u1B0C\u1B0D\u1B0E\u1B0F\u1B10\u1B11\u1B12\u1B13\u1B14\u1B15\u1B16\u1B17\u1B18\u1B19\u1B1A\u1B1B\u1B1C\u1B1D\u1B1E\u1B1F\u1B20\u1B21\u1B22\u1B23\u1B24\u1B25\u1B26\u1B27\u1B28\u1B29\u1B2A\u1B2B\u1B2C\u1B2D\u1B2E\u1B2F\u1B30\u1B31\u1B32\u1B33\u1B34\u1B35\u1B36\u1B37\u1B38\u1B39\u1B3A\u1B3B\u1B3C\u1B3D\u1B3E\u1B3F\u1B40\u1B41\u1B42\u1B43\u1B44\u1B45\u1B46\u1B47\u1B48\u1B49\u1B4A\u1B4B\u1B4C\u1B4D\u1B4E\u1B4F\u1B50\u1B51\u1B52\u1B53\u1B54\u1B55\u1B56\u1B57\u1B58\u1B59\u1B5A\u1B5B\u1B5C\u1B5D\u1B5E\u1B5F\u1B60\u1B61\u1B62\u1B63\u1B64\u1B65\u1B66\u1B67\u1B68\u1B69\u1B6A\u1B6B\u1B6C\u1B6D\u1B6E\u1B6F\u1B70\u1B71\u1B72\u1B73\u1B74\u1B75\u1B76\u1B77\u1B78\u1B79\u1B7A\u1B7B\u1B7C\u1B7D\u1B7E\u1B7F\u1B80\u1B81\u1B82\u1B83\u1B84\u1B85\u1B86\u1B87\u1B88\u1B89\u1B8A\u1B8B\u1B8C\u1B8D\u1B8E\u1B8F\u1B90\u1B91\u1B92\u1B93\u1B94\u1B95\u1B96\u1B97\u1B98\u1B99\u1B9A\u1B9B\u1B9C\u1B9D\u1B9E\u1B9F\u1BA0\u1BA1\u1BA2\u1BA3\u1BA4\u1BA5\u1BA6\u1BA7\u1BA8\u1BA9\u1BAA\u1BAB\u1BAC\u1BAD\u1BAE\u1BAF\u1BB0\u1BB1\u1BB2\u1BB3\u1BB4\u1BB5\u1BB6\u1BB7\u1BB8\u1BB9\u1BBA\u1BBB\u1BBC\u1BBD\u1BBE\u1BBF\u1BC0\u1BC1\u1BC2\u1BC3\u1BC4\u1BC5\u1BC6\u1BC7\u1BC8\u1BC9\u1BCA\u1BCB\u1BCC\u1BCD\u1BCE\u1BCF\u1BD0\u1BD1\u1BD2\u1BD3\u1BD4\u1BD5\u1BD6\u1BD7\u1BD8\u1BD9\u1BDA\u1BDB\u1BDC\u1BDD\u1BDE\u1BDF\u1BE0\u1BE1\u1BE2\u1BE3\u1BE4\u1BE5\u1BE6\u1BE7\u1BE8\u1BE9\u1BEA\u1BEB\u1BEC\u1BED\u1BEE\u1BEF\u1BF0\u1BF1\u1BF2\u1BF3\u1BF4\u1BF5\u1BF6\u1BF7\u1BF8\u1BF9\u1BFA\u1BFB\u1BFC\u1BFD\u1BFE\u1BFF"; >-if (i6.replace(/\s+/g, "") !== o6) { >- testFailed("#6: Error matching character class \s between character 1800 and 1bff"); >-} >- >-var i7 = ""; >-for (var j = 7168; j < 8192; j++) >- i7 += String.fromCharCode(j); >-var o7 = i7; >-if (i7.replace(/\s+/g, "") !== o7) { >- testFailed("#7: Error matching character class \s between character 1c00 and 1fff"); >-} >- >-var i8 = ""; >-for (var j = 8192; j < 9216; j++) >- i8 += String.fromCharCode(j); >-var o8 = "\u200B\u200C\u200D\u200E\u200F\u2010\u2011\u2012\u2013\u2014\u2015\u2016\u2017\u2018\u2019\u201A\u201B\u201C\u201D\u201E\u201F\u2020\u2021\u2022\u2023\u2024\u2025\u2026\u2027\u202A\u202B\u202C\u202D\u202E\u2030\u2031\u2032\u2033\u2034\u2035\u2036\u2037\u2038\u2039\u203A\u203B\u203C\u203D\u203E\u203F\u2040\u2041\u2042\u2043\u2044\u2045\u2046\u2047\u2048\u2049\u204A\u204B\u204C\u204D\u204E\u204F\u2050\u2051\u2052\u2053\u2054\u2055\u2056\u2057\u2058\u2059\u205A\u205B\u205C\u205D\u205E\u2060\u2061\u2062\u2063\u2064\u2065\u2066\u2067\u2068\u2069\u206A\u206B\u206C\u206D\u206E\u206F\u2070\u2071\u2072\u2073\u2074\u2075\u2076\u2077\u2078\u2079\u207A\u207B\u207C\u207D\u207E\u207F\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u208A\u208B\u208C\u208D\u208E\u208F\u2090\u2091\u2092\u2093\u2094\u2095\u2096\u2097\u2098\u2099\u209A\u209B\u209C\u209D\u209E\u209F\u20A0\u20A1\u20A2\u20A3\u20A4\u20A5\u20A6\u20A7\u20A8\u20A9\u20AA\u20AB\u20AC\u20AD\u20AE\u20AF\u20B0\u20B1\u20B2\u20B3\u20B4\u20B5\u20B6\u20B7\u20B8\u20B9\u20BA\u20BB\u20BC\u20BD\u20BE\u20BF\u20C0\u20C1\u20C2\u20C3\u20C4\u20C5\u20C6\u20C7\u20C8\u20C9\u20CA\u20CB\u20CC\u20CD\u20CE\u20CF\u20D0\u20D1\u20D2\u20D3\u20D4\u20D5\u20D6\u20D7\u20D8\u20D9\u20DA\u20DB\u20DC\u20DD\u20DE\u20DF\u20E0\u20E1\u20E2\u20E3\u20E4\u20E5\u20E6\u20E7\u20E8\u20E9\u20EA\u20EB\u20EC\u20ED\u20EE\u20EF\u20F0\u20F1\u20F2\u20F3\u20F4\u20F5\u20F6\u20F7\u20F8\u20F9\u20FA\u20FB\u20FC\u20FD\u20FE\u20FF\u2100\u2101\u2102\u2103\u2104\u2105\u2106\u2107\u2108\u2109\u210A\u210B\u210C\u210D\u210E\u210F\u2110\u2111\u2112\u2113\u2114\u2115\u2116\u2117\u2118\u2119\u211A\u211B\u211C\u211D\u211E\u211F\u2120\u2121\u2122\u2123\u2124\u2125\u2126\u2127\u2128\u2129\u212A\u212B\u212C\u212D\u212E\u212F\u2130\u2131\u2132\u2133\u2134\u2135\u2136\u2137\u2138\u2139\u213A\u213B\u213C\u213D\u213E\u213F\u2140\u2141\u2142\u2143\u2144\u2145\u2146\u2147\u2148\u2149\u214A\u214B\u214C\u214D\u214E\u214F\u2150\u2151\u2152\u2153\u2154\u2155\u2156\u2157\u2158\u2159\u215A\u215B\u215C\u215D\u215E\u215F\u2160\u2161\u2162\u2163\u2164\u2165\u2166\u2167\u2168\u2169\u216A\u216B\u216C\u216D\u216E\u216F\u2170\u2171\u2172\u2173\u2174\u2175\u2176\u2177\u2178\u2179\u217A\u217B\u217C\u217D\u217E\u217F\u2180\u2181\u2182\u2183\u2184\u2185\u2186\u2187\u2188\u2189\u218A\u218B\u218C\u218D\u218E\u218F\u2190\u2191\u2192\u2193\u2194\u2195\u2196\u2197\u2198\u2199\u219A\u219B\u219C\u219D\u219E\u219F\u21A0\u21A1\u21A2\u21A3\u21A4\u21A5\u21A6\u21A7\u21A8\u21A9\u21AA\u21AB\u21AC\u21AD\u21AE\u21AF\u21B0\u21B1\u21B2\u21B3\u21B4\u21B5\u21B6\u21B7\u21B8\u21B9\u21BA\u21BB\u21BC\u21BD\u21BE\u21BF\u21C0\u21C1\u21C2\u21C3\u21C4\u21C5\u21C6\u21C7\u21C8\u21C9\u21CA\u21CB\u21CC\u21CD\u21CE\u21CF\u21D0\u21D1\u21D2\u21D3\u21D4\u21D5\u21D6\u21D7\u21D8\u21D9\u21DA\u21DB\u21DC\u21DD\u21DE\u21DF\u21E0\u21E1\u21E2\u21E3\u21E4\u21E5\u21E6\u21E7\u21E8\u21E9\u21EA\u21EB\u21EC\u21ED\u21EE\u21EF\u21F0\u21F1\u21F2\u21F3\u21F4\u21F5\u21F6\u21F7\u21F8\u21F9\u21FA\u21FB\u21FC\u21FD\u21FE\u21FF\u2200\u2201\u2202\u2203\u2204\u2205\u2206\u2207\u2208\u2209\u220A\u220B\u220C\u220D\u220E\u220F\u2210\u2211\u2212\u2213\u2214\u2215\u2216\u2217\u2218\u2219\u221A\u221B\u221C\u221D\u221E\u221F\u2220\u2221\u2222\u2223\u2224\u2225\u2226\u2227\u2228\u2229\u222A\u222B\u222C\u222D\u222E\u222F\u2230\u2231\u2232\u2233\u2234\u2235\u2236\u2237\u2238\u2239\u223A\u223B\u223C\u223D\u223E\u223F\u2240\u2241\u2242\u2243\u2244\u2245\u2246\u2247\u2248\u2249\u224A\u224B\u224C\u224D\u224E\u224F\u2250\u2251\u2252\u2253\u2254\u2255\u2256\u2257\u2258\u2259\u225A\u225B\u225C\u225D\u225E\u225F\u2260\u2261\u2262\u2263\u2264\u2265\u2266\u2267\u2268\u2269\u226A\u226B\u226C\u226D\u226E\u226F\u2270\u2271\u2272\u2273\u2274\u2275\u2276\u2277\u2278\u2279\u227A\u227B\u227C\u227D\u227E\u227F\u2280\u2281\u2282\u2283\u2284\u2285\u2286\u2287\u2288\u2289\u228A\u228B\u228C\u228D\u228E\u228F\u2290\u2291\u2292\u2293\u2294\u2295\u2296\u2297\u2298\u2299\u229A\u229B\u229C\u229D\u229E\u229F\u22A0\u22A1\u22A2\u22A3\u22A4\u22A5\u22A6\u22A7\u22A8\u22A9\u22AA\u22AB\u22AC\u22AD\u22AE\u22AF\u22B0\u22B1\u22B2\u22B3\u22B4\u22B5\u22B6\u22B7\u22B8\u22B9\u22BA\u22BB\u22BC\u22BD\u22BE\u22BF\u22C0\u22C1\u22C2\u22C3\u22C4\u22C5\u22C6\u22C7\u22C8\u22C9\u22CA\u22CB\u22CC\u22CD\u22CE\u22CF\u22D0\u22D1\u22D2\u22D3\u22D4\u22D5\u22D6\u22D7\u22D8\u22D9\u22DA\u22DB\u22DC\u22DD\u22DE\u22DF\u22E0\u22E1\u22E2\u22E3\u22E4\u22E5\u22E6\u22E7\u22E8\u22E9\u22EA\u22EB\u22EC\u22ED\u22EE\u22EF\u22F0\u22F1\u22F2\u22F3\u22F4\u22F5\u22F6\u22F7\u22F8\u22F9\u22FA\u22FB\u22FC\u22FD\u22FE\u22FF\u2300\u2301\u2302\u2303\u2304\u2305\u2306\u2307\u2308\u2309\u230A\u230B\u230C\u230D\u230E\u230F\u2310\u2311\u2312\u2313\u2314\u2315\u2316\u2317\u2318\u2319\u231A\u231B\u231C\u231D\u231E\u231F\u2320\u2321\u2322\u2323\u2324\u2325\u2326\u2327\u2328\u2329\u232A\u232B\u232C\u232D\u232E\u232F\u2330\u2331\u2332\u2333\u2334\u2335\u2336\u2337\u2338\u2339\u233A\u233B\u233C\u233D\u233E\u233F\u2340\u2341\u2342\u2343\u2344\u2345\u2346\u2347\u2348\u2349\u234A\u234B\u234C\u234D\u234E\u234F\u2350\u2351\u2352\u2353\u2354\u2355\u2356\u2357\u2358\u2359\u235A\u235B\u235C\u235D\u235E\u235F\u2360\u2361\u2362\u2363\u2364\u2365\u2366\u2367\u2368\u2369\u236A\u236B\u236C\u236D\u236E\u236F\u2370\u2371\u2372\u2373\u2374\u2375\u2376\u2377\u2378\u2379\u237A\u237B\u237C\u237D\u237E\u237F\u2380\u2381\u2382\u2383\u2384\u2385\u2386\u2387\u2388\u2389\u238A\u238B\u238C\u238D\u238E\u238F\u2390\u2391\u2392\u2393\u2394\u2395\u2396\u2397\u2398\u2399\u239A\u239B\u239C\u239D\u239E\u239F\u23A0\u23A1\u23A2\u23A3\u23A4\u23A5\u23A6\u23A7\u23A8\u23A9\u23AA\u23AB\u23AC\u23AD\u23AE\u23AF\u23B0\u23B1\u23B2\u23B3\u23B4\u23B5\u23B6\u23B7\u23B8\u23B9\u23BA\u23BB\u23BC\u23BD\u23BE\u23BF\u23C0\u23C1\u23C2\u23C3\u23C4\u23C5\u23C6\u23C7\u23C8\u23C9\u23CA\u23CB\u23CC\u23CD\u23CE\u23CF\u23D0\u23D1\u23D2\u23D3\u23D4\u23D5\u23D6\u23D7\u23D8\u23D9\u23DA\u23DB\u23DC\u23DD\u23DE\u23DF\u23E0\u23E1\u23E2\u23E3\u23E4\u23E5\u23E6\u23E7\u23E8\u23E9\u23EA\u23EB\u23EC\u23ED\u23EE\u23EF\u23F0\u23F1\u23F2\u23F3\u23F4\u23F5\u23F6\u23F7\u23F8\u23F9\u23FA\u23FB\u23FC\u23FD\u23FE\u23FF"; >-if (i8.replace(/\s+/g, "") !== o8) { >- testFailed("#8: Error matching character class \s between character 2000 and 23ff"); >-} >- >-var i9 = ""; >-for (var j = 9216; j < 10240; j++) >- i9 += String.fromCharCode(j); >-var o9 = i9; >-if (i9.replace(/\s+/g, "") !== o9) { >- testFailed("#9: Error matching character class \s between character 2400 and 27ff"); >-} >- >-var i10 = ""; >-for (var j = 10240; j < 11264; j++) >- i10 += String.fromCharCode(j); >-var o10 = i10; >-if (i10.replace(/\s+/g, "") !== o10) { >- testFailed("#10: Error matching character class \s between character 2800 and 2bff"); >-} >- >-var i11 = ""; >-for (var j = 11264; j < 12288; j++) >- i11 += String.fromCharCode(j); >-var o11 = i11; >-if (i11.replace(/\s+/g, "") !== o11) { >- testFailed("#11: Error matching character class \s between character 2c00 and 2fff"); >-} >- >-var i12 = ""; >-for (var j = 12288; j < 13312; j++) >- i12 += String.fromCharCode(j); >-var o12 = "\u3001\u3002\u3003\u3004\u3005\u3006\u3007\u3008\u3009\u300A\u300B\u300C\u300D\u300E\u300F\u3010\u3011\u3012\u3013\u3014\u3015\u3016\u3017\u3018\u3019\u301A\u301B\u301C\u301D\u301E\u301F\u3020\u3021\u3022\u3023\u3024\u3025\u3026\u3027\u3028\u3029\u302A\u302B\u302C\u302D\u302E\u302F\u3030\u3031\u3032\u3033\u3034\u3035\u3036\u3037\u3038\u3039\u303A\u303B\u303C\u303D\u303E\u303F\u3040\u3041\u3042\u3043\u3044\u3045\u3046\u3047\u3048\u3049\u304A\u304B\u304C\u304D\u304E\u304F\u3050\u3051\u3052\u3053\u3054\u3055\u3056\u3057\u3058\u3059\u305A\u305B\u305C\u305D\u305E\u305F\u3060\u3061\u3062\u3063\u3064\u3065\u3066\u3067\u3068\u3069\u306A\u306B\u306C\u306D\u306E\u306F\u3070\u3071\u3072\u3073\u3074\u3075\u3076\u3077\u3078\u3079\u307A\u307B\u307C\u307D\u307E\u307F\u3080\u3081\u3082\u3083\u3084\u3085\u3086\u3087\u3088\u3089\u308A\u308B\u308C\u308D\u308E\u308F\u3090\u3091\u3092\u3093\u3094\u3095\u3096\u3097\u3098\u3099\u309A\u309B\u309C\u309D\u309E\u309F\u30A0\u30A1\u30A2\u30A3\u30A4\u30A5\u30A6\u30A7\u30A8\u30A9\u30AA\u30AB\u30AC\u30AD\u30AE\u30AF\u30B0\u30B1\u30B2\u30B3\u30B4\u30B5\u30B6\u30B7\u30B8\u30B9\u30BA\u30BB\u30BC\u30BD\u30BE\u30BF\u30C0\u30C1\u30C2\u30C3\u30C4\u30C5\u30C6\u30C7\u30C8\u30C9\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D0\u30D1\u30D2\u30D3\u30D4\u30D5\u30D6\u30D7\u30D8\u30D9\u30DA\u30DB\u30DC\u30DD\u30DE\u30DF\u30E0\u30E1\u30E2\u30E3\u30E4\u30E5\u30E6\u30E7\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EE\u30EF\u30F0\u30F1\u30F2\u30F3\u30F4\u30F5\u30F6\u30F7\u30F8\u30F9\u30FA\u30FB\u30FC\u30FD\u30FE\u30FF\u3100\u3101\u3102\u3103\u3104\u3105\u3106\u3107\u3108\u3109\u310A\u310B\u310C\u310D\u310E\u310F\u3110\u3111\u3112\u3113\u3114\u3115\u3116\u3117\u3118\u3119\u311A\u311B\u311C\u311D\u311E\u311F\u3120\u3121\u3122\u3123\u3124\u3125\u3126\u3127\u3128\u3129\u312A\u312B\u312C\u312D\u312E\u312F\u3130\u3131\u3132\u3133\u3134\u3135\u3136\u3137\u3138\u3139\u313A\u313B\u313C\u313D\u313E\u313F\u3140\u3141\u3142\u3143\u3144\u3145\u3146\u3147\u3148\u3149\u314A\u314B\u314C\u314D\u314E\u314F\u3150\u3151\u3152\u3153\u3154\u3155\u3156\u3157\u3158\u3159\u315A\u315B\u315C\u315D\u315E\u315F\u3160\u3161\u3162\u3163\u3164\u3165\u3166\u3167\u3168\u3169\u316A\u316B\u316C\u316D\u316E\u316F\u3170\u3171\u3172\u3173\u3174\u3175\u3176\u3177\u3178\u3179\u317A\u317B\u317C\u317D\u317E\u317F\u3180\u3181\u3182\u3183\u3184\u3185\u3186\u3187\u3188\u3189\u318A\u318B\u318C\u318D\u318E\u318F\u3190\u3191\u3192\u3193\u3194\u3195\u3196\u3197\u3198\u3199\u319A\u319B\u319C\u319D\u319E\u319F\u31A0\u31A1\u31A2\u31A3\u31A4\u31A5\u31A6\u31A7\u31A8\u31A9\u31AA\u31AB\u31AC\u31AD\u31AE\u31AF\u31B0\u31B1\u31B2\u31B3\u31B4\u31B5\u31B6\u31B7\u31B8\u31B9\u31BA\u31BB\u31BC\u31BD\u31BE\u31BF\u31C0\u31C1\u31C2\u31C3\u31C4\u31C5\u31C6\u31C7\u31C8\u31C9\u31CA\u31CB\u31CC\u31CD\u31CE\u31CF\u31D0\u31D1\u31D2\u31D3\u31D4\u31D5\u31D6\u31D7\u31D8\u31D9\u31DA\u31DB\u31DC\u31DD\u31DE\u31DF\u31E0\u31E1\u31E2\u31E3\u31E4\u31E5\u31E6\u31E7\u31E8\u31E9\u31EA\u31EB\u31EC\u31ED\u31EE\u31EF\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3200\u3201\u3202\u3203\u3204\u3205\u3206\u3207\u3208\u3209\u320A\u320B\u320C\u320D\u320E\u320F\u3210\u3211\u3212\u3213\u3214\u3215\u3216\u3217\u3218\u3219\u321A\u321B\u321C\u321D\u321E\u321F\u3220\u3221\u3222\u3223\u3224\u3225\u3226\u3227\u3228\u3229\u322A\u322B\u322C\u322D\u322E\u322F\u3230\u3231\u3232\u3233\u3234\u3235\u3236\u3237\u3238\u3239\u323A\u323B\u323C\u323D\u323E\u323F\u3240\u3241\u3242\u3243\u3244\u3245\u3246\u3247\u3248\u3249\u324A\u324B\u324C\u324D\u324E\u324F\u3250\u3251\u3252\u3253\u3254\u3255\u3256\u3257\u3258\u3259\u325A\u325B\u325C\u325D\u325E\u325F\u3260\u3261\u3262\u3263\u3264\u3265\u3266\u3267\u3268\u3269\u326A\u326B\u326C\u326D\u326E\u326F\u3270\u3271\u3272\u3273\u3274\u3275\u3276\u3277\u3278\u3279\u327A\u327B\u327C\u327D\u327E\u327F\u3280\u3281\u3282\u3283\u3284\u3285\u3286\u3287\u3288\u3289\u328A\u328B\u328C\u328D\u328E\u328F\u3290\u3291\u3292\u3293\u3294\u3295\u3296\u3297\u3298\u3299\u329A\u329B\u329C\u329D\u329E\u329F\u32A0\u32A1\u32A2\u32A3\u32A4\u32A5\u32A6\u32A7\u32A8\u32A9\u32AA\u32AB\u32AC\u32AD\u32AE\u32AF\u32B0\u32B1\u32B2\u32B3\u32B4\u32B5\u32B6\u32B7\u32B8\u32B9\u32BA\u32BB\u32BC\u32BD\u32BE\u32BF\u32C0\u32C1\u32C2\u32C3\u32C4\u32C5\u32C6\u32C7\u32C8\u32C9\u32CA\u32CB\u32CC\u32CD\u32CE\u32CF\u32D0\u32D1\u32D2\u32D3\u32D4\u32D5\u32D6\u32D7\u32D8\u32D9\u32DA\u32DB\u32DC\u32DD\u32DE\u32DF\u32E0\u32E1\u32E2\u32E3\u32E4\u32E5\u32E6\u32E7\u32E8\u32E9\u32EA\u32EB\u32EC\u32ED\u32EE\u32EF\u32F0\u32F1\u32F2\u32F3\u32F4\u32F5\u32F6\u32F7\u32F8\u32F9\u32FA\u32FB\u32FC\u32FD\u32FE\u32FF\u3300\u3301\u3302\u3303\u3304\u3305\u3306\u3307\u3308\u3309\u330A\u330B\u330C\u330D\u330E\u330F\u3310\u3311\u3312\u3313\u3314\u3315\u3316\u3317\u3318\u3319\u331A\u331B\u331C\u331D\u331E\u331F\u3320\u3321\u3322\u3323\u3324\u3325\u3326\u3327\u3328\u3329\u332A\u332B\u332C\u332D\u332E\u332F\u3330\u3331\u3332\u3333\u3334\u3335\u3336\u3337\u3338\u3339\u333A\u333B\u333C\u333D\u333E\u333F\u3340\u3341\u3342\u3343\u3344\u3345\u3346\u3347\u3348\u3349\u334A\u334B\u334C\u334D\u334E\u334F\u3350\u3351\u3352\u3353\u3354\u3355\u3356\u3357\u3358\u3359\u335A\u335B\u335C\u335D\u335E\u335F\u3360\u3361\u3362\u3363\u3364\u3365\u3366\u3367\u3368\u3369\u336A\u336B\u336C\u336D\u336E\u336F\u3370\u3371\u3372\u3373\u3374\u3375\u3376\u3377\u3378\u3379\u337A\u337B\u337C\u337D\u337E\u337F\u3380\u3381\u3382\u3383\u3384\u3385\u3386\u3387\u3388\u3389\u338A\u338B\u338C\u338D\u338E\u338F\u3390\u3391\u3392\u3393\u3394\u3395\u3396\u3397\u3398\u3399\u339A\u339B\u339C\u339D\u339E\u339F\u33A0\u33A1\u33A2\u33A3\u33A4\u33A5\u33A6\u33A7\u33A8\u33A9\u33AA\u33AB\u33AC\u33AD\u33AE\u33AF\u33B0\u33B1\u33B2\u33B3\u33B4\u33B5\u33B6\u33B7\u33B8\u33B9\u33BA\u33BB\u33BC\u33BD\u33BE\u33BF\u33C0\u33C1\u33C2\u33C3\u33C4\u33C5\u33C6\u33C7\u33C8\u33C9\u33CA\u33CB\u33CC\u33CD\u33CE\u33CF\u33D0\u33D1\u33D2\u33D3\u33D4\u33D5\u33D6\u33D7\u33D8\u33D9\u33DA\u33DB\u33DC\u33DD\u33DE\u33DF\u33E0\u33E1\u33E2\u33E3\u33E4\u33E5\u33E6\u33E7\u33E8\u33E9\u33EA\u33EB\u33EC\u33ED\u33EE\u33EF\u33F0\u33F1\u33F2\u33F3\u33F4\u33F5\u33F6\u33F7\u33F8\u33F9\u33FA\u33FB\u33FC\u33FD\u33FE\u33FF"; >-if (i12.replace(/\s+/g, "") !== o12) { >- testFailed("#12: Error matching character class \s between character 3000 and 33ff"); >-} >- >-var i13 = ""; >-for (var j = 13312; j < 14336; j++) >- i13 += String.fromCharCode(j); >-var o13 = i13; >-if (i13.replace(/\s+/g, "") !== o13) { >- testFailed("#13: Error matching character class \s between character 3400 and 37ff"); >-} >- >-var i14 = ""; >-for (var j = 14336; j < 15360; j++) >- i14 += String.fromCharCode(j); >-var o14 = i14; >-if (i14.replace(/\s+/g, "") !== o14) { >- testFailed("#14: Error matching character class \s between character 3800 and 3bff"); >-} >- >-var i15 = ""; >-for (var j = 15360; j < 16384; j++) >- i15 += String.fromCharCode(j); >-var o15 = i15; >-if (i15.replace(/\s+/g, "") !== o15) { >- testFailed("#15: Error matching character class \s between character 3c00 and 3fff"); >-} >- >-var i16 = ""; >-for (var j = 16384; j < 17408; j++) >- i16 += String.fromCharCode(j); >-var o16 = i16; >-if (i16.replace(/\s+/g, "") !== o16) { >- testFailed("#16: Error matching character class \s between character 4000 and 43ff"); >-} >- >-var i17 = ""; >-for (var j = 17408; j < 18432; j++) >- i17 += String.fromCharCode(j); >-var o17 = i17; >-if (i17.replace(/\s+/g, "") !== o17) { >- testFailed("#17: Error matching character class \s between character 4400 and 47ff"); >-} >- >-var i18 = ""; >-for (var j = 18432; j < 19456; j++) >- i18 += String.fromCharCode(j); >-var o18 = i18; >-if (i18.replace(/\s+/g, "") !== o18) { >- testFailed("#18: Error matching character class \s between character 4800 and 4bff"); >-} >- >-var i19 = ""; >-for (var j = 19456; j < 20480; j++) >- i19 += String.fromCharCode(j); >-var o19 = i19; >-if (i19.replace(/\s+/g, "") !== o19) { >- testFailed("#19: Error matching character class \s between character 4c00 and 4fff"); >-} >- >-var i20 = ""; >-for (var j = 20480; j < 21504; j++) >- i20 += String.fromCharCode(j); >-var o20 = i20; >-if (i20.replace(/\s+/g, "") !== o20) { >- testFailed("#20: Error matching character class \s between character 5000 and 53ff"); >-} >- >-var i21 = ""; >-for (var j = 21504; j < 22528; j++) >- i21 += String.fromCharCode(j); >-var o21 = i21; >-if (i21.replace(/\s+/g, "") !== o21) { >- testFailed("#21: Error matching character class \s between character 5400 and 57ff"); >-} >- >-var i22 = ""; >-for (var j = 22528; j < 23552; j++) >- i22 += String.fromCharCode(j); >-var o22 = i22; >-if (i22.replace(/\s+/g, "") !== o22) { >- testFailed("#22: Error matching character class \s between character 5800 and 5bff"); >-} >- >-var i23 = ""; >-for (var j = 23552; j < 24576; j++) >- i23 += String.fromCharCode(j); >-var o23 = i23; >-if (i23.replace(/\s+/g, "") !== o23) { >- testFailed("#23: Error matching character class \s between character 5c00 and 5fff"); >-} >- >-var i24 = ""; >-for (var j = 24576; j < 25600; j++) >- i24 += String.fromCharCode(j); >-var o24 = i24; >-if (i24.replace(/\s+/g, "") !== o24) { >- testFailed("#24: Error matching character class \s between character 6000 and 63ff"); >-} >- >-var i25 = ""; >-for (var j = 25600; j < 26624; j++) >- i25 += String.fromCharCode(j); >-var o25 = i25; >-if (i25.replace(/\s+/g, "") !== o25) { >- testFailed("#25: Error matching character class \s between character 6400 and 67ff"); >-} >- >-var i26 = ""; >-for (var j = 26624; j < 27648; j++) >- i26 += String.fromCharCode(j); >-var o26 = i26; >-if (i26.replace(/\s+/g, "") !== o26) { >- testFailed("#26: Error matching character class \s between character 6800 and 6bff"); >-} >- >-var i27 = ""; >-for (var j = 27648; j < 28672; j++) >- i27 += String.fromCharCode(j); >-var o27 = i27; >-if (i27.replace(/\s+/g, "") !== o27) { >- testFailed("#27: Error matching character class \s between character 6c00 and 6fff"); >-} >- >-var i28 = ""; >-for (var j = 28672; j < 29696; j++) >- i28 += String.fromCharCode(j); >-var o28 = i28; >-if (i28.replace(/\s+/g, "") !== o28) { >- testFailed("#28: Error matching character class \s between character 7000 and 73ff"); >-} >- >-var i29 = ""; >-for (var j = 29696; j < 30720; j++) >- i29 += String.fromCharCode(j); >-var o29 = i29; >-if (i29.replace(/\s+/g, "") !== o29) { >- testFailed("#29: Error matching character class \s between character 7400 and 77ff"); >-} >- >-var i30 = ""; >-for (var j = 30720; j < 31744; j++) >- i30 += String.fromCharCode(j); >-var o30 = i30; >-if (i30.replace(/\s+/g, "") !== o30) { >- testFailed("#30: Error matching character class \s between character 7800 and 7bff"); >-} >- >-var i31 = ""; >-for (var j = 31744; j < 32768; j++) >- i31 += String.fromCharCode(j); >-var o31 = i31; >-if (i31.replace(/\s+/g, "") !== o31) { >- testFailed("#31: Error matching character class \s between character 7c00 and 7fff"); >-} >- >-var i32 = ""; >-for (var j = 32768; j < 33792; j++) >- i32 += String.fromCharCode(j); >-var o32 = i32; >-if (i32.replace(/\s+/g, "") !== o32) { >- testFailed("#32: Error matching character class \s between character 8000 and 83ff"); >-} >- >-var i33 = ""; >-for (var j = 33792; j < 34816; j++) >- i33 += String.fromCharCode(j); >-var o33 = i33; >-if (i33.replace(/\s+/g, "") !== o33) { >- testFailed("#33: Error matching character class \s between character 8400 and 87ff"); >-} >- >-var i34 = ""; >-for (var j = 34816; j < 35840; j++) >- i34 += String.fromCharCode(j); >-var o34 = i34; >-if (i34.replace(/\s+/g, "") !== o34) { >- testFailed("#34: Error matching character class \s between character 8800 and 8bff"); >-} >- >-var i35 = ""; >-for (var j = 35840; j < 36864; j++) >- i35 += String.fromCharCode(j); >-var o35 = i35; >-if (i35.replace(/\s+/g, "") !== o35) { >- testFailed("#35: Error matching character class \s between character 8c00 and 8fff"); >-} >- >-var i36 = ""; >-for (var j = 36864; j < 37888; j++) >- i36 += String.fromCharCode(j); >-var o36 = i36; >-if (i36.replace(/\s+/g, "") !== o36) { >- testFailed("#36: Error matching character class \s between character 9000 and 93ff"); >-} >- >-var i37 = ""; >-for (var j = 37888; j < 38912; j++) >- i37 += String.fromCharCode(j); >-var o37 = i37; >-if (i37.replace(/\s+/g, "") !== o37) { >- testFailed("#37: Error matching character class \s between character 9400 and 97ff"); >-} >- >-var i38 = ""; >-for (var j = 38912; j < 39936; j++) >- i38 += String.fromCharCode(j); >-var o38 = i38; >-if (i38.replace(/\s+/g, "") !== o38) { >- testFailed("#38: Error matching character class \s between character 9800 and 9bff"); >-} >- >-var i39 = ""; >-for (var j = 39936; j < 40960; j++) >- i39 += String.fromCharCode(j); >-var o39 = i39; >-if (i39.replace(/\s+/g, "") !== o39) { >- testFailed("#39: Error matching character class \s between character 9c00 and 9fff"); >-} >- >-var i40 = ""; >-for (var j = 40960; j < 41984; j++) >- i40 += String.fromCharCode(j); >-var o40 = i40; >-if (i40.replace(/\s+/g, "") !== o40) { >- testFailed("#40: Error matching character class \s between character a000 and a3ff"); >-} >- >-var i41 = ""; >-for (var j = 41984; j < 43008; j++) >- i41 += String.fromCharCode(j); >-var o41 = i41; >-if (i41.replace(/\s+/g, "") !== o41) { >- testFailed("#41: Error matching character class \s between character a400 and a7ff"); >-} >- >-var i42 = ""; >-for (var j = 43008; j < 44032; j++) >- i42 += String.fromCharCode(j); >-var o42 = i42; >-if (i42.replace(/\s+/g, "") !== o42) { >- testFailed("#42: Error matching character class \s between character a800 and abff"); >-} >- >-var i43 = ""; >-for (var j = 44032; j < 45056; j++) >- i43 += String.fromCharCode(j); >-var o43 = i43; >-if (i43.replace(/\s+/g, "") !== o43) { >- testFailed("#43: Error matching character class \s between character ac00 and afff"); >-} >- >-var i44 = ""; >-for (var j = 45056; j < 46080; j++) >- i44 += String.fromCharCode(j); >-var o44 = i44; >-if (i44.replace(/\s+/g, "") !== o44) { >- testFailed("#44: Error matching character class \s between character b000 and b3ff"); >-} >- >-var i45 = ""; >-for (var j = 46080; j < 47104; j++) >- i45 += String.fromCharCode(j); >-var o45 = i45; >-if (i45.replace(/\s+/g, "") !== o45) { >- testFailed("#45: Error matching character class \s between character b400 and b7ff"); >-} >- >-var i46 = ""; >-for (var j = 47104; j < 48128; j++) >- i46 += String.fromCharCode(j); >-var o46 = i46; >-if (i46.replace(/\s+/g, "") !== o46) { >- testFailed("#46: Error matching character class \s between character b800 and bbff"); >-} >- >-var i47 = ""; >-for (var j = 48128; j < 49152; j++) >- i47 += String.fromCharCode(j); >-var o47 = i47; >-if (i47.replace(/\s+/g, "") !== o47) { >- testFailed("#47: Error matching character class \s between character bc00 and bfff"); >-} >- >-var i48 = ""; >-for (var j = 49152; j < 50176; j++) >- i48 += String.fromCharCode(j); >-var o48 = i48; >-if (i48.replace(/\s+/g, "") !== o48) { >- testFailed("#48: Error matching character class \s between character c000 and c3ff"); >-} >- >-var i49 = ""; >-for (var j = 50176; j < 51200; j++) >- i49 += String.fromCharCode(j); >-var o49 = i49; >-if (i49.replace(/\s+/g, "") !== o49) { >- testFailed("#49: Error matching character class \s between character c400 and c7ff"); >-} >- >-var i50 = ""; >-for (var j = 51200; j < 52224; j++) >- i50 += String.fromCharCode(j); >-var o50 = i50; >-if (i50.replace(/\s+/g, "") !== o50) { >- testFailed("#50: Error matching character class \s between character c800 and cbff"); >-} >- >-var i51 = ""; >-for (var j = 52224; j < 53248; j++) >- i51 += String.fromCharCode(j); >-var o51 = i51; >-if (i51.replace(/\s+/g, "") !== o51) { >- testFailed("#51: Error matching character class \s between character cc00 and cfff"); >-} >- >-var i52 = ""; >-for (var j = 53248; j < 54272; j++) >- i52 += String.fromCharCode(j); >-var o52 = i52; >-if (i52.replace(/\s+/g, "") !== o52) { >- testFailed("#52: Error matching character class \s between character d000 and d3ff"); >-} >- >-var i53 = ""; >-for (var j = 54272; j < 55296; j++) >- i53 += String.fromCharCode(j); >-var o53 = i53; >-if (i53.replace(/\s+/g, "") !== o53) { >- testFailed("#53: Error matching character class \s between character d400 and d7ff"); >-} >- >-var i54 = ""; >-for (var j = 55296; j < 56320; j++) >- i54 += String.fromCharCode(j); >-var o54 = i54; >-if (i54.replace(/\s+/g, "") !== o54) { >- testFailed("#54: Error matching character class \s between character d800 and dbff"); >-} >- >-var i55 = ""; >-for (var j = 56320; j < 57344; j++) >- i55 += String.fromCharCode(j); >-var o55 = i55; >-if (i55.replace(/\s+/g, "") !== o55) { >- testFailed("#55: Error matching character class \s between character dc00 and dfff"); >-} >- >-var i56 = ""; >-for (var j = 57344; j < 58368; j++) >- i56 += String.fromCharCode(j); >-var o56 = i56; >-if (i56.replace(/\s+/g, "") !== o56) { >- testFailed("#56: Error matching character class \s between character e000 and e3ff"); >-} >- >-var i57 = ""; >-for (var j = 58368; j < 59392; j++) >- i57 += String.fromCharCode(j); >-var o57 = i57; >-if (i57.replace(/\s+/g, "") !== o57) { >- testFailed("#57: Error matching character class \s between character e400 and e7ff"); >-} >- >-var i58 = ""; >-for (var j = 59392; j < 60416; j++) >- i58 += String.fromCharCode(j); >-var o58 = i58; >-if (i58.replace(/\s+/g, "") !== o58) { >- testFailed("#58: Error matching character class \s between character e800 and ebff"); >-} >- >-var i59 = ""; >-for (var j = 60416; j < 61440; j++) >- i59 += String.fromCharCode(j); >-var o59 = i59; >-if (i59.replace(/\s+/g, "") !== o59) { >- testFailed("#59: Error matching character class \s between character ec00 and efff"); >-} >- >-var i60 = ""; >-for (var j = 61440; j < 62464; j++) >- i60 += String.fromCharCode(j); >-var o60 = i60; >-if (i60.replace(/\s+/g, "") !== o60) { >- testFailed("#60: Error matching character class \s between character f000 and f3ff"); >-} >- >-var i61 = ""; >-for (var j = 62464; j < 63488; j++) >- i61 += String.fromCharCode(j); >-var o61 = i61; >-if (i61.replace(/\s+/g, "") !== o61) { >- testFailed("#61: Error matching character class \s between character f400 and f7ff"); >-} >- >-var i62 = ""; >-for (var j = 63488; j < 64512; j++) >- i62 += String.fromCharCode(j); >-var o62 = i62; >-if (i62.replace(/\s+/g, "") !== o62) { >- testFailed("#62: Error matching character class \s between character f800 and fbff"); >-} >- >-var i63 = ""; >-for (var j = 64512; j < 65536; j++) >- i63 += String.fromCharCode(j); >-var o63 = i63; >-if (i63.replace(/\s+/g, "") !== o63) { >- testFailed("#63: Error matching character class \s between character fc00 and ffff"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2-expected.txt >deleted file mode 100644 >index f547f58db7b..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2.html >deleted file mode 100644 >index 7a666a3b23b..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T2.html >+++ /dev/null >@@ -1,117 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A1_T2; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters >-* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; >-* @description: LineTerminator; >-*/ >- >-//CHECK#1 >-var arr = /\s/.exec("\u000A"); >-if ((arr === null) || (arr[0] !== "\u000A")) { >- testFailed('#1: var arr = /\\s/.exec("\\u000A"); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\s/.exec("\u000D"); >-if ((arr === null) || (arr[0] !== "\u000D")) { >- testFailed('#2: var arr = /\\s/.exec("\\u000D"); arr[0] === "\\u000D". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#3 >-var arr = /\s/.exec("\u2028"); >-if ((arr === null) || (arr[0] !== "\u2028")) { >- testFailed('#3: var arr = /\\s/.exec("\\u2028"); arr[0] === "\\u2028". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#4 >-var arr = /\s/.exec("\u2029"); >-if ((arr === null) || (arr[0] !== "\u2029")) { >- testFailed('#4: var arr = /\\s/.exec("\\u2029"); arr[0] === "\\u2029". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3-expected.txt >deleted file mode 100644 >index 74e7aad515e..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3.html >deleted file mode 100644 >index 9cf081d3cc3..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T3.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A1_T3; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters >-* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; >-* @description: ENGLISH ALPHABET; >-*/ >- >-var regexp_s = /\s/; >- >-//CHECK#0041-005A >-var result = true; >-for (alpha = 0x0041; alpha <= 0x005A; alpha++) { >- if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: ENGLISH CAPITAL ALPHABET'); >-} >- >-//CHECK#0061-007A >-var result = true; >-for (alpha = 0x0061; alpha <= 0x007A; alpha++) { >- if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: english small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4-expected.txt >deleted file mode 100644 >index 565b6e233b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4.html >deleted file mode 100644 >index e798ad3b011..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T4.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A1_T4; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters >-* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; >-* @description: RUSSIAN ALPHABET; >-*/ >- >-var regexp_s = /\s/; >- >-//CHECK#0410-042F >-var result = true; >-for (alpha = 0x0410; alpha <= 0x042F; alpha++) { >- if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: RUSSIAN CAPITAL ALPHABET'); >-} >- >-//CHECK#0430-044F >-var result = true; >-for (alpha = 0x0430; alpha <= 0x044F; alpha++) { >- if (regexp_s.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: russian small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5-expected.txt >deleted file mode 100644 >index c602d2fb5d6..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5.html >deleted file mode 100644 >index df85f2146a2..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T5.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A1_T5; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: s evaluates by returning the set of characters >-* containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions; >-* @description: Tested string is "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; >-*/ >- >-//CHECK#1 >-var non_s = "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; >-if (/\s/.exec(non_s) !== null) { >- testFailed('#1: non-s'); >-} >- >-//CHECK#2 >-var non_S = '\f\n\r\t\v '; >-var regexp_s = /\s/g; >-var k = 0; >-while (regexp_s.exec(non_S) !== null) { >- k++; >-} >- >-if (non_S.length !== k) { >- testFailed('#2: non-S'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1-expected.txt >deleted file mode 100644 >index 4709a4fa572..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A2_T1 >- >-FAIL SputnikError: #6: Error matching character class S between character 1800 and 1bff >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1.html >deleted file mode 100644 >index 80c33102bb4..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1.html >+++ /dev/null >@@ -1,606 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A2_T1; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: S evaluates by returning >-* the set of all characters not included in the set returned by >-* CharacterClassEscape :: s; >-* @description: WhiteSpace >-*/ >- >-var i0 = ""; >-for (var j = 0; j < 1024; j++) >- i0 += String.fromCharCode(j); >-var o0 = "\u0009\u000A\u000B\u000C\u000D\u0020\u00A0"; >-if (i0.replace(/\S+/g, "") !== o0) { >- testFailed("#0: Error matching character class \S between character 0 and 3ff"); >-} >- >-var i1 = ""; >-for (var j = 1024; j < 2048; j++) >- i1 += String.fromCharCode(j); >-var o1 = ""; >-if (i1.replace(/\S+/g, "") !== o1) { >- testFailed("#1: Error matching character class \S between character 400 and 7ff"); >-} >- >-var i2 = ""; >-for (var j = 2048; j < 3072; j++) >- i2 += String.fromCharCode(j); >-var o2 = ""; >-if (i2.replace(/\S+/g, "") !== o2) { >- testFailed("#2: Error matching character class \S between character 800 and bff"); >-} >- >-var i3 = ""; >-for (var j = 3072; j < 4096; j++) >- i3 += String.fromCharCode(j); >-var o3 = ""; >-if (i3.replace(/\S+/g, "") !== o3) { >- testFailed("#3: Error matching character class \S between character c00 and fff"); >-} >- >-var i4 = ""; >-for (var j = 4096; j < 5120; j++) >- i4 += String.fromCharCode(j); >-var o4 = ""; >-if (i4.replace(/\S+/g, "") !== o4) { >- testFailed("#4: Error matching character class \S between character 1000 and 13ff"); >-} >- >-var i5 = ""; >-for (var j = 5120; j < 6144; j++) >- i5 += String.fromCharCode(j); >-var o5 = "\u1680"; >-if (i5.replace(/\S+/g, "") !== o5) { >- testFailed("#5: Error matching character class \S between character 1400 and 17ff"); >-} >- >-var i6 = ""; >-for (var j = 6144; j < 7168; j++) >- i6 += String.fromCharCode(j); >-var o6 = "\u180E"; >-if (i6.replace(/\S+/g, "") !== o6) { >- testFailed("#6: Error matching character class \S between character 1800 and 1bff"); >-} >- >-var i7 = ""; >-for (var j = 7168; j < 8192; j++) >- i7 += String.fromCharCode(j); >-var o7 = ""; >-if (i7.replace(/\S+/g, "") !== o7) { >- testFailed("#7: Error matching character class \S between character 1c00 and 1fff"); >-} >- >-var i8 = ""; >-for (var j = 8192; j < 9216; j++) >- i8 += String.fromCharCode(j); >-var o8 = "\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F"; >-if (i8.replace(/\S+/g, "") !== o8) { >- testFailed("#8: Error matching character class \S between character 2000 and 23ff"); >-} >- >-var i9 = ""; >-for (var j = 9216; j < 10240; j++) >- i9 += String.fromCharCode(j); >-var o9 = ""; >-if (i9.replace(/\S+/g, "") !== o9) { >- testFailed("#9: Error matching character class \S between character 2400 and 27ff"); >-} >- >-var i10 = ""; >-for (var j = 10240; j < 11264; j++) >- i10 += String.fromCharCode(j); >-var o10 = ""; >-if (i10.replace(/\S+/g, "") !== o10) { >- testFailed("#10: Error matching character class \S between character 2800 and 2bff"); >-} >- >-var i11 = ""; >-for (var j = 11264; j < 12288; j++) >- i11 += String.fromCharCode(j); >-var o11 = ""; >-if (i11.replace(/\S+/g, "") !== o11) { >- testFailed("#11: Error matching character class \S between character 2c00 and 2fff"); >-} >- >-var i12 = ""; >-for (var j = 12288; j < 13312; j++) >- i12 += String.fromCharCode(j); >-var o12 = "\u3000"; >-if (i12.replace(/\S+/g, "") !== o12) { >- testFailed("#12: Error matching character class \S between character 3000 and 33ff"); >-} >- >-var i13 = ""; >-for (var j = 13312; j < 14336; j++) >- i13 += String.fromCharCode(j); >-var o13 = ""; >-if (i13.replace(/\S+/g, "") !== o13) { >- testFailed("#13: Error matching character class \S between character 3400 and 37ff"); >-} >- >-var i14 = ""; >-for (var j = 14336; j < 15360; j++) >- i14 += String.fromCharCode(j); >-var o14 = ""; >-if (i14.replace(/\S+/g, "") !== o14) { >- testFailed("#14: Error matching character class \S between character 3800 and 3bff"); >-} >- >-var i15 = ""; >-for (var j = 15360; j < 16384; j++) >- i15 += String.fromCharCode(j); >-var o15 = ""; >-if (i15.replace(/\S+/g, "") !== o15) { >- testFailed("#15: Error matching character class \S between character 3c00 and 3fff"); >-} >- >-var i16 = ""; >-for (var j = 16384; j < 17408; j++) >- i16 += String.fromCharCode(j); >-var o16 = ""; >-if (i16.replace(/\S+/g, "") !== o16) { >- testFailed("#16: Error matching character class \S between character 4000 and 43ff"); >-} >- >-var i17 = ""; >-for (var j = 17408; j < 18432; j++) >- i17 += String.fromCharCode(j); >-var o17 = ""; >-if (i17.replace(/\S+/g, "") !== o17) { >- testFailed("#17: Error matching character class \S between character 4400 and 47ff"); >-} >- >-var i18 = ""; >-for (var j = 18432; j < 19456; j++) >- i18 += String.fromCharCode(j); >-var o18 = ""; >-if (i18.replace(/\S+/g, "") !== o18) { >- testFailed("#18: Error matching character class \S between character 4800 and 4bff"); >-} >- >-var i19 = ""; >-for (var j = 19456; j < 20480; j++) >- i19 += String.fromCharCode(j); >-var o19 = ""; >-if (i19.replace(/\S+/g, "") !== o19) { >- testFailed("#19: Error matching character class \S between character 4c00 and 4fff"); >-} >- >-var i20 = ""; >-for (var j = 20480; j < 21504; j++) >- i20 += String.fromCharCode(j); >-var o20 = ""; >-if (i20.replace(/\S+/g, "") !== o20) { >- testFailed("#20: Error matching character class \S between character 5000 and 53ff"); >-} >- >-var i21 = ""; >-for (var j = 21504; j < 22528; j++) >- i21 += String.fromCharCode(j); >-var o21 = ""; >-if (i21.replace(/\S+/g, "") !== o21) { >- testFailed("#21: Error matching character class \S between character 5400 and 57ff"); >-} >- >-var i22 = ""; >-for (var j = 22528; j < 23552; j++) >- i22 += String.fromCharCode(j); >-var o22 = ""; >-if (i22.replace(/\S+/g, "") !== o22) { >- testFailed("#22: Error matching character class \S between character 5800 and 5bff"); >-} >- >-var i23 = ""; >-for (var j = 23552; j < 24576; j++) >- i23 += String.fromCharCode(j); >-var o23 = ""; >-if (i23.replace(/\S+/g, "") !== o23) { >- testFailed("#23: Error matching character class \S between character 5c00 and 5fff"); >-} >- >-var i24 = ""; >-for (var j = 24576; j < 25600; j++) >- i24 += String.fromCharCode(j); >-var o24 = ""; >-if (i24.replace(/\S+/g, "") !== o24) { >- testFailed("#24: Error matching character class \S between character 6000 and 63ff"); >-} >- >-var i25 = ""; >-for (var j = 25600; j < 26624; j++) >- i25 += String.fromCharCode(j); >-var o25 = ""; >-if (i25.replace(/\S+/g, "") !== o25) { >- testFailed("#25: Error matching character class \S between character 6400 and 67ff"); >-} >- >-var i26 = ""; >-for (var j = 26624; j < 27648; j++) >- i26 += String.fromCharCode(j); >-var o26 = ""; >-if (i26.replace(/\S+/g, "") !== o26) { >- testFailed("#26: Error matching character class \S between character 6800 and 6bff"); >-} >- >-var i27 = ""; >-for (var j = 27648; j < 28672; j++) >- i27 += String.fromCharCode(j); >-var o27 = ""; >-if (i27.replace(/\S+/g, "") !== o27) { >- testFailed("#27: Error matching character class \S between character 6c00 and 6fff"); >-} >- >-var i28 = ""; >-for (var j = 28672; j < 29696; j++) >- i28 += String.fromCharCode(j); >-var o28 = ""; >-if (i28.replace(/\S+/g, "") !== o28) { >- testFailed("#28: Error matching character class \S between character 7000 and 73ff"); >-} >- >-var i29 = ""; >-for (var j = 29696; j < 30720; j++) >- i29 += String.fromCharCode(j); >-var o29 = ""; >-if (i29.replace(/\S+/g, "") !== o29) { >- testFailed("#29: Error matching character class \S between character 7400 and 77ff"); >-} >- >-var i30 = ""; >-for (var j = 30720; j < 31744; j++) >- i30 += String.fromCharCode(j); >-var o30 = ""; >-if (i30.replace(/\S+/g, "") !== o30) { >- testFailed("#30: Error matching character class \S between character 7800 and 7bff"); >-} >- >-var i31 = ""; >-for (var j = 31744; j < 32768; j++) >- i31 += String.fromCharCode(j); >-var o31 = ""; >-if (i31.replace(/\S+/g, "") !== o31) { >- testFailed("#31: Error matching character class \S between character 7c00 and 7fff"); >-} >- >-var i32 = ""; >-for (var j = 32768; j < 33792; j++) >- i32 += String.fromCharCode(j); >-var o32 = ""; >-if (i32.replace(/\S+/g, "") !== o32) { >- testFailed("#32: Error matching character class \S between character 8000 and 83ff"); >-} >- >-var i33 = ""; >-for (var j = 33792; j < 34816; j++) >- i33 += String.fromCharCode(j); >-var o33 = ""; >-if (i33.replace(/\S+/g, "") !== o33) { >- testFailed("#33: Error matching character class \S between character 8400 and 87ff"); >-} >- >-var i34 = ""; >-for (var j = 34816; j < 35840; j++) >- i34 += String.fromCharCode(j); >-var o34 = ""; >-if (i34.replace(/\S+/g, "") !== o34) { >- testFailed("#34: Error matching character class \S between character 8800 and 8bff"); >-} >- >-var i35 = ""; >-for (var j = 35840; j < 36864; j++) >- i35 += String.fromCharCode(j); >-var o35 = ""; >-if (i35.replace(/\S+/g, "") !== o35) { >- testFailed("#35: Error matching character class \S between character 8c00 and 8fff"); >-} >- >-var i36 = ""; >-for (var j = 36864; j < 37888; j++) >- i36 += String.fromCharCode(j); >-var o36 = ""; >-if (i36.replace(/\S+/g, "") !== o36) { >- testFailed("#36: Error matching character class \S between character 9000 and 93ff"); >-} >- >-var i37 = ""; >-for (var j = 37888; j < 38912; j++) >- i37 += String.fromCharCode(j); >-var o37 = ""; >-if (i37.replace(/\S+/g, "") !== o37) { >- testFailed("#37: Error matching character class \S between character 9400 and 97ff"); >-} >- >-var i38 = ""; >-for (var j = 38912; j < 39936; j++) >- i38 += String.fromCharCode(j); >-var o38 = ""; >-if (i38.replace(/\S+/g, "") !== o38) { >- testFailed("#38: Error matching character class \S between character 9800 and 9bff"); >-} >- >-var i39 = ""; >-for (var j = 39936; j < 40960; j++) >- i39 += String.fromCharCode(j); >-var o39 = ""; >-if (i39.replace(/\S+/g, "") !== o39) { >- testFailed("#39: Error matching character class \S between character 9c00 and 9fff"); >-} >- >-var i40 = ""; >-for (var j = 40960; j < 41984; j++) >- i40 += String.fromCharCode(j); >-var o40 = ""; >-if (i40.replace(/\S+/g, "") !== o40) { >- testFailed("#40: Error matching character class \S between character a000 and a3ff"); >-} >- >-var i41 = ""; >-for (var j = 41984; j < 43008; j++) >- i41 += String.fromCharCode(j); >-var o41 = ""; >-if (i41.replace(/\S+/g, "") !== o41) { >- testFailed("#41: Error matching character class \S between character a400 and a7ff"); >-} >- >-var i42 = ""; >-for (var j = 43008; j < 44032; j++) >- i42 += String.fromCharCode(j); >-var o42 = ""; >-if (i42.replace(/\S+/g, "") !== o42) { >- testFailed("#42: Error matching character class \S between character a800 and abff"); >-} >- >-var i43 = ""; >-for (var j = 44032; j < 45056; j++) >- i43 += String.fromCharCode(j); >-var o43 = ""; >-if (i43.replace(/\S+/g, "") !== o43) { >- testFailed("#43: Error matching character class \S between character ac00 and afff"); >-} >- >-var i44 = ""; >-for (var j = 45056; j < 46080; j++) >- i44 += String.fromCharCode(j); >-var o44 = ""; >-if (i44.replace(/\S+/g, "") !== o44) { >- testFailed("#44: Error matching character class \S between character b000 and b3ff"); >-} >- >-var i45 = ""; >-for (var j = 46080; j < 47104; j++) >- i45 += String.fromCharCode(j); >-var o45 = ""; >-if (i45.replace(/\S+/g, "") !== o45) { >- testFailed("#45: Error matching character class \S between character b400 and b7ff"); >-} >- >-var i46 = ""; >-for (var j = 47104; j < 48128; j++) >- i46 += String.fromCharCode(j); >-var o46 = ""; >-if (i46.replace(/\S+/g, "") !== o46) { >- testFailed("#46: Error matching character class \S between character b800 and bbff"); >-} >- >-var i47 = ""; >-for (var j = 48128; j < 49152; j++) >- i47 += String.fromCharCode(j); >-var o47 = ""; >-if (i47.replace(/\S+/g, "") !== o47) { >- testFailed("#47: Error matching character class \S between character bc00 and bfff"); >-} >- >-var i48 = ""; >-for (var j = 49152; j < 50176; j++) >- i48 += String.fromCharCode(j); >-var o48 = ""; >-if (i48.replace(/\S+/g, "") !== o48) { >- testFailed("#48: Error matching character class \S between character c000 and c3ff"); >-} >- >-var i49 = ""; >-for (var j = 50176; j < 51200; j++) >- i49 += String.fromCharCode(j); >-var o49 = ""; >-if (i49.replace(/\S+/g, "") !== o49) { >- testFailed("#49: Error matching character class \S between character c400 and c7ff"); >-} >- >-var i50 = ""; >-for (var j = 51200; j < 52224; j++) >- i50 += String.fromCharCode(j); >-var o50 = ""; >-if (i50.replace(/\S+/g, "") !== o50) { >- testFailed("#50: Error matching character class \S between character c800 and cbff"); >-} >- >-var i51 = ""; >-for (var j = 52224; j < 53248; j++) >- i51 += String.fromCharCode(j); >-var o51 = ""; >-if (i51.replace(/\S+/g, "") !== o51) { >- testFailed("#51: Error matching character class \S between character cc00 and cfff"); >-} >- >-var i52 = ""; >-for (var j = 53248; j < 54272; j++) >- i52 += String.fromCharCode(j); >-var o52 = ""; >-if (i52.replace(/\S+/g, "") !== o52) { >- testFailed("#52: Error matching character class \S between character d000 and d3ff"); >-} >- >-var i53 = ""; >-for (var j = 54272; j < 55296; j++) >- i53 += String.fromCharCode(j); >-var o53 = ""; >-if (i53.replace(/\S+/g, "") !== o53) { >- testFailed("#53: Error matching character class \S between character d400 and d7ff"); >-} >- >-var i54 = ""; >-for (var j = 55296; j < 56320; j++) >- i54 += String.fromCharCode(j); >-var o54 = ""; >-if (i54.replace(/\S+/g, "") !== o54) { >- testFailed("#54: Error matching character class \S between character d800 and dbff"); >-} >- >-var i55 = ""; >-for (var j = 56320; j < 57344; j++) >- i55 += String.fromCharCode(j); >-var o55 = ""; >-if (i55.replace(/\S+/g, "") !== o55) { >- testFailed("#55: Error matching character class \S between character dc00 and dfff"); >-} >- >-var i56 = ""; >-for (var j = 57344; j < 58368; j++) >- i56 += String.fromCharCode(j); >-var o56 = ""; >-if (i56.replace(/\S+/g, "") !== o56) { >- testFailed("#56: Error matching character class \S between character e000 and e3ff"); >-} >- >-var i57 = ""; >-for (var j = 58368; j < 59392; j++) >- i57 += String.fromCharCode(j); >-var o57 = ""; >-if (i57.replace(/\S+/g, "") !== o57) { >- testFailed("#57: Error matching character class \S between character e400 and e7ff"); >-} >- >-var i58 = ""; >-for (var j = 59392; j < 60416; j++) >- i58 += String.fromCharCode(j); >-var o58 = ""; >-if (i58.replace(/\S+/g, "") !== o58) { >- testFailed("#58: Error matching character class \S between character e800 and ebff"); >-} >- >-var i59 = ""; >-for (var j = 60416; j < 61440; j++) >- i59 += String.fromCharCode(j); >-var o59 = ""; >-if (i59.replace(/\S+/g, "") !== o59) { >- testFailed("#59: Error matching character class \S between character ec00 and efff"); >-} >- >-var i60 = ""; >-for (var j = 61440; j < 62464; j++) >- i60 += String.fromCharCode(j); >-var o60 = ""; >-if (i60.replace(/\S+/g, "") !== o60) { >- testFailed("#60: Error matching character class \S between character f000 and f3ff"); >-} >- >-var i61 = ""; >-for (var j = 62464; j < 63488; j++) >- i61 += String.fromCharCode(j); >-var o61 = ""; >-if (i61.replace(/\S+/g, "") !== o61) { >- testFailed("#61: Error matching character class \S between character f400 and f7ff"); >-} >- >-var i62 = ""; >-for (var j = 63488; j < 64512; j++) >- i62 += String.fromCharCode(j); >-var o62 = ""; >-if (i62.replace(/\S+/g, "") !== o62) { >- testFailed("#62: Error matching character class \S between character f800 and fbff"); >-} >- >-var i63 = ""; >-for (var j = 64512; j < 65536; j++) >- i63 += String.fromCharCode(j); >-var o63 = ""; >-if (i63.replace(/\S+/g, "") !== o63) { >- testFailed("#63: Error matching character class \S between character fc00 and ffff"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2-expected.txt >deleted file mode 100644 >index adf4b68db8e..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2.html >deleted file mode 100644 >index 8e295133ce4..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A2_T2; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: S evaluates by returning >-* the set of all characters not included in the set returned by >-* CharacterClassEscape :: s; >-* @description: LineTerminator; >-*/ >- >-//CHECK#1 >-var arr = /\S/.exec("\u000A"); >-if (arr !== null) { >- testFailed('#1: var arr = /\\S/.exec("\\u000A"); arr[0] === "\\u000A". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#2 >-var arr = /\S/.exec("\u000D"); >-if (arr !== null) { >- testFailed('#2: var arr = /\\S/.exec("\\u000D"); arr[0] === "\\u000D". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#3 >-var arr = /\S/.exec("\u2028"); >-if (arr !== null) { >- testFailed('#3: var arr = /\\S/.exec("\\u2028"); arr[0] === "\\u2028". Actual. ' + (arr && arr[0])); >-} >- >-//CHECK#4 >-var arr = /\S/.exec("\u2029"); >-if (arr !== null) { >- testFailed('#4: var arr = /\\S/.exec("\\u2029"); arr[0] === "\\u2029". Actual. ' + (arr && arr[0])); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3-expected.txt >deleted file mode 100644 >index 579290a79c0..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3.html >deleted file mode 100644 >index 832edc77f58..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T3.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A2_T3; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: S evaluates by returning >-* the set of all characters not included in the set returned by >-* CharacterClassEscape :: s; >-* @description: ENGLISH ALPHABET; >-*/ >- >-var regexp_S = /\S/; >- >-//CHECK#0041-005A >-var result = true; >-for (alpha = 0x0041; alpha <= 0x005A; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_S.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: ENGLISH CAPITAL ALPHABET'); >-} >- >-//CHECK#0061-007A >-var result = true; >-for (alpha = 0x0061; alpha <= 0x007A; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_S.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: english small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4-expected.txt >deleted file mode 100644 >index 0f9269701a0..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4.html >deleted file mode 100644 >index f0057c757cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T4.html >+++ /dev/null >@@ -1,124 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A2_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A2_T4; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: S evaluates by returning >-* the set of all characters not included in the set returned by >-* CharacterClassEscape :: s; >-* @description: RUSSIAN ALPHABET; >-*/ >- >-var regexp_S = /\S/; >- >-//CHECK#0410-042F >-var result = true; >-for (alpha = 0x0410; alpha <= 0x042F; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_S.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: RUSSIAN CAPITAL ALPHABET'); >-} >- >-//CHECK#0430-044F >-var result = true; >-for (alpha = 0x0430; alpha <= 0x044F; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_S.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: russian small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5-expected.txt >deleted file mode 100644 >index d387927e647..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A2_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5.html >deleted file mode 100644 >index 6e2b70a7e94..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T5.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A2_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A2_T5; >-* @section: 15.10.2.12, 7.2, 7.3; >-* @assertion: The production CharacterClassEscape :: S evaluates by returning >-* the set of all characters not included in the set returned by >-* CharacterClassEscape :: s; >-* @description: Tested string is "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; >-*/ >- >-//CHECK#1 >-var non_s = "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; >-var regexp_S = /\S/g; >-var k = 0; >-while (regexp_S.exec(non_s) !== null) { >- k++; >-} >- >-if (non_s.length !== k) { >- testFailed('#1: non-s'); >-} >- >-//CHECK#2 >-var non_S = '\f\n\r\t\v '; >-if (/\S/.exec(non_S) !== null) { >- testFailed('#2: non-S'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1-expected.txt >deleted file mode 100644 >index 889511fa9b1..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A3_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1.html >deleted file mode 100644 >index 1d830c4b958..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T1.html >+++ /dev/null >@@ -1,2141 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A3_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A3_T1; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: >-* a - z, A - Z, 0 - 9, _; >-* @description: A - Z; >-*/ >- >-var i0 = ""; >-for (var j = 0; j < 256; j++) >- i0 += String.fromCharCode(j); >-var o0 = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009\u000A\u000B\u000C\u000D\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0020\u0021\u0022\u0023\u0024\u0025\u0026\u0027\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F\u003A\u003B\u003C\u003D\u003E\u003F\u0040\u005B\u005C\u005D\u005E\u0060\u007B\u007C\u007D\u007E\u007F\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008A\u008B\u008C\u008D\u008E\u008F\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009A\u009B\u009C\u009D\u009E\u009F\u00A0\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AD\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF"; >-if (i0.replace(/\w+/g, "") !== o0) { >- testFailed("#0: Error matching character class \w between character 0 and ff"); >-} >- >-var i1 = ""; >-for (var j = 256; j < 512; j++) >- i1 += String.fromCharCode(j); >-var o1 = i1; >-if (i1.replace(/\w+/g, "") !== o1) { >- testFailed("#1: Error matching character class \w between character 100 and 1ff"); >-} >- >-var i2 = ""; >-for (var j = 512; j < 768; j++) >- i2 += String.fromCharCode(j); >-var o2 = i2; >-if (i2.replace(/\w+/g, "") !== o2) { >- testFailed("#2: Error matching character class \w between character 200 and 2ff"); >-} >- >-var i3 = ""; >-for (var j = 768; j < 1024; j++) >- i3 += String.fromCharCode(j); >-var o3 = i3; >-if (i3.replace(/\w+/g, "") !== o3) { >- testFailed("#3: Error matching character class \w between character 300 and 3ff"); >-} >- >-var i4 = ""; >-for (var j = 1024; j < 1280; j++) >- i4 += String.fromCharCode(j); >-var o4 = i4; >-if (i4.replace(/\w+/g, "") !== o4) { >- testFailed("#4: Error matching character class \w between character 400 and 4ff"); >-} >- >-var i5 = ""; >-for (var j = 1280; j < 1536; j++) >- i5 += String.fromCharCode(j); >-var o5 = i5; >-if (i5.replace(/\w+/g, "") !== o5) { >- testFailed("#5: Error matching character class \w between character 500 and 5ff"); >-} >- >-var i6 = ""; >-for (var j = 1536; j < 1792; j++) >- i6 += String.fromCharCode(j); >-var o6 = i6; >-if (i6.replace(/\w+/g, "") !== o6) { >- testFailed("#6: Error matching character class \w between character 600 and 6ff"); >-} >- >-var i7 = ""; >-for (var j = 1792; j < 2048; j++) >- i7 += String.fromCharCode(j); >-var o7 = i7; >-if (i7.replace(/\w+/g, "") !== o7) { >- testFailed("#7: Error matching character class \w between character 700 and 7ff"); >-} >- >-var i8 = ""; >-for (var j = 2048; j < 2304; j++) >- i8 += String.fromCharCode(j); >-var o8 = i8; >-if (i8.replace(/\w+/g, "") !== o8) { >- testFailed("#8: Error matching character class \w between character 800 and 8ff"); >-} >- >-var i9 = ""; >-for (var j = 2304; j < 2560; j++) >- i9 += String.fromCharCode(j); >-var o9 = i9; >-if (i9.replace(/\w+/g, "") !== o9) { >- testFailed("#9: Error matching character class \w between character 900 and 9ff"); >-} >- >-var i10 = ""; >-for (var j = 2560; j < 2816; j++) >- i10 += String.fromCharCode(j); >-var o10 = i10; >-if (i10.replace(/\w+/g, "") !== o10) { >- testFailed("#10: Error matching character class \w between character a00 and aff"); >-} >- >-var i11 = ""; >-for (var j = 2816; j < 3072; j++) >- i11 += String.fromCharCode(j); >-var o11 = i11; >-if (i11.replace(/\w+/g, "") !== o11) { >- testFailed("#11: Error matching character class \w between character b00 and bff"); >-} >- >-var i12 = ""; >-for (var j = 3072; j < 3328; j++) >- i12 += String.fromCharCode(j); >-var o12 = i12; >-if (i12.replace(/\w+/g, "") !== o12) { >- testFailed("#12: Error matching character class \w between character c00 and cff"); >-} >- >-var i13 = ""; >-for (var j = 3328; j < 3584; j++) >- i13 += String.fromCharCode(j); >-var o13 = i13; >-if (i13.replace(/\w+/g, "") !== o13) { >- testFailed("#13: Error matching character class \w between character d00 and dff"); >-} >- >-var i14 = ""; >-for (var j = 3584; j < 3840; j++) >- i14 += String.fromCharCode(j); >-var o14 = i14; >-if (i14.replace(/\w+/g, "") !== o14) { >- testFailed("#14: Error matching character class \w between character e00 and eff"); >-} >- >-var i15 = ""; >-for (var j = 3840; j < 4096; j++) >- i15 += String.fromCharCode(j); >-var o15 = i15; >-if (i15.replace(/\w+/g, "") !== o15) { >- testFailed("#15: Error matching character class \w between character f00 and fff"); >-} >- >-var i16 = ""; >-for (var j = 4096; j < 4352; j++) >- i16 += String.fromCharCode(j); >-var o16 = i16; >-if (i16.replace(/\w+/g, "") !== o16) { >- testFailed("#16: Error matching character class \w between character 1000 and 10ff"); >-} >- >-var i17 = ""; >-for (var j = 4352; j < 4608; j++) >- i17 += String.fromCharCode(j); >-var o17 = i17; >-if (i17.replace(/\w+/g, "") !== o17) { >- testFailed("#17: Error matching character class \w between character 1100 and 11ff"); >-} >- >-var i18 = ""; >-for (var j = 4608; j < 4864; j++) >- i18 += String.fromCharCode(j); >-var o18 = i18; >-if (i18.replace(/\w+/g, "") !== o18) { >- testFailed("#18: Error matching character class \w between character 1200 and 12ff"); >-} >- >-var i19 = ""; >-for (var j = 4864; j < 5120; j++) >- i19 += String.fromCharCode(j); >-var o19 = i19; >-if (i19.replace(/\w+/g, "") !== o19) { >- testFailed("#19: Error matching character class \w between character 1300 and 13ff"); >-} >- >-var i20 = ""; >-for (var j = 5120; j < 5376; j++) >- i20 += String.fromCharCode(j); >-var o20 = i20; >-if (i20.replace(/\w+/g, "") !== o20) { >- testFailed("#20: Error matching character class \w between character 1400 and 14ff"); >-} >- >-var i21 = ""; >-for (var j = 5376; j < 5632; j++) >- i21 += String.fromCharCode(j); >-var o21 = i21; >-if (i21.replace(/\w+/g, "") !== o21) { >- testFailed("#21: Error matching character class \w between character 1500 and 15ff"); >-} >- >-var i22 = ""; >-for (var j = 5632; j < 5888; j++) >- i22 += String.fromCharCode(j); >-var o22 = i22; >-if (i22.replace(/\w+/g, "") !== o22) { >- testFailed("#22: Error matching character class \w between character 1600 and 16ff"); >-} >- >-var i23 = ""; >-for (var j = 5888; j < 6144; j++) >- i23 += String.fromCharCode(j); >-var o23 = i23; >-if (i23.replace(/\w+/g, "") !== o23) { >- testFailed("#23: Error matching character class \w between character 1700 and 17ff"); >-} >- >-var i24 = ""; >-for (var j = 6144; j < 6400; j++) >- i24 += String.fromCharCode(j); >-var o24 = i24; >-if (i24.replace(/\w+/g, "") !== o24) { >- testFailed("#24: Error matching character class \w between character 1800 and 18ff"); >-} >- >-var i25 = ""; >-for (var j = 6400; j < 6656; j++) >- i25 += String.fromCharCode(j); >-var o25 = i25; >-if (i25.replace(/\w+/g, "") !== o25) { >- testFailed("#25: Error matching character class \w between character 1900 and 19ff"); >-} >- >-var i26 = ""; >-for (var j = 6656; j < 6912; j++) >- i26 += String.fromCharCode(j); >-var o26 = i26; >-if (i26.replace(/\w+/g, "") !== o26) { >- testFailed("#26: Error matching character class \w between character 1a00 and 1aff"); >-} >- >-var i27 = ""; >-for (var j = 6912; j < 7168; j++) >- i27 += String.fromCharCode(j); >-var o27 = i27; >-if (i27.replace(/\w+/g, "") !== o27) { >- testFailed("#27: Error matching character class \w between character 1b00 and 1bff"); >-} >- >-var i28 = ""; >-for (var j = 7168; j < 7424; j++) >- i28 += String.fromCharCode(j); >-var o28 = i28; >-if (i28.replace(/\w+/g, "") !== o28) { >- testFailed("#28: Error matching character class \w between character 1c00 and 1cff"); >-} >- >-var i29 = ""; >-for (var j = 7424; j < 7680; j++) >- i29 += String.fromCharCode(j); >-var o29 = i29; >-if (i29.replace(/\w+/g, "") !== o29) { >- testFailed("#29: Error matching character class \w between character 1d00 and 1dff"); >-} >- >-var i30 = ""; >-for (var j = 7680; j < 7936; j++) >- i30 += String.fromCharCode(j); >-var o30 = i30; >-if (i30.replace(/\w+/g, "") !== o30) { >- testFailed("#30: Error matching character class \w between character 1e00 and 1eff"); >-} >- >-var i31 = ""; >-for (var j = 7936; j < 8192; j++) >- i31 += String.fromCharCode(j); >-var o31 = i31; >-if (i31.replace(/\w+/g, "") !== o31) { >- testFailed("#31: Error matching character class \w between character 1f00 and 1fff"); >-} >- >-var i32 = ""; >-for (var j = 8192; j < 8448; j++) >- i32 += String.fromCharCode(j); >-var o32 = i32; >-if (i32.replace(/\w+/g, "") !== o32) { >- testFailed("#32: Error matching character class \w between character 2000 and 20ff"); >-} >- >-var i33 = ""; >-for (var j = 8448; j < 8704; j++) >- i33 += String.fromCharCode(j); >-var o33 = i33; >-if (i33.replace(/\w+/g, "") !== o33) { >- testFailed("#33: Error matching character class \w between character 2100 and 21ff"); >-} >- >-var i34 = ""; >-for (var j = 8704; j < 8960; j++) >- i34 += String.fromCharCode(j); >-var o34 = i34; >-if (i34.replace(/\w+/g, "") !== o34) { >- testFailed("#34: Error matching character class \w between character 2200 and 22ff"); >-} >- >-var i35 = ""; >-for (var j = 8960; j < 9216; j++) >- i35 += String.fromCharCode(j); >-var o35 = i35; >-if (i35.replace(/\w+/g, "") !== o35) { >- testFailed("#35: Error matching character class \w between character 2300 and 23ff"); >-} >- >-var i36 = ""; >-for (var j = 9216; j < 9472; j++) >- i36 += String.fromCharCode(j); >-var o36 = i36; >-if (i36.replace(/\w+/g, "") !== o36) { >- testFailed("#36: Error matching character class \w between character 2400 and 24ff"); >-} >- >-var i37 = ""; >-for (var j = 9472; j < 9728; j++) >- i37 += String.fromCharCode(j); >-var o37 = i37; >-if (i37.replace(/\w+/g, "") !== o37) { >- testFailed("#37: Error matching character class \w between character 2500 and 25ff"); >-} >- >-var i38 = ""; >-for (var j = 9728; j < 9984; j++) >- i38 += String.fromCharCode(j); >-var o38 = i38; >-if (i38.replace(/\w+/g, "") !== o38) { >- testFailed("#38: Error matching character class \w between character 2600 and 26ff"); >-} >- >-var i39 = ""; >-for (var j = 9984; j < 10240; j++) >- i39 += String.fromCharCode(j); >-var o39 = i39; >-if (i39.replace(/\w+/g, "") !== o39) { >- testFailed("#39: Error matching character class \w between character 2700 and 27ff"); >-} >- >-var i40 = ""; >-for (var j = 10240; j < 10496; j++) >- i40 += String.fromCharCode(j); >-var o40 = i40; >-if (i40.replace(/\w+/g, "") !== o40) { >- testFailed("#40: Error matching character class \w between character 2800 and 28ff"); >-} >- >-var i41 = ""; >-for (var j = 10496; j < 10752; j++) >- i41 += String.fromCharCode(j); >-var o41 = i41; >-if (i41.replace(/\w+/g, "") !== o41) { >- testFailed("#41: Error matching character class \w between character 2900 and 29ff"); >-} >- >-var i42 = ""; >-for (var j = 10752; j < 11008; j++) >- i42 += String.fromCharCode(j); >-var o42 = i42; >-if (i42.replace(/\w+/g, "") !== o42) { >- testFailed("#42: Error matching character class \w between character 2a00 and 2aff"); >-} >- >-var i43 = ""; >-for (var j = 11008; j < 11264; j++) >- i43 += String.fromCharCode(j); >-var o43 = i43; >-if (i43.replace(/\w+/g, "") !== o43) { >- testFailed("#43: Error matching character class \w between character 2b00 and 2bff"); >-} >- >-var i44 = ""; >-for (var j = 11264; j < 11520; j++) >- i44 += String.fromCharCode(j); >-var o44 = i44; >-if (i44.replace(/\w+/g, "") !== o44) { >- testFailed("#44: Error matching character class \w between character 2c00 and 2cff"); >-} >- >-var i45 = ""; >-for (var j = 11520; j < 11776; j++) >- i45 += String.fromCharCode(j); >-var o45 = i45; >-if (i45.replace(/\w+/g, "") !== o45) { >- testFailed("#45: Error matching character class \w between character 2d00 and 2dff"); >-} >- >-var i46 = ""; >-for (var j = 11776; j < 12032; j++) >- i46 += String.fromCharCode(j); >-var o46 = i46; >-if (i46.replace(/\w+/g, "") !== o46) { >- testFailed("#46: Error matching character class \w between character 2e00 and 2eff"); >-} >- >-var i47 = ""; >-for (var j = 12032; j < 12288; j++) >- i47 += String.fromCharCode(j); >-var o47 = i47; >-if (i47.replace(/\w+/g, "") !== o47) { >- testFailed("#47: Error matching character class \w between character 2f00 and 2fff"); >-} >- >-var i48 = ""; >-for (var j = 12288; j < 12544; j++) >- i48 += String.fromCharCode(j); >-var o48 = i48; >-if (i48.replace(/\w+/g, "") !== o48) { >- testFailed("#48: Error matching character class \w between character 3000 and 30ff"); >-} >- >-var i49 = ""; >-for (var j = 12544; j < 12800; j++) >- i49 += String.fromCharCode(j); >-var o49 = i49; >-if (i49.replace(/\w+/g, "") !== o49) { >- testFailed("#49: Error matching character class \w between character 3100 and 31ff"); >-} >- >-var i50 = ""; >-for (var j = 12800; j < 13056; j++) >- i50 += String.fromCharCode(j); >-var o50 = i50; >-if (i50.replace(/\w+/g, "") !== o50) { >- testFailed("#50: Error matching character class \w between character 3200 and 32ff"); >-} >- >-var i51 = ""; >-for (var j = 13056; j < 13312; j++) >- i51 += String.fromCharCode(j); >-var o51 = i51; >-if (i51.replace(/\w+/g, "") !== o51) { >- testFailed("#51: Error matching character class \w between character 3300 and 33ff"); >-} >- >-var i52 = ""; >-for (var j = 13312; j < 13568; j++) >- i52 += String.fromCharCode(j); >-var o52 = i52; >-if (i52.replace(/\w+/g, "") !== o52) { >- testFailed("#52: Error matching character class \w between character 3400 and 34ff"); >-} >- >-var i53 = ""; >-for (var j = 13568; j < 13824; j++) >- i53 += String.fromCharCode(j); >-var o53 = i53; >-if (i53.replace(/\w+/g, "") !== o53) { >- testFailed("#53: Error matching character class \w between character 3500 and 35ff"); >-} >- >-var i54 = ""; >-for (var j = 13824; j < 14080; j++) >- i54 += String.fromCharCode(j); >-var o54 = i54; >-if (i54.replace(/\w+/g, "") !== o54) { >- testFailed("#54: Error matching character class \w between character 3600 and 36ff"); >-} >- >-var i55 = ""; >-for (var j = 14080; j < 14336; j++) >- i55 += String.fromCharCode(j); >-var o55 = i55; >-if (i55.replace(/\w+/g, "") !== o55) { >- testFailed("#55: Error matching character class \w between character 3700 and 37ff"); >-} >- >-var i56 = ""; >-for (var j = 14336; j < 14592; j++) >- i56 += String.fromCharCode(j); >-var o56 = i56; >-if (i56.replace(/\w+/g, "") !== o56) { >- testFailed("#56: Error matching character class \w between character 3800 and 38ff"); >-} >- >-var i57 = ""; >-for (var j = 14592; j < 14848; j++) >- i57 += String.fromCharCode(j); >-var o57 = i57; >-if (i57.replace(/\w+/g, "") !== o57) { >- testFailed("#57: Error matching character class \w between character 3900 and 39ff"); >-} >- >-var i58 = ""; >-for (var j = 14848; j < 15104; j++) >- i58 += String.fromCharCode(j); >-var o58 = i58; >-if (i58.replace(/\w+/g, "") !== o58) { >- testFailed("#58: Error matching character class \w between character 3a00 and 3aff"); >-} >- >-var i59 = ""; >-for (var j = 15104; j < 15360; j++) >- i59 += String.fromCharCode(j); >-var o59 = i59; >-if (i59.replace(/\w+/g, "") !== o59) { >- testFailed("#59: Error matching character class \w between character 3b00 and 3bff"); >-} >- >-var i60 = ""; >-for (var j = 15360; j < 15616; j++) >- i60 += String.fromCharCode(j); >-var o60 = i60; >-if (i60.replace(/\w+/g, "") !== o60) { >- testFailed("#60: Error matching character class \w between character 3c00 and 3cff"); >-} >- >-var i61 = ""; >-for (var j = 15616; j < 15872; j++) >- i61 += String.fromCharCode(j); >-var o61 = i61; >-if (i61.replace(/\w+/g, "") !== o61) { >- testFailed("#61: Error matching character class \w between character 3d00 and 3dff"); >-} >- >-var i62 = ""; >-for (var j = 15872; j < 16128; j++) >- i62 += String.fromCharCode(j); >-var o62 = i62; >-if (i62.replace(/\w+/g, "") !== o62) { >- testFailed("#62: Error matching character class \w between character 3e00 and 3eff"); >-} >- >-var i63 = ""; >-for (var j = 16128; j < 16384; j++) >- i63 += String.fromCharCode(j); >-var o63 = i63; >-if (i63.replace(/\w+/g, "") !== o63) { >- testFailed("#63: Error matching character class \w between character 3f00 and 3fff"); >-} >- >-var i64 = ""; >-for (var j = 16384; j < 16640; j++) >- i64 += String.fromCharCode(j); >-var o64 = i64; >-if (i64.replace(/\w+/g, "") !== o64) { >- testFailed("#64: Error matching character class \w between character 4000 and 40ff"); >-} >- >-var i65 = ""; >-for (var j = 16640; j < 16896; j++) >- i65 += String.fromCharCode(j); >-var o65 = i65; >-if (i65.replace(/\w+/g, "") !== o65) { >- testFailed("#65: Error matching character class \w between character 4100 and 41ff"); >-} >- >-var i66 = ""; >-for (var j = 16896; j < 17152; j++) >- i66 += String.fromCharCode(j); >-var o66 = i66; >-if (i66.replace(/\w+/g, "") !== o66) { >- testFailed("#66: Error matching character class \w between character 4200 and 42ff"); >-} >- >-var i67 = ""; >-for (var j = 17152; j < 17408; j++) >- i67 += String.fromCharCode(j); >-var o67 = i67; >-if (i67.replace(/\w+/g, "") !== o67) { >- testFailed("#67: Error matching character class \w between character 4300 and 43ff"); >-} >- >-var i68 = ""; >-for (var j = 17408; j < 17664; j++) >- i68 += String.fromCharCode(j); >-var o68 = i68; >-if (i68.replace(/\w+/g, "") !== o68) { >- testFailed("#68: Error matching character class \w between character 4400 and 44ff"); >-} >- >-var i69 = ""; >-for (var j = 17664; j < 17920; j++) >- i69 += String.fromCharCode(j); >-var o69 = i69; >-if (i69.replace(/\w+/g, "") !== o69) { >- testFailed("#69: Error matching character class \w between character 4500 and 45ff"); >-} >- >-var i70 = ""; >-for (var j = 17920; j < 18176; j++) >- i70 += String.fromCharCode(j); >-var o70 = i70; >-if (i70.replace(/\w+/g, "") !== o70) { >- testFailed("#70: Error matching character class \w between character 4600 and 46ff"); >-} >- >-var i71 = ""; >-for (var j = 18176; j < 18432; j++) >- i71 += String.fromCharCode(j); >-var o71 = i71; >-if (i71.replace(/\w+/g, "") !== o71) { >- testFailed("#71: Error matching character class \w between character 4700 and 47ff"); >-} >- >-var i72 = ""; >-for (var j = 18432; j < 18688; j++) >- i72 += String.fromCharCode(j); >-var o72 = i72; >-if (i72.replace(/\w+/g, "") !== o72) { >- testFailed("#72: Error matching character class \w between character 4800 and 48ff"); >-} >- >-var i73 = ""; >-for (var j = 18688; j < 18944; j++) >- i73 += String.fromCharCode(j); >-var o73 = i73; >-if (i73.replace(/\w+/g, "") !== o73) { >- testFailed("#73: Error matching character class \w between character 4900 and 49ff"); >-} >- >-var i74 = ""; >-for (var j = 18944; j < 19200; j++) >- i74 += String.fromCharCode(j); >-var o74 = i74; >-if (i74.replace(/\w+/g, "") !== o74) { >- testFailed("#74: Error matching character class \w between character 4a00 and 4aff"); >-} >- >-var i75 = ""; >-for (var j = 19200; j < 19456; j++) >- i75 += String.fromCharCode(j); >-var o75 = i75; >-if (i75.replace(/\w+/g, "") !== o75) { >- testFailed("#75: Error matching character class \w between character 4b00 and 4bff"); >-} >- >-var i76 = ""; >-for (var j = 19456; j < 19712; j++) >- i76 += String.fromCharCode(j); >-var o76 = i76; >-if (i76.replace(/\w+/g, "") !== o76) { >- testFailed("#76: Error matching character class \w between character 4c00 and 4cff"); >-} >- >-var i77 = ""; >-for (var j = 19712; j < 19968; j++) >- i77 += String.fromCharCode(j); >-var o77 = i77; >-if (i77.replace(/\w+/g, "") !== o77) { >- testFailed("#77: Error matching character class \w between character 4d00 and 4dff"); >-} >- >-var i78 = ""; >-for (var j = 19968; j < 20224; j++) >- i78 += String.fromCharCode(j); >-var o78 = i78; >-if (i78.replace(/\w+/g, "") !== o78) { >- testFailed("#78: Error matching character class \w between character 4e00 and 4eff"); >-} >- >-var i79 = ""; >-for (var j = 20224; j < 20480; j++) >- i79 += String.fromCharCode(j); >-var o79 = i79; >-if (i79.replace(/\w+/g, "") !== o79) { >- testFailed("#79: Error matching character class \w between character 4f00 and 4fff"); >-} >- >-var i80 = ""; >-for (var j = 20480; j < 20736; j++) >- i80 += String.fromCharCode(j); >-var o80 = i80; >-if (i80.replace(/\w+/g, "") !== o80) { >- testFailed("#80: Error matching character class \w between character 5000 and 50ff"); >-} >- >-var i81 = ""; >-for (var j = 20736; j < 20992; j++) >- i81 += String.fromCharCode(j); >-var o81 = i81; >-if (i81.replace(/\w+/g, "") !== o81) { >- testFailed("#81: Error matching character class \w between character 5100 and 51ff"); >-} >- >-var i82 = ""; >-for (var j = 20992; j < 21248; j++) >- i82 += String.fromCharCode(j); >-var o82 = i82; >-if (i82.replace(/\w+/g, "") !== o82) { >- testFailed("#82: Error matching character class \w between character 5200 and 52ff"); >-} >- >-var i83 = ""; >-for (var j = 21248; j < 21504; j++) >- i83 += String.fromCharCode(j); >-var o83 = i83; >-if (i83.replace(/\w+/g, "") !== o83) { >- testFailed("#83: Error matching character class \w between character 5300 and 53ff"); >-} >- >-var i84 = ""; >-for (var j = 21504; j < 21760; j++) >- i84 += String.fromCharCode(j); >-var o84 = i84; >-if (i84.replace(/\w+/g, "") !== o84) { >- testFailed("#84: Error matching character class \w between character 5400 and 54ff"); >-} >- >-var i85 = ""; >-for (var j = 21760; j < 22016; j++) >- i85 += String.fromCharCode(j); >-var o85 = i85; >-if (i85.replace(/\w+/g, "") !== o85) { >- testFailed("#85: Error matching character class \w between character 5500 and 55ff"); >-} >- >-var i86 = ""; >-for (var j = 22016; j < 22272; j++) >- i86 += String.fromCharCode(j); >-var o86 = i86; >-if (i86.replace(/\w+/g, "") !== o86) { >- testFailed("#86: Error matching character class \w between character 5600 and 56ff"); >-} >- >-var i87 = ""; >-for (var j = 22272; j < 22528; j++) >- i87 += String.fromCharCode(j); >-var o87 = i87; >-if (i87.replace(/\w+/g, "") !== o87) { >- testFailed("#87: Error matching character class \w between character 5700 and 57ff"); >-} >- >-var i88 = ""; >-for (var j = 22528; j < 22784; j++) >- i88 += String.fromCharCode(j); >-var o88 = i88; >-if (i88.replace(/\w+/g, "") !== o88) { >- testFailed("#88: Error matching character class \w between character 5800 and 58ff"); >-} >- >-var i89 = ""; >-for (var j = 22784; j < 23040; j++) >- i89 += String.fromCharCode(j); >-var o89 = i89; >-if (i89.replace(/\w+/g, "") !== o89) { >- testFailed("#89: Error matching character class \w between character 5900 and 59ff"); >-} >- >-var i90 = ""; >-for (var j = 23040; j < 23296; j++) >- i90 += String.fromCharCode(j); >-var o90 = i90; >-if (i90.replace(/\w+/g, "") !== o90) { >- testFailed("#90: Error matching character class \w between character 5a00 and 5aff"); >-} >- >-var i91 = ""; >-for (var j = 23296; j < 23552; j++) >- i91 += String.fromCharCode(j); >-var o91 = i91; >-if (i91.replace(/\w+/g, "") !== o91) { >- testFailed("#91: Error matching character class \w between character 5b00 and 5bff"); >-} >- >-var i92 = ""; >-for (var j = 23552; j < 23808; j++) >- i92 += String.fromCharCode(j); >-var o92 = i92; >-if (i92.replace(/\w+/g, "") !== o92) { >- testFailed("#92: Error matching character class \w between character 5c00 and 5cff"); >-} >- >-var i93 = ""; >-for (var j = 23808; j < 24064; j++) >- i93 += String.fromCharCode(j); >-var o93 = i93; >-if (i93.replace(/\w+/g, "") !== o93) { >- testFailed("#93: Error matching character class \w between character 5d00 and 5dff"); >-} >- >-var i94 = ""; >-for (var j = 24064; j < 24320; j++) >- i94 += String.fromCharCode(j); >-var o94 = i94; >-if (i94.replace(/\w+/g, "") !== o94) { >- testFailed("#94: Error matching character class \w between character 5e00 and 5eff"); >-} >- >-var i95 = ""; >-for (var j = 24320; j < 24576; j++) >- i95 += String.fromCharCode(j); >-var o95 = i95; >-if (i95.replace(/\w+/g, "") !== o95) { >- testFailed("#95: Error matching character class \w between character 5f00 and 5fff"); >-} >- >-var i96 = ""; >-for (var j = 24576; j < 24832; j++) >- i96 += String.fromCharCode(j); >-var o96 = i96; >-if (i96.replace(/\w+/g, "") !== o96) { >- testFailed("#96: Error matching character class \w between character 6000 and 60ff"); >-} >- >-var i97 = ""; >-for (var j = 24832; j < 25088; j++) >- i97 += String.fromCharCode(j); >-var o97 = i97; >-if (i97.replace(/\w+/g, "") !== o97) { >- testFailed("#97: Error matching character class \w between character 6100 and 61ff"); >-} >- >-var i98 = ""; >-for (var j = 25088; j < 25344; j++) >- i98 += String.fromCharCode(j); >-var o98 = i98; >-if (i98.replace(/\w+/g, "") !== o98) { >- testFailed("#98: Error matching character class \w between character 6200 and 62ff"); >-} >- >-var i99 = ""; >-for (var j = 25344; j < 25600; j++) >- i99 += String.fromCharCode(j); >-var o99 = i99; >-if (i99.replace(/\w+/g, "") !== o99) { >- testFailed("#99: Error matching character class \w between character 6300 and 63ff"); >-} >- >-var i100 = ""; >-for (var j = 25600; j < 25856; j++) >- i100 += String.fromCharCode(j); >-var o100 = i100; >-if (i100.replace(/\w+/g, "") !== o100) { >- testFailed("#100: Error matching character class \w between character 6400 and 64ff"); >-} >- >-var i101 = ""; >-for (var j = 25856; j < 26112; j++) >- i101 += String.fromCharCode(j); >-var o101 = i101; >-if (i101.replace(/\w+/g, "") !== o101) { >- testFailed("#101: Error matching character class \w between character 6500 and 65ff"); >-} >- >-var i102 = ""; >-for (var j = 26112; j < 26368; j++) >- i102 += String.fromCharCode(j); >-var o102 = i102; >-if (i102.replace(/\w+/g, "") !== o102) { >- testFailed("#102: Error matching character class \w between character 6600 and 66ff"); >-} >- >-var i103 = ""; >-for (var j = 26368; j < 26624; j++) >- i103 += String.fromCharCode(j); >-var o103 = i103; >-if (i103.replace(/\w+/g, "") !== o103) { >- testFailed("#103: Error matching character class \w between character 6700 and 67ff"); >-} >- >-var i104 = ""; >-for (var j = 26624; j < 26880; j++) >- i104 += String.fromCharCode(j); >-var o104 = i104; >-if (i104.replace(/\w+/g, "") !== o104) { >- testFailed("#104: Error matching character class \w between character 6800 and 68ff"); >-} >- >-var i105 = ""; >-for (var j = 26880; j < 27136; j++) >- i105 += String.fromCharCode(j); >-var o105 = i105; >-if (i105.replace(/\w+/g, "") !== o105) { >- testFailed("#105: Error matching character class \w between character 6900 and 69ff"); >-} >- >-var i106 = ""; >-for (var j = 27136; j < 27392; j++) >- i106 += String.fromCharCode(j); >-var o106 = i106; >-if (i106.replace(/\w+/g, "") !== o106) { >- testFailed("#106: Error matching character class \w between character 6a00 and 6aff"); >-} >- >-var i107 = ""; >-for (var j = 27392; j < 27648; j++) >- i107 += String.fromCharCode(j); >-var o107 = i107; >-if (i107.replace(/\w+/g, "") !== o107) { >- testFailed("#107: Error matching character class \w between character 6b00 and 6bff"); >-} >- >-var i108 = ""; >-for (var j = 27648; j < 27904; j++) >- i108 += String.fromCharCode(j); >-var o108 = i108; >-if (i108.replace(/\w+/g, "") !== o108) { >- testFailed("#108: Error matching character class \w between character 6c00 and 6cff"); >-} >- >-var i109 = ""; >-for (var j = 27904; j < 28160; j++) >- i109 += String.fromCharCode(j); >-var o109 = i109; >-if (i109.replace(/\w+/g, "") !== o109) { >- testFailed("#109: Error matching character class \w between character 6d00 and 6dff"); >-} >- >-var i110 = ""; >-for (var j = 28160; j < 28416; j++) >- i110 += String.fromCharCode(j); >-var o110 = i110; >-if (i110.replace(/\w+/g, "") !== o110) { >- testFailed("#110: Error matching character class \w between character 6e00 and 6eff"); >-} >- >-var i111 = ""; >-for (var j = 28416; j < 28672; j++) >- i111 += String.fromCharCode(j); >-var o111 = i111; >-if (i111.replace(/\w+/g, "") !== o111) { >- testFailed("#111: Error matching character class \w between character 6f00 and 6fff"); >-} >- >-var i112 = ""; >-for (var j = 28672; j < 28928; j++) >- i112 += String.fromCharCode(j); >-var o112 = i112; >-if (i112.replace(/\w+/g, "") !== o112) { >- testFailed("#112: Error matching character class \w between character 7000 and 70ff"); >-} >- >-var i113 = ""; >-for (var j = 28928; j < 29184; j++) >- i113 += String.fromCharCode(j); >-var o113 = i113; >-if (i113.replace(/\w+/g, "") !== o113) { >- testFailed("#113: Error matching character class \w between character 7100 and 71ff"); >-} >- >-var i114 = ""; >-for (var j = 29184; j < 29440; j++) >- i114 += String.fromCharCode(j); >-var o114 = i114; >-if (i114.replace(/\w+/g, "") !== o114) { >- testFailed("#114: Error matching character class \w between character 7200 and 72ff"); >-} >- >-var i115 = ""; >-for (var j = 29440; j < 29696; j++) >- i115 += String.fromCharCode(j); >-var o115 = i115; >-if (i115.replace(/\w+/g, "") !== o115) { >- testFailed("#115: Error matching character class \w between character 7300 and 73ff"); >-} >- >-var i116 = ""; >-for (var j = 29696; j < 29952; j++) >- i116 += String.fromCharCode(j); >-var o116 = i116; >-if (i116.replace(/\w+/g, "") !== o116) { >- testFailed("#116: Error matching character class \w between character 7400 and 74ff"); >-} >- >-var i117 = ""; >-for (var j = 29952; j < 30208; j++) >- i117 += String.fromCharCode(j); >-var o117 = i117; >-if (i117.replace(/\w+/g, "") !== o117) { >- testFailed("#117: Error matching character class \w between character 7500 and 75ff"); >-} >- >-var i118 = ""; >-for (var j = 30208; j < 30464; j++) >- i118 += String.fromCharCode(j); >-var o118 = i118; >-if (i118.replace(/\w+/g, "") !== o118) { >- testFailed("#118: Error matching character class \w between character 7600 and 76ff"); >-} >- >-var i119 = ""; >-for (var j = 30464; j < 30720; j++) >- i119 += String.fromCharCode(j); >-var o119 = i119; >-if (i119.replace(/\w+/g, "") !== o119) { >- testFailed("#119: Error matching character class \w between character 7700 and 77ff"); >-} >- >-var i120 = ""; >-for (var j = 30720; j < 30976; j++) >- i120 += String.fromCharCode(j); >-var o120 = i120; >-if (i120.replace(/\w+/g, "") !== o120) { >- testFailed("#120: Error matching character class \w between character 7800 and 78ff"); >-} >- >-var i121 = ""; >-for (var j = 30976; j < 31232; j++) >- i121 += String.fromCharCode(j); >-var o121 = i121; >-if (i121.replace(/\w+/g, "") !== o121) { >- testFailed("#121: Error matching character class \w between character 7900 and 79ff"); >-} >- >-var i122 = ""; >-for (var j = 31232; j < 31488; j++) >- i122 += String.fromCharCode(j); >-var o122 = i122; >-if (i122.replace(/\w+/g, "") !== o122) { >- testFailed("#122: Error matching character class \w between character 7a00 and 7aff"); >-} >- >-var i123 = ""; >-for (var j = 31488; j < 31744; j++) >- i123 += String.fromCharCode(j); >-var o123 = i123; >-if (i123.replace(/\w+/g, "") !== o123) { >- testFailed("#123: Error matching character class \w between character 7b00 and 7bff"); >-} >- >-var i124 = ""; >-for (var j = 31744; j < 32000; j++) >- i124 += String.fromCharCode(j); >-var o124 = i124; >-if (i124.replace(/\w+/g, "") !== o124) { >- testFailed("#124: Error matching character class \w between character 7c00 and 7cff"); >-} >- >-var i125 = ""; >-for (var j = 32000; j < 32256; j++) >- i125 += String.fromCharCode(j); >-var o125 = i125; >-if (i125.replace(/\w+/g, "") !== o125) { >- testFailed("#125: Error matching character class \w between character 7d00 and 7dff"); >-} >- >-var i126 = ""; >-for (var j = 32256; j < 32512; j++) >- i126 += String.fromCharCode(j); >-var o126 = i126; >-if (i126.replace(/\w+/g, "") !== o126) { >- testFailed("#126: Error matching character class \w between character 7e00 and 7eff"); >-} >- >-var i127 = ""; >-for (var j = 32512; j < 32768; j++) >- i127 += String.fromCharCode(j); >-var o127 = i127; >-if (i127.replace(/\w+/g, "") !== o127) { >- testFailed("#127: Error matching character class \w between character 7f00 and 7fff"); >-} >- >-var i128 = ""; >-for (var j = 32768; j < 33024; j++) >- i128 += String.fromCharCode(j); >-var o128 = i128; >-if (i128.replace(/\w+/g, "") !== o128) { >- testFailed("#128: Error matching character class \w between character 8000 and 80ff"); >-} >- >-var i129 = ""; >-for (var j = 33024; j < 33280; j++) >- i129 += String.fromCharCode(j); >-var o129 = i129; >-if (i129.replace(/\w+/g, "") !== o129) { >- testFailed("#129: Error matching character class \w between character 8100 and 81ff"); >-} >- >-var i130 = ""; >-for (var j = 33280; j < 33536; j++) >- i130 += String.fromCharCode(j); >-var o130 = i130; >-if (i130.replace(/\w+/g, "") !== o130) { >- testFailed("#130: Error matching character class \w between character 8200 and 82ff"); >-} >- >-var i131 = ""; >-for (var j = 33536; j < 33792; j++) >- i131 += String.fromCharCode(j); >-var o131 = i131; >-if (i131.replace(/\w+/g, "") !== o131) { >- testFailed("#131: Error matching character class \w between character 8300 and 83ff"); >-} >- >-var i132 = ""; >-for (var j = 33792; j < 34048; j++) >- i132 += String.fromCharCode(j); >-var o132 = i132; >-if (i132.replace(/\w+/g, "") !== o132) { >- testFailed("#132: Error matching character class \w between character 8400 and 84ff"); >-} >- >-var i133 = ""; >-for (var j = 34048; j < 34304; j++) >- i133 += String.fromCharCode(j); >-var o133 = i133; >-if (i133.replace(/\w+/g, "") !== o133) { >- testFailed("#133: Error matching character class \w between character 8500 and 85ff"); >-} >- >-var i134 = ""; >-for (var j = 34304; j < 34560; j++) >- i134 += String.fromCharCode(j); >-var o134 = i134; >-if (i134.replace(/\w+/g, "") !== o134) { >- testFailed("#134: Error matching character class \w between character 8600 and 86ff"); >-} >- >-var i135 = ""; >-for (var j = 34560; j < 34816; j++) >- i135 += String.fromCharCode(j); >-var o135 = i135; >-if (i135.replace(/\w+/g, "") !== o135) { >- testFailed("#135: Error matching character class \w between character 8700 and 87ff"); >-} >- >-var i136 = ""; >-for (var j = 34816; j < 35072; j++) >- i136 += String.fromCharCode(j); >-var o136 = i136; >-if (i136.replace(/\w+/g, "") !== o136) { >- testFailed("#136: Error matching character class \w between character 8800 and 88ff"); >-} >- >-var i137 = ""; >-for (var j = 35072; j < 35328; j++) >- i137 += String.fromCharCode(j); >-var o137 = i137; >-if (i137.replace(/\w+/g, "") !== o137) { >- testFailed("#137: Error matching character class \w between character 8900 and 89ff"); >-} >- >-var i138 = ""; >-for (var j = 35328; j < 35584; j++) >- i138 += String.fromCharCode(j); >-var o138 = i138; >-if (i138.replace(/\w+/g, "") !== o138) { >- testFailed("#138: Error matching character class \w between character 8a00 and 8aff"); >-} >- >-var i139 = ""; >-for (var j = 35584; j < 35840; j++) >- i139 += String.fromCharCode(j); >-var o139 = i139; >-if (i139.replace(/\w+/g, "") !== o139) { >- testFailed("#139: Error matching character class \w between character 8b00 and 8bff"); >-} >- >-var i140 = ""; >-for (var j = 35840; j < 36096; j++) >- i140 += String.fromCharCode(j); >-var o140 = i140; >-if (i140.replace(/\w+/g, "") !== o140) { >- testFailed("#140: Error matching character class \w between character 8c00 and 8cff"); >-} >- >-var i141 = ""; >-for (var j = 36096; j < 36352; j++) >- i141 += String.fromCharCode(j); >-var o141 = i141; >-if (i141.replace(/\w+/g, "") !== o141) { >- testFailed("#141: Error matching character class \w between character 8d00 and 8dff"); >-} >- >-var i142 = ""; >-for (var j = 36352; j < 36608; j++) >- i142 += String.fromCharCode(j); >-var o142 = i142; >-if (i142.replace(/\w+/g, "") !== o142) { >- testFailed("#142: Error matching character class \w between character 8e00 and 8eff"); >-} >- >-var i143 = ""; >-for (var j = 36608; j < 36864; j++) >- i143 += String.fromCharCode(j); >-var o143 = i143; >-if (i143.replace(/\w+/g, "") !== o143) { >- testFailed("#143: Error matching character class \w between character 8f00 and 8fff"); >-} >- >-var i144 = ""; >-for (var j = 36864; j < 37120; j++) >- i144 += String.fromCharCode(j); >-var o144 = i144; >-if (i144.replace(/\w+/g, "") !== o144) { >- testFailed("#144: Error matching character class \w between character 9000 and 90ff"); >-} >- >-var i145 = ""; >-for (var j = 37120; j < 37376; j++) >- i145 += String.fromCharCode(j); >-var o145 = i145; >-if (i145.replace(/\w+/g, "") !== o145) { >- testFailed("#145: Error matching character class \w between character 9100 and 91ff"); >-} >- >-var i146 = ""; >-for (var j = 37376; j < 37632; j++) >- i146 += String.fromCharCode(j); >-var o146 = i146; >-if (i146.replace(/\w+/g, "") !== o146) { >- testFailed("#146: Error matching character class \w between character 9200 and 92ff"); >-} >- >-var i147 = ""; >-for (var j = 37632; j < 37888; j++) >- i147 += String.fromCharCode(j); >-var o147 = i147; >-if (i147.replace(/\w+/g, "") !== o147) { >- testFailed("#147: Error matching character class \w between character 9300 and 93ff"); >-} >- >-var i148 = ""; >-for (var j = 37888; j < 38144; j++) >- i148 += String.fromCharCode(j); >-var o148 = i148; >-if (i148.replace(/\w+/g, "") !== o148) { >- testFailed("#148: Error matching character class \w between character 9400 and 94ff"); >-} >- >-var i149 = ""; >-for (var j = 38144; j < 38400; j++) >- i149 += String.fromCharCode(j); >-var o149 = i149; >-if (i149.replace(/\w+/g, "") !== o149) { >- testFailed("#149: Error matching character class \w between character 9500 and 95ff"); >-} >- >-var i150 = ""; >-for (var j = 38400; j < 38656; j++) >- i150 += String.fromCharCode(j); >-var o150 = i150; >-if (i150.replace(/\w+/g, "") !== o150) { >- testFailed("#150: Error matching character class \w between character 9600 and 96ff"); >-} >- >-var i151 = ""; >-for (var j = 38656; j < 38912; j++) >- i151 += String.fromCharCode(j); >-var o151 = i151; >-if (i151.replace(/\w+/g, "") !== o151) { >- testFailed("#151: Error matching character class \w between character 9700 and 97ff"); >-} >- >-var i152 = ""; >-for (var j = 38912; j < 39168; j++) >- i152 += String.fromCharCode(j); >-var o152 = i152; >-if (i152.replace(/\w+/g, "") !== o152) { >- testFailed("#152: Error matching character class \w between character 9800 and 98ff"); >-} >- >-var i153 = ""; >-for (var j = 39168; j < 39424; j++) >- i153 += String.fromCharCode(j); >-var o153 = i153; >-if (i153.replace(/\w+/g, "") !== o153) { >- testFailed("#153: Error matching character class \w between character 9900 and 99ff"); >-} >- >-var i154 = ""; >-for (var j = 39424; j < 39680; j++) >- i154 += String.fromCharCode(j); >-var o154 = i154; >-if (i154.replace(/\w+/g, "") !== o154) { >- testFailed("#154: Error matching character class \w between character 9a00 and 9aff"); >-} >- >-var i155 = ""; >-for (var j = 39680; j < 39936; j++) >- i155 += String.fromCharCode(j); >-var o155 = i155; >-if (i155.replace(/\w+/g, "") !== o155) { >- testFailed("#155: Error matching character class \w between character 9b00 and 9bff"); >-} >- >-var i156 = ""; >-for (var j = 39936; j < 40192; j++) >- i156 += String.fromCharCode(j); >-var o156 = i156; >-if (i156.replace(/\w+/g, "") !== o156) { >- testFailed("#156: Error matching character class \w between character 9c00 and 9cff"); >-} >- >-var i157 = ""; >-for (var j = 40192; j < 40448; j++) >- i157 += String.fromCharCode(j); >-var o157 = i157; >-if (i157.replace(/\w+/g, "") !== o157) { >- testFailed("#157: Error matching character class \w between character 9d00 and 9dff"); >-} >- >-var i158 = ""; >-for (var j = 40448; j < 40704; j++) >- i158 += String.fromCharCode(j); >-var o158 = i158; >-if (i158.replace(/\w+/g, "") !== o158) { >- testFailed("#158: Error matching character class \w between character 9e00 and 9eff"); >-} >- >-var i159 = ""; >-for (var j = 40704; j < 40960; j++) >- i159 += String.fromCharCode(j); >-var o159 = i159; >-if (i159.replace(/\w+/g, "") !== o159) { >- testFailed("#159: Error matching character class \w between character 9f00 and 9fff"); >-} >- >-var i160 = ""; >-for (var j = 40960; j < 41216; j++) >- i160 += String.fromCharCode(j); >-var o160 = i160; >-if (i160.replace(/\w+/g, "") !== o160) { >- testFailed("#160: Error matching character class \w between character a000 and a0ff"); >-} >- >-var i161 = ""; >-for (var j = 41216; j < 41472; j++) >- i161 += String.fromCharCode(j); >-var o161 = i161; >-if (i161.replace(/\w+/g, "") !== o161) { >- testFailed("#161: Error matching character class \w between character a100 and a1ff"); >-} >- >-var i162 = ""; >-for (var j = 41472; j < 41728; j++) >- i162 += String.fromCharCode(j); >-var o162 = i162; >-if (i162.replace(/\w+/g, "") !== o162) { >- testFailed("#162: Error matching character class \w between character a200 and a2ff"); >-} >- >-var i163 = ""; >-for (var j = 41728; j < 41984; j++) >- i163 += String.fromCharCode(j); >-var o163 = i163; >-if (i163.replace(/\w+/g, "") !== o163) { >- testFailed("#163: Error matching character class \w between character a300 and a3ff"); >-} >- >-var i164 = ""; >-for (var j = 41984; j < 42240; j++) >- i164 += String.fromCharCode(j); >-var o164 = i164; >-if (i164.replace(/\w+/g, "") !== o164) { >- testFailed("#164: Error matching character class \w between character a400 and a4ff"); >-} >- >-var i165 = ""; >-for (var j = 42240; j < 42496; j++) >- i165 += String.fromCharCode(j); >-var o165 = i165; >-if (i165.replace(/\w+/g, "") !== o165) { >- testFailed("#165: Error matching character class \w between character a500 and a5ff"); >-} >- >-var i166 = ""; >-for (var j = 42496; j < 42752; j++) >- i166 += String.fromCharCode(j); >-var o166 = i166; >-if (i166.replace(/\w+/g, "") !== o166) { >- testFailed("#166: Error matching character class \w between character a600 and a6ff"); >-} >- >-var i167 = ""; >-for (var j = 42752; j < 43008; j++) >- i167 += String.fromCharCode(j); >-var o167 = i167; >-if (i167.replace(/\w+/g, "") !== o167) { >- testFailed("#167: Error matching character class \w between character a700 and a7ff"); >-} >- >-var i168 = ""; >-for (var j = 43008; j < 43264; j++) >- i168 += String.fromCharCode(j); >-var o168 = i168; >-if (i168.replace(/\w+/g, "") !== o168) { >- testFailed("#168: Error matching character class \w between character a800 and a8ff"); >-} >- >-var i169 = ""; >-for (var j = 43264; j < 43520; j++) >- i169 += String.fromCharCode(j); >-var o169 = i169; >-if (i169.replace(/\w+/g, "") !== o169) { >- testFailed("#169: Error matching character class \w between character a900 and a9ff"); >-} >- >-var i170 = ""; >-for (var j = 43520; j < 43776; j++) >- i170 += String.fromCharCode(j); >-var o170 = i170; >-if (i170.replace(/\w+/g, "") !== o170) { >- testFailed("#170: Error matching character class \w between character aa00 and aaff"); >-} >- >-var i171 = ""; >-for (var j = 43776; j < 44032; j++) >- i171 += String.fromCharCode(j); >-var o171 = i171; >-if (i171.replace(/\w+/g, "") !== o171) { >- testFailed("#171: Error matching character class \w between character ab00 and abff"); >-} >- >-var i172 = ""; >-for (var j = 44032; j < 44288; j++) >- i172 += String.fromCharCode(j); >-var o172 = i172; >-if (i172.replace(/\w+/g, "") !== o172) { >- testFailed("#172: Error matching character class \w between character ac00 and acff"); >-} >- >-var i173 = ""; >-for (var j = 44288; j < 44544; j++) >- i173 += String.fromCharCode(j); >-var o173 = i173; >-if (i173.replace(/\w+/g, "") !== o173) { >- testFailed("#173: Error matching character class \w between character ad00 and adff"); >-} >- >-var i174 = ""; >-for (var j = 44544; j < 44800; j++) >- i174 += String.fromCharCode(j); >-var o174 = i174; >-if (i174.replace(/\w+/g, "") !== o174) { >- testFailed("#174: Error matching character class \w between character ae00 and aeff"); >-} >- >-var i175 = ""; >-for (var j = 44800; j < 45056; j++) >- i175 += String.fromCharCode(j); >-var o175 = i175; >-if (i175.replace(/\w+/g, "") !== o175) { >- testFailed("#175: Error matching character class \w between character af00 and afff"); >-} >- >-var i176 = ""; >-for (var j = 45056; j < 45312; j++) >- i176 += String.fromCharCode(j); >-var o176 = i176; >-if (i176.replace(/\w+/g, "") !== o176) { >- testFailed("#176: Error matching character class \w between character b000 and b0ff"); >-} >- >-var i177 = ""; >-for (var j = 45312; j < 45568; j++) >- i177 += String.fromCharCode(j); >-var o177 = i177; >-if (i177.replace(/\w+/g, "") !== o177) { >- testFailed("#177: Error matching character class \w between character b100 and b1ff"); >-} >- >-var i178 = ""; >-for (var j = 45568; j < 45824; j++) >- i178 += String.fromCharCode(j); >-var o178 = i178; >-if (i178.replace(/\w+/g, "") !== o178) { >- testFailed("#178: Error matching character class \w between character b200 and b2ff"); >-} >- >-var i179 = ""; >-for (var j = 45824; j < 46080; j++) >- i179 += String.fromCharCode(j); >-var o179 = i179; >-if (i179.replace(/\w+/g, "") !== o179) { >- testFailed("#179: Error matching character class \w between character b300 and b3ff"); >-} >- >-var i180 = ""; >-for (var j = 46080; j < 46336; j++) >- i180 += String.fromCharCode(j); >-var o180 = i180; >-if (i180.replace(/\w+/g, "") !== o180) { >- testFailed("#180: Error matching character class \w between character b400 and b4ff"); >-} >- >-var i181 = ""; >-for (var j = 46336; j < 46592; j++) >- i181 += String.fromCharCode(j); >-var o181 = i181; >-if (i181.replace(/\w+/g, "") !== o181) { >- testFailed("#181: Error matching character class \w between character b500 and b5ff"); >-} >- >-var i182 = ""; >-for (var j = 46592; j < 46848; j++) >- i182 += String.fromCharCode(j); >-var o182 = i182; >-if (i182.replace(/\w+/g, "") !== o182) { >- testFailed("#182: Error matching character class \w between character b600 and b6ff"); >-} >- >-var i183 = ""; >-for (var j = 46848; j < 47104; j++) >- i183 += String.fromCharCode(j); >-var o183 = i183; >-if (i183.replace(/\w+/g, "") !== o183) { >- testFailed("#183: Error matching character class \w between character b700 and b7ff"); >-} >- >-var i184 = ""; >-for (var j = 47104; j < 47360; j++) >- i184 += String.fromCharCode(j); >-var o184 = i184; >-if (i184.replace(/\w+/g, "") !== o184) { >- testFailed("#184: Error matching character class \w between character b800 and b8ff"); >-} >- >-var i185 = ""; >-for (var j = 47360; j < 47616; j++) >- i185 += String.fromCharCode(j); >-var o185 = i185; >-if (i185.replace(/\w+/g, "") !== o185) { >- testFailed("#185: Error matching character class \w between character b900 and b9ff"); >-} >- >-var i186 = ""; >-for (var j = 47616; j < 47872; j++) >- i186 += String.fromCharCode(j); >-var o186 = i186; >-if (i186.replace(/\w+/g, "") !== o186) { >- testFailed("#186: Error matching character class \w between character ba00 and baff"); >-} >- >-var i187 = ""; >-for (var j = 47872; j < 48128; j++) >- i187 += String.fromCharCode(j); >-var o187 = i187; >-if (i187.replace(/\w+/g, "") !== o187) { >- testFailed("#187: Error matching character class \w between character bb00 and bbff"); >-} >- >-var i188 = ""; >-for (var j = 48128; j < 48384; j++) >- i188 += String.fromCharCode(j); >-var o188 = i188; >-if (i188.replace(/\w+/g, "") !== o188) { >- testFailed("#188: Error matching character class \w between character bc00 and bcff"); >-} >- >-var i189 = ""; >-for (var j = 48384; j < 48640; j++) >- i189 += String.fromCharCode(j); >-var o189 = i189; >-if (i189.replace(/\w+/g, "") !== o189) { >- testFailed("#189: Error matching character class \w between character bd00 and bdff"); >-} >- >-var i190 = ""; >-for (var j = 48640; j < 48896; j++) >- i190 += String.fromCharCode(j); >-var o190 = i190; >-if (i190.replace(/\w+/g, "") !== o190) { >- testFailed("#190: Error matching character class \w between character be00 and beff"); >-} >- >-var i191 = ""; >-for (var j = 48896; j < 49152; j++) >- i191 += String.fromCharCode(j); >-var o191 = i191; >-if (i191.replace(/\w+/g, "") !== o191) { >- testFailed("#191: Error matching character class \w between character bf00 and bfff"); >-} >- >-var i192 = ""; >-for (var j = 49152; j < 49408; j++) >- i192 += String.fromCharCode(j); >-var o192 = i192; >-if (i192.replace(/\w+/g, "") !== o192) { >- testFailed("#192: Error matching character class \w between character c000 and c0ff"); >-} >- >-var i193 = ""; >-for (var j = 49408; j < 49664; j++) >- i193 += String.fromCharCode(j); >-var o193 = i193; >-if (i193.replace(/\w+/g, "") !== o193) { >- testFailed("#193: Error matching character class \w between character c100 and c1ff"); >-} >- >-var i194 = ""; >-for (var j = 49664; j < 49920; j++) >- i194 += String.fromCharCode(j); >-var o194 = i194; >-if (i194.replace(/\w+/g, "") !== o194) { >- testFailed("#194: Error matching character class \w between character c200 and c2ff"); >-} >- >-var i195 = ""; >-for (var j = 49920; j < 50176; j++) >- i195 += String.fromCharCode(j); >-var o195 = i195; >-if (i195.replace(/\w+/g, "") !== o195) { >- testFailed("#195: Error matching character class \w between character c300 and c3ff"); >-} >- >-var i196 = ""; >-for (var j = 50176; j < 50432; j++) >- i196 += String.fromCharCode(j); >-var o196 = i196; >-if (i196.replace(/\w+/g, "") !== o196) { >- testFailed("#196: Error matching character class \w between character c400 and c4ff"); >-} >- >-var i197 = ""; >-for (var j = 50432; j < 50688; j++) >- i197 += String.fromCharCode(j); >-var o197 = i197; >-if (i197.replace(/\w+/g, "") !== o197) { >- testFailed("#197: Error matching character class \w between character c500 and c5ff"); >-} >- >-var i198 = ""; >-for (var j = 50688; j < 50944; j++) >- i198 += String.fromCharCode(j); >-var o198 = i198; >-if (i198.replace(/\w+/g, "") !== o198) { >- testFailed("#198: Error matching character class \w between character c600 and c6ff"); >-} >- >-var i199 = ""; >-for (var j = 50944; j < 51200; j++) >- i199 += String.fromCharCode(j); >-var o199 = i199; >-if (i199.replace(/\w+/g, "") !== o199) { >- testFailed("#199: Error matching character class \w between character c700 and c7ff"); >-} >- >-var i200 = ""; >-for (var j = 51200; j < 51456; j++) >- i200 += String.fromCharCode(j); >-var o200 = i200; >-if (i200.replace(/\w+/g, "") !== o200) { >- testFailed("#200: Error matching character class \w between character c800 and c8ff"); >-} >- >-var i201 = ""; >-for (var j = 51456; j < 51712; j++) >- i201 += String.fromCharCode(j); >-var o201 = i201; >-if (i201.replace(/\w+/g, "") !== o201) { >- testFailed("#201: Error matching character class \w between character c900 and c9ff"); >-} >- >-var i202 = ""; >-for (var j = 51712; j < 51968; j++) >- i202 += String.fromCharCode(j); >-var o202 = i202; >-if (i202.replace(/\w+/g, "") !== o202) { >- testFailed("#202: Error matching character class \w between character ca00 and caff"); >-} >- >-var i203 = ""; >-for (var j = 51968; j < 52224; j++) >- i203 += String.fromCharCode(j); >-var o203 = i203; >-if (i203.replace(/\w+/g, "") !== o203) { >- testFailed("#203: Error matching character class \w between character cb00 and cbff"); >-} >- >-var i204 = ""; >-for (var j = 52224; j < 52480; j++) >- i204 += String.fromCharCode(j); >-var o204 = i204; >-if (i204.replace(/\w+/g, "") !== o204) { >- testFailed("#204: Error matching character class \w between character cc00 and ccff"); >-} >- >-var i205 = ""; >-for (var j = 52480; j < 52736; j++) >- i205 += String.fromCharCode(j); >-var o205 = i205; >-if (i205.replace(/\w+/g, "") !== o205) { >- testFailed("#205: Error matching character class \w between character cd00 and cdff"); >-} >- >-var i206 = ""; >-for (var j = 52736; j < 52992; j++) >- i206 += String.fromCharCode(j); >-var o206 = i206; >-if (i206.replace(/\w+/g, "") !== o206) { >- testFailed("#206: Error matching character class \w between character ce00 and ceff"); >-} >- >-var i207 = ""; >-for (var j = 52992; j < 53248; j++) >- i207 += String.fromCharCode(j); >-var o207 = i207; >-if (i207.replace(/\w+/g, "") !== o207) { >- testFailed("#207: Error matching character class \w between character cf00 and cfff"); >-} >- >-var i208 = ""; >-for (var j = 53248; j < 53504; j++) >- i208 += String.fromCharCode(j); >-var o208 = i208; >-if (i208.replace(/\w+/g, "") !== o208) { >- testFailed("#208: Error matching character class \w between character d000 and d0ff"); >-} >- >-var i209 = ""; >-for (var j = 53504; j < 53760; j++) >- i209 += String.fromCharCode(j); >-var o209 = i209; >-if (i209.replace(/\w+/g, "") !== o209) { >- testFailed("#209: Error matching character class \w between character d100 and d1ff"); >-} >- >-var i210 = ""; >-for (var j = 53760; j < 54016; j++) >- i210 += String.fromCharCode(j); >-var o210 = i210; >-if (i210.replace(/\w+/g, "") !== o210) { >- testFailed("#210: Error matching character class \w between character d200 and d2ff"); >-} >- >-var i211 = ""; >-for (var j = 54016; j < 54272; j++) >- i211 += String.fromCharCode(j); >-var o211 = i211; >-if (i211.replace(/\w+/g, "") !== o211) { >- testFailed("#211: Error matching character class \w between character d300 and d3ff"); >-} >- >-var i212 = ""; >-for (var j = 54272; j < 54528; j++) >- i212 += String.fromCharCode(j); >-var o212 = i212; >-if (i212.replace(/\w+/g, "") !== o212) { >- testFailed("#212: Error matching character class \w between character d400 and d4ff"); >-} >- >-var i213 = ""; >-for (var j = 54528; j < 54784; j++) >- i213 += String.fromCharCode(j); >-var o213 = i213; >-if (i213.replace(/\w+/g, "") !== o213) { >- testFailed("#213: Error matching character class \w between character d500 and d5ff"); >-} >- >-var i214 = ""; >-for (var j = 54784; j < 55040; j++) >- i214 += String.fromCharCode(j); >-var o214 = i214; >-if (i214.replace(/\w+/g, "") !== o214) { >- testFailed("#214: Error matching character class \w between character d600 and d6ff"); >-} >- >-var i215 = ""; >-for (var j = 55040; j < 55296; j++) >- i215 += String.fromCharCode(j); >-var o215 = i215; >-if (i215.replace(/\w+/g, "") !== o215) { >- testFailed("#215: Error matching character class \w between character d700 and d7ff"); >-} >- >-var i216 = ""; >-for (var j = 55296; j < 55552; j++) >- i216 += String.fromCharCode(j); >-var o216 = i216; >-if (i216.replace(/\w+/g, "") !== o216) { >- testFailed("#216: Error matching character class \w between character d800 and d8ff"); >-} >- >-var i217 = ""; >-for (var j = 55552; j < 55808; j++) >- i217 += String.fromCharCode(j); >-var o217 = i217; >-if (i217.replace(/\w+/g, "") !== o217) { >- testFailed("#217: Error matching character class \w between character d900 and d9ff"); >-} >- >-var i218 = ""; >-for (var j = 55808; j < 56064; j++) >- i218 += String.fromCharCode(j); >-var o218 = i218; >-if (i218.replace(/\w+/g, "") !== o218) { >- testFailed("#218: Error matching character class \w between character da00 and daff"); >-} >- >-var i219 = ""; >-for (var j = 56064; j < 56320; j++) >- i219 += String.fromCharCode(j); >-var o219 = i219; >-if (i219.replace(/\w+/g, "") !== o219) { >- testFailed("#219: Error matching character class \w between character db00 and dbff"); >-} >- >-var i220 = ""; >-for (var j = 56320; j < 56576; j++) >- i220 += String.fromCharCode(j); >-var o220 = i220; >-if (i220.replace(/\w+/g, "") !== o220) { >- testFailed("#220: Error matching character class \w between character dc00 and dcff"); >-} >- >-var i221 = ""; >-for (var j = 56576; j < 56832; j++) >- i221 += String.fromCharCode(j); >-var o221 = i221; >-if (i221.replace(/\w+/g, "") !== o221) { >- testFailed("#221: Error matching character class \w between character dd00 and ddff"); >-} >- >-var i222 = ""; >-for (var j = 56832; j < 57088; j++) >- i222 += String.fromCharCode(j); >-var o222 = i222; >-if (i222.replace(/\w+/g, "") !== o222) { >- testFailed("#222: Error matching character class \w between character de00 and deff"); >-} >- >-var i223 = ""; >-for (var j = 57088; j < 57344; j++) >- i223 += String.fromCharCode(j); >-var o223 = i223; >-if (i223.replace(/\w+/g, "") !== o223) { >- testFailed("#223: Error matching character class \w between character df00 and dfff"); >-} >- >-var i224 = ""; >-for (var j = 57344; j < 57600; j++) >- i224 += String.fromCharCode(j); >-var o224 = i224; >-if (i224.replace(/\w+/g, "") !== o224) { >- testFailed("#224: Error matching character class \w between character e000 and e0ff"); >-} >- >-var i225 = ""; >-for (var j = 57600; j < 57856; j++) >- i225 += String.fromCharCode(j); >-var o225 = i225; >-if (i225.replace(/\w+/g, "") !== o225) { >- testFailed("#225: Error matching character class \w between character e100 and e1ff"); >-} >- >-var i226 = ""; >-for (var j = 57856; j < 58112; j++) >- i226 += String.fromCharCode(j); >-var o226 = i226; >-if (i226.replace(/\w+/g, "") !== o226) { >- testFailed("#226: Error matching character class \w between character e200 and e2ff"); >-} >- >-var i227 = ""; >-for (var j = 58112; j < 58368; j++) >- i227 += String.fromCharCode(j); >-var o227 = i227; >-if (i227.replace(/\w+/g, "") !== o227) { >- testFailed("#227: Error matching character class \w between character e300 and e3ff"); >-} >- >-var i228 = ""; >-for (var j = 58368; j < 58624; j++) >- i228 += String.fromCharCode(j); >-var o228 = i228; >-if (i228.replace(/\w+/g, "") !== o228) { >- testFailed("#228: Error matching character class \w between character e400 and e4ff"); >-} >- >-var i229 = ""; >-for (var j = 58624; j < 58880; j++) >- i229 += String.fromCharCode(j); >-var o229 = i229; >-if (i229.replace(/\w+/g, "") !== o229) { >- testFailed("#229: Error matching character class \w between character e500 and e5ff"); >-} >- >-var i230 = ""; >-for (var j = 58880; j < 59136; j++) >- i230 += String.fromCharCode(j); >-var o230 = i230; >-if (i230.replace(/\w+/g, "") !== o230) { >- testFailed("#230: Error matching character class \w between character e600 and e6ff"); >-} >- >-var i231 = ""; >-for (var j = 59136; j < 59392; j++) >- i231 += String.fromCharCode(j); >-var o231 = i231; >-if (i231.replace(/\w+/g, "") !== o231) { >- testFailed("#231: Error matching character class \w between character e700 and e7ff"); >-} >- >-var i232 = ""; >-for (var j = 59392; j < 59648; j++) >- i232 += String.fromCharCode(j); >-var o232 = i232; >-if (i232.replace(/\w+/g, "") !== o232) { >- testFailed("#232: Error matching character class \w between character e800 and e8ff"); >-} >- >-var i233 = ""; >-for (var j = 59648; j < 59904; j++) >- i233 += String.fromCharCode(j); >-var o233 = i233; >-if (i233.replace(/\w+/g, "") !== o233) { >- testFailed("#233: Error matching character class \w between character e900 and e9ff"); >-} >- >-var i234 = ""; >-for (var j = 59904; j < 60160; j++) >- i234 += String.fromCharCode(j); >-var o234 = i234; >-if (i234.replace(/\w+/g, "") !== o234) { >- testFailed("#234: Error matching character class \w between character ea00 and eaff"); >-} >- >-var i235 = ""; >-for (var j = 60160; j < 60416; j++) >- i235 += String.fromCharCode(j); >-var o235 = i235; >-if (i235.replace(/\w+/g, "") !== o235) { >- testFailed("#235: Error matching character class \w between character eb00 and ebff"); >-} >- >-var i236 = ""; >-for (var j = 60416; j < 60672; j++) >- i236 += String.fromCharCode(j); >-var o236 = i236; >-if (i236.replace(/\w+/g, "") !== o236) { >- testFailed("#236: Error matching character class \w between character ec00 and ecff"); >-} >- >-var i237 = ""; >-for (var j = 60672; j < 60928; j++) >- i237 += String.fromCharCode(j); >-var o237 = i237; >-if (i237.replace(/\w+/g, "") !== o237) { >- testFailed("#237: Error matching character class \w between character ed00 and edff"); >-} >- >-var i238 = ""; >-for (var j = 60928; j < 61184; j++) >- i238 += String.fromCharCode(j); >-var o238 = i238; >-if (i238.replace(/\w+/g, "") !== o238) { >- testFailed("#238: Error matching character class \w between character ee00 and eeff"); >-} >- >-var i239 = ""; >-for (var j = 61184; j < 61440; j++) >- i239 += String.fromCharCode(j); >-var o239 = i239; >-if (i239.replace(/\w+/g, "") !== o239) { >- testFailed("#239: Error matching character class \w between character ef00 and efff"); >-} >- >-var i240 = ""; >-for (var j = 61440; j < 61696; j++) >- i240 += String.fromCharCode(j); >-var o240 = i240; >-if (i240.replace(/\w+/g, "") !== o240) { >- testFailed("#240: Error matching character class \w between character f000 and f0ff"); >-} >- >-var i241 = ""; >-for (var j = 61696; j < 61952; j++) >- i241 += String.fromCharCode(j); >-var o241 = i241; >-if (i241.replace(/\w+/g, "") !== o241) { >- testFailed("#241: Error matching character class \w between character f100 and f1ff"); >-} >- >-var i242 = ""; >-for (var j = 61952; j < 62208; j++) >- i242 += String.fromCharCode(j); >-var o242 = i242; >-if (i242.replace(/\w+/g, "") !== o242) { >- testFailed("#242: Error matching character class \w between character f200 and f2ff"); >-} >- >-var i243 = ""; >-for (var j = 62208; j < 62464; j++) >- i243 += String.fromCharCode(j); >-var o243 = i243; >-if (i243.replace(/\w+/g, "") !== o243) { >- testFailed("#243: Error matching character class \w between character f300 and f3ff"); >-} >- >-var i244 = ""; >-for (var j = 62464; j < 62720; j++) >- i244 += String.fromCharCode(j); >-var o244 = i244; >-if (i244.replace(/\w+/g, "") !== o244) { >- testFailed("#244: Error matching character class \w between character f400 and f4ff"); >-} >- >-var i245 = ""; >-for (var j = 62720; j < 62976; j++) >- i245 += String.fromCharCode(j); >-var o245 = i245; >-if (i245.replace(/\w+/g, "") !== o245) { >- testFailed("#245: Error matching character class \w between character f500 and f5ff"); >-} >- >-var i246 = ""; >-for (var j = 62976; j < 63232; j++) >- i246 += String.fromCharCode(j); >-var o246 = i246; >-if (i246.replace(/\w+/g, "") !== o246) { >- testFailed("#246: Error matching character class \w between character f600 and f6ff"); >-} >- >-var i247 = ""; >-for (var j = 63232; j < 63488; j++) >- i247 += String.fromCharCode(j); >-var o247 = i247; >-if (i247.replace(/\w+/g, "") !== o247) { >- testFailed("#247: Error matching character class \w between character f700 and f7ff"); >-} >- >-var i248 = ""; >-for (var j = 63488; j < 63744; j++) >- i248 += String.fromCharCode(j); >-var o248 = i248; >-if (i248.replace(/\w+/g, "") !== o248) { >- testFailed("#248: Error matching character class \w between character f800 and f8ff"); >-} >- >-var i249 = ""; >-for (var j = 63744; j < 64000; j++) >- i249 += String.fromCharCode(j); >-var o249 = i249; >-if (i249.replace(/\w+/g, "") !== o249) { >- testFailed("#249: Error matching character class \w between character f900 and f9ff"); >-} >- >-var i250 = ""; >-for (var j = 64000; j < 64256; j++) >- i250 += String.fromCharCode(j); >-var o250 = i250; >-if (i250.replace(/\w+/g, "") !== o250) { >- testFailed("#250: Error matching character class \w between character fa00 and faff"); >-} >- >-var i251 = ""; >-for (var j = 64256; j < 64512; j++) >- i251 += String.fromCharCode(j); >-var o251 = i251; >-if (i251.replace(/\w+/g, "") !== o251) { >- testFailed("#251: Error matching character class \w between character fb00 and fbff"); >-} >- >-var i252 = ""; >-for (var j = 64512; j < 64768; j++) >- i252 += String.fromCharCode(j); >-var o252 = i252; >-if (i252.replace(/\w+/g, "") !== o252) { >- testFailed("#252: Error matching character class \w between character fc00 and fcff"); >-} >- >-var i253 = ""; >-for (var j = 64768; j < 65024; j++) >- i253 += String.fromCharCode(j); >-var o253 = i253; >-if (i253.replace(/\w+/g, "") !== o253) { >- testFailed("#253: Error matching character class \w between character fd00 and fdff"); >-} >- >-var i254 = ""; >-for (var j = 65024; j < 65280; j++) >- i254 += String.fromCharCode(j); >-var o254 = i254; >-if (i254.replace(/\w+/g, "") !== o254) { >- testFailed("#254: Error matching character class \w between character fe00 and feff"); >-} >- >-var i255 = ""; >-for (var j = 65280; j < 65536; j++) >- i255 += String.fromCharCode(j); >-var o255 = i255; >-if (i255.replace(/\w+/g, "") !== o255) { >- testFailed("#255: Error matching character class \w between character ff00 and ffff"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2-expected.txt >deleted file mode 100644 >index 966b192470a..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A3_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2.html >deleted file mode 100644 >index d81587c04ac..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T2.html >+++ /dev/null >@@ -1,109 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A3_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A3_T2; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: >-* a - z, A - Z, 0 - 9, _; >-* @description: a - z; >-*/ >- >-var regexp_w = /\w/; >- >-//CHECK#0061-007A >-var result = true; >-for (alpha = 0x0061; alpha <= 0x007A; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_w.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: a - z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3-expected.txt >deleted file mode 100644 >index 408de523971..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A3_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3.html >deleted file mode 100644 >index c773f53106d..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T3.html >+++ /dev/null >@@ -1,120 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A3_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A3_T3; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: >-* a - z, A - Z, 0 - 9, _; >-* @description: 0 - 9, _; >-*/ >- >-var regexp_w = /\w/; >- >-//CHECK#0030-0039 >-var result = true; >-for (alpha = 0x0030; alpha <= 0x0039; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_w.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: 0 - 9'); >-} >- >-//CHECK#005F >-var arr = regexp_w.exec("_"); >-if ((arr === null) || (arr[0] !== "\u005F")) { >- testFailed('#2: _'); >-} >- >-//CHECK#0020 >-if (regexp_w.exec(" ") !== null) { >- testFailed('#3: '); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4-expected.txt >deleted file mode 100644 >index 640aa6f7cd6..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A3_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4.html >deleted file mode 100644 >index 5f168642785..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T4.html >+++ /dev/null >@@ -1,119 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A3_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A3_T4; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: >-* a - z, A - Z, 0 - 9, _; >-* @description: RUSSIAN ALPHABET; >-*/ >- >-var regexp_w = /\w/; >- >-//CHECK#0410-042F >-var result = true; >-for (alpha = 0x0410; alpha <= 0x042F; alpha++) { >- if (regexp_w.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: RUSSIAN CAPITAL ALPHABET'); >-} >- >-//CHECK#0430-044F >-var result = true; >-for (alpha = 0x0430; alpha <= 0x044F; alpha++) { >- if (regexp_w.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: russian small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5-expected.txt >deleted file mode 100644 >index bda7346be6a..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A3_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5.html >deleted file mode 100644 >index 89f6efdc1b4..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A3_T5.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A3_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A3_T5; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: >-* a - z, A - Z, 0 - 9, _; >-* @description: non-w; >-*/ >- >-//CHECK#1 >-var non_w = "\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; >-if (/\w/.exec(non_w) !== null) { >- testFailed('#1: non-w'); >-} >- >-//CHECK#2 >-var non_W = "_0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; >-var regexp_w = /\w/g; >-var k = 0; >-while (regexp_w.exec(non_W) !== null) { >- k++; >-} >- >-if (non_W.length !== k) { >- testFailed('#2: non-W'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1-expected.txt >deleted file mode 100644 >index 1298caa04dc..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A4_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1.html >deleted file mode 100644 >index d8cdc936130..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T1.html >+++ /dev/null >@@ -1,605 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A4_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A4_T1; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: w; >-* @description: A - Z; >-*/ >- >-var i0 = ""; >-for (var j = 0; j < 1024; j++) >- i0 += String.fromCharCode(j); >-var o0 = "\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005A\u005F\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006A\u006B\u006C\u006D\u006E\u006F\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007A"; >-if (i0.replace(/\W+/g, "") !== o0) { >- testFailed("#0: Error matching character class \W between character 0 and 3ff"); >-} >- >-var i1 = ""; >-for (var j = 1024; j < 2048; j++) >- i1 += String.fromCharCode(j); >-var o1 = ""; >-if (i1.replace(/\W+/g, "") !== o1) { >- testFailed("#1: Error matching character class \W between character 400 and 7ff"); >-} >- >-var i2 = ""; >-for (var j = 2048; j < 3072; j++) >- i2 += String.fromCharCode(j); >-var o2 = ""; >-if (i2.replace(/\W+/g, "") !== o2) { >- testFailed("#2: Error matching character class \W between character 800 and bff"); >-} >- >-var i3 = ""; >-for (var j = 3072; j < 4096; j++) >- i3 += String.fromCharCode(j); >-var o3 = ""; >-if (i3.replace(/\W+/g, "") !== o3) { >- testFailed("#3: Error matching character class \W between character c00 and fff"); >-} >- >-var i4 = ""; >-for (var j = 4096; j < 5120; j++) >- i4 += String.fromCharCode(j); >-var o4 = ""; >-if (i4.replace(/\W+/g, "") !== o4) { >- testFailed("#4: Error matching character class \W between character 1000 and 13ff"); >-} >- >-var i5 = ""; >-for (var j = 5120; j < 6144; j++) >- i5 += String.fromCharCode(j); >-var o5 = ""; >-if (i5.replace(/\W+/g, "") !== o5) { >- testFailed("#5: Error matching character class \W between character 1400 and 17ff"); >-} >- >-var i6 = ""; >-for (var j = 6144; j < 7168; j++) >- i6 += String.fromCharCode(j); >-var o6 = ""; >-if (i6.replace(/\W+/g, "") !== o6) { >- testFailed("#6: Error matching character class \W between character 1800 and 1bff"); >-} >- >-var i7 = ""; >-for (var j = 7168; j < 8192; j++) >- i7 += String.fromCharCode(j); >-var o7 = ""; >-if (i7.replace(/\W+/g, "") !== o7) { >- testFailed("#7: Error matching character class \W between character 1c00 and 1fff"); >-} >- >-var i8 = ""; >-for (var j = 8192; j < 9216; j++) >- i8 += String.fromCharCode(j); >-var o8 = ""; >-if (i8.replace(/\W+/g, "") !== o8) { >- testFailed("#8: Error matching character class \W between character 2000 and 23ff"); >-} >- >-var i9 = ""; >-for (var j = 9216; j < 10240; j++) >- i9 += String.fromCharCode(j); >-var o9 = ""; >-if (i9.replace(/\W+/g, "") !== o9) { >- testFailed("#9: Error matching character class \W between character 2400 and 27ff"); >-} >- >-var i10 = ""; >-for (var j = 10240; j < 11264; j++) >- i10 += String.fromCharCode(j); >-var o10 = ""; >-if (i10.replace(/\W+/g, "") !== o10) { >- testFailed("#10: Error matching character class \W between character 2800 and 2bff"); >-} >- >-var i11 = ""; >-for (var j = 11264; j < 12288; j++) >- i11 += String.fromCharCode(j); >-var o11 = ""; >-if (i11.replace(/\W+/g, "") !== o11) { >- testFailed("#11: Error matching character class \W between character 2c00 and 2fff"); >-} >- >-var i12 = ""; >-for (var j = 12288; j < 13312; j++) >- i12 += String.fromCharCode(j); >-var o12 = ""; >-if (i12.replace(/\W+/g, "") !== o12) { >- testFailed("#12: Error matching character class \W between character 3000 and 33ff"); >-} >- >-var i13 = ""; >-for (var j = 13312; j < 14336; j++) >- i13 += String.fromCharCode(j); >-var o13 = ""; >-if (i13.replace(/\W+/g, "") !== o13) { >- testFailed("#13: Error matching character class \W between character 3400 and 37ff"); >-} >- >-var i14 = ""; >-for (var j = 14336; j < 15360; j++) >- i14 += String.fromCharCode(j); >-var o14 = ""; >-if (i14.replace(/\W+/g, "") !== o14) { >- testFailed("#14: Error matching character class \W between character 3800 and 3bff"); >-} >- >-var i15 = ""; >-for (var j = 15360; j < 16384; j++) >- i15 += String.fromCharCode(j); >-var o15 = ""; >-if (i15.replace(/\W+/g, "") !== o15) { >- testFailed("#15: Error matching character class \W between character 3c00 and 3fff"); >-} >- >-var i16 = ""; >-for (var j = 16384; j < 17408; j++) >- i16 += String.fromCharCode(j); >-var o16 = ""; >-if (i16.replace(/\W+/g, "") !== o16) { >- testFailed("#16: Error matching character class \W between character 4000 and 43ff"); >-} >- >-var i17 = ""; >-for (var j = 17408; j < 18432; j++) >- i17 += String.fromCharCode(j); >-var o17 = ""; >-if (i17.replace(/\W+/g, "") !== o17) { >- testFailed("#17: Error matching character class \W between character 4400 and 47ff"); >-} >- >-var i18 = ""; >-for (var j = 18432; j < 19456; j++) >- i18 += String.fromCharCode(j); >-var o18 = ""; >-if (i18.replace(/\W+/g, "") !== o18) { >- testFailed("#18: Error matching character class \W between character 4800 and 4bff"); >-} >- >-var i19 = ""; >-for (var j = 19456; j < 20480; j++) >- i19 += String.fromCharCode(j); >-var o19 = ""; >-if (i19.replace(/\W+/g, "") !== o19) { >- testFailed("#19: Error matching character class \W between character 4c00 and 4fff"); >-} >- >-var i20 = ""; >-for (var j = 20480; j < 21504; j++) >- i20 += String.fromCharCode(j); >-var o20 = ""; >-if (i20.replace(/\W+/g, "") !== o20) { >- testFailed("#20: Error matching character class \W between character 5000 and 53ff"); >-} >- >-var i21 = ""; >-for (var j = 21504; j < 22528; j++) >- i21 += String.fromCharCode(j); >-var o21 = ""; >-if (i21.replace(/\W+/g, "") !== o21) { >- testFailed("#21: Error matching character class \W between character 5400 and 57ff"); >-} >- >-var i22 = ""; >-for (var j = 22528; j < 23552; j++) >- i22 += String.fromCharCode(j); >-var o22 = ""; >-if (i22.replace(/\W+/g, "") !== o22) { >- testFailed("#22: Error matching character class \W between character 5800 and 5bff"); >-} >- >-var i23 = ""; >-for (var j = 23552; j < 24576; j++) >- i23 += String.fromCharCode(j); >-var o23 = ""; >-if (i23.replace(/\W+/g, "") !== o23) { >- testFailed("#23: Error matching character class \W between character 5c00 and 5fff"); >-} >- >-var i24 = ""; >-for (var j = 24576; j < 25600; j++) >- i24 += String.fromCharCode(j); >-var o24 = ""; >-if (i24.replace(/\W+/g, "") !== o24) { >- testFailed("#24: Error matching character class \W between character 6000 and 63ff"); >-} >- >-var i25 = ""; >-for (var j = 25600; j < 26624; j++) >- i25 += String.fromCharCode(j); >-var o25 = ""; >-if (i25.replace(/\W+/g, "") !== o25) { >- testFailed("#25: Error matching character class \W between character 6400 and 67ff"); >-} >- >-var i26 = ""; >-for (var j = 26624; j < 27648; j++) >- i26 += String.fromCharCode(j); >-var o26 = ""; >-if (i26.replace(/\W+/g, "") !== o26) { >- testFailed("#26: Error matching character class \W between character 6800 and 6bff"); >-} >- >-var i27 = ""; >-for (var j = 27648; j < 28672; j++) >- i27 += String.fromCharCode(j); >-var o27 = ""; >-if (i27.replace(/\W+/g, "") !== o27) { >- testFailed("#27: Error matching character class \W between character 6c00 and 6fff"); >-} >- >-var i28 = ""; >-for (var j = 28672; j < 29696; j++) >- i28 += String.fromCharCode(j); >-var o28 = ""; >-if (i28.replace(/\W+/g, "") !== o28) { >- testFailed("#28: Error matching character class \W between character 7000 and 73ff"); >-} >- >-var i29 = ""; >-for (var j = 29696; j < 30720; j++) >- i29 += String.fromCharCode(j); >-var o29 = ""; >-if (i29.replace(/\W+/g, "") !== o29) { >- testFailed("#29: Error matching character class \W between character 7400 and 77ff"); >-} >- >-var i30 = ""; >-for (var j = 30720; j < 31744; j++) >- i30 += String.fromCharCode(j); >-var o30 = ""; >-if (i30.replace(/\W+/g, "") !== o30) { >- testFailed("#30: Error matching character class \W between character 7800 and 7bff"); >-} >- >-var i31 = ""; >-for (var j = 31744; j < 32768; j++) >- i31 += String.fromCharCode(j); >-var o31 = ""; >-if (i31.replace(/\W+/g, "") !== o31) { >- testFailed("#31: Error matching character class \W between character 7c00 and 7fff"); >-} >- >-var i32 = ""; >-for (var j = 32768; j < 33792; j++) >- i32 += String.fromCharCode(j); >-var o32 = ""; >-if (i32.replace(/\W+/g, "") !== o32) { >- testFailed("#32: Error matching character class \W between character 8000 and 83ff"); >-} >- >-var i33 = ""; >-for (var j = 33792; j < 34816; j++) >- i33 += String.fromCharCode(j); >-var o33 = ""; >-if (i33.replace(/\W+/g, "") !== o33) { >- testFailed("#33: Error matching character class \W between character 8400 and 87ff"); >-} >- >-var i34 = ""; >-for (var j = 34816; j < 35840; j++) >- i34 += String.fromCharCode(j); >-var o34 = ""; >-if (i34.replace(/\W+/g, "") !== o34) { >- testFailed("#34: Error matching character class \W between character 8800 and 8bff"); >-} >- >-var i35 = ""; >-for (var j = 35840; j < 36864; j++) >- i35 += String.fromCharCode(j); >-var o35 = ""; >-if (i35.replace(/\W+/g, "") !== o35) { >- testFailed("#35: Error matching character class \W between character 8c00 and 8fff"); >-} >- >-var i36 = ""; >-for (var j = 36864; j < 37888; j++) >- i36 += String.fromCharCode(j); >-var o36 = ""; >-if (i36.replace(/\W+/g, "") !== o36) { >- testFailed("#36: Error matching character class \W between character 9000 and 93ff"); >-} >- >-var i37 = ""; >-for (var j = 37888; j < 38912; j++) >- i37 += String.fromCharCode(j); >-var o37 = ""; >-if (i37.replace(/\W+/g, "") !== o37) { >- testFailed("#37: Error matching character class \W between character 9400 and 97ff"); >-} >- >-var i38 = ""; >-for (var j = 38912; j < 39936; j++) >- i38 += String.fromCharCode(j); >-var o38 = ""; >-if (i38.replace(/\W+/g, "") !== o38) { >- testFailed("#38: Error matching character class \W between character 9800 and 9bff"); >-} >- >-var i39 = ""; >-for (var j = 39936; j < 40960; j++) >- i39 += String.fromCharCode(j); >-var o39 = ""; >-if (i39.replace(/\W+/g, "") !== o39) { >- testFailed("#39: Error matching character class \W between character 9c00 and 9fff"); >-} >- >-var i40 = ""; >-for (var j = 40960; j < 41984; j++) >- i40 += String.fromCharCode(j); >-var o40 = ""; >-if (i40.replace(/\W+/g, "") !== o40) { >- testFailed("#40: Error matching character class \W between character a000 and a3ff"); >-} >- >-var i41 = ""; >-for (var j = 41984; j < 43008; j++) >- i41 += String.fromCharCode(j); >-var o41 = ""; >-if (i41.replace(/\W+/g, "") !== o41) { >- testFailed("#41: Error matching character class \W between character a400 and a7ff"); >-} >- >-var i42 = ""; >-for (var j = 43008; j < 44032; j++) >- i42 += String.fromCharCode(j); >-var o42 = ""; >-if (i42.replace(/\W+/g, "") !== o42) { >- testFailed("#42: Error matching character class \W between character a800 and abff"); >-} >- >-var i43 = ""; >-for (var j = 44032; j < 45056; j++) >- i43 += String.fromCharCode(j); >-var o43 = ""; >-if (i43.replace(/\W+/g, "") !== o43) { >- testFailed("#43: Error matching character class \W between character ac00 and afff"); >-} >- >-var i44 = ""; >-for (var j = 45056; j < 46080; j++) >- i44 += String.fromCharCode(j); >-var o44 = ""; >-if (i44.replace(/\W+/g, "") !== o44) { >- testFailed("#44: Error matching character class \W between character b000 and b3ff"); >-} >- >-var i45 = ""; >-for (var j = 46080; j < 47104; j++) >- i45 += String.fromCharCode(j); >-var o45 = ""; >-if (i45.replace(/\W+/g, "") !== o45) { >- testFailed("#45: Error matching character class \W between character b400 and b7ff"); >-} >- >-var i46 = ""; >-for (var j = 47104; j < 48128; j++) >- i46 += String.fromCharCode(j); >-var o46 = ""; >-if (i46.replace(/\W+/g, "") !== o46) { >- testFailed("#46: Error matching character class \W between character b800 and bbff"); >-} >- >-var i47 = ""; >-for (var j = 48128; j < 49152; j++) >- i47 += String.fromCharCode(j); >-var o47 = ""; >-if (i47.replace(/\W+/g, "") !== o47) { >- testFailed("#47: Error matching character class \W between character bc00 and bfff"); >-} >- >-var i48 = ""; >-for (var j = 49152; j < 50176; j++) >- i48 += String.fromCharCode(j); >-var o48 = ""; >-if (i48.replace(/\W+/g, "") !== o48) { >- testFailed("#48: Error matching character class \W between character c000 and c3ff"); >-} >- >-var i49 = ""; >-for (var j = 50176; j < 51200; j++) >- i49 += String.fromCharCode(j); >-var o49 = ""; >-if (i49.replace(/\W+/g, "") !== o49) { >- testFailed("#49: Error matching character class \W between character c400 and c7ff"); >-} >- >-var i50 = ""; >-for (var j = 51200; j < 52224; j++) >- i50 += String.fromCharCode(j); >-var o50 = ""; >-if (i50.replace(/\W+/g, "") !== o50) { >- testFailed("#50: Error matching character class \W between character c800 and cbff"); >-} >- >-var i51 = ""; >-for (var j = 52224; j < 53248; j++) >- i51 += String.fromCharCode(j); >-var o51 = ""; >-if (i51.replace(/\W+/g, "") !== o51) { >- testFailed("#51: Error matching character class \W between character cc00 and cfff"); >-} >- >-var i52 = ""; >-for (var j = 53248; j < 54272; j++) >- i52 += String.fromCharCode(j); >-var o52 = ""; >-if (i52.replace(/\W+/g, "") !== o52) { >- testFailed("#52: Error matching character class \W between character d000 and d3ff"); >-} >- >-var i53 = ""; >-for (var j = 54272; j < 55296; j++) >- i53 += String.fromCharCode(j); >-var o53 = ""; >-if (i53.replace(/\W+/g, "") !== o53) { >- testFailed("#53: Error matching character class \W between character d400 and d7ff"); >-} >- >-var i54 = ""; >-for (var j = 55296; j < 56320; j++) >- i54 += String.fromCharCode(j); >-var o54 = ""; >-if (i54.replace(/\W+/g, "") !== o54) { >- testFailed("#54: Error matching character class \W between character d800 and dbff"); >-} >- >-var i55 = ""; >-for (var j = 56320; j < 57344; j++) >- i55 += String.fromCharCode(j); >-var o55 = ""; >-if (i55.replace(/\W+/g, "") !== o55) { >- testFailed("#55: Error matching character class \W between character dc00 and dfff"); >-} >- >-var i56 = ""; >-for (var j = 57344; j < 58368; j++) >- i56 += String.fromCharCode(j); >-var o56 = ""; >-if (i56.replace(/\W+/g, "") !== o56) { >- testFailed("#56: Error matching character class \W between character e000 and e3ff"); >-} >- >-var i57 = ""; >-for (var j = 58368; j < 59392; j++) >- i57 += String.fromCharCode(j); >-var o57 = ""; >-if (i57.replace(/\W+/g, "") !== o57) { >- testFailed("#57: Error matching character class \W between character e400 and e7ff"); >-} >- >-var i58 = ""; >-for (var j = 59392; j < 60416; j++) >- i58 += String.fromCharCode(j); >-var o58 = ""; >-if (i58.replace(/\W+/g, "") !== o58) { >- testFailed("#58: Error matching character class \W between character e800 and ebff"); >-} >- >-var i59 = ""; >-for (var j = 60416; j < 61440; j++) >- i59 += String.fromCharCode(j); >-var o59 = ""; >-if (i59.replace(/\W+/g, "") !== o59) { >- testFailed("#59: Error matching character class \W between character ec00 and efff"); >-} >- >-var i60 = ""; >-for (var j = 61440; j < 62464; j++) >- i60 += String.fromCharCode(j); >-var o60 = ""; >-if (i60.replace(/\W+/g, "") !== o60) { >- testFailed("#60: Error matching character class \W between character f000 and f3ff"); >-} >- >-var i61 = ""; >-for (var j = 62464; j < 63488; j++) >- i61 += String.fromCharCode(j); >-var o61 = ""; >-if (i61.replace(/\W+/g, "") !== o61) { >- testFailed("#61: Error matching character class \W between character f400 and f7ff"); >-} >- >-var i62 = ""; >-for (var j = 63488; j < 64512; j++) >- i62 += String.fromCharCode(j); >-var o62 = ""; >-if (i62.replace(/\W+/g, "") !== o62) { >- testFailed("#62: Error matching character class \W between character f800 and fbff"); >-} >- >-var i63 = ""; >-for (var j = 64512; j < 65536; j++) >- i63 += String.fromCharCode(j); >-var o63 = ""; >-if (i63.replace(/\W+/g, "") !== o63) { >- testFailed("#63: Error matching character class \W between character fc00 and ffff"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2-expected.txt >deleted file mode 100644 >index a84ea6be7e4..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A4_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2.html >deleted file mode 100644 >index 934988e528a..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T2.html >+++ /dev/null >@@ -1,107 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A4_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A4_T2; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: w; >-* @description: a - z; >-*/ >- >-var regexp_W = /\W/; >- >-//CHECK#0061-007A >-var result = true; >-for (alpha = 0x0061; alpha <= 0x007A; alpha++) { >- if (regexp_W.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: a - z'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3-expected.txt >deleted file mode 100644 >index f7ac1dfc9a4..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A4_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.html >deleted file mode 100644 >index fceceff727c..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A4_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A4_T3; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: w; >-* @description: 0 - 9; >-*/ >- >-var regexp_W = /\W/; >- >-//CHECK#0030-0039 >-var result = true; >-for (alpha = 0x0030; alpha <= 0x0039; alpha++) { >- if (regexp_W.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: 0 - 9'); >-} >- >-//CHECK#005F >-if (regexp_W.exec("_") !== null) { >- testFailed('#2: _'); >-} >- >-//CHECK#0020 >-var arr = regexp_W.exec(" "); >-if ((arr === null) || (arr[0] !== "\u0020")) { >- testFailed('#2: '); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4-expected.txt >deleted file mode 100644 >index d0dd8b5f042..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A4_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4.html >deleted file mode 100644 >index e6acd1a486a..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T4.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A4_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A4_T4; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: w; >-* @description: RUSSIAN ALPHABET; >-*/ >- >-var regexp_W = /\W/; >- >-//CHECK#0410-042F >-var result = true; >-for (alpha = 0x0410; alpha <= 0x042F; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_W.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: RUSSIAN CAPITAL ALPHABET'); >-} >- >-//CHECK#0430-044F >-var result = true; >-for (alpha = 0x0430; alpha <= 0x044F; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_W.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: russian small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5-expected.txt >deleted file mode 100644 >index dd3bbfb406f..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A4_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5.html >deleted file mode 100644 >index de06a3fcbaf..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T5.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A4_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A4_T5; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: w; >-* @description: non-w; >-*/ >- >-//CHECK#1 >-var non_w = "\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; >-var regexp_W = /\W/g; >-var k = 0; >-while (regexp_W.exec(non_w) !== null) { >- k++; >-} >- >-if (non_w.length !== k) { >- testFailed('#1: non-w'); >-} >- >-//CHECK#2 >-var non_W = "_0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; >-if (/\W/.exec(non_W) !== null) { >- testFailed('#2: non-W'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1-expected.txt >deleted file mode 100644 >index a5d36e87e95..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A5_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1.html >deleted file mode 100644 >index 1e85ae605b3..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T1.html >+++ /dev/null >@@ -1,604 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A5_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A5_T1; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive; >-* @description: 0 - 9; >-*/ >- >-var i0 = ""; >-for (var j = 0; j < 1024; j++) >- i0 += String.fromCharCode(j); >-var o0 = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009\u000A\u000B\u000C\u000D\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0020\u0021\u0022\u0023\u0024\u0025\u0026\u0027\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F\u003A\u003B\u003C\u003D\u003E\u003F\u0040\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005A\u005B\u005C\u005D\u005E\u005F\u0060\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006A\u006B\u006C\u006D\u006E\u006F\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007A\u007B\u007C\u007D\u007E\u007F\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008A\u008B\u008C\u008D\u008E\u008F\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009A\u009B\u009C\u009D\u009E\u009F\u00A0\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AD\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF\u0100\u0101\u0102\u0103\u0104\u0105\u0106\u0107\u0108\u0109\u010A\u010B\u010C\u010D\u010E\u010F\u0110\u0111\u0112\u0113\u0114\u0115\u0116\u0117\u0118\u0119\u011A\u011B\u011C\u011D\u011E\u011F\u0120\u0121\u0122\u0123\u0124\u0125\u0126\u0127\u0128\u0129\u012A\u012B\u012C\u012D\u012E\u012F\u0130\u0131\u0132\u0133\u0134\u0135\u0136\u0137\u0138\u0139\u013A\u013B\u013C\u013D\u013E\u013F\u0140\u0141\u0142\u0143\u0144\u0145\u0146\u0147\u0148\u0149\u014A\u014B\u014C\u014D\u014E\u014F\u0150\u0151\u0152\u0153\u0154\u0155\u0156\u0157\u0158\u0159\u015A\u015B\u015C\u015D\u015E\u015F\u0160\u0161\u0162\u0163\u0164\u0165\u0166\u0167\u0168\u0169\u016A\u016B\u016C\u016D\u016E\u016F\u0170\u0171\u0172\u0173\u0174\u0175\u0176\u0177\u0178\u0179\u017A\u017B\u017C\u017D\u017E\u017F\u0180\u0181\u0182\u0183\u0184\u0185\u0186\u0187\u0188\u0189\u018A\u018B\u018C\u018D\u018E\u018F\u0190\u0191\u0192\u0193\u0194\u0195\u0196\u0197\u0198\u0199\u019A\u019B\u019C\u019D\u019E\u019F\u01A0\u01A1\u01A2\u01A3\u01A4\u01A5\u01A6\u01A7\u01A8\u01A9\u01AA\u01AB\u01AC\u01AD\u01AE\u01AF\u01B0\u01B1\u01B2\u01B3\u01B4\u01B5\u01B6\u01B7\u01B8\u01B9\u01BA\u01BB\u01BC\u01BD\u01BE\u01BF\u01C0\u01C1\u01C2\u01C3\u01C4\u01C5\u01C6\u01C7\u01C8\u01C9\u01CA\u01CB\u01CC\u01CD\u01CE\u01CF\u01D0\u01D1\u01D2\u01D3\u01D4\u01D5\u01D6\u01D7\u01D8\u01D9\u01DA\u01DB\u01DC\u01DD\u01DE\u01DF\u01E0\u01E1\u01E2\u01E3\u01E4\u01E5\u01E6\u01E7\u01E8\u01E9\u01EA\u01EB\u01EC\u01ED\u01EE\u01EF\u01F0\u01F1\u01F2\u01F3\u01F4\u01F5\u01F6\u01F7\u01F8\u01F9\u01FA\u01FB\u01FC\u01FD\u01FE\u01FF\u0200\u0201\u0202\u0203\u0204\u0205\u0206\u0207\u0208\u0209\u020A\u020B\u020C\u020D\u020E\u020F\u0210\u0211\u0212\u0213\u0214\u0215\u0216\u0217\u0218\u0219\u021A\u021B\u021C\u021D\u021E\u021F\u0220\u0221\u0222\u0223\u0224\u0225\u0226\u0227\u0228\u0229\u022A\u022B\u022C\u022D\u022E\u022F\u0230\u0231\u0232\u0233\u0234\u0235\u0236\u0237\u0238\u0239\u023A\u023B\u023C\u023D\u023E\u023F\u0240\u0241\u0242\u0243\u0244\u0245\u0246\u0247\u0248\u0249\u024A\u024B\u024C\u024D\u024E\u024F\u0250\u0251\u0252\u0253\u0254\u0255\u0256\u0257\u0258\u0259\u025A\u025B\u025C\u025D\u025E\u025F\u0260\u0261\u0262\u0263\u0264\u0265\u0266\u0267\u0268\u0269\u026A\u026B\u026C\u026D\u026E\u026F\u0270\u0271\u0272\u0273\u0274\u0275\u0276\u0277\u0278\u0279\u027A\u027B\u027C\u027D\u027E\u027F\u0280\u0281\u0282\u0283\u0284\u0285\u0286\u0287\u0288\u0289\u028A\u028B\u028C\u028D\u028E\u028F\u0290\u0291\u0292\u0293\u0294\u0295\u0296\u0297\u0298\u0299\u029A\u029B\u029C\u029D\u029E\u029F\u02A0\u02A1\u02A2\u02A3\u02A4\u02A5\u02A6\u02A7\u02A8\u02A9\u02AA\u02AB\u02AC\u02AD\u02AE\u02AF\u02B0\u02B1\u02B2\u02B3\u02B4\u02B5\u02B6\u02B7\u02B8\u02B9\u02BA\u02BB\u02BC\u02BD\u02BE\u02BF\u02C0\u02C1\u02C2\u02C3\u02C4\u02C5\u02C6\u02C7\u02C8\u02C9\u02CA\u02CB\u02CC\u02CD\u02CE\u02CF\u02D0\u02D1\u02D2\u02D3\u02D4\u02D5\u02D6\u02D7\u02D8\u02D9\u02DA\u02DB\u02DC\u02DD\u02DE\u02DF\u02E0\u02E1\u02E2\u02E3\u02E4\u02E5\u02E6\u02E7\u02E8\u02E9\u02EA\u02EB\u02EC\u02ED\u02EE\u02EF\u02F0\u02F1\u02F2\u02F3\u02F4\u02F5\u02F6\u02F7\u02F8\u02F9\u02FA\u02FB\u02FC\u02FD\u02FE\u02FF\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030A\u030B\u030C\u030D\u030E\u030F\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031A\u031B\u031C\u031D\u031E\u031F\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032A\u032B\u032C\u032D\u032E\u032F\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033A\u033B\u033C\u033D\u033E\u033F\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034A\u034B\u034C\u034D\u034E\u034F\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035A\u035B\u035C\u035D\u035E\u035F\u0360\u0361\u0362\u0363\u0364\u0365\u0366\u0367\u0368\u0369\u036A\u036B\u036C\u036D\u036E\u036F\u0370\u0371\u0372\u0373\u0374\u0375\u0376\u0377\u0378\u0379\u037A\u037B\u037C\u037D\u037E\u037F\u0380\u0381\u0382\u0383\u0384\u0385\u0386\u0387\u0388\u0389\u038A\u038B\u038C\u038D\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\u03A2\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\u03CF\u03D0\u03D1\u03D2\u03D3\u03D4\u03D5\u03D6\u03D7\u03D8\u03D9\u03DA\u03DB\u03DC\u03DD\u03DE\u03DF\u03E0\u03E1\u03E2\u03E3\u03E4\u03E5\u03E6\u03E7\u03E8\u03E9\u03EA\u03EB\u03EC\u03ED\u03EE\u03EF\u03F0\u03F1\u03F2\u03F3\u03F4\u03F5\u03F6\u03F7\u03F8\u03F9\u03FA\u03FB\u03FC\u03FD\u03FE\u03FF"; >-if (i0.replace(/\d+/g, "") !== o0) { >- testFailed("#0: Error matching character class \d between character 0 and 3ff"); >-} >- >-var i1 = ""; >-for (var j = 1024; j < 2048; j++) >- i1 += String.fromCharCode(j); >-var o1 = i1; >-if (i1.replace(/\d+/g, "") !== o1) { >- testFailed("#1: Error matching character class \d between character 400 and 7ff"); >-} >- >-var i2 = ""; >-for (var j = 2048; j < 3072; j++) >- i2 += String.fromCharCode(j); >-var o2 = i2; >-if (i2.replace(/\d+/g, "") !== o2) { >- testFailed("#2: Error matching character class \d between character 800 and bff"); >-} >- >-var i3 = ""; >-for (var j = 3072; j < 4096; j++) >- i3 += String.fromCharCode(j); >-var o3 = i3; >-if (i3.replace(/\d+/g, "") !== o3) { >- testFailed("#3: Error matching character class \d between character c00 and fff"); >-} >- >-var i4 = ""; >-for (var j = 4096; j < 5120; j++) >- i4 += String.fromCharCode(j); >-var o4 = i4; >-if (i4.replace(/\d+/g, "") !== o4) { >- testFailed("#4: Error matching character class \d between character 1000 and 13ff"); >-} >- >-var i5 = ""; >-for (var j = 5120; j < 6144; j++) >- i5 += String.fromCharCode(j); >-var o5 = i5; >-if (i5.replace(/\d+/g, "") !== o5) { >- testFailed("#5: Error matching character class \d between character 1400 and 17ff"); >-} >- >-var i6 = ""; >-for (var j = 6144; j < 7168; j++) >- i6 += String.fromCharCode(j); >-var o6 = i6; >-if (i6.replace(/\d+/g, "") !== o6) { >- testFailed("#6: Error matching character class \d between character 1800 and 1bff"); >-} >- >-var i7 = ""; >-for (var j = 7168; j < 8192; j++) >- i7 += String.fromCharCode(j); >-var o7 = i7; >-if (i7.replace(/\d+/g, "") !== o7) { >- testFailed("#7: Error matching character class \d between character 1c00 and 1fff"); >-} >- >-var i8 = ""; >-for (var j = 8192; j < 9216; j++) >- i8 += String.fromCharCode(j); >-var o8 = i8; >-if (i8.replace(/\d+/g, "") !== o8) { >- testFailed("#8: Error matching character class \d between character 2000 and 23ff"); >-} >- >-var i9 = ""; >-for (var j = 9216; j < 10240; j++) >- i9 += String.fromCharCode(j); >-var o9 = i9; >-if (i9.replace(/\d+/g, "") !== o9) { >- testFailed("#9: Error matching character class \d between character 2400 and 27ff"); >-} >- >-var i10 = ""; >-for (var j = 10240; j < 11264; j++) >- i10 += String.fromCharCode(j); >-var o10 = i10; >-if (i10.replace(/\d+/g, "") !== o10) { >- testFailed("#10: Error matching character class \d between character 2800 and 2bff"); >-} >- >-var i11 = ""; >-for (var j = 11264; j < 12288; j++) >- i11 += String.fromCharCode(j); >-var o11 = i11; >-if (i11.replace(/\d+/g, "") !== o11) { >- testFailed("#11: Error matching character class \d between character 2c00 and 2fff"); >-} >- >-var i12 = ""; >-for (var j = 12288; j < 13312; j++) >- i12 += String.fromCharCode(j); >-var o12 = i12; >-if (i12.replace(/\d+/g, "") !== o12) { >- testFailed("#12: Error matching character class \d between character 3000 and 33ff"); >-} >- >-var i13 = ""; >-for (var j = 13312; j < 14336; j++) >- i13 += String.fromCharCode(j); >-var o13 = i13; >-if (i13.replace(/\d+/g, "") !== o13) { >- testFailed("#13: Error matching character class \d between character 3400 and 37ff"); >-} >- >-var i14 = ""; >-for (var j = 14336; j < 15360; j++) >- i14 += String.fromCharCode(j); >-var o14 = i14; >-if (i14.replace(/\d+/g, "") !== o14) { >- testFailed("#14: Error matching character class \d between character 3800 and 3bff"); >-} >- >-var i15 = ""; >-for (var j = 15360; j < 16384; j++) >- i15 += String.fromCharCode(j); >-var o15 = i15; >-if (i15.replace(/\d+/g, "") !== o15) { >- testFailed("#15: Error matching character class \d between character 3c00 and 3fff"); >-} >- >-var i16 = ""; >-for (var j = 16384; j < 17408; j++) >- i16 += String.fromCharCode(j); >-var o16 = i16; >-if (i16.replace(/\d+/g, "") !== o16) { >- testFailed("#16: Error matching character class \d between character 4000 and 43ff"); >-} >- >-var i17 = ""; >-for (var j = 17408; j < 18432; j++) >- i17 += String.fromCharCode(j); >-var o17 = i17; >-if (i17.replace(/\d+/g, "") !== o17) { >- testFailed("#17: Error matching character class \d between character 4400 and 47ff"); >-} >- >-var i18 = ""; >-for (var j = 18432; j < 19456; j++) >- i18 += String.fromCharCode(j); >-var o18 = i18; >-if (i18.replace(/\d+/g, "") !== o18) { >- testFailed("#18: Error matching character class \d between character 4800 and 4bff"); >-} >- >-var i19 = ""; >-for (var j = 19456; j < 20480; j++) >- i19 += String.fromCharCode(j); >-var o19 = i19; >-if (i19.replace(/\d+/g, "") !== o19) { >- testFailed("#19: Error matching character class \d between character 4c00 and 4fff"); >-} >- >-var i20 = ""; >-for (var j = 20480; j < 21504; j++) >- i20 += String.fromCharCode(j); >-var o20 = i20; >-if (i20.replace(/\d+/g, "") !== o20) { >- testFailed("#20: Error matching character class \d between character 5000 and 53ff"); >-} >- >-var i21 = ""; >-for (var j = 21504; j < 22528; j++) >- i21 += String.fromCharCode(j); >-var o21 = i21; >-if (i21.replace(/\d+/g, "") !== o21) { >- testFailed("#21: Error matching character class \d between character 5400 and 57ff"); >-} >- >-var i22 = ""; >-for (var j = 22528; j < 23552; j++) >- i22 += String.fromCharCode(j); >-var o22 = i22; >-if (i22.replace(/\d+/g, "") !== o22) { >- testFailed("#22: Error matching character class \d between character 5800 and 5bff"); >-} >- >-var i23 = ""; >-for (var j = 23552; j < 24576; j++) >- i23 += String.fromCharCode(j); >-var o23 = i23; >-if (i23.replace(/\d+/g, "") !== o23) { >- testFailed("#23: Error matching character class \d between character 5c00 and 5fff"); >-} >- >-var i24 = ""; >-for (var j = 24576; j < 25600; j++) >- i24 += String.fromCharCode(j); >-var o24 = i24; >-if (i24.replace(/\d+/g, "") !== o24) { >- testFailed("#24: Error matching character class \d between character 6000 and 63ff"); >-} >- >-var i25 = ""; >-for (var j = 25600; j < 26624; j++) >- i25 += String.fromCharCode(j); >-var o25 = i25; >-if (i25.replace(/\d+/g, "") !== o25) { >- testFailed("#25: Error matching character class \d between character 6400 and 67ff"); >-} >- >-var i26 = ""; >-for (var j = 26624; j < 27648; j++) >- i26 += String.fromCharCode(j); >-var o26 = i26; >-if (i26.replace(/\d+/g, "") !== o26) { >- testFailed("#26: Error matching character class \d between character 6800 and 6bff"); >-} >- >-var i27 = ""; >-for (var j = 27648; j < 28672; j++) >- i27 += String.fromCharCode(j); >-var o27 = i27; >-if (i27.replace(/\d+/g, "") !== o27) { >- testFailed("#27: Error matching character class \d between character 6c00 and 6fff"); >-} >- >-var i28 = ""; >-for (var j = 28672; j < 29696; j++) >- i28 += String.fromCharCode(j); >-var o28 = i28; >-if (i28.replace(/\d+/g, "") !== o28) { >- testFailed("#28: Error matching character class \d between character 7000 and 73ff"); >-} >- >-var i29 = ""; >-for (var j = 29696; j < 30720; j++) >- i29 += String.fromCharCode(j); >-var o29 = i29; >-if (i29.replace(/\d+/g, "") !== o29) { >- testFailed("#29: Error matching character class \d between character 7400 and 77ff"); >-} >- >-var i30 = ""; >-for (var j = 30720; j < 31744; j++) >- i30 += String.fromCharCode(j); >-var o30 = i30; >-if (i30.replace(/\d+/g, "") !== o30) { >- testFailed("#30: Error matching character class \d between character 7800 and 7bff"); >-} >- >-var i31 = ""; >-for (var j = 31744; j < 32768; j++) >- i31 += String.fromCharCode(j); >-var o31 = i31; >-if (i31.replace(/\d+/g, "") !== o31) { >- testFailed("#31: Error matching character class \d between character 7c00 and 7fff"); >-} >- >-var i32 = ""; >-for (var j = 32768; j < 33792; j++) >- i32 += String.fromCharCode(j); >-var o32 = i32; >-if (i32.replace(/\d+/g, "") !== o32) { >- testFailed("#32: Error matching character class \d between character 8000 and 83ff"); >-} >- >-var i33 = ""; >-for (var j = 33792; j < 34816; j++) >- i33 += String.fromCharCode(j); >-var o33 = i33; >-if (i33.replace(/\d+/g, "") !== o33) { >- testFailed("#33: Error matching character class \d between character 8400 and 87ff"); >-} >- >-var i34 = ""; >-for (var j = 34816; j < 35840; j++) >- i34 += String.fromCharCode(j); >-var o34 = i34; >-if (i34.replace(/\d+/g, "") !== o34) { >- testFailed("#34: Error matching character class \d between character 8800 and 8bff"); >-} >- >-var i35 = ""; >-for (var j = 35840; j < 36864; j++) >- i35 += String.fromCharCode(j); >-var o35 = i35; >-if (i35.replace(/\d+/g, "") !== o35) { >- testFailed("#35: Error matching character class \d between character 8c00 and 8fff"); >-} >- >-var i36 = ""; >-for (var j = 36864; j < 37888; j++) >- i36 += String.fromCharCode(j); >-var o36 = i36; >-if (i36.replace(/\d+/g, "") !== o36) { >- testFailed("#36: Error matching character class \d between character 9000 and 93ff"); >-} >- >-var i37 = ""; >-for (var j = 37888; j < 38912; j++) >- i37 += String.fromCharCode(j); >-var o37 = i37; >-if (i37.replace(/\d+/g, "") !== o37) { >- testFailed("#37: Error matching character class \d between character 9400 and 97ff"); >-} >- >-var i38 = ""; >-for (var j = 38912; j < 39936; j++) >- i38 += String.fromCharCode(j); >-var o38 = i38; >-if (i38.replace(/\d+/g, "") !== o38) { >- testFailed("#38: Error matching character class \d between character 9800 and 9bff"); >-} >- >-var i39 = ""; >-for (var j = 39936; j < 40960; j++) >- i39 += String.fromCharCode(j); >-var o39 = i39; >-if (i39.replace(/\d+/g, "") !== o39) { >- testFailed("#39: Error matching character class \d between character 9c00 and 9fff"); >-} >- >-var i40 = ""; >-for (var j = 40960; j < 41984; j++) >- i40 += String.fromCharCode(j); >-var o40 = i40; >-if (i40.replace(/\d+/g, "") !== o40) { >- testFailed("#40: Error matching character class \d between character a000 and a3ff"); >-} >- >-var i41 = ""; >-for (var j = 41984; j < 43008; j++) >- i41 += String.fromCharCode(j); >-var o41 = i41; >-if (i41.replace(/\d+/g, "") !== o41) { >- testFailed("#41: Error matching character class \d between character a400 and a7ff"); >-} >- >-var i42 = ""; >-for (var j = 43008; j < 44032; j++) >- i42 += String.fromCharCode(j); >-var o42 = i42; >-if (i42.replace(/\d+/g, "") !== o42) { >- testFailed("#42: Error matching character class \d between character a800 and abff"); >-} >- >-var i43 = ""; >-for (var j = 44032; j < 45056; j++) >- i43 += String.fromCharCode(j); >-var o43 = i43; >-if (i43.replace(/\d+/g, "") !== o43) { >- testFailed("#43: Error matching character class \d between character ac00 and afff"); >-} >- >-var i44 = ""; >-for (var j = 45056; j < 46080; j++) >- i44 += String.fromCharCode(j); >-var o44 = i44; >-if (i44.replace(/\d+/g, "") !== o44) { >- testFailed("#44: Error matching character class \d between character b000 and b3ff"); >-} >- >-var i45 = ""; >-for (var j = 46080; j < 47104; j++) >- i45 += String.fromCharCode(j); >-var o45 = i45; >-if (i45.replace(/\d+/g, "") !== o45) { >- testFailed("#45: Error matching character class \d between character b400 and b7ff"); >-} >- >-var i46 = ""; >-for (var j = 47104; j < 48128; j++) >- i46 += String.fromCharCode(j); >-var o46 = i46; >-if (i46.replace(/\d+/g, "") !== o46) { >- testFailed("#46: Error matching character class \d between character b800 and bbff"); >-} >- >-var i47 = ""; >-for (var j = 48128; j < 49152; j++) >- i47 += String.fromCharCode(j); >-var o47 = i47; >-if (i47.replace(/\d+/g, "") !== o47) { >- testFailed("#47: Error matching character class \d between character bc00 and bfff"); >-} >- >-var i48 = ""; >-for (var j = 49152; j < 50176; j++) >- i48 += String.fromCharCode(j); >-var o48 = i48; >-if (i48.replace(/\d+/g, "") !== o48) { >- testFailed("#48: Error matching character class \d between character c000 and c3ff"); >-} >- >-var i49 = ""; >-for (var j = 50176; j < 51200; j++) >- i49 += String.fromCharCode(j); >-var o49 = i49; >-if (i49.replace(/\d+/g, "") !== o49) { >- testFailed("#49: Error matching character class \d between character c400 and c7ff"); >-} >- >-var i50 = ""; >-for (var j = 51200; j < 52224; j++) >- i50 += String.fromCharCode(j); >-var o50 = i50; >-if (i50.replace(/\d+/g, "") !== o50) { >- testFailed("#50: Error matching character class \d between character c800 and cbff"); >-} >- >-var i51 = ""; >-for (var j = 52224; j < 53248; j++) >- i51 += String.fromCharCode(j); >-var o51 = i51; >-if (i51.replace(/\d+/g, "") !== o51) { >- testFailed("#51: Error matching character class \d between character cc00 and cfff"); >-} >- >-var i52 = ""; >-for (var j = 53248; j < 54272; j++) >- i52 += String.fromCharCode(j); >-var o52 = i52; >-if (i52.replace(/\d+/g, "") !== o52) { >- testFailed("#52: Error matching character class \d between character d000 and d3ff"); >-} >- >-var i53 = ""; >-for (var j = 54272; j < 55296; j++) >- i53 += String.fromCharCode(j); >-var o53 = i53; >-if (i53.replace(/\d+/g, "") !== o53) { >- testFailed("#53: Error matching character class \d between character d400 and d7ff"); >-} >- >-var i54 = ""; >-for (var j = 55296; j < 56320; j++) >- i54 += String.fromCharCode(j); >-var o54 = i54; >-if (i54.replace(/\d+/g, "") !== o54) { >- testFailed("#54: Error matching character class \d between character d800 and dbff"); >-} >- >-var i55 = ""; >-for (var j = 56320; j < 57344; j++) >- i55 += String.fromCharCode(j); >-var o55 = i55; >-if (i55.replace(/\d+/g, "") !== o55) { >- testFailed("#55: Error matching character class \d between character dc00 and dfff"); >-} >- >-var i56 = ""; >-for (var j = 57344; j < 58368; j++) >- i56 += String.fromCharCode(j); >-var o56 = i56; >-if (i56.replace(/\d+/g, "") !== o56) { >- testFailed("#56: Error matching character class \d between character e000 and e3ff"); >-} >- >-var i57 = ""; >-for (var j = 58368; j < 59392; j++) >- i57 += String.fromCharCode(j); >-var o57 = i57; >-if (i57.replace(/\d+/g, "") !== o57) { >- testFailed("#57: Error matching character class \d between character e400 and e7ff"); >-} >- >-var i58 = ""; >-for (var j = 59392; j < 60416; j++) >- i58 += String.fromCharCode(j); >-var o58 = i58; >-if (i58.replace(/\d+/g, "") !== o58) { >- testFailed("#58: Error matching character class \d between character e800 and ebff"); >-} >- >-var i59 = ""; >-for (var j = 60416; j < 61440; j++) >- i59 += String.fromCharCode(j); >-var o59 = i59; >-if (i59.replace(/\d+/g, "") !== o59) { >- testFailed("#59: Error matching character class \d between character ec00 and efff"); >-} >- >-var i60 = ""; >-for (var j = 61440; j < 62464; j++) >- i60 += String.fromCharCode(j); >-var o60 = i60; >-if (i60.replace(/\d+/g, "") !== o60) { >- testFailed("#60: Error matching character class \d between character f000 and f3ff"); >-} >- >-var i61 = ""; >-for (var j = 62464; j < 63488; j++) >- i61 += String.fromCharCode(j); >-var o61 = i61; >-if (i61.replace(/\d+/g, "") !== o61) { >- testFailed("#61: Error matching character class \d between character f400 and f7ff"); >-} >- >-var i62 = ""; >-for (var j = 63488; j < 64512; j++) >- i62 += String.fromCharCode(j); >-var o62 = i62; >-if (i62.replace(/\d+/g, "") !== o62) { >- testFailed("#62: Error matching character class \d between character f800 and fbff"); >-} >- >-var i63 = ""; >-for (var j = 64512; j < 65536; j++) >- i63 += String.fromCharCode(j); >-var o63 = i63; >-if (i63.replace(/\d+/g, "") !== o63) { >- testFailed("#63: Error matching character class \d between character fc00 and ffff"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2-expected.txt >deleted file mode 100644 >index 049510a47de..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A5_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2.html >deleted file mode 100644 >index 6715277028a..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T2.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A5_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A5_T2; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive; >-* @description: ENGLISH ALPHABET; >-*/ >- >-var regexp_d = /\d/; >- >-//CHECK#0041-005A >-var result = true; >-for (alpha = 0x0041; alpha <= 0x005A; alpha++) { >- if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: ENGLISH CAPITAL ALPHABET'); >-} >- >-//CHECK#0061-007A >-var result = true; >-for (alpha = 0x0061; alpha <= 0x007A; alpha++) { >- if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: english small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3-expected.txt >deleted file mode 100644 >index ace4b6172c1..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A5_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3.html >deleted file mode 100644 >index 85a4a422afb..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T3.html >+++ /dev/null >@@ -1,118 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A5_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A5_T3; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive; >-* @description: RUSSIAN ALPHABET; >-*/ >- >-var regexp_d = /\d/; >- >-//CHECK#0410-042F >-var result = true; >-for (alpha = 0x0410; alpha <= 0x042F; alpha++) { >- if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: RUSSIAN CAPITAL ALPHABET'); >-} >- >-//CHECK#0430-044F >-var result = true; >-for (alpha = 0x0430; alpha <= 0x044F; alpha++) { >- if (regexp_d.exec(String.fromCharCode(alpha)) !== null) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: russian small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4-expected.txt >deleted file mode 100644 >index 6073aaaabcf..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A5_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4.html >deleted file mode 100644 >index 86fb66e3e07..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A5_T4.html >+++ /dev/null >@@ -1,110 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A5_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A5_T4; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive; >-* @description: non-d; >-*/ >- >-//CHECK#1 >-var non_d = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; >-if (/\d/.exec(non_d) !== null) { >- testFailed('#1: non-d'); >-} >- >-//CHECK#2 >-var non_D = '0123456789'; >-var regexp_d = /\d/g; >-var k = 0; >-while (regexp_d.exec(non_D) !== null) { >- k++; >-} >- >-if (non_D.length !== k) { >- testFailed('#2: non-D'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1-expected.txt >deleted file mode 100644 >index 0a2bdc50cb6..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A6_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1.html >deleted file mode 100644 >index ab9cf70fe7f..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T1.html >+++ /dev/null >@@ -1,605 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A6_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A6_T1; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: D evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: d; >-* @description: 0 - 9; >-*/ >- >-var i0 = ""; >-for (var j = 0; j < 1024; j++) >- i0 += String.fromCharCode(j); >-var o0 = "\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039"; >-if (i0.replace(/\D+/g, "") !== o0) { >- testFailed("#0: Error matching character class \D between character 0 and 3ff"); >-} >- >-var i1 = ""; >-for (var j = 1024; j < 2048; j++) >- i1 += String.fromCharCode(j); >-var o1 = ""; >-if (i1.replace(/\D+/g, "") !== o1) { >- testFailed("#1: Error matching character class \D between character 400 and 7ff"); >-} >- >-var i2 = ""; >-for (var j = 2048; j < 3072; j++) >- i2 += String.fromCharCode(j); >-var o2 = ""; >-if (i2.replace(/\D+/g, "") !== o2) { >- testFailed("#2: Error matching character class \D between character 800 and bff"); >-} >- >-var i3 = ""; >-for (var j = 3072; j < 4096; j++) >- i3 += String.fromCharCode(j); >-var o3 = ""; >-if (i3.replace(/\D+/g, "") !== o3) { >- testFailed("#3: Error matching character class \D between character c00 and fff"); >-} >- >-var i4 = ""; >-for (var j = 4096; j < 5120; j++) >- i4 += String.fromCharCode(j); >-var o4 = ""; >-if (i4.replace(/\D+/g, "") !== o4) { >- testFailed("#4: Error matching character class \D between character 1000 and 13ff"); >-} >- >-var i5 = ""; >-for (var j = 5120; j < 6144; j++) >- i5 += String.fromCharCode(j); >-var o5 = ""; >-if (i5.replace(/\D+/g, "") !== o5) { >- testFailed("#5: Error matching character class \D between character 1400 and 17ff"); >-} >- >-var i6 = ""; >-for (var j = 6144; j < 7168; j++) >- i6 += String.fromCharCode(j); >-var o6 = ""; >-if (i6.replace(/\D+/g, "") !== o6) { >- testFailed("#6: Error matching character class \D between character 1800 and 1bff"); >-} >- >-var i7 = ""; >-for (var j = 7168; j < 8192; j++) >- i7 += String.fromCharCode(j); >-var o7 = ""; >-if (i7.replace(/\D+/g, "") !== o7) { >- testFailed("#7: Error matching character class \D between character 1c00 and 1fff"); >-} >- >-var i8 = ""; >-for (var j = 8192; j < 9216; j++) >- i8 += String.fromCharCode(j); >-var o8 = ""; >-if (i8.replace(/\D+/g, "") !== o8) { >- testFailed("#8: Error matching character class \D between character 2000 and 23ff"); >-} >- >-var i9 = ""; >-for (var j = 9216; j < 10240; j++) >- i9 += String.fromCharCode(j); >-var o9 = ""; >-if (i9.replace(/\D+/g, "") !== o9) { >- testFailed("#9: Error matching character class \D between character 2400 and 27ff"); >-} >- >-var i10 = ""; >-for (var j = 10240; j < 11264; j++) >- i10 += String.fromCharCode(j); >-var o10 = ""; >-if (i10.replace(/\D+/g, "") !== o10) { >- testFailed("#10: Error matching character class \D between character 2800 and 2bff"); >-} >- >-var i11 = ""; >-for (var j = 11264; j < 12288; j++) >- i11 += String.fromCharCode(j); >-var o11 = ""; >-if (i11.replace(/\D+/g, "") !== o11) { >- testFailed("#11: Error matching character class \D between character 2c00 and 2fff"); >-} >- >-var i12 = ""; >-for (var j = 12288; j < 13312; j++) >- i12 += String.fromCharCode(j); >-var o12 = ""; >-if (i12.replace(/\D+/g, "") !== o12) { >- testFailed("#12: Error matching character class \D between character 3000 and 33ff"); >-} >- >-var i13 = ""; >-for (var j = 13312; j < 14336; j++) >- i13 += String.fromCharCode(j); >-var o13 = ""; >-if (i13.replace(/\D+/g, "") !== o13) { >- testFailed("#13: Error matching character class \D between character 3400 and 37ff"); >-} >- >-var i14 = ""; >-for (var j = 14336; j < 15360; j++) >- i14 += String.fromCharCode(j); >-var o14 = ""; >-if (i14.replace(/\D+/g, "") !== o14) { >- testFailed("#14: Error matching character class \D between character 3800 and 3bff"); >-} >- >-var i15 = ""; >-for (var j = 15360; j < 16384; j++) >- i15 += String.fromCharCode(j); >-var o15 = ""; >-if (i15.replace(/\D+/g, "") !== o15) { >- testFailed("#15: Error matching character class \D between character 3c00 and 3fff"); >-} >- >-var i16 = ""; >-for (var j = 16384; j < 17408; j++) >- i16 += String.fromCharCode(j); >-var o16 = ""; >-if (i16.replace(/\D+/g, "") !== o16) { >- testFailed("#16: Error matching character class \D between character 4000 and 43ff"); >-} >- >-var i17 = ""; >-for (var j = 17408; j < 18432; j++) >- i17 += String.fromCharCode(j); >-var o17 = ""; >-if (i17.replace(/\D+/g, "") !== o17) { >- testFailed("#17: Error matching character class \D between character 4400 and 47ff"); >-} >- >-var i18 = ""; >-for (var j = 18432; j < 19456; j++) >- i18 += String.fromCharCode(j); >-var o18 = ""; >-if (i18.replace(/\D+/g, "") !== o18) { >- testFailed("#18: Error matching character class \D between character 4800 and 4bff"); >-} >- >-var i19 = ""; >-for (var j = 19456; j < 20480; j++) >- i19 += String.fromCharCode(j); >-var o19 = ""; >-if (i19.replace(/\D+/g, "") !== o19) { >- testFailed("#19: Error matching character class \D between character 4c00 and 4fff"); >-} >- >-var i20 = ""; >-for (var j = 20480; j < 21504; j++) >- i20 += String.fromCharCode(j); >-var o20 = ""; >-if (i20.replace(/\D+/g, "") !== o20) { >- testFailed("#20: Error matching character class \D between character 5000 and 53ff"); >-} >- >-var i21 = ""; >-for (var j = 21504; j < 22528; j++) >- i21 += String.fromCharCode(j); >-var o21 = ""; >-if (i21.replace(/\D+/g, "") !== o21) { >- testFailed("#21: Error matching character class \D between character 5400 and 57ff"); >-} >- >-var i22 = ""; >-for (var j = 22528; j < 23552; j++) >- i22 += String.fromCharCode(j); >-var o22 = ""; >-if (i22.replace(/\D+/g, "") !== o22) { >- testFailed("#22: Error matching character class \D between character 5800 and 5bff"); >-} >- >-var i23 = ""; >-for (var j = 23552; j < 24576; j++) >- i23 += String.fromCharCode(j); >-var o23 = ""; >-if (i23.replace(/\D+/g, "") !== o23) { >- testFailed("#23: Error matching character class \D between character 5c00 and 5fff"); >-} >- >-var i24 = ""; >-for (var j = 24576; j < 25600; j++) >- i24 += String.fromCharCode(j); >-var o24 = ""; >-if (i24.replace(/\D+/g, "") !== o24) { >- testFailed("#24: Error matching character class \D between character 6000 and 63ff"); >-} >- >-var i25 = ""; >-for (var j = 25600; j < 26624; j++) >- i25 += String.fromCharCode(j); >-var o25 = ""; >-if (i25.replace(/\D+/g, "") !== o25) { >- testFailed("#25: Error matching character class \D between character 6400 and 67ff"); >-} >- >-var i26 = ""; >-for (var j = 26624; j < 27648; j++) >- i26 += String.fromCharCode(j); >-var o26 = ""; >-if (i26.replace(/\D+/g, "") !== o26) { >- testFailed("#26: Error matching character class \D between character 6800 and 6bff"); >-} >- >-var i27 = ""; >-for (var j = 27648; j < 28672; j++) >- i27 += String.fromCharCode(j); >-var o27 = ""; >-if (i27.replace(/\D+/g, "") !== o27) { >- testFailed("#27: Error matching character class \D between character 6c00 and 6fff"); >-} >- >-var i28 = ""; >-for (var j = 28672; j < 29696; j++) >- i28 += String.fromCharCode(j); >-var o28 = ""; >-if (i28.replace(/\D+/g, "") !== o28) { >- testFailed("#28: Error matching character class \D between character 7000 and 73ff"); >-} >- >-var i29 = ""; >-for (var j = 29696; j < 30720; j++) >- i29 += String.fromCharCode(j); >-var o29 = ""; >-if (i29.replace(/\D+/g, "") !== o29) { >- testFailed("#29: Error matching character class \D between character 7400 and 77ff"); >-} >- >-var i30 = ""; >-for (var j = 30720; j < 31744; j++) >- i30 += String.fromCharCode(j); >-var o30 = ""; >-if (i30.replace(/\D+/g, "") !== o30) { >- testFailed("#30: Error matching character class \D between character 7800 and 7bff"); >-} >- >-var i31 = ""; >-for (var j = 31744; j < 32768; j++) >- i31 += String.fromCharCode(j); >-var o31 = ""; >-if (i31.replace(/\D+/g, "") !== o31) { >- testFailed("#31: Error matching character class \D between character 7c00 and 7fff"); >-} >- >-var i32 = ""; >-for (var j = 32768; j < 33792; j++) >- i32 += String.fromCharCode(j); >-var o32 = ""; >-if (i32.replace(/\D+/g, "") !== o32) { >- testFailed("#32: Error matching character class \D between character 8000 and 83ff"); >-} >- >-var i33 = ""; >-for (var j = 33792; j < 34816; j++) >- i33 += String.fromCharCode(j); >-var o33 = ""; >-if (i33.replace(/\D+/g, "") !== o33) { >- testFailed("#33: Error matching character class \D between character 8400 and 87ff"); >-} >- >-var i34 = ""; >-for (var j = 34816; j < 35840; j++) >- i34 += String.fromCharCode(j); >-var o34 = ""; >-if (i34.replace(/\D+/g, "") !== o34) { >- testFailed("#34: Error matching character class \D between character 8800 and 8bff"); >-} >- >-var i35 = ""; >-for (var j = 35840; j < 36864; j++) >- i35 += String.fromCharCode(j); >-var o35 = ""; >-if (i35.replace(/\D+/g, "") !== o35) { >- testFailed("#35: Error matching character class \D between character 8c00 and 8fff"); >-} >- >-var i36 = ""; >-for (var j = 36864; j < 37888; j++) >- i36 += String.fromCharCode(j); >-var o36 = ""; >-if (i36.replace(/\D+/g, "") !== o36) { >- testFailed("#36: Error matching character class \D between character 9000 and 93ff"); >-} >- >-var i37 = ""; >-for (var j = 37888; j < 38912; j++) >- i37 += String.fromCharCode(j); >-var o37 = ""; >-if (i37.replace(/\D+/g, "") !== o37) { >- testFailed("#37: Error matching character class \D between character 9400 and 97ff"); >-} >- >-var i38 = ""; >-for (var j = 38912; j < 39936; j++) >- i38 += String.fromCharCode(j); >-var o38 = ""; >-if (i38.replace(/\D+/g, "") !== o38) { >- testFailed("#38: Error matching character class \D between character 9800 and 9bff"); >-} >- >-var i39 = ""; >-for (var j = 39936; j < 40960; j++) >- i39 += String.fromCharCode(j); >-var o39 = ""; >-if (i39.replace(/\D+/g, "") !== o39) { >- testFailed("#39: Error matching character class \D between character 9c00 and 9fff"); >-} >- >-var i40 = ""; >-for (var j = 40960; j < 41984; j++) >- i40 += String.fromCharCode(j); >-var o40 = ""; >-if (i40.replace(/\D+/g, "") !== o40) { >- testFailed("#40: Error matching character class \D between character a000 and a3ff"); >-} >- >-var i41 = ""; >-for (var j = 41984; j < 43008; j++) >- i41 += String.fromCharCode(j); >-var o41 = ""; >-if (i41.replace(/\D+/g, "") !== o41) { >- testFailed("#41: Error matching character class \D between character a400 and a7ff"); >-} >- >-var i42 = ""; >-for (var j = 43008; j < 44032; j++) >- i42 += String.fromCharCode(j); >-var o42 = ""; >-if (i42.replace(/\D+/g, "") !== o42) { >- testFailed("#42: Error matching character class \D between character a800 and abff"); >-} >- >-var i43 = ""; >-for (var j = 44032; j < 45056; j++) >- i43 += String.fromCharCode(j); >-var o43 = ""; >-if (i43.replace(/\D+/g, "") !== o43) { >- testFailed("#43: Error matching character class \D between character ac00 and afff"); >-} >- >-var i44 = ""; >-for (var j = 45056; j < 46080; j++) >- i44 += String.fromCharCode(j); >-var o44 = ""; >-if (i44.replace(/\D+/g, "") !== o44) { >- testFailed("#44: Error matching character class \D between character b000 and b3ff"); >-} >- >-var i45 = ""; >-for (var j = 46080; j < 47104; j++) >- i45 += String.fromCharCode(j); >-var o45 = ""; >-if (i45.replace(/\D+/g, "") !== o45) { >- testFailed("#45: Error matching character class \D between character b400 and b7ff"); >-} >- >-var i46 = ""; >-for (var j = 47104; j < 48128; j++) >- i46 += String.fromCharCode(j); >-var o46 = ""; >-if (i46.replace(/\D+/g, "") !== o46) { >- testFailed("#46: Error matching character class \D between character b800 and bbff"); >-} >- >-var i47 = ""; >-for (var j = 48128; j < 49152; j++) >- i47 += String.fromCharCode(j); >-var o47 = ""; >-if (i47.replace(/\D+/g, "") !== o47) { >- testFailed("#47: Error matching character class \D between character bc00 and bfff"); >-} >- >-var i48 = ""; >-for (var j = 49152; j < 50176; j++) >- i48 += String.fromCharCode(j); >-var o48 = ""; >-if (i48.replace(/\D+/g, "") !== o48) { >- testFailed("#48: Error matching character class \D between character c000 and c3ff"); >-} >- >-var i49 = ""; >-for (var j = 50176; j < 51200; j++) >- i49 += String.fromCharCode(j); >-var o49 = ""; >-if (i49.replace(/\D+/g, "") !== o49) { >- testFailed("#49: Error matching character class \D between character c400 and c7ff"); >-} >- >-var i50 = ""; >-for (var j = 51200; j < 52224; j++) >- i50 += String.fromCharCode(j); >-var o50 = ""; >-if (i50.replace(/\D+/g, "") !== o50) { >- testFailed("#50: Error matching character class \D between character c800 and cbff"); >-} >- >-var i51 = ""; >-for (var j = 52224; j < 53248; j++) >- i51 += String.fromCharCode(j); >-var o51 = ""; >-if (i51.replace(/\D+/g, "") !== o51) { >- testFailed("#51: Error matching character class \D between character cc00 and cfff"); >-} >- >-var i52 = ""; >-for (var j = 53248; j < 54272; j++) >- i52 += String.fromCharCode(j); >-var o52 = ""; >-if (i52.replace(/\D+/g, "") !== o52) { >- testFailed("#52: Error matching character class \D between character d000 and d3ff"); >-} >- >-var i53 = ""; >-for (var j = 54272; j < 55296; j++) >- i53 += String.fromCharCode(j); >-var o53 = ""; >-if (i53.replace(/\D+/g, "") !== o53) { >- testFailed("#53: Error matching character class \D between character d400 and d7ff"); >-} >- >-var i54 = ""; >-for (var j = 55296; j < 56320; j++) >- i54 += String.fromCharCode(j); >-var o54 = ""; >-if (i54.replace(/\D+/g, "") !== o54) { >- testFailed("#54: Error matching character class \D between character d800 and dbff"); >-} >- >-var i55 = ""; >-for (var j = 56320; j < 57344; j++) >- i55 += String.fromCharCode(j); >-var o55 = ""; >-if (i55.replace(/\D+/g, "") !== o55) { >- testFailed("#55: Error matching character class \D between character dc00 and dfff"); >-} >- >-var i56 = ""; >-for (var j = 57344; j < 58368; j++) >- i56 += String.fromCharCode(j); >-var o56 = ""; >-if (i56.replace(/\D+/g, "") !== o56) { >- testFailed("#56: Error matching character class \D between character e000 and e3ff"); >-} >- >-var i57 = ""; >-for (var j = 58368; j < 59392; j++) >- i57 += String.fromCharCode(j); >-var o57 = ""; >-if (i57.replace(/\D+/g, "") !== o57) { >- testFailed("#57: Error matching character class \D between character e400 and e7ff"); >-} >- >-var i58 = ""; >-for (var j = 59392; j < 60416; j++) >- i58 += String.fromCharCode(j); >-var o58 = ""; >-if (i58.replace(/\D+/g, "") !== o58) { >- testFailed("#58: Error matching character class \D between character e800 and ebff"); >-} >- >-var i59 = ""; >-for (var j = 60416; j < 61440; j++) >- i59 += String.fromCharCode(j); >-var o59 = ""; >-if (i59.replace(/\D+/g, "") !== o59) { >- testFailed("#59: Error matching character class \D between character ec00 and efff"); >-} >- >-var i60 = ""; >-for (var j = 61440; j < 62464; j++) >- i60 += String.fromCharCode(j); >-var o60 = ""; >-if (i60.replace(/\D+/g, "") !== o60) { >- testFailed("#60: Error matching character class \D between character f000 and f3ff"); >-} >- >-var i61 = ""; >-for (var j = 62464; j < 63488; j++) >- i61 += String.fromCharCode(j); >-var o61 = ""; >-if (i61.replace(/\D+/g, "") !== o61) { >- testFailed("#61: Error matching character class \D between character f400 and f7ff"); >-} >- >-var i62 = ""; >-for (var j = 63488; j < 64512; j++) >- i62 += String.fromCharCode(j); >-var o62 = ""; >-if (i62.replace(/\D+/g, "") !== o62) { >- testFailed("#62: Error matching character class \D between character f800 and fbff"); >-} >- >-var i63 = ""; >-for (var j = 64512; j < 65536; j++) >- i63 += String.fromCharCode(j); >-var o63 = ""; >-if (i63.replace(/\D+/g, "") !== o63) { >- testFailed("#63: Error matching character class \D between character fc00 and ffff"); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2-expected.txt >deleted file mode 100644 >index 5119f94c5d7..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A6_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2.html >deleted file mode 100644 >index 2d986fbfd36..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T2.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A6_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A6_T2; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: D evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: d; >-* @description: ENGLISH ALPHABET; >-*/ >- >-var regexp_D = /\D/; >- >-//CHECK#0041-005A >-var result = true; >-for (alpha = 0x0041; alpha <= 0x005A; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_D.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: ENGLISH CAPITAL ALPHABET'); >-} >- >-//CHECK#0061-007A >-var result = true; >-for (alpha = 0x0061; alpha <= 0x007A; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_D.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: english small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3-expected.txt >deleted file mode 100644 >index e0720042a61..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A6_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3.html >deleted file mode 100644 >index e211062eb15..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T3.html >+++ /dev/null >@@ -1,123 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A6_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A6_T3; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: D evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: d; >-* @description: RUSSIAN ALPHABET; >-*/ >- >-var regexp_D = /\D/; >- >-//CHECK#0410-042F >-var result = true; >-for (alpha = 0x0410; alpha <= 0x042F; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_D.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#1: RUSSIAN CAPITAL ALPHABET'); >-} >- >-//CHECK#0430-044F >-var result = true; >-for (alpha = 0x0430; alpha <= 0x044F; alpha++) { >- str = String.fromCharCode(alpha); >- arr = regexp_D.exec(str); >- if ((arr === null) || (arr[0] !== str)) { >- result = false; >- } >-} >- >-if (result !== true) { >- testFailed('#2: russian small alphabet'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4-expected.txt >deleted file mode 100644 >index cf1226240e0..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.12_A6_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4.html >deleted file mode 100644 >index 4c9b131e1e3..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A6_T4.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.12_A6_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.12_A6_T4; >-* @section: 15.10.2.12; >-* @assertion: The production CharacterClassEscape :: D evaluates by returning the set of all characters not >-* included in the set returned by CharacterClassEscape :: d; >-* @description: RUSSIAN ALPHABET; >-*/ >- >-//CHECK#1 >-var non_d = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; >-var regexp_D = /\D/g; >-var k = 0; >-while (regexp_D.exec(non_d) !== null) { >- k++; >-} >- >-if (non_d.length !== k) { >- testFailed('#1: non-d'); >-} >- >-//CHECK#2 >-var non_d = '0123456789'; >-if (/\D/.exec(non_d) !== null) { >- testFailed('#2: non-d'); >-} >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1-expected.txt >deleted file mode 100644 >index b0c8c9db861..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1.html >deleted file mode 100644 >index 51332b62e01..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T1.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T1; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[]a/.test("\0a\0a") and check results; >-*/ >- >-__executed = /[]a/.test("\0a\0a");; >- >-//CHECK#1 >- if (__executed) { >- testFailed('#1: /[]a/.test("\\0a\\0a") === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10-expected.txt >deleted file mode 100644 >index 746a8ba8361..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T10 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10.html >deleted file mode 100644 >index ee0ee60e128..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T10.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T10</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T10; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[a-c\d]+/.exec("\n\n\abc324234\n") and check results; >-*/ >- >-__executed = /[a-c\d]+/.exec("\n\n\abc324234\n"); >- >-__expected = ["abc324234"]; >-__expected.index = 2; >-__expected.input = "\n\n\abc324234\n"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11-expected.txt >deleted file mode 100644 >index 01ff07ccb16..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T11 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11.html >deleted file mode 100644 >index ac22528580a..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T11.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T11</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T11; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /ab[.]?c/.exec("abc") and check results; >-*/ >- >-__executed = /ab[.]?c/.exec("abc"); >- >-__expected = ["abc"]; >-__expected.index = 0; >-__expected.input = "abc"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /ab[.]?c/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /ab[.]?c/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /ab[.]?c/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /ab[.]?c/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12-expected.txt >deleted file mode 100644 >index d1a2fac7f68..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T12 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12.html >deleted file mode 100644 >index 5481b671977..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T12.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T12</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T12; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /a[b]c/.exec("abc") and check results; >-*/ >- >-__executed = /a[b]c/.exec("abc"); >- >-__expected = ["abc"]; >-__expected.index = 0; >-__expected.input = "abc"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /a[b]c/.exec("abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /a[b]c/.exec("abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /a[b]c/.exec("abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /a[b]c/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13-expected.txt >deleted file mode 100644 >index 0a71a15ecd0..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T13 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13.html >deleted file mode 100644 >index 8a80b844101..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T13.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T13</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T13; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g") and check results; >-*/ >- >-__executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); >- >-__expected = ["def"]; >-__expected.index = 15; >-__expected.input = "a1b b2c c3d def f4g"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14-expected.txt >deleted file mode 100644 >index 42ace94a509..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T14 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14.html >deleted file mode 100644 >index 93f250015ae..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T14.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T14</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T14; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[*&$]{3}/.exec("123*&$abc") and check results; >-*/ >- >-__executed = /[*&$]{3}/.exec("123*&$abc"); >- >-__expected = ["*&$"]; >-__expected.index = 3; >-__expected.input = "123*&$abc"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15-expected.txt >deleted file mode 100644 >index a6c8abae46f..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T15 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15.html >deleted file mode 100644 >index 89f47dced84..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T15.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T15</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T15; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[\d][\n][^\d]/.exec("line1\nline2") and check results; >-*/ >- >-__executed = /[\d][\n][^\d]/.exec("line1\nline2"); >- >-__expected = ["1\nl"]; >-__expected.index = 4; >-__expected.input = "line1\nline2"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16-expected.txt >deleted file mode 100644 >index 1957e9e7c91..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T16 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16.html >deleted file mode 100644 >index 180a22e4761..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T16.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T16</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T16; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2") and check results; >-*/ >- >-__executed = /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2"); >- >-__expected = ["1\n\n\n\n\nl"]; >-__expected.index = 4; >-__expected.input = "line1\n\n\n\n\nline2"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17-expected.txt >deleted file mode 100644 >index 8260859b090..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T17 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17.html >deleted file mode 100644 >index e79d13337d6..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T17.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T17</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T17; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[]/.exec("a[b\n[]\tc]d") and check results; >-*/ >- >-__executed = /[]/.exec("a[b\n[]\tc]d"); >- >-//CHECK#1 >-if (__executed !== null) { >- testFailed('#1: /[]/.exec("a[b\\n[]\\tc]d") === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2-expected.txt >deleted file mode 100644 >index dbd796af55d..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2.html >deleted file mode 100644 >index 1030d0cf047..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T2.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T2; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /a[]/.test("\0a\0a") and check results; >-*/ >- >-__executed = /a[]/.test("\0a\0a");; >- >-//CHECK#1 >-if (__executed) { >- testFailed('#1: /a[]/.test("\\0a\\0a") === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3-expected.txt >deleted file mode 100644 >index f12c75cf868..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3.html >deleted file mode 100644 >index c986dc20795..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T3.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T3; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /q[ax-zb](?=\s+)/.exec("qYqy ") and check results; >-*/ >- >-__executed = /q[ax-zb](?=\s+)/.exec("qYqy "); >- >-__expected = ["qy"]; >-__expected.index = 2; >-__expected.input = "qYqy "; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4-expected.txt >deleted file mode 100644 >index 3a24ff6c944..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4.html >deleted file mode 100644 >index 58e8922249a..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T4.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T4</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T4; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /q[ax-zb](?=\s+)/.exec("tqaqy ") and check results; >-*/ >- >-__executed = /q[ax-zb](?=\s+)/.exec("tqaqy "); >- >-__expected = ["qy"]; >-__expected.index = 3; >-__expected.input = "tqaqy "; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5-expected.txt >deleted file mode 100644 >index a23dec90a20..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T5 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5.html >deleted file mode 100644 >index 1acfa3890cb..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T5.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T5</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T5; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /q[ax-zb](?=\s+)/.exec("tqa\t qy ") and check results; >-*/ >- >-__executed = /q[ax-zb](?=\s+)/.exec("tqa\t qy "); >- >-__expected = ["qa"]; >-__expected.index = 1; >-__expected.input = "tqa\t qy "; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6-expected.txt >deleted file mode 100644 >index 5d6c3ba8d30..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T6 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6.html >deleted file mode 100644 >index d16d1b49768..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T6.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T6</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T6; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /ab[ercst]de/.exec("abcde") and check results; >-*/ >- >-__executed = /ab[ercst]de/.exec("abcde"); >- >-__expected = ["abcde"]; >-__expected.index = 0; >-__expected.input = "abcde"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /ab[ercst]de/.exec("abcde"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /ab[ercst]de/.exec("abcde"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /ab[ercst]de/.exec("abcde"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /ab[ercst]de/.exec("abcde"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7-expected.txt >deleted file mode 100644 >index dba3a61d22b..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T7 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7.html >deleted file mode 100644 >index 8128029bc6e..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T7.html >+++ /dev/null >@@ -1,100 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T7</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T7; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /ab[erst]de/.test("abcde") and check results; >-*/ >- >-__executed = /ab[erst]de/.test("abcde"); >- >-//CHECK#1 >-if (__executed) { >- testFailed('#1: /ab[erst]de/.test("abcde") === false'); >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8-expected.txt >deleted file mode 100644 >index 7ade2a14256..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T8 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8.html >deleted file mode 100644 >index 8718ca4b63f..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T8.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T8</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T8; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[d-h]+/.exec("abcdefghijkl") and check results; >-*/ >- >-__executed = /[d-h]+/.exec("abcdefghijkl"); >- >-__expected = ["defgh"]; >-__expected.index = 3; >-__expected.input = "abcdefghijkl"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9-expected.txt >deleted file mode 100644 >index 9424c450f09..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A1_T9 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9.html >deleted file mode 100644 >index 7e9640ce771..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A1_T9.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A1_T9</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A1_T9; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false; >-* @description: Execute /[1234567].{2}/.exec("abc6defghijkl") and check results; >-*/ >- >-__executed = /[1234567].{2}/.exec("abc6defghijkl"); >- >-__expected = ["6de"]; >-__expected.index = 3; >-__expected.input = "abc6defghijkl"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1-expected.txt >deleted file mode 100644 >index 266f8a0b9ce..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A2_T1 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1.html >deleted file mode 100644 >index 6acd0f5fdc8..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T1.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A2_T1</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A2_T1; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; >-* @description: Execute /[^]a/m.exec("a\naba") and check results; >-*/ >- >-__executed = /[^]a/m.exec("a\naba"); >- >-__expected = ["\na"]; >-__expected.index = 1; >-__expected.input = "a\naba"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /[^]a/m.exec("a\\naba"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /[^]a/m.exec("a\\naba"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /[^]a/m.exec("a\\naba"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /[^]a/m.exec("a\\naba"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2-expected.txt >deleted file mode 100644 >index dd352413b07..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A2_T2 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2.html >deleted file mode 100644 >index a55929f4111..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T2.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A2_T2</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A2_T2; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; >-* @description: Execute /a[^]/.exec(" a\t\n") and check results; >-*/ >- >-__executed = /a[^]/.exec(" a\t\n"); >- >-__expected = ["a\t"]; >-__expected.index = 3; >-__expected.input = " a\t\n"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /a[^]/.exec(" a\\t\\n"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /a[^]/.exec(" a\\t\\n"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /a[^]/.exec(" a\\t\\n"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /a[^]/.exec(" a\\t\\n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3-expected.txt >deleted file mode 100644 >index 42f07eecbb3..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A2_T3 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3.html >deleted file mode 100644 >index 08aca8181f5..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T3.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function printTestFailed(msg) >-{ >- testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>'); >-} >- >-function testFailed(msg) >-{ >- throw new SputnikError(msg); >-} >- >-var successfullyParsed = false; >-</script> >- >-</head> >-<body> >-<p>S15.10.2.13_A2_T3</p> >-<div id='console'></div> >-<script> >-try { >- >-/** >-* @name: S15.10.2.13_A2_T3; >-* @section: 15.10.2.13; >-* @assertion: The production CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true; >-* @description: Execute /a[^b-z]\s+/.exec("ab an az aY n") and check results; >-*/ >- >-__executed = /a[^b-z]\s+/.exec("ab an az aY n"); >- >-__expected = ["aY "]; >-__expected.index = 9; >-__expected.input = "ab an az aY n"; >- >-//CHECK#1 >-if (__executed.length !== __expected.length) { >- testFailed('#1: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); >-} >- >-//CHECK#2 >-if (__executed.index !== __expected.index) { >- testFailed('#2: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); >-} >- >-//CHECK#3 >-if (__executed.input !== __expected.input) { >- testFailed('#3: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); >-} >- >-//CHECK#4 >-for(var index=0; index<__expected.length; index++) { >- if (__executed[index] !== __expected[index]) { >- testFailed('#4: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); >- } >-} >- >- >-} catch (ex) { >- sputnikException = ex; >-} >- >-var successfullyParsed = true; >-</script> >- >-<script> >-if (!successfullyParsed) >- printTestFailed('successfullyParsed is not set'); >-else if (sputnikException) >- printTestFailed(sputnikException); >-else >- printTestPassed(""); >-testPrint('<br /><span class="pass">TEST COMPLETE</span>'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4-expected.txt b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4-expected.txt >deleted file mode 100644 >index ef387769056..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-S15.10.2.13_A2_T4 >- >-PASS >- >-TEST COMPLETE >- >diff --git a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4.html b/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4.html >deleted file mode 100644 >index 4a929faf099..00000000000 >--- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.13_CharacterClass/S15.10.2.13_A2_T4.html >+++ /dev/null >@@ -1,121 +0,0 @@ >-<html> >-<head> >-<meta charset='utf-8'> >-<style> >-.pass { >- font-weight: bold; >- color: green; >-} >-.fail { >- font-weight: bold; >- color: red; >-} >-</style> >- >-<script> >-if (window.testRunner) >- testRunner.dumpAsText(); >- >-function SputnikError(message) >-{ >- this.message = message; >-} >- >-SputnikError.prototype.toString = function () >-{ >- return 'SputnikError: ' + this.message; >-}; >- >-var sputnikException; >- >-function testPrint(msg) >-{ >- var span = document.createElement("span"); >- document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace >- span.innerHTML = msg + '<br />'; >-} >- >-function escapeHTML(text) >-{ >- return text.toString().replace(/&/g, "&").replace(/</g, "<"); >-} >- >-function printTestPassed(msg) >-{ >- testPrint('<span><span class="pass">PASS</span>